kea-on-rails 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kea/router.rb +3 -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: f7fda01291b0865c7e0cfb458f1303ae8b43efb1
|
4
|
+
data.tar.gz: 0696592e46dddf8b88cb0867f1362596a6626e18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82fac05d9608a4c9331e1aed15dd806e017eb0e4e97b33113fc30a44b27c1ced8c904dc8a60a612b8a084f5789ec4592fa32a4475c1f54e2192b8e35ec86f67f
|
7
|
+
data.tar.gz: 70a6caded64eaf4a1b20fa160617cd0f28daeafa7ce27066efd712ba0494fa53306df6a963f86b8fa2d246a67b4593e6313c95946d787590bd294461bef7db3b
|
data/lib/kea/router.rb
CHANGED
@@ -9,7 +9,9 @@ module Kea
|
|
9
9
|
|
10
10
|
def call(env)
|
11
11
|
@env = env
|
12
|
-
|
12
|
+
|
13
|
+
request = Rack::Request.new(env)
|
14
|
+
params = JSON.parse(request.body.string).deep_symbolize_keys
|
13
15
|
|
14
16
|
begin
|
15
17
|
@endpoint = params[:endpoint].classify.constantize
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kea-on-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Andra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails connector for kea and kea-rails-loader
|
14
14
|
email: marius.andra@gmail.com
|