activeadmin_trumbowyg 0.2.16 → 1.0.0

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: c0312eefc869af8597f3210a0e2533074e0fcb68f1e1ea28315d97d998548894
4
- data.tar.gz: 8a1aaf27cdd17ec678ae1d499fccf4b599ad2887a344f9e89b2e7b0110c0a045
3
+ metadata.gz: 3884e0cac926fb57034de8cc784d9fb02c91fd2de3c3ec7d3551d58634ba24be
4
+ data.tar.gz: b1806bcf50fd2f7ca610c0c31e2087ad113c5c411df381c53987844e78da841f
5
5
  SHA512:
6
- metadata.gz: 6a73dab5abdebe496a5e4b6a69e483fa630e3ca87e61dad3f71562e3c150eebcea1c20c2b6ef5a6cd8adb606cbf1d8d66b34d4c7e5ae30a668e4bf912e559e7f
7
- data.tar.gz: eea7616add7fc2f8b1aad72e8b6725ef19971908630c86cae78fb9e60d6bb8118353d7288aa504333f70131e4e3da4feccdf39df49277a7fdc0cc9f7ef833c5a
6
+ metadata.gz: afe0e374b2ecd3b3a5f2c182ee10248550a06c3e54a36a19aefad256ff4f24c6258a3f528e7cae833a82ec93dba08121d072a9851d2e82800d06e5142306d1a3
7
+ data.tar.gz: 612dada9f4af257f035145ff842fac76600fafceeff8783d0ebecce049d3d4fb8449019eab8575d803860caac0cee3843e447c199d83fdd53aa620bb08e71f9a
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
  [![gem version](https://badge.fury.io/rb/activeadmin_trumbowyg.svg)](https://badge.fury.io/rb/activeadmin_trumbowyg)
3
3
  [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_trumbowyg)](https://rubygems.org/gems/activeadmin_trumbowyg)
4
4
  [![linters](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/linters.yml)
5
- [![specs](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs.yml)
5
+ [![specs Rails 6.1](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails61.yml/badge.svg)](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails61.yml)
6
+ [![specs Rails 7.0](https://github.com/blocknotes/activeadmin_trumbowyg/actions/workflows/specs_rails70.yml/badge.svg)](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
- ![screenshot](screenshot.png)
15
+ ![screenshot](extra/screenshot.png)
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).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module Trumbowyg
5
- VERSION = '0.2.16'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
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.2.16
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: 2021-07-28 00:00:00.000000000 Z
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: sassc
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: :runtime
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: '0'
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.4
249
+ rubygems_version: 3.1.6
246
250
  signing_key:
247
251
  specification_version: 4
248
252
  summary: Trumbowyg Editor for ActiveAdmin