activeadmin_quill_editor 0.2.0 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/app/assets/javascripts/activeadmin/quill_editor/quill.core.js +81 -9
- data/app/assets/javascripts/activeadmin/quill_editor/quill.js +83 -10
- data/app/assets/javascripts/activeadmin/quill_editor/quill.min.js +2 -2
- data/app/assets/javascripts/activeadmin/quill_editor_input.js +10 -10
- data/app/assets/stylesheets/activeadmin/_quill_editor_input.scss +40 -0
- data/app/assets/stylesheets/activeadmin/quill_editor/quill.bubble.css +1 -1
- data/app/assets/stylesheets/activeadmin/quill_editor/quill.core.css +1 -1
- data/app/assets/stylesheets/activeadmin/quill_editor/quill.snow.css +1 -1
- data/lib/activeadmin/quill_editor/version.rb +1 -1
- metadata +137 -16
- data/.gitignore +0 -3
- data/.rubocop.yml +0 -73
- data/Gemfile +0 -3
- data/activeadmin_quill_editor.gemspec +0 -21
- data/app/assets/stylesheets/activeadmin/_quill_editor_input.sass +0 -24
- data/screenshot.jpg +0 -0
metadata
CHANGED
@@ -1,47 +1,169 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_quill_editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activestorage
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 6.0.3.2
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 6.0.3.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: capybara
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.33.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.33.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.13.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.13.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: puma
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 4.3.5
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 4.3.5
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec_junit_formatter
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.4.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.4.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 4.0.1
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.0.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: selenium-webdriver
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 3.142.7
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.142.7
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.19.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.19.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sqlite3
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.4.2
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.2
|
27
153
|
description: An Active Admin plugin to use Quill Rich Text Editor
|
28
154
|
email: mat@blocknot.es
|
29
155
|
executables: []
|
30
156
|
extensions: []
|
31
157
|
extra_rdoc_files: []
|
32
158
|
files:
|
33
|
-
- ".gitignore"
|
34
|
-
- ".rubocop.yml"
|
35
|
-
- Gemfile
|
36
159
|
- LICENSE.txt
|
37
160
|
- README.md
|
38
161
|
- Rakefile
|
39
|
-
- activeadmin_quill_editor.gemspec
|
40
162
|
- app/assets/javascripts/activeadmin/quill_editor/quill.core.js
|
41
163
|
- app/assets/javascripts/activeadmin/quill_editor/quill.js
|
42
164
|
- app/assets/javascripts/activeadmin/quill_editor/quill.min.js
|
43
165
|
- app/assets/javascripts/activeadmin/quill_editor_input.js
|
44
|
-
- app/assets/stylesheets/activeadmin/_quill_editor_input.
|
166
|
+
- app/assets/stylesheets/activeadmin/_quill_editor_input.scss
|
45
167
|
- app/assets/stylesheets/activeadmin/quill_editor/quill.bubble.css
|
46
168
|
- app/assets/stylesheets/activeadmin/quill_editor/quill.core.css
|
47
169
|
- app/assets/stylesheets/activeadmin/quill_editor/quill.snow.css
|
@@ -50,12 +172,11 @@ files:
|
|
50
172
|
- lib/activeadmin/quill_editor/version.rb
|
51
173
|
- lib/activeadmin_quill_editor.rb
|
52
174
|
- lib/formtastic/inputs/quill_editor_input.rb
|
53
|
-
- screenshot.jpg
|
54
175
|
homepage: https://github.com/blocknotes/activeadmin_quill_editor
|
55
176
|
licenses:
|
56
177
|
- MIT
|
57
178
|
metadata: {}
|
58
|
-
post_install_message:
|
179
|
+
post_install_message:
|
59
180
|
rdoc_options: []
|
60
181
|
require_paths:
|
61
182
|
- lib
|
@@ -70,8 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
191
|
- !ruby/object:Gem::Version
|
71
192
|
version: '0'
|
72
193
|
requirements: []
|
73
|
-
rubygems_version: 3.0.
|
74
|
-
signing_key:
|
194
|
+
rubygems_version: 3.0.3
|
195
|
+
signing_key:
|
75
196
|
specification_version: 4
|
76
197
|
summary: Quill Editor for ActiveAdmin
|
77
198
|
test_files: []
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-rspec
|
3
|
-
|
4
|
-
Rails:
|
5
|
-
Enabled: true
|
6
|
-
|
7
|
-
AllCops:
|
8
|
-
TargetRubyVersion: 2.3.8
|
9
|
-
TargetRailsVersion: 5.2
|
10
|
-
Exclude:
|
11
|
-
- db/schema.rb
|
12
|
-
- bin/*
|
13
|
-
- node_modules/**/*
|
14
|
-
# Temporary files
|
15
|
-
- tmp/**/*
|
16
|
-
|
17
|
-
Rails/InverseOf:
|
18
|
-
Enabled: false
|
19
|
-
|
20
|
-
Style/Documentation:
|
21
|
-
Enabled: false
|
22
|
-
|
23
|
-
Metrics/ClassLength:
|
24
|
-
# Default value is 100
|
25
|
-
Max: 150
|
26
|
-
|
27
|
-
Metrics/LineLength:
|
28
|
-
# Default is 80
|
29
|
-
Max: 120
|
30
|
-
|
31
|
-
Metrics/ModuleLength:
|
32
|
-
# Default is 100
|
33
|
-
Max: 150
|
34
|
-
|
35
|
-
Metrics/ParameterLists:
|
36
|
-
# Default is 5
|
37
|
-
Max: 6
|
38
|
-
|
39
|
-
RSpec/ExampleLength:
|
40
|
-
# Default is 10
|
41
|
-
Max: 20
|
42
|
-
|
43
|
-
Style/FrozenStringLiteralComment:
|
44
|
-
# Deface DOES edit strings in place
|
45
|
-
Exclude:
|
46
|
-
- 'app/overrides/**/*'
|
47
|
-
|
48
|
-
RSpec/MultipleExpectations:
|
49
|
-
# Default is 3
|
50
|
-
Max: 5
|
51
|
-
|
52
|
-
RSpec/NestedGroups:
|
53
|
-
# Default is 3
|
54
|
-
Max: 6
|
55
|
-
|
56
|
-
Metrics/AbcSize:
|
57
|
-
Max: 25
|
58
|
-
|
59
|
-
Metrics/BlockLength:
|
60
|
-
# This value double the rubocop default
|
61
|
-
Max: 50
|
62
|
-
|
63
|
-
Metrics/CyclomaticComplexity:
|
64
|
-
# This value double the rubocop default
|
65
|
-
Max: 12
|
66
|
-
|
67
|
-
Metrics/MethodLength:
|
68
|
-
# This value double the rubocop default
|
69
|
-
Max: 20
|
70
|
-
|
71
|
-
Metrics/PerceivedComplexity:
|
72
|
-
# Default is 7
|
73
|
-
Max: 10
|
data/Gemfile
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
lib = File.expand_path('lib', __dir__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'activeadmin/quill_editor/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'activeadmin_quill_editor'
|
9
|
-
spec.version = ActiveAdmin::QuillEditor::VERSION
|
10
|
-
spec.summary = 'Quill Editor for ActiveAdmin'
|
11
|
-
spec.description = 'An Active Admin plugin to use Quill Rich Text Editor'
|
12
|
-
spec.license = 'MIT'
|
13
|
-
spec.authors = ['Mattia Roccoberton']
|
14
|
-
spec.email = 'mat@blocknot.es'
|
15
|
-
spec.homepage = 'https://github.com/blocknotes/activeadmin_quill_editor'
|
16
|
-
|
17
|
-
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.require_paths = ['lib']
|
19
|
-
|
20
|
-
spec.add_runtime_dependency 'activeadmin', '>= 1.0'
|
21
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
@import 'activeadmin/quill_editor/quill.snow'
|
2
|
-
|
3
|
-
body.active_admin form .quill-editor
|
4
|
-
display: inline-block
|
5
|
-
width: calc(80% - 22px)
|
6
|
-
.ql-editor
|
7
|
-
background-color: #fff
|
8
|
-
max-height: 300px
|
9
|
-
min-height: 150px
|
10
|
-
padding: 10px
|
11
|
-
// reset internal elements
|
12
|
-
*
|
13
|
-
margin: initial
|
14
|
-
padding: initial
|
15
|
-
text-align: initial
|
16
|
-
p
|
17
|
-
margin-bottom: 1em
|
18
|
-
ol
|
19
|
-
list-style-type: decimal
|
20
|
-
ul
|
21
|
-
list-style-type: disc
|
22
|
-
ul, ol
|
23
|
-
margin: 0 1.5em 1.5em 0
|
24
|
-
padding-left: 1.5em
|
data/screenshot.jpg
DELETED
Binary file
|