view_component-form 0.1.0 → 0.1.1
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 +4 -4
- data/CHANGELOG.md +14 -0
- data/app/components/view_component/form/field_component.rb +1 -1
- data/lib/view_component/form/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 869789c616058368805d6dba5564a79c4e2ddb9fe85919721a052da761d34e91
|
|
4
|
+
data.tar.gz: 58b02a2e260e61a97386e41d0c891d5aee3344ca4b5c6aebe3fb1f00514b75f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82b77433712fbe3b1453d6dceebaa02bb01be4deba4ddcab28e97b1fe60667feacfaf50cc0d8cf2dcecc18db83738ae5a07441255db4728fcfe8420ef4340d86
|
|
7
|
+
data.tar.gz: 2c08a19fa894929aaeb2a03afa0bd666fa05e9f63bed5e85671f74d32190d2a3d45f58c761a7da1bad2eb20744c7e498da3a9a6c2dcb40f9ba3c15e5afdcb967
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.1] - 2021-09-27
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Setup rspec-html-matchers and use it for complex components specs (#65)
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Fix errors methods in `BaseComponent` and `FieldComponent` (#71)
|
|
16
|
+
|
|
17
|
+
## [0.1.0] - 2021-09-16
|
|
18
|
+
|
|
9
19
|
### Added
|
|
10
20
|
|
|
11
21
|
- `FormBuilder`: add `.namespace` method to allow local lookup of components (#54)
|
|
@@ -14,3 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
24
|
- Add a custom FormBuilder generator (#34)
|
|
15
25
|
- Add CHANGELOG (#50)
|
|
16
26
|
- Add CI (#2)
|
|
27
|
+
|
|
28
|
+
[Unreleased]: https://github.com/pantographe/view_component-form/compare/v0.1.1...HEAD
|
|
29
|
+
[0.1.1]: https://github.com/pantographe/view_component-form/compare/v0.1.0...v0.1.1
|
|
30
|
+
[0.1.0]: https://github.com/pantographe/view_component-form/releases/tag/v0.1.0
|
|
@@ -41,7 +41,7 @@ module ViewComponent
|
|
|
41
41
|
|
|
42
42
|
def object_method_names
|
|
43
43
|
@object_method_names ||= begin
|
|
44
|
-
object_method_names = [method_name]
|
|
44
|
+
object_method_names = [method_name.to_sym]
|
|
45
45
|
if method_name.end_with?("_id") && object.respond_to?(singular_association_method_name)
|
|
46
46
|
object_method_names << singular_association_method_name
|
|
47
47
|
elsif method_name.end_with?("_ids") && object.respond_to?(collection_association_method_name)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: view_component-form
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pantographe
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|
|
@@ -130,7 +130,7 @@ metadata:
|
|
|
130
130
|
changelog_uri: https://github.com/pantographe/view_component-form/blob/master/CHANGELOG.md
|
|
131
131
|
source_code_uri: https://github.com/pantographe/view_component-form
|
|
132
132
|
bug_tracker_uri: https://github.com/pantographe/view_component-form/issues
|
|
133
|
-
post_install_message:
|
|
133
|
+
post_install_message:
|
|
134
134
|
rdoc_options: []
|
|
135
135
|
require_paths:
|
|
136
136
|
- lib
|
|
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
|
-
rubygems_version: 3.2.
|
|
149
|
-
signing_key:
|
|
148
|
+
rubygems_version: 3.2.26
|
|
149
|
+
signing_key:
|
|
150
150
|
specification_version: 4
|
|
151
151
|
summary: Rails FormBuilder for ViewComponent
|
|
152
152
|
test_files: []
|