diff --git a/judoscale-ruby/lib/judoscale/config.rb b/judoscale-ruby/lib/judoscale/config.rb index 4d1f378f..6a369c0e 100644 --- a/judoscale-ruby/lib/judoscale/config.rb +++ b/judoscale-ruby/lib/judoscale/config.rb @@ -59,7 +59,7 @@ def as_json end end - BLANK_REGEXP = /\A[[:space:]]*\z/.freeze + BLANK_REGEXP = /\A[[:space:]]*\z/ private_constant :BLANK_REGEXP diff --git a/judoscale-ruby/test/config_test.rb b/judoscale-ruby/test/config_test.rb index 6d194c54..4b9d7ad1 100644 --- a/judoscale-ruby/test/config_test.rb +++ b/judoscale-ruby/test/config_test.rb @@ -89,7 +89,7 @@ module Judoscale end end - it 'gracefully handles invalid JUDOSCALE_LOG_LEVEL values' do + it "gracefully handles invalid JUDOSCALE_LOG_LEVEL values" do env = { "JUDOSCALE_LOG_LEVEL" => "not_a_real_log_level" } @@ -146,7 +146,7 @@ module Judoscale _(enabled_adapter_configs).must_be :empty? end - it 'gracefully handles invalid log_level values and logs a warning' do + it "gracefully handles invalid log_level values and logs a warning" do Judoscale.configure do |config| config.log_level = :not_a_real_log_level end @@ -157,7 +157,7 @@ module Judoscale _(log_string).must_include "Invalid log_level detected: not_a_real_log_level" end - it 'gracefully handles blank log_level values' do + it "gracefully handles blank log_level values" do Judoscale.configure do |config| config.log_level = " " end