Skip to content

Commit b8253c4

Browse files
committed
fixup! Move test-unit dep where Rails version is present
Even though probably it's only needed for specs, not features
1 parent c072a6e commit b8253c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ if RUBY_VERSION >= '2.0.0' && RUBY_VERSION < '2.2.0'
4242
gem 'rubocop', "~> 0.23.0"
4343
end
4444

45-
# `test-unit` was removed from the core in Ruby 2.2
46-
gem 'test-unit' if RUBY_VERSION >= '2.2.0' && version =~ /3[.-]2[.-]/
47-
4845
custom_gemfile = File.expand_path("../Gemfile-custom", __FILE__)
4946
eval_gemfile custom_gemfile if File.exist?(custom_gemfile)
5047

Gemfile-rails-dependencies

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ else
5050
end
5151
end
5252

53+
# `test-unit` was removed from the core in Ruby 2.2
54+
gem 'test-unit' if RUBY_VERSION >= '2.2.0' && version =~ /3[.-]2[.-]/
55+
5356
gem 'jruby-openssl', :platforms => [:jruby]

0 commit comments

Comments
 (0)