Skip to content

Commit c82e554

Browse files
committed
Fix allocation counts in rendering_test
1 parent b076b34 commit c82e554

File tree

8 files changed

+43
-27
lines changed

8 files changed

+43
-27
lines changed

gemfiles/rails_6.1.gemfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "~> 6.1"
5+
gem "rails", "~> 6.1.0"
66
gem "tailwindcss-rails", "~> 2.0"
7+
gem "sprockets-rails", "~> 3.4.2"
8+
gem "concurrent-ruby", "1.3.4"
79
gem "net-smtp", require: false
810
gem "net-imap", require: false
911
gem "net-pop", require: false
1012
gem "turbo-rails", "~> 1"
11-
gem "sprockets-rails", "~> 3.4.2"
12-
gem "concurrent-ruby", "1.3.4"
13+
14+
group :development, :test do
15+
gem "appraisal-run", "~> 1.0"
16+
end
1317

1418
gemspec path: "../"

gemfiles/rails_7.0.gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "~> 7.0"
5+
gem "rails", "~> 7.0.0"
66
gem "tailwindcss-rails", "~> 2.0"
77
gem "turbo-rails", "~> 1"
88
gem "sprockets-rails", "~> 3.4.2"
99

10+
group :development, :test do
11+
gem "appraisal-run", "~> 1.0"
12+
end
13+
1014
gemspec path: "../"

gemfiles/rails_7.1.gemfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "~> 7.1"
5+
gem "rails", "~> 7.1.0"
66
gem "tailwindcss-rails", "~> 2.0"
77
gem "turbo-rails", "~> 1"
88
gem "sprockets-rails", "~> 3.4.2"
99

10+
group :development, :test do
11+
gem "appraisal-run", "~> 1.0"
12+
end
13+
1014
gemspec path: "../"

gemfiles/rails_7.2.gemfile

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,12 @@
22

33
source "https://rubygems.org"
44

5-
gem "capybara", "~> 3"
6-
gem "rails", "~> 7.2"
7-
gem "rspec-rails", "~> 5"
8-
gem "net-imap", require: false
9-
gem "net-pop", require: false
10-
gem "net-smtp", require: false
11-
gem "debug"
12-
5+
gem "rails", "~> 7.2.0"
136
gem "tailwindcss-rails", "~> 2.0"
14-
157
gem "sprockets-rails", "~> 3.4.2"
168

17-
group :test do
18-
gem "cuprite", "~> 0.15"
19-
gem "puma", "~> 6"
20-
gem "warning"
21-
gem "selenium-webdriver", "4.9.0"
22-
end
23-
249
group :development, :test do
25-
gem "appraisal", "~> 2.5"
10+
gem "appraisal-run", "~> 1.0"
2611
end
2712

2813
gemspec path: "../"

gemfiles/rails_8.0.gemfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "~> 8.0"
5+
gem "rails", "~> 8.0.0"
66
gem "tailwindcss-rails", "~> 2.0"
7-
gem "turbo-rails", "~> 1"
87
gem "propshaft", "~> 1.1.0"
98

9+
group :development, :test do
10+
gem "appraisal-run", "~> 1.0"
11+
end
12+
1013
gemspec path: "../"

gemfiles/rails_8.1.gemfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "~> 8.1.0"
6+
gem "tailwindcss-rails", "~> 2.0"
7+
gem "propshaft", "~> 1.1.0"
8+
9+
group :development, :test do
10+
gem "appraisal-run", "~> 1.0"
11+
end
12+
13+
gemspec path: "../"

gemfiles/rails_main.gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ source "https://rubygems.org"
55
gem "rails", github: "rails/rails", branch: "main"
66
gem "tailwindcss-rails", "~> 2.0"
77
gem "turbo-rails", "~> 1"
8-
gem "propshaft", "~> 1.1.0"
8+
9+
group :development, :test do
10+
gem "appraisal-run", "~> 1.0"
11+
end
912

1013
gemspec path: "../"

test/sandbox/test/rendering_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def test_render_inline_allocations
1717

1818
allocations =
1919
if Rails.version.to_f < 8.0
20-
{"3.3.8" => 124, "3.3.0" => 140, "3.2.9" => 124, "3.1.7" => 124, "3.0.7" => 131}
20+
{"3.3.10" => 126, "3.2.9" => 124, "3.1.7" => 124, "3.0.7" => 131}
2121
elsif Rails.version.split(".").first(2).map(&:to_i) == [8, 0]
22-
{"3.5.0" => 117, "3.4.4" => 121, "3.3.8" => 133}
22+
{"3.5.0" => 117, "3.4.4" => 121, "3.3.10" => 132}
2323
else
2424
{"3.4.4" => 119}
2525
end

0 commit comments

Comments
 (0)