kea-on-rails 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kea/router.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e653c5807e035fbb97d310f56559165cc43f9bb4
4
- data.tar.gz: 44ec1de817b3277e95dbc0afef155055d2074264
3
+ metadata.gz: c22d37b11dcb91b6b03a9193cc04c74b0a5db146
4
+ data.tar.gz: d1ef6d40b1b0e7eaa658832c7701a636f3cad59d
5
5
  SHA512:
6
- metadata.gz: 6067d1adf59a2d0e249731ee6cda74b3d857b53027b4980cd9ec74457f446e42351364be02c0ebf3cadf2e321e4198b5cd7638a7a5b7ee2e5ac8c7f37c713a95
7
- data.tar.gz: 21853c74b4db4e2d75192b36518f08969430c146184be7469328c5603609bc72be99a46fd9688b166e7e9199d22473dbcaeed37ef6d2fc12ade116a3e519f0ab
6
+ metadata.gz: e832d454d87e245a44c9e34d281f77f5a5b8105266f9c85ff06329e877d0bbbce765f2443af9c0eb66319fd28bd681568f41581a21fd3478158e50c788fd4ee9
7
+ data.tar.gz: 523ef74f9b76fb60821ebd350d20226ff9d48a2db73655d580d4cdbacc340b2358354b55596668a9c9f9df045ef5774bb2f12464b5f7567e31e50e196b5c08dc
data/lib/kea/router.rb CHANGED
@@ -9,7 +9,7 @@ module Kea
9
9
 
10
10
  def call(env)
11
11
  @env = env
12
- params = (@env['rack.request.form_hash'] || Rack::Utils.parse_nested_query(@env['QUERY_STRING'])).deep_symbolize_keys
12
+ params = (@env['action_dispatch.request.request_parameters'] || @env['rack.request.form_hash'] || Rack::Utils.parse_nested_query(@env['QUERY_STRING'])).deep_symbolize_keys
13
13
 
14
14
  begin
15
15
  @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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marius Andra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-07 00:00:00.000000000 Z
11
+ date: 2016-11-03 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