diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:21:10 -0600 |
|---|---|---|
| committer | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:21:10 -0600 |
| commit | bf5c235523b98bad8e69b172f0d9bc02b8616604 (patch) | |
| tree | c06c020ab3b7475347e80d12047fb6cea99a075e /lib/bundler/graph.rb | |
| parent | d5f3f861f273ae95cba12a0e6b230005e1061964 (diff) | |
| download | bundler-bf5c235523b98bad8e69b172f0d9bc02b8616604.tar.gz | |
[RuboCop] Enable Style/AndOr
Diffstat (limited to 'lib/bundler/graph.rb')
| -rw-r--r-- | lib/bundler/graph.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/graph.rb b/lib/bundler/graph.rb index c8c61497ef..c5556da067 100644 --- a/lib/bundler/graph.rb +++ b/lib/bundler/graph.rb @@ -97,8 +97,8 @@ module Bundler Gem::Dependency.class_eval do def matching_specs(platform_only = false) matches = Bundler.load.specs.select { |spec| - name == spec.name and - requirement.satisfied_by? spec.version + name == spec.name && + requirement.satisfied_by?(spec.version) } if platform_only |
