view_component 4.0.2 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 819e2fcc432b7272d23885e2ea361725b7eae87f4aeb216b2100500cadfd1ffc
|
4
|
+
data.tar.gz: 3958ff12852ee60b017ddeea924073bf7a787efe70d47929e692726fcd791adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef854e693634333b5843a3cfb13f02271775c05856af79e439335f6154b2be9b4781fd4fa0a931eaad7f928048e9232cbd764dffc87fd64ee1730ec3c3af169c
|
7
|
+
data.tar.gz: 15300b4f6d30eaa481210993b6ff17cdfb5647498af89a25d951a961bbc6fe48c400dff287574ccf51f0c742d8dc753fd7ae6b753fe278af67b29bb95e0c315d
|
data/docs/CHANGELOG.md
CHANGED
@@ -10,6 +10,16 @@ nav_order: 6
|
|
10
10
|
|
11
11
|
## main
|
12
12
|
|
13
|
+
## 4.1.0
|
14
|
+
|
15
|
+
* Add Rails 8.1 support.
|
16
|
+
|
17
|
+
*Hans Lemuet*
|
18
|
+
|
19
|
+
* Add Carwow to list of companies using ViewComponent.
|
20
|
+
|
21
|
+
*Tom Lord*
|
22
|
+
|
13
23
|
## 4.0.2
|
14
24
|
|
15
25
|
* Share the view context in tests to prevent out-of-order rendering issues for certain advanced use-cases, eg. testing instances of Rails' `FormBuilder`.
|
@@ -23,7 +23,7 @@ module ViewComponent
|
|
23
23
|
class_option :skip_suffix, type: :boolean, default: false
|
24
24
|
|
25
25
|
def create_component_file
|
26
|
-
template "component.rb", File.join(component_path, class_path, "#{file_name}#{options[:skip_suffix]
|
26
|
+
template "component.rb", File.join(component_path, class_path, "#{file_name}#{"_component" unless options[:skip_suffix]}.rb")
|
27
27
|
end
|
28
28
|
|
29
29
|
hook_for :test_framework
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: view_component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ViewComponent Team
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: 7.1.0
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '8.
|
21
|
+
version: '8.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: 7.1.0
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '8.
|
31
|
+
version: '8.2'
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: concurrent-ruby
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|