utf8-cleaner 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
  SHA1:
3
- metadata.gz: 3430532196f27d692b381b983f9379c09e64daeb
4
- data.tar.gz: 0245109f3fa9f3c6c36beefacf5180f5799f1f46
3
+ metadata.gz: d35efa516ffb6383ef2c80848ca3e3b4f3aa5bf7
4
+ data.tar.gz: 6cec01406c89089fd2499b9b874adc433a428ffd
5
5
  SHA512:
6
- metadata.gz: b2e43c9c6b904c0ae23eb06f12a392c544adef9712ea017aa75e2d0b200680f5e7e154acd7d9d65c3859d2e252a39f6458f4dcd6fb42e4a5ab4e8b4d8337d89e
7
- data.tar.gz: 440f660f1e62a99e0387e8991a63605776ce7ad8e0182404aebc3cf54ea44830aa0a7c78b75bdbc143b57458237e6e5c5c19ff2d31b2fc83e00d5de897bd8a6d
6
+ metadata.gz: c29cbe9d5c1a204116843074ebbcfadc0a120b85c9aaec78674db3715f67dbec8ecc5145a064575ece4b85dcea98e5cc8831913eb32ddb1e4844c806bc3a32b8
7
+ data.tar.gz: 949a4b7ae621f0461b31527f76759148b7ee424c897485ead86b9632de6d8947df256a87937b74d37627b2b1c335c99bf81e0719993735d9dc1e7dd6331bc3df
@@ -1,10 +1,22 @@
1
1
  # CHANGELOG
2
2
 
3
- ## V0.2.1
3
+ ## v0.2.4
4
+
5
+ * Rails 5 support (just fixed deprecations)
6
+
7
+ ## v0.2.3
8
+
9
+ * Don't URI-decode JSON in the request body
10
+
11
+ ## v0.2.2
12
+
13
+ * Handle an exception related to mixed encodings in a single string
14
+
15
+ ## v0.2.1
4
16
 
5
17
  * Cleans request body when content type is application/json
6
18
 
7
- ## V0.2.0
19
+ ## v0.2.0
8
20
 
9
21
  * Removes invalid %-encodings like "%x", "%0z", and "%" if not followed by two hex chars
10
22
 
data/README.md CHANGED
@@ -44,3 +44,4 @@ Original middleware author: @phoet - https://gist.github.com/phoet/1336754
44
44
  * Code review and cleanup: @nextmat
45
45
  * POST body sanitization: @salrepe
46
46
  * Bug fixes: @cosine
47
+ * Rails 5 deprecation fix: @benlovell
@@ -1,7 +1,7 @@
1
1
  module UTF8Cleaner
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "utf8-cleaner.insert_middleware" do |app|
4
- app.config.middleware.insert_before 0, "UTF8Cleaner::Middleware"
4
+ app.config.middleware.insert_before 0, UTF8Cleaner::Middleware
5
5
  end
6
6
  end
7
- end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module UTF8Cleaner
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
20
20
  gem.add_dependency 'activesupport'
21
21
 
22
22
  gem.add_development_dependency "rake"
23
+ gem.add_development_dependency "listen", "3.0.8"
23
24
  gem.add_development_dependency "guard"
24
25
  gem.add_development_dependency "guard-rspec"
25
26
  gem.add_development_dependency "rspec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utf8-cleaner
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
  - Leon Miller-Out
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-06 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: listen
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 3.0.8
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.8
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: guard
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
151
  version: '0'
138
152
  requirements: []
139
153
  rubyforge_project:
140
- rubygems_version: 2.4.5.1
154
+ rubygems_version: 2.5.1
141
155
  signing_key:
142
156
  specification_version: 4
143
157
  summary: Prevent annoying error reports of "invalid byte sequence in UTF-8"