rack-parser 0.6.0 → 0.6.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: 3a7ddcfcf164a59f2e0a35d8dbc197e742c715db
4
- data.tar.gz: cb8b0b947daa30f8ef17276d1d2f81a16897b907
3
+ metadata.gz: b75afa920d500b395cfeb8e69fcd5b02940abf94
4
+ data.tar.gz: b2251334c07c80081ba9172e199787e927ad6c14
5
5
  SHA512:
6
- metadata.gz: b19155797c75b417c940feb83f10ff6384833215db9b010415e674aad87894f992d49aeb5440b45d4b03fc644493ee2a280f5825f7e2783f862228b94b2fff23
7
- data.tar.gz: 8ad8459f09be43fc97dbd1b5baf382da16a2e1e94745bf011b5d258b1cf36dad111a5235ba81b2d20926826214e05b9e86489314bb907ccd0904c6aaa7fb9ba1
6
+ metadata.gz: 52f7238b8cb20e48f7d851eabfef29bf976a9a3e712ebe6136ac74f3db73dcde736c7586f7367c87ca1f050f08e606dfa1d002d9b9064bccba56d4fa435be2cc
7
+ data.tar.gz: 82d88abe18e5b53880bf605331c84ada934e896e064d42ec64f210bc8a507147ff9b28f14a25b7f9dbf7c6b76558b5609da6bf184713508b98c2cb70fcb70831
@@ -18,10 +18,6 @@ module Rack
18
18
  end
19
19
 
20
20
  def call(env)
21
- dup._call(env)
22
- end
23
-
24
- def _call(env)
25
21
  type = Rack::Request.new(env).media_type
26
22
  parser = parsers.detect { |content_type, _| type.match(content_type) } if type
27
23
  return @app.call(env) unless parser
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "rack-parser"
6
- s.version = "0.6.0"
6
+ s.version = "0.6.1"
7
7
  s.authors = ["Arthur Chiu"]
8
8
  s.email = ["mr.arthur.chiu@gmail.com"]
9
9
  s.homepage = "https://www.github.com/achiu/rack-parser"
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Chiu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-06 00:00:00.000000000 Z
11
+ date: 2014-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack-test
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Rack Middleware for parsing post body data for json, xml and various
@@ -60,7 +60,7 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - Gemfile
65
65
  - MIT-LICENSE
66
66
  - README.md
@@ -78,21 +78,20 @@ require_paths:
78
78
  - lib
79
79
  required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '>='
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project: rack-parser
91
- rubygems_version: 2.0.3
91
+ rubygems_version: 2.2.2
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Rack Middleware for parsing post body data
95
95
  test_files:
96
96
  - spec/parser_spec.rb
97
97
  - spec/spec_helper.rb
98
- has_rdoc: