Gemfile in logstash-output-charrington-0.3.24 vs Gemfile in logstash-output-charrington-0.3.25
- old
+ new
@@ -1,11 +1,13 @@
+# frozen_string_literal: true
+
source 'https://rubygems.org'
gemspec
-logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
-use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
+logstash_path = ENV['LOGSTASH_PATH'] || '../../logstash'
+use_logstash_source = ENV['LOGSTASH_SOURCE'] && ENV['LOGSTASH_SOURCE'].to_s == '1'
if Dir.exist?(logstash_path) && use_logstash_source
- gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
- gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
+ gem 'logstash-core', path: "#{logstash_path}/logstash-core"
+ gem 'logstash-core-plugin-api', path: "#{logstash_path}/logstash-core-plugin-api"
end