summaryrefslogtreecommitdiff
path: root/spec/support/builders.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-01-31 11:29:09 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-01-31 22:22:06 -0600
commit7ae072865e3fc23d9844322dde6ad0f6906e3f2c (patch)
tree2133b2f27e243af2d8beda66f19b2f1086685a0e /spec/support/builders.rb
parentb1afbe3a2ff7623c9a0e8504bc85af4bd8156059 (diff)
downloadbundler-7ae072865e3fc23d9844322dde6ad0f6906e3f2c.tar.gz
Compatibility with frozen string literals
Diffstat (limited to 'spec/support/builders.rb')
-rw-r--r--spec/support/builders.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index 4f5dace604..3a18cbea77 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require "bundler/shared_helpers"
module Spec
@@ -624,7 +625,7 @@ module Spec
current_ref = `git rev-parse HEAD`.strip
_default_files.keys.each do |path|
- _default_files[path] << "\n#{Builders.constantize(name)}_PREV_REF = '#{current_ref}'"
+ _default_files[path] += "\n#{Builders.constantize(name)}_PREV_REF = '#{current_ref}'"
end
super(options.merge(:path => libpath, :gemspec => false))
`git add *`