dandy 0.8.0 → 0.8.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: 638225663a3c7bb092445c17472c8ea044a83a56
4
- data.tar.gz: 447b928898b071c070a4ecdc08c6a940b65cdef2
3
+ metadata.gz: f2bc21d2fad8ada548b6c04e49a2264e0adc9663
4
+ data.tar.gz: cd4f6c6a039cc166ea1eec5807fb18cb8582666d
5
5
  SHA512:
6
- metadata.gz: d117ca4ae73aeb227f93c53fbb77239d0b41f662891fb0ad7d0f9c3ebee77149b0244bfab012700d2a7127423e64cfa258fadf6ecbcce3817f006b074b8c4e06
7
- data.tar.gz: c962ed1ef887d8ef5f481ade14964e106ae7b22705839f68e0a6a14982cb80009cfe9e72c951096c6372746b11a1f045abf7bcaf6eb90c792b4b6b8600ea0a61
6
+ metadata.gz: eb439771d5084b8247fad3a3fcc6fe2621c3bf7e5ef4c33c19791fd6ca427043dde7e4d197961f90173aade06604a0e6f662314ccb2c49ed6657c17a063b0b08
7
+ data.tar.gz: 68f7adaf28bcdefbb8b8637de7ffd05e7c54399f27aa6469e1e884239d80bdeeca55b9e022146f5d15f5808b103a85e3459eebcce78d5e199e947371d624c2bb
@@ -1,4 +1,5 @@
1
1
  require 'json'
2
+ require 'dandy/extensions/hash'
2
3
  require 'dandy/chain_factory'
3
4
  require 'dandy/view_factory'
4
5
 
@@ -27,7 +28,7 @@ module Dandy
27
28
  query = Rack::Utils.parse_nested_query(rack_env['QUERY_STRING']).symbolize_keys
28
29
  register_params(query, :dandy_query)
29
30
 
30
- data = rack_env['rack.parser.result']
31
+ data = rack_env['rack.parser.result'] ? rack_env['rack.parser.result'].deep_symbolize_keys! : nil
31
32
  register_params(data, :dandy_data)
32
33
 
33
34
  chain = @chain_factory.create(match)
@@ -1,3 +1,3 @@
1
1
  module Dandy
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.8.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Kalinkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hypo