katalyst-healthcheck 0.4.1 → 0.5.0

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: 598b8c8ff9cd98a080eca3ec50b04b3b6e4ecd9cbf77d2db2b727264eaf724fc
4
- data.tar.gz: 1d9263a7f9ace6ecb1e85004152e67641b259cfcfdbd50c371b2969593a32a6e
3
+ metadata.gz: d2c5ddb6e887d5d12b30fe4cddc3856222443b046aff435ed75f2c27f25ff9db
4
+ data.tar.gz: 3c212412d7e98d446339d3863a8b7b17fbbec35cff3add2bfce5def17a33b11d
5
5
  SHA512:
6
- metadata.gz: 942c06bb7d5508509bf6682dd484ceb48b6e11bc6c0f9130372c88285c08bbae5f0ef7603a5ad2e7d37e1005265075b0b694ce55ac11fb7504ca81745ae8016d
7
- data.tar.gz: bcd5e63980bc900e04d5dccc5ad9c00a554b248fd0917dfeb054a6b20297288e35110414492fb96258a32290a803d3bfb6292f6bb5337a174cb4843b44e33327
6
+ metadata.gz: 10cf918ad7774608219e8740296293ba6adec792a423ad2111184c60bcbb1cd12f97256fc4b554e2a0c62959ea9865cde0dabe5c68ae67b19753cd1956d06048
7
+ data.tar.gz: 44a7a6ef7865a3d69e2c823e811e1408f2d29cae236715c199392c55ca761c065209864464adc2af442fa79b812ae31fb03a8572d235697f931b4b75a06280b3
@@ -40,7 +40,8 @@ module Katalyst
40
40
  def initialize(options = {})
41
41
  options = { url: self.class.rails_redis_url }.merge(options) if defined?(Rails)
42
42
  options = DEFAULT_OPTIONS.merge(options)
43
- @options = Struct.new(:url, :cache_key).new(options[:url], options[:cache_key])
43
+ namespaced_cache_key = [ENV["RAILS_ENV"], options[:cache_key]].compact.join("_")
44
+ @options = Struct.new(:url, :cache_key).new(options[:url], namespaced_cache_key)
44
45
  end
45
46
 
46
47
  # @return [Array<Hash>] List of tasks attribute data
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Katalyst
4
4
  module Healthcheck
5
- VERSION = "0.4.1"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-healthcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-14 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis