From 09a2d8aa36b3b09745c001f06c3dc9259d3e8e28 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Mon, 11 Nov 2024 18:39:44 +0100 Subject: [PATCH] Improve Gemfile --- Gemfile | 16 ++++++++-------- gemfiles/rails_7.0.gemfile | 12 +++++------- gemfiles/rails_7.1.gemfile | 12 +++++------- gemfiles/rails_7.2.gemfile | 12 +++++------- gemfiles/rails_8.0.gemfile | 12 +++++------- 5 files changed, 28 insertions(+), 36 deletions(-) diff --git a/Gemfile b/Gemfile index 3bec8ea..c9308af 100644 --- a/Gemfile +++ b/Gemfile @@ -4,14 +4,14 @@ source 'https://rubygems.org' gemspec +# Dev libs gem 'appraisal', git: 'https://github.com/thoughtbot/appraisal.git' - -gem 'debug' gem 'rspec-rails' -gem 'rubocop' -gem 'rubocop-performance' -gem 'rubocop-rake' -gem 'rubocop-rspec' -gem 'rubocop-rspec_rails' -gem 'ruby-lsp' gem 'simplecov' + +# Dev tools / linter +gem 'rubocop', require: false +gem 'rubocop-performance', require: false +gem 'rubocop-rake', require: false +gem 'rubocop-rspec', require: false +gem 'rubocop-rspec_rails', require: false diff --git a/gemfiles/rails_7.0.gemfile b/gemfiles/rails_7.0.gemfile index a3ecf15..8f4e863 100644 --- a/gemfiles/rails_7.0.gemfile +++ b/gemfiles/rails_7.0.gemfile @@ -3,15 +3,13 @@ source "https://rubygems.org" gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" -gem "debug" gem "rspec-rails" -gem "rubocop" -gem "rubocop-performance" -gem "rubocop-rake" -gem "rubocop-rspec" -gem "rubocop-rspec_rails" -gem "ruby-lsp" gem "simplecov" +gem "rubocop", require: false +gem "rubocop-performance", require: false +gem "rubocop-rake", require: false +gem "rubocop-rspec", require: false +gem "rubocop-rspec_rails", require: false gem "rails", "~> 7.0.0" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") } do diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile index 6944a65..b135339 100644 --- a/gemfiles/rails_7.1.gemfile +++ b/gemfiles/rails_7.1.gemfile @@ -3,15 +3,13 @@ source "https://rubygems.org" gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" -gem "debug" gem "rspec-rails" -gem "rubocop" -gem "rubocop-performance" -gem "rubocop-rake" -gem "rubocop-rspec" -gem "rubocop-rspec_rails" -gem "ruby-lsp" gem "simplecov" +gem "rubocop", require: false +gem "rubocop-performance", require: false +gem "rubocop-rake", require: false +gem "rubocop-rspec", require: false +gem "rubocop-rspec_rails", require: false gem "rails", "~> 7.1.0" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile index c0ae62d..401c68a 100644 --- a/gemfiles/rails_7.2.gemfile +++ b/gemfiles/rails_7.2.gemfile @@ -3,15 +3,13 @@ source "https://rubygems.org" gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" -gem "debug" gem "rspec-rails" -gem "rubocop" -gem "rubocop-performance" -gem "rubocop-rake" -gem "rubocop-rspec" -gem "rubocop-rspec_rails" -gem "ruby-lsp" gem "simplecov" +gem "rubocop", require: false +gem "rubocop-performance", require: false +gem "rubocop-rake", require: false +gem "rubocop-rspec", require: false +gem "rubocop-rspec_rails", require: false gem "rails", "~> 7.2.0" gemspec path: "../" diff --git a/gemfiles/rails_8.0.gemfile b/gemfiles/rails_8.0.gemfile index 72533c3..b85bf68 100644 --- a/gemfiles/rails_8.0.gemfile +++ b/gemfiles/rails_8.0.gemfile @@ -3,15 +3,13 @@ source "https://rubygems.org" gem "appraisal", git: "https://github.com/thoughtbot/appraisal.git" -gem "debug" gem "rspec-rails" -gem "rubocop" -gem "rubocop-performance" -gem "rubocop-rake" -gem "rubocop-rspec" -gem "rubocop-rspec_rails" -gem "ruby-lsp" gem "simplecov" +gem "rubocop", require: false +gem "rubocop-performance", require: false +gem "rubocop-rake", require: false +gem "rubocop-rspec", require: false +gem "rubocop-rspec_rails", require: false gem "rails", "~> 8.0.0" gemspec path: "../"