mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-04-27 14:57:45 +00:00
Fix RuboCop offenses introduced in version 0.20.0
This commit is contained in:
parent
300f73d018
commit
65a3bdcde8
3 changed files with 3 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
AllCops:
|
AllCops:
|
||||||
Includes:
|
Include:
|
||||||
- 'Gemfile'
|
- 'Gemfile'
|
||||||
- 'Rakefile'
|
- 'Rakefile'
|
||||||
- 'simple_oauth.gemspec'
|
- 'simple_oauth.gemspec'
|
||||||
|
|
|
||||||
2
Gemfile
2
Gemfile
|
|
@ -8,7 +8,7 @@ group :test do
|
||||||
gem 'coveralls', :require => false
|
gem 'coveralls', :require => false
|
||||||
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
|
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
|
||||||
gem 'rspec', '>= 2.14'
|
gem 'rspec', '>= 2.14'
|
||||||
gem 'rubocop', '>= 0.19', :platforms => [:ruby_19, :ruby_20, :ruby_21]
|
gem 'rubocop', '>= 0.20', :platforms => [:ruby_19, :ruby_20, :ruby_21]
|
||||||
gem 'simplecov', :require => false
|
gem 'simplecov', :require => false
|
||||||
gem 'yardstick'
|
gem 'yardstick'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
require 'coveralls'
|
require 'coveralls'
|
||||||
|
|
||||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
|
||||||
SimpleCov::Formatter::HTMLFormatter,
|
|
||||||
Coveralls::SimpleCov::Formatter
|
|
||||||
]
|
|
||||||
|
|
||||||
SimpleCov.start do
|
SimpleCov.start do
|
||||||
add_filter '/spec/'
|
add_filter '/spec/'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue