Skip to content

Commit

Permalink
Move development dependencies to Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkg committed Dec 28, 2023
1 parent 884742d commit 0e10d95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 44 deletions.
42 changes: 5 additions & 37 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,8 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in bundle_outdated_formatter.gemspec
gemspec

if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create('2.3.0') && Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.4.0')
if RUBY_PLATFORM !~ /mingw/
gem 'rubocop', '< 0.82.0'
gem 'rubocop-rspec', '< 1.39.0'
end
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.3.0')
gem 'psych', '< 3.0.0'
end

if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create('2.2.0') && Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.3.0')
if RUBY_PLATFORM !~ /mingw/
gem 'rubocop', '< 0.69.0'
gem 'rubocop-rspec', '< 1.33.0'
end
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.2.0')
gem 'parallel', '< 1.17.0'

if RUBY_PLATFORM !~ /mingw/
gem 'rubocop-rspec', '< 1.5.2'
end
end

if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create('2.1.0') && Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.2.0')
if RUBY_PLATFORM !~ /mingw/
gem 'rubocop', '< 0.58.0'
end
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create('2.1.0')
if RUBY_PLATFORM !~ /mingw/
gem 'rubocop', '< 0.51.0'
end
end
gem 'bundler'
gem 'rake'
gem 'rspec'
gem 'rubocop'
gem 'rubocop-rspec'
7 changes: 0 additions & 7 deletions bundle_outdated_formatter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,4 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'rexml', '~> 3.2'
spec.add_runtime_dependency 'thor', '>= 1.3.0'
spec.add_runtime_dependency 'tty-table', '~> 0.10'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
if RUBY_PLATFORM !~ /mingw/
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-rspec'
end
end

0 comments on commit 0e10d95

Please sign in to comment.