diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-01-31 11:29:09 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-31 22:22:06 -0600 |
commit | 7ae072865e3fc23d9844322dde6ad0f6906e3f2c (patch) | |
tree | 2133b2f27e243af2d8beda66f19b2f1086685a0e /lib/bundler/source.rb | |
parent | b1afbe3a2ff7623c9a0e8504bc85af4bd8156059 (diff) | |
download | bundler-7ae072865e3fc23d9844322dde6ad0f6906e3f2c.tar.gz |
Compatibility with frozen string literals
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r-- | lib/bundler/source.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb index 0bcf9c3c..5f1eb130 100644 --- a/lib/bundler/source.rb +++ b/lib/bundler/source.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true module Bundler class Source autoload :Rubygems, "bundler/source/rubygems" @@ -17,7 +18,7 @@ module Bundler locked_spec = Bundler.locked_gems.specs.find {|s| s.name == spec.name } locked_spec_version = locked_spec.version if locked_spec if locked_spec_version && spec.version != locked_spec_version - message << " (was #{locked_spec_version})" + message += " (was #{locked_spec_version})" end end |