diff --git a/instrumentation/graphql/test/test_helper.rb b/instrumentation/graphql/test/test_helper.rb index 4fae892ce..7129b1408 100644 --- a/instrumentation/graphql/test/test_helper.rb +++ b/instrumentation/graphql/test/test_helper.rb @@ -132,6 +132,6 @@ def trace_lex_supported? return @trace_lex_supported if defined?(@trace_lex_supported) # In GraphQL 2.2, the default parser was changed such that `lex` is no longer called - @trace_lex_supported = Gem::Requirement.new('< 2.2').satisfied_by?(Gem::Version.new(GraphQL::VERSION)) \ - || (defined?(GraphQL::CParser) == 'constant') + @trace_lex_supported = Gem::Requirement.new('< 2.2').satisfied_by?(Gem::Version.new(GraphQL::VERSION)) || + (defined?(GraphQL::CParser) == 'constant') end diff --git a/instrumentation/rails/test/railtie/dummy/config/initializers/content_security_policy.rb b/instrumentation/rails/test/railtie/dummy/config/initializers/content_security_policy.rb index f37ed8de4..96bd22282 100644 --- a/instrumentation/rails/test/railtie/dummy/config/initializers/content_security_policy.rb +++ b/instrumentation/rails/test/railtie/dummy/config/initializers/content_security_policy.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + # Be sure to restart your server when you modify this file. # Define an application-wide content security policy diff --git a/instrumentation/rails/test/railtie/dummy/config/initializers/inflections.rb b/instrumentation/rails/test/railtie/dummy/config/initializers/inflections.rb index 6c78420e7..9e049dcc9 100644 --- a/instrumentation/rails/test/railtie/dummy/config/initializers/inflections.rb +++ b/instrumentation/rails/test/railtie/dummy/config/initializers/inflections.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections diff --git a/instrumentation/rails/test/railtie/dummy/config/initializers/permissions_policy.rb b/instrumentation/rails/test/railtie/dummy/config/initializers/permissions_policy.rb index 50bcf4ead..810aadeb9 100644 --- a/instrumentation/rails/test/railtie/dummy/config/initializers/permissions_policy.rb +++ b/instrumentation/rails/test/railtie/dummy/config/initializers/permissions_policy.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + # Define an application-wide HTTP permissions policy. For further # information see https://developers.google.com/web/updates/2018/06/feature-policy #