kea-on-rails 0.6.0 → 0.6.1
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 +4 -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: 0335b8d3183a04e00f759c04b3d508aef5ea49e1
|
4
|
+
data.tar.gz: 23c1cd52eb5c46fad6d750716d22f2dae387892f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b27950b43786c4b35a6f79f91e508c13c5ab3351270aa39edb68813c998305637ac23ba4f0b22f018b995c3ee5001f317c9ba944f4ebcdcff96308e792880a7
|
7
|
+
data.tar.gz: a58196766694556976ffeb7dc8945545cf415a9e1ad343bf7fb5169fb5fa63b98519224e4915436d24b42902fe0dad2f7c7997e87a8a6e6126385facc110b9ea
|
data/lib/kea/router.rb
CHANGED
@@ -11,7 +11,10 @@ module Kea
|
|
11
11
|
@env = env
|
12
12
|
|
13
13
|
request = Rack::Request.new(env)
|
14
|
-
|
14
|
+
body = request.body.read
|
15
|
+
params = JSON.parse(body).deep_symbolize_keys
|
16
|
+
|
17
|
+
request.body.rewind
|
15
18
|
|
16
19
|
begin
|
17
20
|
@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.6.
|
4
|
+
version: 0.6.1
|
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-07 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
|