diff options
author | Colby Swandale <hello@colby.fyi> | 2018-07-11 23:09:18 +1000 |
---|---|---|
committer | Colby Swandale <hello@colby.fyi> | 2018-07-11 23:10:17 +1000 |
commit | 7c9a6a79f9b8db04905b1e28d251a0c3b88e56aa (patch) | |
tree | f0d951a22948c92d10df85ef137914bda6a9a95e | |
parent | ad27ec1e70e26c83427bf06ae090537b1d0fe901 (diff) | |
download | bundler-7c9a6a79f9b8db04905b1e28d251a0c3b88e56aa.tar.gz |
Fix syntax errors with heredocs in older versions of Ruby
-rw-r--r-- | spec/install/gemspecs_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb index ef5e8e90e6..1e49c2a003 100644 --- a/spec/install/gemspecs_spec.rb +++ b/spec/install/gemspecs_spec.rb @@ -66,13 +66,13 @@ RSpec.describe "bundle install" do it "reads gemspecs respecting their encoding" do skip "unicode constants are most likely not supported on 1.8" if RUBY_VERSION < "1.9" - create_file("version.rb", <<-RUBY) + create_file "version.rb", <<-RUBY module Persistent💎 VERSION = "0.0.1" end RUBY - create_file("persistent-dmnd.gemspec", <<-G) + create_file "persistent-dmnd.gemspec", <<-G require_relative "version" Gem::Specification.new do |gem| |