activeadmin_trumbowyg 0.2.16 → 1.0.0
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/README.md +8 -2
- data/lib/activeadmin/trumbowyg/version.rb +1 -1
- metadata +11 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3884e0cac926fb57034de8cc784d9fb02c91fd2de3c3ec7d3551d58634ba24be
|
|
4
|
+
data.tar.gz: b1806bcf50fd2f7ca610c0c31e2087ad113c5c411df381c53987844e78da841f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afe0e374b2ecd3b3a5f2c182ee10248550a06c3e54a36a19aefad256ff4f24c6258a3f528e7cae833a82ec93dba08121d072a9851d2e82800d06e5142306d1a3
|
|
7
|
+
data.tar.gz: 612dada9f4af257f035145ff842fac76600fafceeff8783d0ebecce049d3d4fb8449019eab8575d803860caac0cee3843e447c199d83fdd53aa620bb08e71f9a
|
data/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
[](https://badge.fury.io/rb/activeadmin_trumbowyg)
|
|
3
3
|
[](https://rubygems.org/gems/activeadmin_trumbowyg)
|
|
4
4
|
[](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/linters.yml)
|
|
5
|
-
[](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails61.yml)
|
|
6
|
+
[](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails70.yml)
|
|
6
7
|
|
|
7
8
|
An *Active Admin* plugin to use [Trumbowyg](https://alex-d.github.io/Trumbowyg/) as WYSIWYG editor in form inputs.
|
|
8
9
|
|
|
@@ -11,12 +12,13 @@ Features:
|
|
|
11
12
|
- customizable options via data attributes in the form input;
|
|
12
13
|
- plugins included, like images upload.
|
|
13
14
|
|
|
14
|
-

|
|
15
|
+

|
|
15
16
|
|
|
16
17
|
Please :star: if you like it.
|
|
17
18
|
|
|
18
19
|
## Install
|
|
19
20
|
|
|
21
|
+
- Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
|
|
20
22
|
- After installing Active Admin, add to your Gemfile: `gem 'activeadmin_trumbowyg'` (and execute *bundle*)
|
|
21
23
|
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
|
|
22
24
|
```css
|
|
@@ -92,6 +94,10 @@ end
|
|
|
92
94
|
|
|
93
95
|
For the relevant files of this upload example see [here](examples/upload_plugin_using_activestorage/). Consider that this is just a basic example: images are uploaded as soon as they are attached to the editor (regardless of the form submit), it shows the editor only for an existing record (because of the *upload_admin_post_path*) and it doesn't provide a way to remove images (just deleting them from the editor will not destroy them, you'll need to implement a purge logic for that).
|
|
94
96
|
|
|
97
|
+
## Changelog
|
|
98
|
+
|
|
99
|
+
The changelog is available [here](CHANGELOG.md).
|
|
100
|
+
|
|
95
101
|
## Do you like it? Star it!
|
|
96
102
|
|
|
97
103
|
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activeadmin_trumbowyg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mattia Roccoberton
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activeadmin
|
|
@@ -25,13 +25,13 @@ dependencies:
|
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '2.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: appraisal
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '2.4'
|
|
34
|
-
type: :
|
|
34
|
+
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
@@ -226,7 +226,11 @@ files:
|
|
|
226
226
|
homepage: https://github.com/blocknotes/activeadmin_trumbowyg
|
|
227
227
|
licenses:
|
|
228
228
|
- MIT
|
|
229
|
-
metadata:
|
|
229
|
+
metadata:
|
|
230
|
+
homepage_uri: https://github.com/blocknotes/activeadmin_trumbowyg
|
|
231
|
+
changelog_uri: https://github.com/blocknotes/activeadmin_trumbowyg/blob/master/CHANGELOG.md
|
|
232
|
+
source_code_uri: https://github.com/blocknotes/activeadmin_trumbowyg
|
|
233
|
+
rubygems_mfa_required: 'true'
|
|
230
234
|
post_install_message:
|
|
231
235
|
rdoc_options: []
|
|
232
236
|
require_paths:
|
|
@@ -235,14 +239,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
235
239
|
requirements:
|
|
236
240
|
- - ">="
|
|
237
241
|
- !ruby/object:Gem::Version
|
|
238
|
-
version:
|
|
242
|
+
version: 2.6.0
|
|
239
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
244
|
requirements:
|
|
241
245
|
- - ">="
|
|
242
246
|
- !ruby/object:Gem::Version
|
|
243
247
|
version: '0'
|
|
244
248
|
requirements: []
|
|
245
|
-
rubygems_version: 3.1.
|
|
249
|
+
rubygems_version: 3.1.6
|
|
246
250
|
signing_key:
|
|
247
251
|
specification_version: 4
|
|
248
252
|
summary: Trumbowyg Editor for ActiveAdmin
|