view_component-form 0.2.2 → 0.2.3

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: d0ed0226343359de2defe0706095e30208f85b2921126058b9072c682242ed16
4
- data.tar.gz: 44fda6fd050fcc85d147105b2aa61a958a60faf2cb24d17cc95e7187f1e3e346
3
+ metadata.gz: 46ae76cd3c5205d98673495e26d1c654441054c297bd4d63abe9ca8f1180cc5c
4
+ data.tar.gz: dd2286deed5dce2a7f7198a09977d17b8744c6e4952276e855c1a4d838ad3385
5
5
  SHA512:
6
- metadata.gz: bb8c4782353f49a18f4ff0c6146f33dbb7d3e937028ff1f078c8d34d1a986d45e8a5f0ef357e41e022d7a68cd4d8f8d8bde49ff4772a0eb0b9a14a41d505b43d
7
- data.tar.gz: d2b136b58916cc9d401a3267f7d198c8803a86d3c9cbfd57dcb75c41d809e71fc3b605b628460f1406a45c1bcbceb49d6eb1ef9ef069ff5bc7d78562b11a132d
6
+ metadata.gz: 7b391f6b0196c04a6db7c10c71745747a895ec4f7553c87a0ddcd68126e4897ebb979b70e8e81bb9c772a5c5f9cf0a50a65094ec5967853b6364f785a8676911
7
+ data.tar.gz: 3efda4bbf9ce7e6a08f71d5f1e1025124a163d0d373e62087ba374f7e7d311bf2907dfd43bc33e14e1a821e24d0c42f7244a25a42232e71bd5503e7016204886
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ 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.3] - 2022-03-24
11
+ ### Fixed
12
+ - Declare empty RichTextAreaComponent if ActionText is not installed, to fix Zeitwerk error (#120)
13
+
10
14
  ## [0.2.2] - 2022-03-23
11
15
  ### Changed
12
16
  - Improve conditional ActionText support (#118)
@@ -77,7 +81,8 @@ Nothing yet
77
81
  - Add CHANGELOG (#50)
78
82
  - Add CI (#2)
79
83
 
80
- [Unreleased]: https://github.com/pantographe/view_component-form/compare/v0.2.2...HEAD
84
+ [Unreleased]: https://github.com/pantographe/view_component-form/compare/v0.2.3...HEAD
85
+ [0.2.3]: https://github.com/pantographe/view_component-form/compare/v0.2.2...v0.2.3
81
86
  [0.2.2]: https://github.com/pantographe/view_component-form/compare/v0.2.1...v0.2.2
82
87
  [0.2.1]: https://github.com/pantographe/view_component-form/compare/v0.2.0...v0.2.1
83
88
  [0.2.0]: https://github.com/pantographe/view_component-form/compare/v0.1.3...v0.2.0
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- if defined?(ActionView::Helpers::Tags::ActionText)
4
- module ViewComponent
5
- module Form
6
- class RichTextAreaComponent < FieldComponent
3
+ module ViewComponent
4
+ module Form
5
+ class RichTextAreaComponent < FieldComponent
6
+ if defined?(ActionView::Helpers::Tags::ActionText) # rubocop:disable Style/IfUnlessModifier
7
7
  self.tag_klass = ActionView::Helpers::Tags::ActionText
8
8
  end
9
9
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ViewComponent
4
4
  module Form
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.3"
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pantographe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview