Skip to content

Commit

Permalink
Revert "Delegate methods that accept keywords from Fog::Collection to…
Browse files Browse the repository at this point in the history
… Array correctly for Ruby 2.x and Ruby 3.x (#292)" (#295)

This reverts commit 7c4a832.
  • Loading branch information
geemus authored Dec 22, 2023
1 parent 7c4a832 commit 917bcb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
2 changes: 0 additions & 2 deletions lib/fog/core/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def #{method}(*args)
end
super
end
ruby2_keywords(method) if respond_to?(:ruby2_keywords, true)
EOS
end

Expand All @@ -32,7 +31,6 @@ def #{method}(*args)
data = super
self.clone.clear.concat(data)
end
ruby2_keywords(method) if respond_to?(:ruby2_keywords, true)
EOS
end

Expand Down
24 changes: 0 additions & 24 deletions spec/core/collection_spec.rb

This file was deleted.

0 comments on commit 917bcb7

Please sign in to comment.