From 3dcd4d5ba009873f2499787f1dbfbf10cd6ec134 Mon Sep 17 00:00:00 2001 From: Victor Koronen Date: Sat, 8 Aug 2015 16:54:20 +0200 Subject: Fix Style/MethodDefParentheses --- lib/bundler/graph.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bundler/graph.rb') 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 -- cgit v1.2.1