aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-04-13 09:14:07 -0700
committerAndre Arko <andre@arko.net>2015-04-13 18:47:36 -0700
commitde368e1313dcf4411527c9e8654b1b6cfa7833c5 (patch)
treed9d5e2b9ba34d43c151b0572142f8c9a734e1bbf /lib
parent99a71299d1991e5b31a651e48b31a651d7065510 (diff)
downloadbundler-de368e1313dcf4411527c9e8654b1b6cfa7833c5.tar.gz
Added spec for regression
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/match_platform.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/match_platform.rb b/lib/bundler/match_platform.rb
index 4f2ba0a2..e6a33ecb 100644
--- a/lib/bundler/match_platform.rb
+++ b/lib/bundler/match_platform.rb
@@ -7,8 +7,7 @@ module Bundler
def match_platform(p)
Gem::Platform::RUBY == platform or
platform.nil? or p == platform or
- generic(Gem::Platform.new(platform)) == p or
- Gem::Platform.new(platform) === p
+ generic(Gem::Platform.new(platform)) === p
end
end
end