editor_js 0.2.3 → 0.2.4

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: 77738c455a6cc79eb1b2a20874baf3577f55c327ad9eb6447f6f494a175ad0ef
4
- data.tar.gz: '093553c9c3ef1847fd251f8c005b2598acea27104d29d1e5075eddf0af171dd1'
3
+ metadata.gz: 971be8f7a5bcc50f90032ad0d28e31e1501d578240aa433c75eb9a22e214c023
4
+ data.tar.gz: c251c0c3f39a2b1159e3af404dd0f84c2b9a393eb966aa2827f0c9431b31cc30
5
5
  SHA512:
6
- metadata.gz: 97e69bbab2ec94c7055f0905bed3f5a0d7160f9a0da8cabfcfce4ff511fc04bd3553702e795b9d7b606f4418e1099638497a10c7becf6cba9cc81b54deb9b2dd
7
- data.tar.gz: 21aea8e610a98441b4c59096139b138131f6b310634353227ffa299d0c20ea1e6f3902d5c997b67e06777648ee63119cef43f85cb8b3be67499a1a5bba58e68b
6
+ metadata.gz: 274b5f08751e2c5432db9eb6c74c85260a580dfcdab3747048f35f99b399b66f12c3e3936fc29e0256518ec6505a68ebad862066699ac69fe12fb5df5fd95e52
7
+ data.tar.gz: 13cd21c912b10d91de9ac2558f98a41049b6e326e2bad5f4f705fb7e7968cb55831144d74d02637dfa3bf9a664ae143d39fd8d67c023a268bf83cc1004faa4d7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- editor_js (0.2.3)
4
+ editor_js (0.2.4)
5
5
  actionview (>= 4)
6
6
  activesupport (>= 4)
7
7
  coderay (~> 1.1, >= 1.1.2)
@@ -45,7 +45,7 @@ module EditorJs
45
45
  %w[caption embed height service source width].each do |key|
46
46
  str = Sanitize.fragment(data[key], remove_contents: true).strip
47
47
  if %w[embed service source].include?(key)
48
- str.gsub('&', '&')
48
+ str.gsub!('&', '&')
49
49
  end
50
50
  data[key] = str
51
51
  end
@@ -47,7 +47,7 @@ module EditorJs
47
47
  %w[caption url].each do |key|
48
48
  str = Sanitize.fragment(data[key], remove_contents: true).strip
49
49
  if key == 'url'
50
- str.gsub('&', '&')
50
+ str.gsub!('&', '&')
51
51
  end
52
52
  data[key] = str
53
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EditorJs
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
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.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-02 00:00:00.000000000 Z
11
+ date: 2020-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview