From d7c47a22c313847efe4a88b1e0558df6fae66006 Mon Sep 17 00:00:00 2001 From: RobertDober Date: Mon, 9 Nov 2020 12:44:44 +0100 Subject: [PATCH 1/3] Fixed frozen string error --- .../commands/push_sub_commands/push_theme_assets_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb b/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb index 84735c35..a494edb5 100644 --- a/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb +++ b/lib/locomotive/wagon/commands/push_sub_commands/push_theme_assets_command.rb @@ -87,7 +87,7 @@ def register_url(resource) def compress_and_minify(entity) begin - sprockets_env[entity.short_relative_url].to_s + "#{sprockets_env[entity.short_relative_url]}" rescue Exception => e instrument :warning, message: "Unable to compress and minify it, error: #{e.message}" # use the original file instead From a70870bd4e403b6b96c2074b90f886fc2cb0d4df Mon Sep 17 00:00:00 2001 From: RobertDober Date: Mon, 9 Nov 2020 13:10:56 +0100 Subject: [PATCH 2/3] Added 2.7.1 to travis, that's what this fix is about after all --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 3da9b7ff..844f5c92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: ruby rvm: - 2.6.5 + - 2.7.1 before_install: - export TZ=Paris - date From 0a822aeb9c1c4b44ea5237b2eec6f91ebcedce26 Mon Sep 17 00:00:00 2001 From: RobertDober Date: Mon, 9 Nov 2020 14:36:05 +0100 Subject: [PATCH 3/3] pushed travis Ruby version for 2.7 to latest and gratest (2.7.2) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 844f5c92..0d690458 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: ruby rvm: - 2.6.5 - - 2.7.1 + - 2.7.2 before_install: - export TZ=Paris - date