Skip to content

Commit a3c2cdd

Browse files
committed
Pin gem nokogiri/loofah version if ruby < 2.5
bundle install will install a native gem without any additional action : https://github.com/sparklemotion/nokogiri loofah should be pin version 2.20.2 : flavorjones/loofah#266, getsentry/sentry-ruby#2041
1 parent 04d0cf9 commit a3c2cdd

25 files changed

+75
-0
lines changed

gemfiles/rails5_0_0.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.0"
77
gem "actionview", "5.0.0"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_1.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.1"
77
gem "actionview", "5.0.1"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_2.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.2"
77
gem "actionview", "5.0.2"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_3.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.3"
77
gem "actionview", "5.0.3"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_4.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.4"
77
gem "actionview", "5.0.4"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_5.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.5"
77
gem "actionview", "5.0.5"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_6.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.6"
77
gem "actionview", "5.0.6"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_0_7.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.0.7"
77
gem "actionview", "5.0.7"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_0.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.0"
77
gem "actionview", "5.1.0"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_1.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.1"
77
gem "actionview", "5.1.1"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_2.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.2"
77
gem "actionview", "5.1.2"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_3.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.3"
77
gem "actionview", "5.1.3"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_4.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.4"
77
gem "actionview", "5.1.4"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_5.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.5"
77
gem "actionview", "5.1.5"
88
gem "mysql2", "~> 0.4.4"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_6.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.6"
77
gem "actionview", "5.1.6"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_1_7.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.1.7"
77
gem "actionview", "5.1.7"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_0.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.0"
77
gem "actionview", "5.2.0"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_1.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.1"
77
gem "actionview", "5.2.1"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_2.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.2"
77
gem "actionview", "5.2.2"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_3.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.3"
77
gem "actionview", "5.2.3"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_4.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.4"
77
gem "actionview", "5.2.4"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_5.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.5"
77
gem "actionview", "5.2.5"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_6.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.6"
77
gem "actionview", "5.2.6"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_7.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.7"
77
gem "actionview", "5.2.7"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

gemfiles/rails5_2_8.gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ gem "activesupport", "5.2.8"
77
gem "actionview", "5.2.8"
88
gem "mysql2", "~> 0.5.2"
99

10+
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5
11+
gem "loofah", "2.20.0" if RUBY_VERSION.to_f < 2.5
12+
1013
gemspec :path => '../'

0 commit comments

Comments
 (0)