Skip to content

Commit

Permalink
Tidy up gemfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Nov 28, 2023
1 parent 5beaf7c commit ee8d435
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 182 deletions.
77 changes: 0 additions & 77 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,12 @@

appraise 'rails-6.0' do
gem 'rails', '~> 6.0.0'
gem 'sassc-rails', '~> 2.1'
gem 'devise', '~> 4.7'

group :test do
gem 'cancancan', '~> 3.0'
gem 'kt-paperclip'
gem 'pundit', '~> 2.1.0'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
end

group :active_record do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'

platforms :jruby do
gem 'activerecord-jdbcmysql-adapter', '~> 60.0'
gem 'activerecord-jdbcpostgresql-adapter', '~> 60.0'
Expand All @@ -26,30 +17,13 @@ appraise 'rails-6.0' do

group :mongoid do
gem 'mongoid', '~> 7.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'rails-6.1' do
gem 'rails', '~> 6.1.0'
gem 'sassc-rails', '~> 2.1'
gem 'devise', '~> 4.7'

group :test do
gem 'cancancan', '~> 3.2'
gem 'kt-paperclip'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
end

group :active_record do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'

platforms :jruby do
gem 'activerecord-jdbcmysql-adapter', '~> 61.0'
gem 'activerecord-jdbcpostgresql-adapter', '~> 61.0'
Expand All @@ -59,31 +33,14 @@ appraise 'rails-6.1' do

group :mongoid do
gem 'mongoid', '~> 7.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'rails-7.0' do
gem 'rails', '~> 7.0.0'
gem 'importmap-rails', require: false
gem 'sassc-rails', '~> 2.1'
gem 'devise', '~> 4.8'

group :test do
gem 'cancancan', '~> 3.2'
gem 'kt-paperclip'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
end

group :active_record do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'

platforms :jruby do
gem 'activerecord-jdbcmysql-adapter', '~> 70.0'
gem 'activerecord-jdbcpostgresql-adapter', '~> 70.0'
Expand All @@ -93,56 +50,22 @@ appraise 'rails-7.0' do

group :mongoid do
gem 'mongoid', '~> 8.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'rails-7.1' do
gem 'rails', '~> 7.1.0'
gem 'importmap-rails', require: false
gem 'sassc-rails', '~> 2.1'
gem 'devise', '~> 4.8'

group :test do
gem 'cancancan', '~> 3.2'
gem 'kt-paperclip'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
end

group :active_record do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'
end

group :mongoid do
gem 'mongoid', '~> 8.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'composite_primary_keys' do
gem 'rails', '~> 7.0.0'
gem 'sassc-rails', '~> 2.1'
gem 'devise', '~> 4.8'

group :test do
gem 'cancancan', '~> 3.2'
gem 'kt-paperclip'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
end

group :active_record do
gem 'composite_primary_keys'
gem 'paper_trail', '>= 12.0'
end
end
34 changes: 23 additions & 11 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,14 @@
source 'https://rubygems.org'

gem 'appraisal', '>= 2.0'
gem 'devise'
gem 'devise', '~> 4.7'
gem 'net-smtp', require: false
gem 'rails'
gem 'sassc-rails', '~> 2.1'
gem 'vite_rails', require: false
gem 'webpacker', require: false
gem 'webrick'

group :active_record do
gem 'paper_trail'

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem 'mysql2', '>= 0.3.14'
gem 'sqlite3', '>= 1.3'
end
end

group :development, :test do
gem 'pry', '>= 0.9'
end
Expand All @@ -32,15 +24,17 @@ group :test do
gem 'dragonfly', '~> 1.0'
gem 'factory_bot', '>= 4.2'
gem 'generator_spec', '>= 0.8'
gem 'kt-paperclip'
gem 'launchy', '>= 2.2'
gem 'mini_magick', '>= 3.4'
gem 'pundit'
gem 'rack-cache', require: 'rack/cache'
gem 'rspec-expectations', '!= 3.8.3'
gem 'rspec-rails', '>= 2.14'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'rspec-retry'
gem 'rubocop', ['~> 1.20', '!= 1.22.2'], require: false
gem 'rubocop-performance', require: false
gem 'shrine', '~> 3.0'
gem 'simplecov', '>= 0.9', require: false
gem 'simplecov-lcov', require: false
gem 'timecop', '>= 0.5'
Expand All @@ -49,4 +43,22 @@ group :test do
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
end

group :active_record do
gem 'paper_trail', '>= 12.0'

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem 'mysql2', '>= 0.3.14'
gem 'pg', '>= 1.0.0'
gem 'sqlite3', '>= 1.3'
end
end

group :mongoid do
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end

gemspec
39 changes: 24 additions & 15 deletions gemfiles/composite_primary_keys.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,28 @@
source "https://rubygems.org"

gem "appraisal", ">= 2.0"
gem "devise", "~> 4.8"
gem "devise", "~> 4.7"
gem "net-smtp", require: false
gem "rails", "~> 7.0.0"
gem "sassc-rails", "~> 2.1"
gem "vite_rails", require: false
gem "webpacker", require: false
gem "webrick"
gem "sassc-rails", "~> 2.1"

group :active_record do
gem "paper_trail", ">= 12.0"
gem "composite_primary_keys"

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem "mysql2", ">= 0.3.14"
gem "sqlite3", ">= 1.3"
end
end

group :development, :test do
gem "pry", ">= 0.9"
end

group :test do
gem "cancancan", "~> 3.2"
gem "cancancan", "~> 3.0"
gem "carrierwave", [">= 2.0.0.rc", "< 3"]
gem "cuprite"
gem "database_cleaner-active_record", ">= 2.0", require: false
gem "database_cleaner-mongoid", ">= 2.0", require: false
gem "dragonfly", "~> 1.0"
gem "factory_bot", ">= 4.2"
gem "generator_spec", ">= 0.8"
gem "kt-paperclip"
gem "launchy", ">= 2.2"
gem "mini_magick", ">= 3.4"
gem "pundit"
Expand All @@ -43,12 +34,30 @@ group :test do
gem "rspec-retry"
gem "rubocop", ["~> 1.20", "!= 1.22.2"], require: false
gem "rubocop-performance", require: false
gem "shrine", "~> 3.0"
gem "simplecov", ">= 0.9", require: false
gem "simplecov-lcov", require: false
gem "timecop", ">= 0.5"
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "kt-paperclip"
gem "shrine", "~> 3.0"
end

group :active_record do
gem "paper_trail", ">= 12.0"
gem "composite_primary_keys"

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem "mysql2", ">= 0.3.14"
gem "pg", ">= 1.0.0"
gem "sqlite3", ">= 1.3"
end
end

group :mongoid do
gem "kaminari-mongoid"
gem "mongoid-paperclip", ">= 0.0.8", require: "mongoid_paperclip"
gem "carrierwave-mongoid", ">= 0.6.3", require: "carrierwave/mongoid"
gem "cancancan-mongoid"
gem "shrine-mongoid", "~> 1.0"
end

gemspec path: "../"
40 changes: 20 additions & 20 deletions gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,10 @@ gem "appraisal", ">= 2.0"
gem "devise", "~> 4.7"
gem "net-smtp", require: false
gem "rails", "~> 6.0.0"
gem "sassc-rails", "~> 2.1"
gem "vite_rails", require: false
gem "webpacker", require: false
gem "webrick"
gem "sassc-rails", "~> 2.1"

group :active_record do
gem "paper_trail", ">= 12.0"
gem "pg", ">= 1.0.0", platforms: :ruby

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem "mysql2", ">= 0.3.14"
gem "sqlite3", ">= 1.3"
end

platforms :jruby do
gem "activerecord-jdbcmysql-adapter", "~> 60.0"
gem "activerecord-jdbcpostgresql-adapter", "~> 60.0"
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0"
end
end

group :development, :test do
gem "pry", ">= 0.9"
Expand All @@ -40,6 +24,7 @@ group :test do
gem "dragonfly", "~> 1.0"
gem "factory_bot", ">= 4.2"
gem "generator_spec", ">= 0.8"
gem "kt-paperclip"
gem "launchy", ">= 2.2"
gem "mini_magick", ">= 3.4"
gem "pundit", "~> 2.1.0"
Expand All @@ -49,21 +34,36 @@ group :test do
gem "rspec-retry"
gem "rubocop", ["~> 1.20", "!= 1.22.2"], require: false
gem "rubocop-performance", require: false
gem "shrine", "~> 3.0"
gem "simplecov", ">= 0.9", require: false
gem "simplecov-lcov", require: false
gem "timecop", ">= 0.5"
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "kt-paperclip"
gem "shrine", "~> 3.0"
end

group :active_record do
gem "paper_trail", ">= 12.0"

platforms :ruby, :mswin, :mingw, :x64_mingw do
gem "mysql2", ">= 0.3.14"
gem "pg", ">= 1.0.0"
gem "sqlite3", ">= 1.3"
end

platforms :jruby do
gem "activerecord-jdbcmysql-adapter", "~> 60.0"
gem "activerecord-jdbcpostgresql-adapter", "~> 60.0"
gem "activerecord-jdbcsqlite3-adapter", "~> 60.0"
end
end

group :mongoid do
gem "mongoid", "~> 7.0"
gem "kaminari-mongoid"
gem "mongoid-paperclip", ">= 0.0.8", require: "mongoid_paperclip"
gem "carrierwave-mongoid", ">= 0.6.3", require: "carrierwave/mongoid"
gem "cancancan-mongoid"
gem "shrine-mongoid", "~> 1.0"
gem "mongoid", "~> 7.0"
end

gemspec path: "../"
Loading

0 comments on commit ee8d435

Please sign in to comment.