string_tools 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -1
- data/lib/string_tools/version.rb +1 -1
- data/lib/string_tools.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88f90e3bdd0d61cd67452b28d2d282d3ef821d48785143d750c72998655e1ff5
|
4
|
+
data.tar.gz: efd190d4215b001ac24260e1ddd1bf6024a3653acbb4060e8da082b85659c76b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45484316664f0c72a655a25aa590064585096bbf99823b9068ab63d34b2c7b521b8fbab3b228e8a9ec113546b0919e8bebe97fce9a4e2d7f9dc1d02dd33249f
|
7
|
+
data.tar.gz: 00d4e2fe764500b8bb3fb1520a24d20d3dc59c99802178effb925b67906d45da67541fc2be34b506d4ef4e5e57862886de1fe01d43e7382a90cf9e5b6de7de92
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,18 @@
|
|
1
|
-
# v1.
|
1
|
+
# v1.2.0
|
2
|
+
|
3
|
+
* 2024-04-08 [be7e7fd](../../commit/be7e7fd) - __(Andrew N. Shalaev)__ Release v1.2.0
|
4
|
+
* 2023-11-29 [393bb13](../../commit/393bb13) - __(GIGrave)__ feature: add media to sanitize rules
|
5
|
+
https://jira.railsc.ru/browse/BPC-22916
|
6
|
+
|
7
|
+
* 2023-11-29 [06eb51e](../../commit/06eb51e) - __(GIGrave)__ Revert "feature: add string_tools config"
|
8
|
+
This reverts commit c0b9bf39ec3cf2fce28fe92c7892a0c47593ca09.
|
9
|
+
|
10
|
+
* 2023-11-29 [d1c00b9](../../commit/d1c00b9) - __(GIGrave)__ Revert "fix: add postgress to drone"
|
11
|
+
This reverts commit 33e5698fd48d5edf416df316e3466f9e6c58369f.
|
12
|
+
|
13
|
+
* 2023-11-02 [33e5698](../../commit/33e5698) - __(GIGrave)__ fix: add postgress to drone
|
14
|
+
* 2023-11-02 [c0b9bf3](../../commit/c0b9bf3) - __(GIGrave)__ feature: add string_tools config
|
15
|
+
https://jira.railsc.ru/browse/BPC-22612
|
2
16
|
|
3
17
|
* 2023-10-16 [8ccb54a](../../commit/8ccb54a) - __(ArtemBorodinEvgenyevich)__ Release v1.1.0
|
4
18
|
* 2023-08-29 [bed389b](../../commit/bed389b) - __(Terentev Aleksey)__ feat: sanitize links in alt of img tag
|
@@ -103,6 +117,14 @@ https://jira.railsc.ru/browse/PC4-16353
|
|
103
117
|
# v3.0.1
|
104
118
|
|
105
119
|
|
120
|
+
# v1.1.0
|
121
|
+
|
122
|
+
* 2023-08-29 [bed389b](../../commit/bed389b) - __(Terentev Aleksey)__ feat: sanitize links in alt of img tag
|
123
|
+
https://jira.railsc.ru/browse/PC4-29908
|
124
|
+
|
125
|
+
* 2023-08-11 [7848491](../../commit/7848491) - __(Terentev Aleksey)__ feat: add options for sanitize outer links in css
|
126
|
+
https://jira.railsc.ru/browse/PC4-29908
|
127
|
+
|
106
128
|
# v1.0.0
|
107
129
|
|
108
130
|
* 2023-06-15 [8e9fa48](../../commit/8e9fa48) - __(Andrew N. Shalaev)__ fix: convert to_utf8 correctly, without hidding errors
|
data/lib/string_tools/version.rb
CHANGED
data/lib/string_tools.rb
CHANGED
@@ -181,7 +181,11 @@ module StringTools
|
|
181
181
|
str,
|
182
182
|
:attributes => attributes,
|
183
183
|
:elements => elements,
|
184
|
-
:css => {
|
184
|
+
:css => {
|
185
|
+
at_rules_with_styles: ['media'],
|
186
|
+
properties: Sanitize::Config::RELAXED[:css][:properties],
|
187
|
+
protocols: protocols,
|
188
|
+
},
|
185
189
|
:remove_contents => remove_contents || Set['style', 'script'],
|
186
190
|
:allow_comments => false,
|
187
191
|
:transformers => transformers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey D.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|