sanitize 4.3.0 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sanitize might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a202a438bce353e37e37dc9c40522cea2269b934
4
- data.tar.gz: 226373f045e2d040b1d0902b34b873187257cd65
3
+ metadata.gz: 56198b0f03aece3c1a19243dffa2436c927cf999
4
+ data.tar.gz: 2998dc900ea75523ee9b2f401b6cffbaf73b7aec
5
5
  SHA512:
6
- metadata.gz: 1fec7ba0e5c844402e5723ec9c51645a2d801de463af61cb6b893c6bdcc7a0901cc13d737ef42408e162335bad69440c4d575e903864f385eb0973b3f57e6266
7
- data.tar.gz: 1f38a977ffcbf56d321c808e39e26d5b44fe8c1826b11ee977e9ffe34c45c59b2ff896e65a9f5e799efab9598e5daa959d33fee3998d591d0fd2ed8989864d06
6
+ metadata.gz: a77e3b50f6f6a8a2c154e530e7c48d34ddbf6986be72ef706bcef320b1f3cbb74d4eb6843326770e4fe395345efe210aa0bcfdf747b8bd07189af8bc62619cb3
7
+ data.tar.gz: ca92ad3e4be9f88f79b526e256eb52a8c49acc59291fd533ce6ea9821251800509b8b1cda5bb9c54d8f03852cd2477829e62981a287849b75fb76df2b416d735
data/HISTORY.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Sanitize History
2
2
 
3
+ ## 4.4.0 (2016-09-29)
4
+
5
+ * Added `srcset` to the attribute whitelist for `img` elements in the relaxed
6
+ config. [@ejtttje - #156][156]
7
+
8
+ [156]:https://github.com/rgrove/sanitize/pull/156
9
+
10
+
3
11
  ## 4.3.0 (2016-09-20)
4
12
 
5
13
  * Methods can now be used as transformers. [@Skipants - #155][155]
@@ -19,7 +19,7 @@ class Sanitize
19
19
  'colgroup' => %w[span width],
20
20
  'data' => %w[value],
21
21
  'del' => %w[cite datetime],
22
- 'img' => %w[align alt border height src width],
22
+ 'img' => %w[align alt border height src srcset width],
23
23
  'ins' => %w[cite datetime],
24
24
  'li' => %w[value],
25
25
  'ol' => %w[reversed start type],
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  class Sanitize
4
- VERSION = '4.3.0'
4
+ VERSION = '4.4.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanitize
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Grove
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crass