fix rubocop regressions

This commit is contained in:
Steve Agalloco 2017-05-25 13:48:04 -04:00
parent b5ef4469d5
commit 4e766f926c
No known key found for this signature in database
GPG key ID: FDAF2BA50D34F744
4 changed files with 11 additions and 6 deletions

View file

@ -48,7 +48,7 @@ Style/MutableConstant:
Style/NumericPredicate:
Enabled: false
Style/SpaceInsideHashLiteralBraces:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Style/TrailingCommaInArguments:
@ -56,3 +56,8 @@ Style/TrailingCommaInArguments:
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: 'comma'
Style/FileName:
Exclude:
- Rakefile
- Gemfile

View file

@ -12,9 +12,9 @@ end
group :test do
gem 'rspec', '~> 3'
gem 'webmock', '>= 1.22'
gem 'rubocop', '>= 0.27'
gem 'simplecov'
gem 'webmock', '>= 1.22'
end
gemspec

View file

@ -12,4 +12,4 @@ RuboCop::RakeTask.new
require 'yard'
YARD::Rake::YardocTask.new
task default: [:spec, :rubocop]
task default: %i[spec rubocop]

View file

@ -12,11 +12,11 @@ Gem::Specification.new do |spec|
spec.author = 'Steve Agalloco'
spec.description = "Ruby Client for Instapaper's Full API"
spec.email = 'steve.agalloco@gmail.com'
spec.files = %w(LICENSE.md README.md instapaper.gemspec) + Dir['lib/**/*.rb']
spec.files = %w[LICENSE.md README.md instapaper.gemspec] + Dir['lib/**/*.rb']
spec.homepage = 'https://github.com/stve/instapaper'
spec.licenses = %w(MIT)
spec.licenses = %w[MIT]
spec.name = 'instapaper'
spec.require_paths = %w(lib)
spec.require_paths = %w[lib]
spec.required_ruby_version = '>= 2.0.0'
spec.summary = 'Ruby Instapaper Client'
spec.version = Instapaper::VERSION