Skip to content

Commit

Permalink
Move dev dependency gems from gemspec to Gemfile.
Browse files Browse the repository at this point in the history
Follow the Gemspec/DevelopmentDependencies rubocop rule.
  • Loading branch information
mkmn committed Oct 28, 2023
1 parent 099c65d commit 0d81d63
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/gemfiles/rails-5.2.4.6.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "5.2.4.6"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-5.2.6.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "5.2.6"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.0.3.7.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.0.3.7"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.0.4.1.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.0.4.1"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.1.3.2.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.1.3.2"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.1.4.1.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.1.4.1"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.1.7.2.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.1.7.2"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-6.1.7.3.Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "6.1.7.3"
1 change: 1 addition & 0 deletions .github/gemfiles/rails-7.0.4.3.Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "7.0.4.3"

Expand Down
1 change: 1 addition & 0 deletions .github/gemfiles/rails-7.1.Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

gemspec path: '../..'
eval_gemfile '../../Gemfile'

gem "rails", "~> 7.1"

Expand Down
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ gemspec
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

gem 'rails', '>= 5.2.4.6', '< 7.1'
gem 'bundler', '~> 2.0'
gem 'rake', '~> 13.0'
gem 'sqlite3', '~> 1.3', '< 1.5'

group :development, :test do
gem 'factory_bot_rails'
gem 'pry'
gem 'pry-nav'
gem 'rspec-rails'
gem 'rubocop'

# Since rails 7.0, rails does not require sprockets-rails.
Expand Down
6 changes: 0 additions & 6 deletions scimaenaga.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'jwt', '>= 1.5'
s.test_files = Dir['spec/**/*']

s.add_development_dependency 'bundler', '~> 2.0'
s.add_development_dependency 'factory_bot_rails'
s.add_development_dependency 'pry'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'sqlite3', '~> 1.3', '< 1.5'
s.metadata = {
'rubygems_mfa_required' => 'true',
}
Expand Down

0 comments on commit 0d81d63

Please # to comment.