Skip to content

Commit

Permalink
Improve Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Dec 15, 2024
1 parent 53e7325 commit b94235b
Show file tree
Hide file tree
Showing 20 changed files with 117 additions and 144 deletions.
17 changes: 9 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ source 'https://rubygems.org'

gemspec

# Dev libs
gem 'appraisal', git: 'https://github.com/thoughtbot/appraisal.git'

gem 'combustion'
gem 'database_cleaner'
gem 'factory_bot'
gem 'faker'
gem 'generator_spec'
gem 'guard-rspec'
gem 'pry'
gem 'puma'
gem 'rake'
gem 'rspec'
gem 'rspec-retry'
gem 'rubocop'
gem 'rubocop-factory_bot'
gem 'rubocop-performance'
gem 'rubocop-rake'
gem 'rubocop-rspec'
gem 'simplecov'

# Fallback to pg in dev/local environment
gem 'pg'

# Dev tools / linter
gem 'guard-rspec', require: false
gem 'rubocop', require: false
gem 'rubocop-factory_bot', require: false
gem 'rubocop-performance', require: false
gem 'rubocop-rake', require: false
gem 'rubocop-rspec', require: false
10 changes: 0 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,3 @@ require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)
task default: :spec

desc 'Open a Ruby irb console with the gem loaded'
task :console do
require 'pry'
require 'rails'
require 'ajax-datatables-rails'
puts 'Loaded AjaxDatatablesRails'
ARGV.clear
Pry.start
end
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"
gem "mysql2"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_oracle_enhanced.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"
gem "ruby-oci8"
gem "activerecord-oracle_enhanced-adapter", "~> 7.0.0"
Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_postgis.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "pg"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"
gem "activerecord-postgis-adapter"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_postgresql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "pg"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"

install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do
Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_sqlite3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"
gem "sqlite3", "~> 1.5.0"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.0_with_trilogy.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.0.0"
gem "activerecord-trilogy-adapter"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"
gem "mysql2"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_oracle_enhanced.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"
gem "activerecord-oracle_enhanced-adapter", "~> 7.1.0"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_postgis.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "pg"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"
gem "activerecord-postgis-adapter"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_postgresql.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "pg"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"

gemspec path: "../"
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_sqlite3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"
gem "sqlite3", "~> 1.5.0"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.1_with_trilogy.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.1.0"
gem "activerecord-trilogy-adapter"

Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails_7.2_with_mysql2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ gem "database_cleaner"
gem "factory_bot"
gem "faker"
gem "generator_spec"
gem "guard-rspec"
gem "pry"
gem "puma"
gem "rake"
gem "rspec"
gem "rspec-retry"
gem "rubocop"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "guard-rspec", require: false
gem "rubocop", require: false
gem "rubocop-factory_bot", require: false
gem "rubocop-performance", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "rails", "~> 7.2.0"
gem "mysql2"

Expand Down
Loading

0 comments on commit b94235b

Please sign in to comment.