summaryrefslogtreecommitdiff
path: root/lib/bundler/graph.rb
diff options
context:
space:
mode:
authorVictor Koronen <koronen@kth.se>2015-08-08 16:54:20 +0200
committerVictor Koronen <koronen@kth.se>2015-08-14 12:29:44 +0200
commit3dcd4d5ba009873f2499787f1dbfbf10cd6ec134 (patch)
tree03f02ff425201445ec15ce95285c60b0d129b268 /lib/bundler/graph.rb
parent1964fb87d73b6efb2331b3628ca0daf5fcb2515d (diff)
downloadbundler-3dcd4d5ba009873f2499787f1dbfbf10cd6ec134.tar.gz
Fix Style/MethodDefParentheses
Diffstat (limited to 'lib/bundler/graph.rb')
-rw-r--r--lib/bundler/graph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb
index 6bf5c2d151..4c5d9efd34 100644
--- a/lib/bundler/graph.rb
+++ b/lib/bundler/graph.rb
@@ -95,7 +95,7 @@ module Bundler
# method borrow from rubygems/dependency.rb
# redefinition of matching_specs will also redefine to_spec and to_specs
Gem::Dependency.class_eval do
- def matching_specs platform_only = false
+ def matching_specs(platform_only = false)
matches = Bundler.load.specs.select { |spec|
self.name == spec.name and
requirement.satisfied_by? spec.version