actiontext 8.1.3.1 → 8.1.4
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/CHANGELOG.md +5 -0
- data/lib/action_text/content.rb +2 -2
- data/lib/action_text/gem_version.rb +2 -2
- data/package.json +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee69ac3587b89f27beb410d378f5754b53678b981fd8d695f41fc5d25b4aee8f
|
|
4
|
+
data.tar.gz: 44165ee733b0a5b84fb8fe8d21c33a75613ecf8461e95db39b8db77e10975b36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c5c6725901c11151c154670880ed17b8223fe05f351094a80c3c3ccc93ab86e99570fb1619d14a72c110c208ae6797cf2888eab3ad0931943329e63868879c8
|
|
7
|
+
data.tar.gz: e5b22489131c59b803dd7e87067f81b0ebf3e725ec006e329d9c7478efbdb4299f910dee9ddb8daf8c6e7e3ae2ce523876c5bebe4e59a42e2aa4ac36b4619250
|
data/CHANGELOG.md
CHANGED
data/lib/action_text/content.rb
CHANGED
|
@@ -120,7 +120,7 @@ module ActionText
|
|
|
120
120
|
# content.to_plain_text # => "Funny times!"
|
|
121
121
|
#
|
|
122
122
|
# content = ActionText::Content.new("<div onclick='action()'>safe<script>unsafe</script></div>")
|
|
123
|
-
# content.to_plain_text # => "
|
|
123
|
+
# content.to_plain_text # => "safe"
|
|
124
124
|
#
|
|
125
125
|
# NOTE: that the returned string is not HTML safe and should not be rendered in
|
|
126
126
|
# browsers without additional sanitization.
|
|
@@ -150,7 +150,7 @@ module ActionText
|
|
|
150
150
|
|
|
151
151
|
# Safely transforms Content into an HTML String.
|
|
152
152
|
#
|
|
153
|
-
# content = ActionText::Content.new(
|
|
153
|
+
# content = ActionText::Content.new("<h1>Funny times!</h1>")
|
|
154
154
|
# content.to_s # => "<h1>Funny times!</h1>"
|
|
155
155
|
#
|
|
156
156
|
# content = ActionText::Content.new("<div onclick='action()'>safe<script>unsafe</script></div>")
|
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actiontext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Javan Makhmali
|
|
@@ -17,56 +17,56 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - '='
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 8.1.
|
|
20
|
+
version: 8.1.4
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - '='
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 8.1.
|
|
27
|
+
version: 8.1.4
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: activerecord
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
32
|
- - '='
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: 8.1.
|
|
34
|
+
version: 8.1.4
|
|
35
35
|
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - '='
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: 8.1.
|
|
41
|
+
version: 8.1.4
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
43
|
name: activestorage
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
46
|
- - '='
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 8.1.
|
|
48
|
+
version: 8.1.4
|
|
49
49
|
type: :runtime
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - '='
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 8.1.
|
|
55
|
+
version: 8.1.4
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: actionpack
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - '='
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 8.1.
|
|
62
|
+
version: 8.1.4
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - '='
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 8.1.
|
|
69
|
+
version: 8.1.4
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
71
|
name: nokogiri
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -174,10 +174,10 @@ licenses:
|
|
|
174
174
|
- MIT
|
|
175
175
|
metadata:
|
|
176
176
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
177
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.1.
|
|
178
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.
|
|
177
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.4/actiontext/CHANGELOG.md
|
|
178
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.4/
|
|
179
179
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
180
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.
|
|
180
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.4/actiontext
|
|
181
181
|
rubygems_mfa_required: 'true'
|
|
182
182
|
rdoc_options: []
|
|
183
183
|
require_paths:
|
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
195
|
requirements: []
|
|
196
|
-
rubygems_version: 4.0.
|
|
196
|
+
rubygems_version: 4.0.20
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: Rich text framework.
|
|
199
199
|
test_files: []
|