actionpack-xml_parser 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/lib/action_dispatch/xml_params_parser.rb +4 -1
- metadata +3 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3d995d2a2f87ecfd7c1cde922347558e3837444
|
|
4
|
+
data.tar.gz: 12241993571a0fe276e97d67ed0f0c1291134210
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc6272b3567c25a6e6c7383685a8f5fa109a0aaf8fab4376b96fa70754f83391e1d07b35a8c0ce2f156d759ba5a717bc860b0e6708ada427dbddd76ed5c8f6c3
|
|
7
|
+
data.tar.gz: 2d053175e932af06b547744f360bb8e269f8198e09cee7d072e8bcd3552ce1debd783ad0e3b9558a1bb555be260f1506643af0b926851d5fe2515ddf92130f58
|
|
@@ -26,7 +26,10 @@ module ActionDispatch
|
|
|
26
26
|
request.content_mime_type
|
|
27
27
|
|
|
28
28
|
if mime_type == Mime::XML
|
|
29
|
-
|
|
29
|
+
# Rails 4.1 moved #deep_munge out of the request and into ActionDispatch::Request::Utils
|
|
30
|
+
munger = defined?(Request::Utils) ? Request::Utils : request
|
|
31
|
+
|
|
32
|
+
data = munger.deep_munge(Hash.from_xml(request.body.read) || {})
|
|
30
33
|
data.with_indifferent_access
|
|
31
34
|
else
|
|
32
35
|
false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionpack-xml_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Prem Sichanugrist
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -17,9 +17,6 @@ dependencies:
|
|
|
17
17
|
- - '>='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 4.0.0.rc1
|
|
20
|
-
- - <
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '4.1'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -27,9 +24,6 @@ dependencies:
|
|
|
27
24
|
- - '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: 4.0.0.rc1
|
|
30
|
-
- - <
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '4.1'
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: rake
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -77,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
77
71
|
version: '0'
|
|
78
72
|
requirements: []
|
|
79
73
|
rubyforge_project:
|
|
80
|
-
rubygems_version: 2.0.
|
|
74
|
+
rubygems_version: 2.0.6
|
|
81
75
|
signing_key:
|
|
82
76
|
specification_version: 4
|
|
83
77
|
summary: XML parameters parser for Action Pack (removed from core in Rails 4.0)
|