view_component-form 0.2.1 → 0.2.2

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: 5a9199cdd2815e1711c5799426cf9e8ba25ecd6352c34616c973a269894f4a71
4
- data.tar.gz: 21f504ee76b9eaf898ac3a125bab5234fef641df64e04554a3bdf5d748185858
3
+ metadata.gz: d0ed0226343359de2defe0706095e30208f85b2921126058b9072c682242ed16
4
+ data.tar.gz: 44fda6fd050fcc85d147105b2aa61a958a60faf2cb24d17cc95e7187f1e3e346
5
5
  SHA512:
6
- metadata.gz: 486ba4c74fd76b83e58c355234d0d65a2a06568634561d2a887b8623e115500c911ca810040f3fa5b41c66c37e3e80d58052065550281300bf7e355e635c3a76
7
- data.tar.gz: 56d58c623a852b428d5b6440aeeb6a4f3c18c93ffd748a759588c0a5a4726b5e089517d48bdfebc2431447753c23a43b4612d639679f429d01f7208bcde9a87b
6
+ metadata.gz: bb8c4782353f49a18f4ff0c6146f33dbb7d3e937028ff1f078c8d34d1a986d45e8a5f0ef357e41e022d7a68cd4d8f8d8bde49ff4772a0eb0b9a14a41d505b43d
7
+ data.tar.gz: d2b136b58916cc9d401a3267f7d198c8803a86d3c9cbfd57dcb75c41d809e71fc3b605b628460f1406a45c1bcbceb49d6eb1ef9ef069ff5bc7d78562b11a132d
data/CHANGELOG.md CHANGED
@@ -7,9 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
  ## [Unreleased]
8
8
  Nothing yet
9
9
 
10
+ ## [0.2.2] - 2022-03-23
11
+ ### Changed
12
+ - Improve conditional ActionText support (#118)
13
+
10
14
  ## [0.2.1] - 2022-03-17
11
15
  ### Added
12
- - Conditional ActionText in CI (#117)
16
+ - Conditional ActionText support (#117)
13
17
 
14
18
  ### Fixed
15
19
  - Fix broken gem initialization due to missing ViewComponent::Form constant (#114)
@@ -73,7 +77,8 @@ Nothing yet
73
77
  - Add CHANGELOG (#50)
74
78
  - Add CI (#2)
75
79
 
76
- [Unreleased]: https://github.com/pantographe/view_component-form/compare/v0.2.1...HEAD
80
+ [Unreleased]: https://github.com/pantographe/view_component-form/compare/v0.2.2...HEAD
81
+ [0.2.2]: https://github.com/pantographe/view_component-form/compare/v0.2.1...v0.2.2
77
82
  [0.2.1]: https://github.com/pantographe/view_component-form/compare/v0.2.0...v0.2.1
78
83
  [0.2.0]: https://github.com/pantographe/view_component-form/compare/v0.1.3...v0.2.0
79
84
  [0.1.3]: https://github.com/pantographe/view_component-form/compare/v0.1.2...v0.1.3
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  ## Compatibility
8
8
 
9
9
  This gem is tested on:
10
- - Rails 6.0+
10
+ - Rails 6.0+ (with or without ActionText)
11
11
  - Ruby 2.7+
12
12
 
13
13
  ## Installation
@@ -1,9 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module ViewComponent
4
- module Form
5
- class RichTextAreaComponent < FieldComponent
6
- self.tag_klass = ActionView::Helpers::Tags::ActionText
3
+ if defined?(ActionView::Helpers::Tags::ActionText)
4
+ module ViewComponent
5
+ module Form
6
+ class RichTextAreaComponent < FieldComponent
7
+ self.tag_klass = ActionView::Helpers::Tags::ActionText
8
+ end
7
9
  end
8
10
  end
9
11
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ViewComponent
4
4
  module Form
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pantographe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-17 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -147,7 +147,7 @@ metadata:
147
147
  source_code_uri: https://github.com/pantographe/view_component-form
148
148
  bug_tracker_uri: https://github.com/pantographe/view_component-form/issues
149
149
  rubygems_mfa_required: 'true'
150
- post_install_message:
150
+ post_install_message:
151
151
  rdoc_options: []
152
152
  require_paths:
153
153
  - lib
@@ -162,8 +162,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubygems_version: 3.2.32
166
- signing_key:
165
+ rubygems_version: 3.3.4
166
+ signing_key:
167
167
  specification_version: 4
168
168
  summary: Rails FormBuilder for ViewComponent
169
169
  test_files: []