robust_params_parser 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +6 -23
- metadata +26 -30
- checksums.yaml +0 -15
data/README.md
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
#  Robust Params Parser
|
|
2
2
|
|
|
3
|
+
Params parser Rack middleware able to handle parsing errors.
|
|
3
4
|
Temporary workaround for https://github.com/rails/rails/pull/7424
|
|
4
5
|
|
|
5
|
-
## Caveats
|
|
6
|
-
|
|
7
|
-
Only works if you're using `MultiJson`.
|
|
8
|
-
|
|
9
6
|
## Installation
|
|
10
7
|
|
|
11
8
|
```ruby
|
|
@@ -21,25 +18,11 @@ Only works if you're using `MultiJson`.
|
|
|
21
18
|
Just make a POST with Content-Type 'application/json' and an invalid JSON as payload, which
|
|
22
19
|
will result in a 400 status code and an empty body response.
|
|
23
20
|
|
|
24
|
-
##
|
|
21
|
+
## Caveats
|
|
25
22
|
|
|
26
|
-
|
|
23
|
+
Only works if you're using `MultiJson`.
|
|
27
24
|
|
|
28
|
-
|
|
29
|
-
a copy of this software and associated documentation files (the
|
|
30
|
-
"Software"), to deal in the Software without restriction, including
|
|
31
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
32
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
33
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
34
|
-
the following conditions:
|
|
25
|
+
## License
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
included in all copies or substantial portions of the Software.
|
|
27
|
+
Copyright (c) 2013 [Infopark AG](http://www.infopark.com) under [LGPG-3.0](http://www.gnu.org/licenses/lgpl-3.0.html).
|
|
38
28
|
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
40
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
41
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
42
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
43
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
44
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
45
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
metadata
CHANGED
|
@@ -1,71 +1,60 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: robust_params_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
7
|
authors:
|
|
7
8
|
- Kostiantyn Kahanskyi
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
12
|
+
date: 2013-06-10 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: multi_json
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &70181540683400 !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
16
18
|
requirements:
|
|
17
19
|
- - ! '>='
|
|
18
20
|
- !ruby/object:Gem::Version
|
|
19
21
|
version: '0'
|
|
20
22
|
type: :runtime
|
|
21
23
|
prerelease: false
|
|
22
|
-
version_requirements:
|
|
23
|
-
requirements:
|
|
24
|
-
- - ! '>='
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
24
|
+
version_requirements: *70181540683400
|
|
27
25
|
- !ruby/object:Gem::Dependency
|
|
28
26
|
name: rails
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
27
|
+
requirement: &70181545385180 !ruby/object:Gem::Requirement
|
|
28
|
+
none: false
|
|
30
29
|
requirements:
|
|
31
30
|
- - ~>
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
32
|
version: 3.2.8
|
|
34
33
|
type: :runtime
|
|
35
34
|
prerelease: false
|
|
36
|
-
version_requirements:
|
|
37
|
-
requirements:
|
|
38
|
-
- - ~>
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: 3.2.8
|
|
35
|
+
version_requirements: *70181545385180
|
|
41
36
|
- !ruby/object:Gem::Dependency
|
|
42
37
|
name: rack-test
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
38
|
+
requirement: &70181545313600 !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
44
40
|
requirements:
|
|
45
41
|
- - ! '>='
|
|
46
42
|
- !ruby/object:Gem::Version
|
|
47
43
|
version: '0'
|
|
48
44
|
type: :development
|
|
49
45
|
prerelease: false
|
|
50
|
-
version_requirements:
|
|
51
|
-
requirements:
|
|
52
|
-
- - ! '>='
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
46
|
+
version_requirements: *70181545313600
|
|
55
47
|
- !ruby/object:Gem::Dependency
|
|
56
48
|
name: rake
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
49
|
+
requirement: &70181545153120 !ruby/object:Gem::Requirement
|
|
50
|
+
none: false
|
|
58
51
|
requirements:
|
|
59
52
|
- - ! '>='
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
54
|
version: '0'
|
|
62
55
|
type: :development
|
|
63
56
|
prerelease: false
|
|
64
|
-
version_requirements:
|
|
65
|
-
requirements:
|
|
66
|
-
- - ! '>='
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
57
|
+
version_requirements: *70181545153120
|
|
69
58
|
description: Params parser Rack middleware able to handle parsing errors
|
|
70
59
|
email:
|
|
71
60
|
- kostiantyn.kahanskyi@googlemail.com
|
|
@@ -76,27 +65,34 @@ files:
|
|
|
76
65
|
- lib/robust_params_parser.rb
|
|
77
66
|
- Rakefile
|
|
78
67
|
- README.md
|
|
79
|
-
homepage: https://github.com/
|
|
68
|
+
homepage: https://github.com/infopark/robust_params_parser
|
|
80
69
|
licenses: []
|
|
81
|
-
metadata: {}
|
|
82
70
|
post_install_message:
|
|
83
71
|
rdoc_options: []
|
|
84
72
|
require_paths:
|
|
85
73
|
- lib
|
|
86
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
|
+
none: false
|
|
87
76
|
requirements:
|
|
88
77
|
- - ! '>='
|
|
89
78
|
- !ruby/object:Gem::Version
|
|
90
79
|
version: '0'
|
|
80
|
+
segments:
|
|
81
|
+
- 0
|
|
82
|
+
hash: -3691353039163974569
|
|
91
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
|
+
none: false
|
|
92
85
|
requirements:
|
|
93
86
|
- - ! '>='
|
|
94
87
|
- !ruby/object:Gem::Version
|
|
95
88
|
version: '0'
|
|
89
|
+
segments:
|
|
90
|
+
- 0
|
|
91
|
+
hash: -3691353039163974569
|
|
96
92
|
requirements: []
|
|
97
93
|
rubyforge_project:
|
|
98
|
-
rubygems_version:
|
|
94
|
+
rubygems_version: 1.8.5
|
|
99
95
|
signing_key:
|
|
100
|
-
specification_version:
|
|
96
|
+
specification_version: 3
|
|
101
97
|
summary: Params parser Rack middleware able to handle parsing errors
|
|
102
98
|
test_files: []
|
checksums.yaml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
!binary "U0hBMQ==":
|
|
3
|
-
metadata.gz: !binary |-
|
|
4
|
-
OTZkNzY1ZTc3OGM1NDk5NWVlMmRjMjQ4YjVjODY2M2UyM2FhMjNjZQ==
|
|
5
|
-
data.tar.gz: !binary |-
|
|
6
|
-
NDYyZmFhYTAwZDQ5MzcwOTkxOWRlNTZiZWZjNTI1YjQyODBkOGE2MQ==
|
|
7
|
-
!binary "U0hBNTEy":
|
|
8
|
-
metadata.gz: !binary |-
|
|
9
|
-
NzFmNmZmODhmZDYyNTUzMWEzYzcyZWNiZWI0MmJlZTFmOWJlY2Q4Y2FkNWY2
|
|
10
|
-
ZTk2OTkwZWQ3YTI5NTFjYjMwZGMwMWJkNWMxZTY2YWRjYWU2MDgzODRlNTZl
|
|
11
|
-
N2VkODlmMDVmZWFjOTkyMWNmMzg2OWVjODgyMjIyNGVlZmU4MmY=
|
|
12
|
-
data.tar.gz: !binary |-
|
|
13
|
-
OWQxOGQyZDM3NWU3MDk0ZWQ5ODQ3NDY2NzljMWVmMGQyODNhZDAzYmIwYWVj
|
|
14
|
-
YTIwZTcwOGJlMzVhMWZlODk0YTMwODc1MWFhODZkYjM3YmIyNGFiZDdjYzc4
|
|
15
|
-
ODIxOTQyOTA0NjEyYjY3ZjU1Y2M5Yzk0MmY4MmVkN2UyNTgzODI=
|