From b2abe7812afe4721fd54aa1277f517f1a6334a03 Mon Sep 17 00:00:00 2001 From: Bruno Vicenzo Date: Tue, 4 Aug 2020 12:16:31 -0300 Subject: [PATCH] Remove Warning: Style/FrozenStringLiteralComment: Missing frozen string literal comment. --- Gemfile | 2 ++ Rakefile | 2 ++ lib/wasabi.rb | 2 ++ lib/wasabi/core_ext/string.rb | 2 ++ lib/wasabi/document.rb | 2 ++ lib/wasabi/parser.rb | 2 ++ lib/wasabi/resolver.rb | 2 ++ lib/wasabi/version.rb | 2 ++ spec/spec_helper.rb | 2 ++ spec/support/adapter.rb | 2 ++ spec/support/fixture.rb | 2 ++ spec/support/profiling.rb | 2 ++ spec/wasabi/core_ext/string_spec.rb | 2 ++ spec/wasabi/document/authentication_spec.rb | 2 ++ spec/wasabi/document/economic_spec.rb | 2 ++ spec/wasabi/document/encoded_endpoint_spec.rb | 2 ++ spec/wasabi/document/geotrust_spec.rb | 2 ++ spec/wasabi/document/inherited_spec.rb | 2 ++ spec/wasabi/document/multiple_namespaces_spec.rb | 2 ++ spec/wasabi/document/namespaced_actions_spec.rb | 2 ++ spec/wasabi/document/no_namespace_spec.rb | 2 ++ spec/wasabi/document/savon295_spec.rb | 2 ++ spec/wasabi/document/soap12_spec.rb | 2 ++ spec/wasabi/document/two_bindings_spec.rb | 2 ++ spec/wasabi/document_spec.rb | 2 ++ spec/wasabi/parser/get_servicename_spec.rb | 2 ++ spec/wasabi/parser/import_port_types_spec.rb | 2 ++ spec/wasabi/parser/juniper_spec.rb | 2 ++ spec/wasabi/parser/marketo_spec.rb | 2 ++ spec/wasabi/parser/multiple_namespaces_spec.rb | 2 ++ spec/wasabi/parser/multiple_parts_in_message_spec.rb | 2 ++ spec/wasabi/parser/no_message_parts_spec.rb | 2 ++ spec/wasabi/parser/no_namespace_spec.rb | 2 ++ spec/wasabi/parser/no_target_namespace_spec.rb | 2 ++ spec/wasabi/parser/softlayer_spec.rb | 2 ++ spec/wasabi/parser/symbolic_endpoint_spec.rb | 2 ++ spec/wasabi/parser/tradetracker_spec.rb | 2 ++ spec/wasabi/resolver_spec.rb | 2 ++ spec/wasabi/wasabi_spec.rb | 2 ++ 39 files changed, 78 insertions(+) diff --git a/Gemfile b/Gemfile index 0e1dd7a..80709ea 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + source 'https://rubygems.org' gemspec diff --git a/Rakefile b/Rakefile index df733a8..05b3b3b 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "bundler/gem_tasks" require "rspec/core/rake_task" diff --git a/lib/wasabi.rb b/lib/wasabi.rb index 824236b..16f2af8 100644 --- a/lib/wasabi.rb +++ b/lib/wasabi.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "wasabi/version" require "wasabi/document" require "wasabi/resolver" diff --git a/lib/wasabi/core_ext/string.rb b/lib/wasabi/core_ext/string.rb index 5fa7f8b..8a89ad1 100644 --- a/lib/wasabi/core_ext/string.rb +++ b/lib/wasabi/core_ext/string.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Wasabi module CoreExt module String diff --git a/lib/wasabi/document.rb b/lib/wasabi/document.rb index 7ddce22..0baddf5 100644 --- a/lib/wasabi/document.rb +++ b/lib/wasabi/document.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "nokogiri" require "wasabi/resolver" require "wasabi/parser" diff --git a/lib/wasabi/parser.rb b/lib/wasabi/parser.rb index 7bedb50..4d8c705 100644 --- a/lib/wasabi/parser.rb +++ b/lib/wasabi/parser.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'uri' require 'addressable/uri' require 'wasabi/core_ext/string' diff --git a/lib/wasabi/resolver.rb b/lib/wasabi/resolver.rb index 5f10169..bf15c62 100644 --- a/lib/wasabi/resolver.rb +++ b/lib/wasabi/resolver.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "httpi" module Wasabi diff --git a/lib/wasabi/version.rb b/lib/wasabi/version.rb index 598d129..c50caf4 100644 --- a/lib/wasabi/version.rb +++ b/lib/wasabi/version.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Wasabi VERSION = '3.6.0' end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f9204a0..bf56c4a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "bundler" Bundler.require :default, :development diff --git a/spec/support/adapter.rb b/spec/support/adapter.rb index 15d9f62..5794715 100644 --- a/spec/support/adapter.rb +++ b/spec/support/adapter.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class FakeAdapterForTest < HTTPI::Adapter::Base register :fake_adapter_for_test diff --git a/spec/support/fixture.rb b/spec/support/fixture.rb index 2bcd384..557b164 100644 --- a/spec/support/fixture.rb +++ b/spec/support/fixture.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module SpecSupport class Fixture diff --git a/spec/support/profiling.rb b/spec/support/profiling.rb index 54e0840..d38cbd9 100644 --- a/spec/support/profiling.rb +++ b/spec/support/profiling.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module SpecSupport def benchmark(&block) diff --git a/spec/wasabi/core_ext/string_spec.rb b/spec/wasabi/core_ext/string_spec.rb index dd2efb2..62e07ab 100644 --- a/spec/wasabi/core_ext/string_spec.rb +++ b/spec/wasabi/core_ext/string_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::CoreExt::String do diff --git a/spec/wasabi/document/authentication_spec.rb b/spec/wasabi/document/authentication_spec.rb index af00497..0316891 100644 --- a/spec/wasabi/document/authentication_spec.rb +++ b/spec/wasabi/document/authentication_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/economic_spec.rb b/spec/wasabi/document/economic_spec.rb index 90b0b76..3575a8e 100644 --- a/spec/wasabi/document/economic_spec.rb +++ b/spec/wasabi/document/economic_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Wasabi::Document do diff --git a/spec/wasabi/document/encoded_endpoint_spec.rb b/spec/wasabi/document/encoded_endpoint_spec.rb index b02c0d5..eeaf5e2 100644 --- a/spec/wasabi/document/encoded_endpoint_spec.rb +++ b/spec/wasabi/document/encoded_endpoint_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/geotrust_spec.rb b/spec/wasabi/document/geotrust_spec.rb index 06bef6b..2f57f67 100644 --- a/spec/wasabi/document/geotrust_spec.rb +++ b/spec/wasabi/document/geotrust_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/inherited_spec.rb b/spec/wasabi/document/inherited_spec.rb index 6e23a9e..fac55b8 100644 --- a/spec/wasabi/document/inherited_spec.rb +++ b/spec/wasabi/document/inherited_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/multiple_namespaces_spec.rb b/spec/wasabi/document/multiple_namespaces_spec.rb index 5024ddd..05c97c9 100644 --- a/spec/wasabi/document/multiple_namespaces_spec.rb +++ b/spec/wasabi/document/multiple_namespaces_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/namespaced_actions_spec.rb b/spec/wasabi/document/namespaced_actions_spec.rb index 85d2d55..ef4c3b0 100644 --- a/spec/wasabi/document/namespaced_actions_spec.rb +++ b/spec/wasabi/document/namespaced_actions_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/no_namespace_spec.rb b/spec/wasabi/document/no_namespace_spec.rb index be6a3d6..3d7a954 100644 --- a/spec/wasabi/document/no_namespace_spec.rb +++ b/spec/wasabi/document/no_namespace_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/savon295_spec.rb b/spec/wasabi/document/savon295_spec.rb index 1f35881..7dfa5d2 100644 --- a/spec/wasabi/document/savon295_spec.rb +++ b/spec/wasabi/document/savon295_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/soap12_spec.rb b/spec/wasabi/document/soap12_spec.rb index 7fc32a2..f525a8d 100644 --- a/spec/wasabi/document/soap12_spec.rb +++ b/spec/wasabi/document/soap12_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document/two_bindings_spec.rb b/spec/wasabi/document/two_bindings_spec.rb index 7dc3e02..af258c8 100644 --- a/spec/wasabi/document/two_bindings_spec.rb +++ b/spec/wasabi/document/two_bindings_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/document_spec.rb b/spec/wasabi/document_spec.rb index 266cd42..f1bb1ec 100644 --- a/spec/wasabi/document_spec.rb +++ b/spec/wasabi/document_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Document do diff --git a/spec/wasabi/parser/get_servicename_spec.rb b/spec/wasabi/parser/get_servicename_spec.rb index 3bc6ce0..8701aa7 100644 --- a/spec/wasabi/parser/get_servicename_spec.rb +++ b/spec/wasabi/parser/get_servicename_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/import_port_types_spec.rb b/spec/wasabi/parser/import_port_types_spec.rb index a8ef227..651a362 100644 --- a/spec/wasabi/parser/import_port_types_spec.rb +++ b/spec/wasabi/parser/import_port_types_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/juniper_spec.rb b/spec/wasabi/parser/juniper_spec.rb index bd43e5b..9a98a33 100644 --- a/spec/wasabi/parser/juniper_spec.rb +++ b/spec/wasabi/parser/juniper_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/marketo_spec.rb b/spec/wasabi/parser/marketo_spec.rb index 993f59b..0d89275 100644 --- a/spec/wasabi/parser/marketo_spec.rb +++ b/spec/wasabi/parser/marketo_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Wasabi::Parser do diff --git a/spec/wasabi/parser/multiple_namespaces_spec.rb b/spec/wasabi/parser/multiple_namespaces_spec.rb index f1964d9..033e4f3 100644 --- a/spec/wasabi/parser/multiple_namespaces_spec.rb +++ b/spec/wasabi/parser/multiple_namespaces_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/multiple_parts_in_message_spec.rb b/spec/wasabi/parser/multiple_parts_in_message_spec.rb index 966aba1..ee63685 100644 --- a/spec/wasabi/parser/multiple_parts_in_message_spec.rb +++ b/spec/wasabi/parser/multiple_parts_in_message_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/no_message_parts_spec.rb b/spec/wasabi/parser/no_message_parts_spec.rb index 9660ddd..55c9c2d 100644 --- a/spec/wasabi/parser/no_message_parts_spec.rb +++ b/spec/wasabi/parser/no_message_parts_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Wasabi::Parser do diff --git a/spec/wasabi/parser/no_namespace_spec.rb b/spec/wasabi/parser/no_namespace_spec.rb index 9a2a059..d3ce8ab 100644 --- a/spec/wasabi/parser/no_namespace_spec.rb +++ b/spec/wasabi/parser/no_namespace_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/no_target_namespace_spec.rb b/spec/wasabi/parser/no_target_namespace_spec.rb index 6c76938..6b5b603 100644 --- a/spec/wasabi/parser/no_target_namespace_spec.rb +++ b/spec/wasabi/parser/no_target_namespace_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/softlayer_spec.rb b/spec/wasabi/parser/softlayer_spec.rb index 00a7705..fc01a23 100644 --- a/spec/wasabi/parser/softlayer_spec.rb +++ b/spec/wasabi/parser/softlayer_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Wasabi::Parser do diff --git a/spec/wasabi/parser/symbolic_endpoint_spec.rb b/spec/wasabi/parser/symbolic_endpoint_spec.rb index 618fe32..00dec7b 100644 --- a/spec/wasabi/parser/symbolic_endpoint_spec.rb +++ b/spec/wasabi/parser/symbolic_endpoint_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Parser do diff --git a/spec/wasabi/parser/tradetracker_spec.rb b/spec/wasabi/parser/tradetracker_spec.rb index 3946fe6..32379ec 100644 --- a/spec/wasabi/parser/tradetracker_spec.rb +++ b/spec/wasabi/parser/tradetracker_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Wasabi::Parser do diff --git a/spec/wasabi/resolver_spec.rb b/spec/wasabi/resolver_spec.rb index 7104f00..019df43 100644 --- a/spec/wasabi/resolver_spec.rb +++ b/spec/wasabi/resolver_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi::Resolver do diff --git a/spec/wasabi/wasabi_spec.rb b/spec/wasabi/wasabi_spec.rb index 81b84a9..810f0db 100644 --- a/spec/wasabi/wasabi_spec.rb +++ b/spec/wasabi/wasabi_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Wasabi do