mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
fix rubocop regressions
This commit is contained in:
parent
b5ef4469d5
commit
4e766f926c
4 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
2
Rakefile
2
Rakefile
|
|
@ -12,4 +12,4 @@ RuboCop::RakeTask.new
|
|||
require 'yard'
|
||||
YARD::Rake::YardocTask.new
|
||||
|
||||
task default: [:spec, :rubocop]
|
||||
task default: %i[spec rubocop]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue