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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8b8e714bdbf45731abe0cf2081fc829c0564cd50097040e45e46beb368f2190
4
- data.tar.gz: 184b04a2a168ecf53dcb7ff3385ef4b1889b42afe32f409236efaf708a96387c
3
+ metadata.gz: 869789c616058368805d6dba5564a79c4e2ddb9fe85919721a052da761d34e91
4
+ data.tar.gz: 58b02a2e260e61a97386e41d0c891d5aee3344ca4b5c6aebe3fb1f00514b75f4
5
5
  SHA512:
6
- metadata.gz: 83ffb7cea594f39a75418673f041d7c4f3ce006db5d306615b2e40575c57bab98c5619c9cc1dd71c122280fe963f88281f0b3c589be8b20a703f0aae4859a0ae
7
- data.tar.gz: 19bbe58b645bb23ed625bdc3c240cdfa17d51e8481386b33e96c1d8583ef88dc622a92ade574cd551d1a97502674dffd969d7ae8bf877c82cd6c9f71d12124b4
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ViewComponent
4
4
  module Form
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
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.0
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-16 00:00:00.000000000 Z
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.9
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: []