Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI linting #273

Merged
merged 2 commits into from
Jul 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ jobs:

- name: Rubocop
run: |
gem install rubocop rubocop-packaging rubocop-performance --no-document
rubocop --format progress
gem install bundler
bundle config set without 'development test'
bundle config set with 'lint'
bundle install
bundle exec rubocop --format progress

- name: Yard-Junk
run: |
Expand Down
29 changes: 17 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,30 @@

source 'https://rubygems.org'

gem 'brotli', '>= 0.1.8', platforms: :mri
gem 'hashie', '>= 1.2'
gem 'json', '< 3'
gem 'multi_xml', '>= 0.5.3'
gem 'rack', '< 2'
gem 'rack-cache', '>= 1.1', '< 1.3'
gem 'rake', '>= 12.3.3'
gem 'rash_alt', '>= 0.4.3'
gem 'safe_yaml'
gem 'simple_oauth', '>= 0.1', '< 0.3'
group :development do
gem 'brotli', '>= 0.1.8', platforms: :mri
gem 'hashie', '>= 1.2'
gem 'json', '< 3'
gem 'multi_xml', '>= 0.5.3'
gem 'rack', '< 2'
gem 'rack-cache', '>= 1.1', '< 1.3'
gem 'rake', '>= 12.3.3'
gem 'rash_alt', '>= 0.4.3'
gem 'safe_yaml'
gem 'simple_oauth', '>= 0.1', '< 0.3'
end

group :test do
gem 'addressable', '< 2.4'
gem 'rspec', '>= 3'
gem 'simplecov', '~> 0.12.0'
gem 'webmock', '~> 2.3'
end

group :lint do
gem 'rubocop', '~> 1.12.0'
gem 'rubocop-packaging', '~> 0.4'
gem 'rubocop-performance', '~> 1.5.2'
gem 'simplecov', '~> 0.12.0'
gem 'webmock', '~> 2.3'
end

gemspec