rack-jsonr 0.2.8 → 0.3.0

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: ef5239ef16970bde6321502b6a1b552a29d7f2be
4
- data.tar.gz: 01f100bfa3250cf3fab1f355b68a68e9e9666999
3
+ metadata.gz: 6a52f3e20f47e28b9306397d7e66b6f55c19ca12
4
+ data.tar.gz: 3f99629f00e9fa2833a2604bb1fc7bbeb5e7d10f
5
5
  SHA512:
6
- metadata.gz: dc7e79f5538984f46764e76f06d7888d6adc01932fccccbef2107f0d0e2d5f9dd4107152f7e776ea6abd9405531883371c5f50bef7bee0a19658defdc2588a1c
7
- data.tar.gz: bd9033329a171f1138a402510ee370939dfac3ac496004adc899589806c0dc4fa117858c98faa8a57a71aa10baf7aad561f01e4050357c90c4371121a1e9c9e1
6
+ metadata.gz: 11942cd37591da4d6f1773c23128dec621c2c6ed645f216b75e3ca1d5230dea31ecb4e30ea419f300a1777afeb858b379b90b7b788467c51a6a1c87027fc5de9
7
+ data.tar.gz: b6ee104032aa46a98f97153d6185c2f978a32039fc9a187fbf32f11e8c88e117113745cbafb8bd03fa59a9041551e4475d530d2259ced2c4302dcb686cb959e8
@@ -51,13 +51,6 @@ module Rack
51
51
  if HTTP_METHODS_TO_OVERRIDE.include?(method_override) and !env['rack.jsonr_method_override.original_method']
52
52
  env['rack.jsonr_method_override.original_method'] = env['REQUEST_METHOD']
53
53
  env['REQUEST_METHOD'] = method_override
54
- if method_override == 'POST'
55
- env['rack.request.query_hash'].each do |key,value|
56
- next if !value.is_a?(Hash)
57
- next if !value.all? {|k,v| k =~ /^[0-9]+$/ }
58
- env['rack.request.query_hash'][key] = value.sort.inject([]) {|result, v| result << v[1] }
59
- end
60
- end
61
54
  end
62
55
  end
63
56
  end
@@ -1,3 +1,3 @@
1
1
  class Rack::JSONR
2
- VERSION = '0.2.8'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-jsonr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark