editor_js 0.3.1 → 0.3.2

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: 3331b44289e858fff9fe9dff634c67c385c355f54f26a671ca32caf0b2736c2a
4
- data.tar.gz: 3a6690dad7bf834d108855d1bf80de681c285ccec755ca7f0e9b799dff7a3c76
3
+ metadata.gz: 93229c8676be2345e0a35669d12446cf9129a64ed6125075c48f40c68cc88002
4
+ data.tar.gz: 7c38da172a624ba263578c309804d7ac81397f2ad23248dbe2c967245f445c6d
5
5
  SHA512:
6
- metadata.gz: ad9f9f867736e7bc0db5497d64f8253d4c381088c1e2b65dc6d6747c508809a901e609868fa354733b137d217ef49ab43f27ddc2d40d27d7fe8243b856d16da9
7
- data.tar.gz: '09dd651215451db432c4c3ef27a772db470fd6dba5b4d216b592fef2373b5dfec6b12c5efdda3b69be94c20f82b2f76c719eb2f732db80a33b2c96650848e113'
6
+ metadata.gz: 5cf50dda5535924c9ca49d419116e1c3b690ef12cf1cb7418c5566e767093fdd5934ec7f1d0ec1b7584d987280ee8d13f498da3bc3d54e2385a069f4c1883012
7
+ data.tar.gz: f9ecf7becd391807beb4cf0e050c89349bd1e9a46884644e11beae6ba2eb21425e1ebdfee34096b00bf3d95cd63d5b8e8f44cd412fe4b326806d3790fa817a18
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- editor_js (0.3.1)
4
+ editor_js (0.3.2)
5
5
  actionview (>= 4)
6
6
  activesupport (>= 4)
7
7
  coderay (~> 1.1, >= 1.1.2)
@@ -13,13 +13,13 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- actionview (6.0.3.1)
17
- activesupport (= 6.0.3.1)
16
+ actionview (6.0.3.2)
17
+ activesupport (= 6.0.3.2)
18
18
  builder (~> 3.1)
19
19
  erubi (~> 1.4)
20
20
  rails-dom-testing (~> 2.0)
21
21
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
22
- activesupport (6.0.3.1)
22
+ activesupport (6.0.3.2)
23
23
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
24
  i18n (>= 0.7, < 2)
25
25
  minitest (~> 5.1)
@@ -30,25 +30,25 @@ GEM
30
30
  ast (2.4.0)
31
31
  builder (3.2.4)
32
32
  coderay (1.1.2)
33
- concurrent-ruby (1.1.5)
34
- crass (1.0.5)
33
+ concurrent-ruby (1.1.6)
34
+ crass (1.0.6)
35
35
  diff-lcs (1.3)
36
36
  docile (1.3.2)
37
37
  erubi (1.9.0)
38
38
  htmlentities (4.3.4)
39
- i18n (1.7.0)
39
+ i18n (1.8.3)
40
40
  concurrent-ruby (~> 1.0)
41
41
  jaro_winkler (1.5.4)
42
42
  json (2.3.0)
43
43
  json-schema (2.8.1)
44
44
  addressable (>= 2.4)
45
- loofah (2.5.0)
45
+ loofah (2.6.0)
46
46
  crass (~> 1.0.2)
47
47
  nokogiri (>= 1.5.9)
48
48
  method_source (0.9.2)
49
49
  mini_portile2 (2.4.0)
50
50
  minitest (5.14.1)
51
- nokogiri (1.10.9)
51
+ nokogiri (1.10.10)
52
52
  mini_portile2 (~> 2.4.0)
53
53
  nokogumbo (2.0.2)
54
54
  nokogiri (~> 1.8, >= 1.8.4)
@@ -58,7 +58,7 @@ GEM
58
58
  pry (0.12.2)
59
59
  coderay (~> 1.1.0)
60
60
  method_source (~> 0.9.0)
61
- public_suffix (4.0.3)
61
+ public_suffix (4.0.5)
62
62
  rails-dom-testing (2.0.3)
63
63
  activesupport (>= 4.2.0)
64
64
  nokogiri (>= 1.6)
@@ -88,7 +88,7 @@ GEM
88
88
  ruby-progressbar (~> 1.7)
89
89
  unicode-display_width (>= 1.4.0, < 1.7)
90
90
  ruby-progressbar (1.10.1)
91
- sanitize (5.1.0)
91
+ sanitize (5.2.1)
92
92
  crass (~> 1.0.2)
93
93
  nokogiri (>= 1.8.0)
94
94
  nokogumbo (~> 2.0)
@@ -101,7 +101,7 @@ GEM
101
101
  tzinfo (1.2.7)
102
102
  thread_safe (~> 0.1)
103
103
  unicode-display_width (1.6.0)
104
- zeitwerk (2.2.2)
104
+ zeitwerk (2.3.1)
105
105
 
106
106
  PLATFORMS
107
107
  ruby
@@ -39,6 +39,8 @@ module EditorJs
39
39
  safe_tags = {
40
40
  'b' => nil,
41
41
  'i' => nil,
42
+ 'u' => ['class'],
43
+ 'del' => ['class'],
42
44
  'a' => ['href'],
43
45
  'mark' => ['class'],
44
46
  'code' => ['class']
@@ -33,6 +33,8 @@ module EditorJs
33
33
  safe_tags = {
34
34
  'b' => nil,
35
35
  'i' => nil,
36
+ 'u' => ['class'],
37
+ 'del' => ['class'],
36
38
  'a' => ['href'],
37
39
  'mark' => ['class'],
38
40
  'code' => ['class']
@@ -21,6 +21,8 @@ module EditorJs
21
21
  safe_tags = {
22
22
  'b' => nil,
23
23
  'i' => nil,
24
+ 'u' => ['class'],
25
+ 'del' => ['class'],
24
26
  'a' => ['href'],
25
27
  'mark' => ['class'],
26
28
  'code' => ['class']
@@ -32,6 +32,8 @@ module EditorJs
32
32
  safe_tags = {
33
33
  'b' => nil,
34
34
  'i' => nil,
35
+ 'u' => ['class'],
36
+ 'del' => ['class'],
35
37
  'a' => ['href'],
36
38
  'mark' => ['class'],
37
39
  'code' => ['class'],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EditorJs
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editor_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-03 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.0.8
223
+ rubygems_version: 3.0.6
224
224
  signing_key:
225
225
  specification_version: 4
226
226
  summary: Ruby gem for editorjs.io text editor