aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/index.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-01-18 14:12:18 -0800
committerAndre Arko <andre@arko.net>2011-01-18 14:39:27 -0800
commit4d6c3daeaa7e64408cd43b7823c0abc23c2b72c7 (patch)
tree2e514756d0f5f7a928b15f1049acabf68bd011ed /lib/bundler/index.rb
parent2418bc9755ecca2ae91d846a9a444ec3d2a662a7 (diff)
downloadbundler-4d6c3daeaa7e64408cd43b7823c0abc23c2b72c7.tar.gz
fixing some useless assignment warnings
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r--lib/bundler/index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/index.rb b/lib/bundler/index.rb
index 1ca9af19..b2105cf6 100644
--- a/lib/bundler/index.rb
+++ b/lib/bundler/index.rb
@@ -104,7 +104,7 @@ module Bundler
def same_version?(a, b)
regex = /^(.*?)(?:\.0)*$/
- ret = a.to_s[regex, 1] == b.to_s[regex, 1]
+ a.to_s[regex, 1] == b.to_s[regex, 1]
end
def spec_satisfies_dependency?(spec, dep)