Skip to content

Commit f1584e6

Browse files
authored
Merge pull request #2385 from ViewComponent/release-4.0.0.rc2
release 4.0.0.rc2
2 parents f29ecd5 + f06a6c4 commit f1584e6

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
view_component (4.0.0.rc1)
4+
view_component (4.0.0.rc2)
55
activesupport (>= 7.1.0, < 8.1)
66
concurrent-ruby (~> 1)
77

docs/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ nav_order: 6
1010

1111
## main
1212

13+
## 4.0.0.rc2
14+
1315
* Add `around_render` lifecyle method for wrapping component rendering in custom instrumentation, etc.
1416

1517
*Joel Hawksley*, *Blake Williams*

docs/_data/library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 4.0.0.rc1
1+
version: 4.0.0.rc2

lib/view_component/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module VERSION
55
MAJOR = 4
66
MINOR = 0
77
PATCH = 0
8-
PRE = "rc1"
8+
PRE = "rc2"
99

1010
STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
1111
end

test/sandbox/test/rendering_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_render_inline_allocations
2020
MyComponent.__vc_ensure_compiled
2121

2222
with_instrumentation_enabled_option(false) do
23-
assert_allocations({"3.5" => 69, "3.4" => 74, "3.3" => 72, "3.2" => 71}) do
23+
assert_allocations({"3.5" => 68, "3.4" => 74, "3.3" => 72, "3.2" => 71}) do
2424
render_inline(MyComponent.new)
2525
end
2626
end

0 commit comments

Comments
 (0)