riddl 0.99.123 → 0.99.124

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: 0569d557697b2b1e33ae0370bb0120c1f3cbe3bd
4
- data.tar.gz: a0450ab42c9a18d005ced31b79650ce365f58ec7
3
+ metadata.gz: 9a0a2b1cd37d1d899c32fcc4b3780976336bfe00
4
+ data.tar.gz: 09aecb9babe53147266b5f4a75c8c5dd0b48c687
5
5
  SHA512:
6
- metadata.gz: 11bd0ba0585c179a08153cf2142878a1d35923bd0b16adce735c519d8686de5eef543f17b94b124610614f9002124022f1b5b4debcb3a8c642d8d58c5b0fa758
7
- data.tar.gz: 9c57cd266c3609e70a3a1aa8031ed9cde8f128852fb3a80a421b284dcacd3c9e7e75d9ff3d8c710baa721a2e568f064dbe6d674a4bf2238f3b4fd1366fa5acea
6
+ metadata.gz: a0b6f55ff217fa033051c9b2c663c59cb228bae8426a39b1d58da6a2b91c132d527052ca95f0b9cf3543454dc0f9f14905e5526496ec7a3011c6b7a14dae98fa
7
+ data.tar.gz: 0d65f2578016d1b8c2398412b899d6c3597aa87f6148c82dc4fb68250d14ac1d5f5c39ad8d066bad7bdae0bb85c8b8d65a59a2d2ebdc99d2980a9002325e9096
@@ -7,7 +7,6 @@ module Riddl
7
7
  class Parser
8
8
  FORM_CONTENT_TYPES = [
9
9
  #{{{
10
- nil,
11
10
  'application/x-www-form-urlencoded'
12
11
  #}}}
13
12
  ].freeze
@@ -100,7 +99,7 @@ module Riddl
100
99
  parse_nested_query(query_string,:query)
101
100
 
102
101
  input.find('/message/xr:part').each do |p|
103
- content_type = p.attributes['content-type'] || 'text/plain'
102
+ content_type = p.attributes['content-type'] || nil
104
103
  media_type = content_type && content_type.split(/\s*[;,]\s*/, 2).first.downcase
105
104
  if FORM_CONTENT_TYPES.include?(media_type)
106
105
  # sub is a fix for Safari Ajax postings that always append \0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.123"
3
+ s.version = "0.99.124"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.123
4
+ version: 0.99.124
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2013-09-12 00:00:00.000000000 Z
11
+ date: 2013-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart