rails-deprecated_sanitizer 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 95f9068a307d181ea7d9ba85c2e44fba0e68abe8
4
- data.tar.gz: 661d8d9d38a5f940477e0d135258ecd6d07e9627
3
+ metadata.gz: 5c439b4be22e89d93d310cb93f685b9894d42dce
4
+ data.tar.gz: 8331657c4eab3c81681f04f51653ed2bf8356027
5
5
  SHA512:
6
- metadata.gz: 8f114e6ba45f5eb0815b7fe076fad27e01b6960e14f07613c810fddd3bcddf2fbfeaa06a168ea58e93be2a04dd6a3903e4c1cdabd4d904b29c3d6a669fb53578
7
- data.tar.gz: 50ced09a3d6f975723c65bf72b3b7d1c6d9a33d7260bc9979019d11cef88f5eff740750acab3e8718a1623081aa0fd21960218f0080e3400ea1fdd72e26e6bc9
6
+ metadata.gz: c22abd432331f9203c7612bb68f678c2447a9b89f9a98e8dfcb346470cf78ab9725f4c3dcbc5a2293dd07fd931dea3f164216a8fd81921d50beab16ce5bd660f
7
+ data.tar.gz: f5bc4b05491a581aabe99dd5c1413aa759a1d203ebd51f30c75ef51805ccbfa4d2702c24136924706032d20c96a11b5f93cd5c9ee6e990fc01a1ac0449dcf546
@@ -1,3 +1,7 @@
1
+ ## 1.0.2
2
+
3
+ * Remove warning of method redefined.
4
+
1
5
  ## 1.0.1
2
6
 
3
7
  * Fix autoload issue.
@@ -25,6 +25,10 @@ module ActionView
25
25
  module SanitizeHelper
26
26
  extend self
27
27
 
28
+ if method_defined?(:sanitizer_vendor) || private_method_defined?(:sanitizer_vendor)
29
+ undef_method(:sanitizer_vendor)
30
+ end
31
+
28
32
  def sanitizer_vendor
29
33
  Rails::DeprecatedSanitizer
30
34
  end
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module DeprecatedSanitizer
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-deprecated_sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Timm Hansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport