We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
default_stubs
1 parent e015200 commit 30db1ebCopy full SHA for 30db1eb
bundler/lib/bundler/rubygems_integration.rb
@@ -507,14 +507,8 @@ def find_name(name)
507
Gem::Specification.stubs_for(name).map(&:to_spec)
508
end
509
510
- if Gem::Specification.respond_to?(:default_stubs)
511
- def default_stubs
512
- Gem::Specification.default_stubs("*.gemspec")
513
- end
514
- else
515
516
- Gem::Specification.send(:default_stubs, "*.gemspec")
517
+ def default_stubs
+ Gem::Specification.default_stubs("*.gemspec")
518
519
520
0 commit comments