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 +4 -4
- data/lib/dandy/request.rb +2 -1
- data/lib/dandy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2bc21d2fad8ada548b6c04e49a2264e0adc9663
|
4
|
+
data.tar.gz: cd4f6c6a039cc166ea1eec5807fb18cb8582666d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb439771d5084b8247fad3a3fcc6fe2621c3bf7e5ef4c33c19791fd6ca427043dde7e4d197961f90173aade06604a0e6f662314ccb2c49ed6657c17a063b0b08
|
7
|
+
data.tar.gz: 68f7adaf28bcdefbb8b8637de7ffd05e7c54399f27aa6469e1e884239d80bdeeca55b9e022146f5d15f5808b103a85e3459eebcce78d5e199e947371d624c2bb
|
data/lib/dandy/request.rb
CHANGED
@@ -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)
|
data/lib/dandy/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hypo
|