kea-on-rails 0.6.2 → 0.6.3

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/controller.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fc646054942041e916923658fe0a94a8e002698
4
- data.tar.gz: b360fa200f9855a39dd0c6589a9d5cb10b262c09
3
+ metadata.gz: 1449bbe6393cc1b538f5239d2dad9e76e41df5aa
4
+ data.tar.gz: ecd2c9d56295c473a9fd92d0029a345afe6fb817
5
5
  SHA512:
6
- metadata.gz: 4df86dbe82b8e15c4286d50c7f40d40c67c300cc93c1219e0513248d59cee5cf3dc561060498dd4c489b8c9a6ae04c4db1bec79bcca53cb69f29d9b594163270
7
- data.tar.gz: c13d6282d4417ae4ba468375e20ee3584eb5bf1fe61e85f3be0d8b193e286a6a17d05072285a54ad349c8f3c3e99ecd6fe987479d8f14e45c04f3a42539dbf55
6
+ metadata.gz: 5c5f82d964e3776a6892356bbc40f3276d29fdf1bde2b123fcac87a0451a1dc5f6aa42e5e0533533dfe4bf7c979a63993a23983592ec0c4f60ebe4277fecf75b
7
+ data.tar.gz: 42b8bb235782435d9b141b329d113c42c89d0c1b7ac76b3f08e390f800449c7b551a1be4dab206bd6e35a85e475b5534fbf441ce61c21fefe4d2be2a41839ac2
@@ -14,14 +14,14 @@ module Kea
14
14
 
15
15
  def params
16
16
  if @running_via_kea
17
- if env['kea.params'].present?
18
- env['kea.params']['params']
17
+ if request.env['kea.params'].present?
18
+ request.env['kea.params']['params']
19
19
  else
20
20
  request.params['params']
21
21
  end
22
22
  else
23
- if env['kea.params'].present?
24
- env['kea.params']
23
+ if request.env['kea.params'].present?
24
+ request.env['kea.params']
25
25
  else
26
26
  request.params
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kea-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marius Andra