Skip to content

Commit 04e87ad

Browse files
committed
Better: require cgi for ruby 3.5
1 parent b115018 commit 04e87ad

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ end
1515

1616
group :test do
1717
gem "rspec", "~> 3.0", "< 3.10" # resrict rspec version until https://github.com/rspec/rspec-support/pull/537 gets merged
18-
gem "vcr", github: 'vcr/vcr', ref: '8ced6c96e01737a418cd270e0382a8c2c6d85f7f' # needs https://github.com/vcr/vcr/pull/907 for ruby 3.1
18+
gem "vcr", github: 'vcr/vcr', ref: 'ce35c236fe48899f02ddf780973b44cdb756c0ee' # needs https://github.com/vcr/vcr/issues/1057 for ruby 3.5
1919
gem "webmock"
2020
gem "simplecov"
2121
end

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Removed features:
1212
Internal improvements:
1313

1414
* explicitly require ostruct for ruby >= 3.3.5 ([694](https://github.com/arsduo/koala/pull/694))
15+
* explicitly require cgi for ruby >= 3.5.0 ([702](https://github.com/arsduo/koala/pull/702))
1516

1617
Testing improvements:
1718

1819
* Add ruby 3.4 to CI ([696](https://github.com/arsduo/koala/pull/696))
1920
* Fix json assertions in CI ([701](https://github.com/arsduo/koala/pull/701))
21+
* Fix ruby 3.5 CI ([702](https://github.com/arsduo/koala/pull/702))
2022

2123
Others:
2224

koala.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ Gem::Specification.new do |gem|
3030
gem.add_runtime_dependency("rexml")
3131
gem.add_runtime_dependency("base64")
3232
gem.add_runtime_dependency("ostruct")
33+
gem.add_runtime_dependency("cgi")
3334
end

lib/koala/api/graph_collection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'addressable/uri'
2+
require 'cgi'
23

34
module Koala
45
module Facebook

0 commit comments

Comments
 (0)