Skip to content

Commit 809fe1d

Browse files
committed
Autofix all issues
1 parent 7182409 commit 809fe1d

35 files changed

+85
-11
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from: .rubocop_todo.yml
22

33
AllCops:
4-
TargetRubyVersion: 2.2
4+
TargetRubyVersion: 2.3
55

66
Metrics/BlockLength:
77
ExcludedMethods: [it, describe]

.rubocop_todo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ Style/DoubleNegation:
5252
- 'lib/hyperclient/link.rb'
5353

5454
# Offense count: 1
55-
Style/MethodMissing:
55+
Style/MethodMissingSuper:
5656
Exclude:
5757
- 'lib/hyperclient/collection.rb'

Dangerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# frozen_string_literal: true
2+
13
changelog.check
24
toc.check

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# NOTE: this is temporary until Bundler 2.0 changes how github: references work.
24
git_source(:github) { |repo| "https://github.com/#{repo['/'] ? repo : "#{repo}/#{repo}"}.git" }
35

Guardfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
guard 'minitest' do
24
watch(%r{^test/(.*)_test\.rb})
35
watch(%r{^lib/(.*)([^/]+)\.rb}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env rake
2+
# frozen_string_literal: true
3+
24
require 'rubygems'
35
require 'bundler'
46
Bundler.setup :default, :test, :development

examples/splines_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require 'hyperclient'
24

35
puts "Using Hyperclient #{Hyperclient::VERSION} ..."

features/steps/api_navigation.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
class Spinach::Features::ApiNavigation < Spinach::FeatureSteps
24
include API
35

features/steps/default_config.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
class Spinach::Features::DefaultConfig < Spinach::FeatureSteps
24
include API
35

features/support/api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require_relative 'fixtures'
24
module API
35
include Spinach::DSL

0 commit comments

Comments
 (0)