Skip to content

Commit

Permalink
chore(version): update rubocop and rubocop-rspec
Browse files Browse the repository at this point in the history
Also use same version in generated projects
  • Loading branch information
difernandez committed Feb 2, 2021
1 parent 4685517 commit 4d0f7ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/potassium/recipes/style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def install

def add_linters
gather_gems(:development, :test) do
gather_gem 'rubocop', '~> 0.82.0'
gather_gem 'rubocop', Potassium::RUBOCOP_VERSION
gather_gem 'rubocop-performance'
gather_gem 'rubocop-rails'
gather_gem 'rubocop-rspec'
gather_gem 'rubocop-rspec', Potassium::RUBOCOP_RSPEC_VERSION
end
run 'bin/yarn add --dev stylelint eslint eslint-plugin-import'
run 'bin/yarn add --dev eslint-plugin-vue' if selected?(:front_end, :vue)
Expand Down
3 changes: 2 additions & 1 deletion lib/potassium/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ module Potassium
VERSION = "6.1.0"
RUBY_VERSION = "2.7.0"
RAILS_VERSION = "~> 6.0.2"
RUBOCOP_VERSION = "~> 0.82.0"
RUBOCOP_VERSION = "~> 1.9"
RUBOCOP_RSPEC_VERSION = "~> 2.2"
POSTGRES_VERSION = "11.3"
MYSQL_VERSION = "5.7"
NODE_VERSION = "12"
Expand Down
2 changes: 1 addition & 1 deletion potassium.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop", Potassium::RUBOCOP_VERSION
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "rubocop-rails"
spec.add_development_dependency "rubocop-rspec"
spec.add_development_dependency "rubocop-rspec", Potassium::RUBOCOP_RSPEC_VERSION
spec.add_runtime_dependency "gems", "~> 0.8"
spec.add_runtime_dependency "gli", "~> 2.12.2"
spec.add_runtime_dependency "inquirer", "~> 0.2"
Expand Down

0 comments on commit 4d0f7ca

Please sign in to comment.