view_component-form 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ae76cd3c5205d98673495e26d1c654441054c297bd4d63abe9ca8f1180cc5c
|
4
|
+
data.tar.gz: dd2286deed5dce2a7f7198a09977d17b8744c6e4952276e855c1a4d838ad3385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
-
|
4
|
-
module
|
5
|
-
|
6
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2022-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|