opener-chained-daemon 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79cb9c8054d212f2c89a21080c690e644b40a22a3e05faa51db78dfdae187fd8
4
- data.tar.gz: b21914d6cbee14b48f15f94c623014bdfee4ddf22a35eb96059e72c1a8cf6b9f
3
+ metadata.gz: cc653c1ad199004e447345039efddd2254448322024b4e73b1ef5b1fed16cb2a
4
+ data.tar.gz: c4bf149413782c68ec589cf2dc3aa46f102fa7d1da9e86705214117b1ab99197
5
5
  SHA512:
6
- metadata.gz: ba7d21f0ec57b3207da58a7c2b153df79f3d797012fb5e934d82a90ba9cca8ea67a254a009d112572b810ef454bfbc8f5bb07376d2ac3941037c4c97c7bbcd2f
7
- data.tar.gz: a17df2a6081b365381d099a75f70e0ac432236082245324922aa822e47d63f5eb1b53845b688bfef4fcec263da8901e9f14e23f0b39bea1af48183d4d2955574
6
+ metadata.gz: 36baa4df69fe723ae8901a85343e33e80a21a3f81f0ac31405ccd45ac49000c4433b80bdbe3fa95b5539dfc05335c53b784cb312bd4a787b1e74a72448db10b4
7
+ data.tar.gz: 3f8307d1f57cc6da874f2f6a51d52cf72dbe18316f4228406dd13c8aaf7a643722408b1418b5e1b7af9e98687d210558ba177e1d6de2a672d68189957cec21fa
@@ -24,6 +24,7 @@ module Opener
24
24
  if params.filter_vertical and params.property_type.present?
25
25
  params.cache_keys.property_type = params.property_type
26
26
  end
27
+ params.cache_keys.environment ||= 'production'
27
28
 
28
29
  lang = nil
29
30
  output = nil
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class ChainedDaemon
3
3
 
4
- VERSION = '3.3.1'
4
+ VERSION = '3.3.2'
5
5
 
6
6
  end
7
7
  end
@@ -38,7 +38,7 @@ module Opener
38
38
 
39
39
  kaf = KAF::Document.from_xml input
40
40
 
41
- prod = params[:cache_keys][:environment] == 'production'
41
+ prod = params.cache_keys.environment == 'production'
42
42
  if prod and !LANGUAGES_CACHE.get.include?(kaf.language)
43
43
  raise Core::UnsupportedLanguageError.new kaf.language
44
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-chained-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com