rack-www_form_encoding 1.0.0 → 1.0.1

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: f726daa3273b0546542c685e8fb2bc65f7ff5c23
4
- data.tar.gz: 1791269124b8e49052f4995bd5a692eb4cbb5f51
3
+ metadata.gz: dba3d3bdecb2f0413e0d0392211d8e38cc05f1f0
4
+ data.tar.gz: 6e98a542f19f3c0896f1a0992ba51130cfc21f85
5
5
  SHA512:
6
- metadata.gz: 9bcc6534dec0747d944f79e7906622696e08a32b7ed324db62fdeaadfda23b871833b16743e4c51619b61625f07e39b8b3c8eea6ee51fa344ef7bc7760a0f43b
7
- data.tar.gz: c688b49859dffd7854ac58b6172b7c99c19765f0728837aadec168950f6b650f5491a138d97100d0e09e5b79444cc0dd6616284376aa791b77a3acdab68866e4
6
+ metadata.gz: 1e65f6b28418f9c557c8f16e3c31d289991cdf69986ed936a2aea0c9836407dadb9504230a15dfd06f496a514cb397ee54da0ee16bd176892d9ec63c147278aa
7
+ data.tar.gz: 4a6ff59051638a9768052fa7c044b5c481f00fb18081171a04a396e9e0326663bcdd2b922d2e63e402e163c2db568eb16aeee3ad16e7d60a469b71874d2e79a7
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class WWWFormEncoding
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ module Rack
10
10
  end
11
11
 
12
12
  def call(env)
13
- post_body = env['rack.input'].string
13
+ post_body = env['rack.input'].read
14
14
  converted = convert_form(post_body, @encoding)
15
15
  env['rack.input'] = StringIO.new(converted)
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-www_form_encoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HORII Keima