Skip to content

Commit 31de14f

Browse files
committed
Fix test for Ruby 2.4 using too modern loofah version
1 parent 4a04974 commit 31de14f

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

spec/gemfiles/Gemfile.rails-4.2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ gem 'capybara', '~> 2.1'
1212
gem 'acts_as_caxlsx', git: 'https://github.com/caxlsx/acts_as_caxlsx.git'
1313

1414
gem 'byebug'
15+
16+
if RUBY_VERSION < '2.5'
17+
gem 'loofah', '< 2.21.0'
18+
end

spec/gemfiles/Gemfile.rails-5.0

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ gem 'capybara', '~> 2.1'
1212
gem 'acts_as_caxlsx', git: 'https://github.com/caxlsx/acts_as_caxlsx.git'
1313

1414
gem 'byebug'
15+
16+
if RUBY_VERSION < '2.5'
17+
gem 'loofah', '< 2.21.0'
18+
end

spec/gemfiles/Gemfile.rails-5.1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ gem 'capybara', '~> 2.1'
1212
gem 'acts_as_caxlsx', git: 'https://github.com/caxlsx/acts_as_caxlsx.git'
1313

1414
gem 'byebug'
15+
16+
if RUBY_VERSION < '2.5'
17+
gem 'loofah', '< 2.21.0'
18+
end

spec/gemfiles/Gemfile.rails-5.2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ gem 'capybara', '~> 2.1'
1212
gem 'acts_as_caxlsx', git: 'https://github.com/caxlsx/acts_as_caxlsx.git'
1313

1414
gem 'byebug'
15+
16+
if RUBY_VERSION < '2.5'
17+
gem 'loofah', '< 2.21.0'
18+
end

0 commit comments

Comments
 (0)