Skip to content

Commit

Permalink
Disable frozen_string_literal check
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcasals committed Jul 10, 2019
1 parent 809fe1d commit c9c12a3
Show file tree
Hide file tree
Showing 34 changed files with 4 additions and 66 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ AllCops:

Metrics/BlockLength:
ExcludedMethods: [it, describe]

Style/FrozenStringLiteralComment:
Enabled: false
2 changes: 0 additions & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# frozen_string_literal: true

changelog.check
toc.check
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

# NOTE: this is temporary until Bundler 2.0 changes how github: references work.
git_source(:github) { |repo| "https://github.com/#{repo['/'] ? repo : "#{repo}/#{repo}"}.git" }

Expand Down
2 changes: 0 additions & 2 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

guard 'minitest' do
watch(%r{^test/(.*)_test\.rb})
watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
Expand Down
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env rake
# frozen_string_literal: true

require 'rubygems'
require 'bundler'
Expand Down
2 changes: 0 additions & 2 deletions examples/splines_api.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'hyperclient'

puts "Using Hyperclient #{Hyperclient::VERSION} ..."
Expand Down
2 changes: 0 additions & 2 deletions features/steps/api_navigation.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

class Spinach::Features::ApiNavigation < Spinach::FeatureSteps
include API

Expand Down
2 changes: 0 additions & 2 deletions features/steps/default_config.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

class Spinach::Features::DefaultConfig < Spinach::FeatureSteps
include API

Expand Down
2 changes: 0 additions & 2 deletions features/support/api.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative 'fixtures'
module API
include Spinach::DSL
Expand Down
2 changes: 0 additions & 2 deletions features/support/env.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'minitest/spec'
require 'webmock'
WebMock.enable!
Expand Down
2 changes: 0 additions & 2 deletions features/support/fixtures.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'json'

module Spinach
Expand Down
2 changes: 0 additions & 2 deletions hyperclient.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require File.expand_path('lib/hyperclient/version', __dir__)

Gem::Specification.new do |gem|
Expand Down
2 changes: 0 additions & 2 deletions lib/faraday/connection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'faraday'
require 'faraday/digestauth'

Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'hyperclient/collection'
require 'hyperclient/link'
require 'hyperclient/attributes'
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/attributes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
# Public: A wrapper class to easily acces the attributes in a Resource.
#
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/collection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
# Public: A helper class to wrap a collection of elements and provide
# Hash-like access or via a method call.
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/curie.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
# Internal: Curies are named tokens that you can define in the document and use
# to express curie relation URIs in a friendlier, more compact fashion.
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/entry_point.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'faraday_middleware'
require 'faraday_hal_middleware'
require_relative '../faraday/connection'
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/link.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'addressable'

module Hyperclient
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/link_collection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
# Public: A wrapper class to easily acces the links in a Resource.
#
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/resource.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'forwardable'

module Hyperclient
Expand Down
2 changes: 0 additions & 2 deletions lib/hyperclient/resource_collection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
# Public: A wrapper class to easily acces the embedded resources in a
# Resource.
Expand Down
4 changes: 1 addition & 3 deletions lib/hyperclient/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

module Hyperclient
VERSION = '0.9.1'
VERSION = '0.9.1'.freeze
end
2 changes: 0 additions & 2 deletions test/faraday/connection_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require_relative '../../lib/faraday/connection'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/attributes_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/collection_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/curie_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/entry_point_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/link_collection_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/link_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/resource_collection_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient/resource_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require_relative '../test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/hyperclient_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

require 'test_helper'
require 'hyperclient'

Expand Down
2 changes: 0 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: true

$LOAD_PATH << 'lib'

require 'minitest/spec'
Expand Down

0 comments on commit c9c12a3

Please sign in to comment.