diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-18 14:12:18 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-01-18 14:39:27 -0800 |
commit | 4d6c3daeaa7e64408cd43b7823c0abc23c2b72c7 (patch) | |
tree | 2e514756d0f5f7a928b15f1049acabf68bd011ed /lib/bundler/index.rb | |
parent | 2418bc9755ecca2ae91d846a9a444ec3d2a662a7 (diff) | |
download | bundler-4d6c3daeaa7e64408cd43b7823c0abc23c2b72c7.tar.gz |
fixing some useless assignment warnings
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r-- | lib/bundler/index.rb | 2 |
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) |