Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Upgrade rubocop to version 0.61.1 (#50)

* Update rubocop to version 0.61.1
* Rubocop updates (@ruebot)
  • Loading branch information...
depfu authored and ruebot committed Dec 12, 2018
1 parent fb35f3b commit 694bd0e9cc69cd629a4d2a593bf1b70b9223a1a8
Showing with 15 additions and 1 deletion.
  1. +13 −0 .rubocop.yml
  2. +1 −0 tasks/warclight.rake
  3. +1 −1 warclight.gemspec
@@ -57,6 +57,9 @@ RSpec/MultipleExpectations:
RSpec/NestedGroups:
Max: 4

RSpec/DescribeClass:
Enabled: false

Rails/TimeZone:
Exclude:
- 'app/models/concerns/warclight/solr_document.rb' #Come back to this later
@@ -66,9 +69,19 @@ Style/Documentation:
- 'spec/**/*'
- 'lib/warclight.rb'

Style/ExpandPathArguments:
Exclude:
- warclight.gemspec
- lib/generators/warclight/install_generator.rb
- lib/generators/warclight/update_generator.rb

Bundler/DuplicatedGem:
Enabled: false

Lint/UselessAssignment:
Exclude:
- 'app/models/concerns/warclight/solr_document.rb' #Come back to this later

Style/RescueStandardError:
Exclude:
- app/helpers/warclight_helper.rb
@@ -56,5 +56,6 @@ namespace :warclight do
system('curl -o ".internal_test_app/tmp/warc-indexer.jar" "http://alpha.library.yorku.ca/warc-indexer.jar"')
system('java -Djava.io.tmpdir=.internal_test_app/tmp -jar .internal_test_app/tmp/warc-indexer.jar -c .internal_test_app/solr/warclight_warc-indexer.conf -i "York University Libraries" -n "Test Collection" -u "12345" -s http://localhost:8983/solr/blacklight-core spec/fixtures/warcs/*.gz')
system('curl "http://localhost:8983/solr/blacklight-core/update?commit=true&openSearcher=true"')
# rubocop:enable Metrics/LineLength
end
end
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'poltergeist'
s.add_development_dependency 'rake', '~> 12.0'
s.add_development_dependency 'rspec-rails', '~> 3.0'
s.add_development_dependency 'rubocop', '~> 0.48.1'
s.add_development_dependency 'rubocop', '~> 0.61.1'
s.add_development_dependency 'rubocop-rspec', '~> 1.15.0'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'solr_wrapper'

0 comments on commit 694bd0e

Please sign in to comment.
You can’t perform that action at this time.