alephant-broker 3.3.0 → 3.3.1

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
  SHA1:
3
- metadata.gz: bad508555563294c2782af87c53618b28b78834b
4
- data.tar.gz: ce942ad7a32671222334f7883d772ea5a3135467
3
+ metadata.gz: 4e2c0620ec5045c515d26dd4e5e58692f4948b83
4
+ data.tar.gz: 2e8fc20b454f4af591a9a4d2d7728e98ec7cb536
5
5
  SHA512:
6
- metadata.gz: baf72da1f88eb8dec96b3e41af92538325a0cbcb4a796861bc292e237d856a6710ce171af01270e036f5e64a6cff415508c7a3b9e6ca44a1905707958d38d1a9
7
- data.tar.gz: 5e8768a0475a5a5e8358f4e6aad32019ffa4648f24f77de89e3567666490403256b9069fce804d12e2713592fb45a9ca06340add5cf9e0a256e57561729ad14c
6
+ metadata.gz: 589db2ac38924edb98b69e5cb45add8a0d7fcedd9f8f3616aa3b5ee156c1d34b05c864a73d85147db5a20bc502616cf5fe30588901070e0e5751106385e80ebd
7
+ data.tar.gz: 60b10de3ccfb8c1ebf27e2d3d1042adce08c1d37a20c5782bfa4c86564ea8c8311a797f0f6bc0b3a5d52de800c65215a2491b0117456eb65e8e3a070c2e5e8f0
@@ -22,9 +22,9 @@ module Alephant
22
22
 
23
23
  def get(key, &block)
24
24
  begin
25
- key = versioned(key)
26
- result = @@client.get key
27
- logger.info("Broker::Cache::Client#get key: #{key} - #{result ? 'hit' : 'miss'}")
25
+ versioned_key = versioned key
26
+ result = @@client.get versioned_key
27
+ logger.info("Broker::Cache::Client#get key: #{versioned_key} - #{result ? 'hit' : 'miss'}")
28
28
  logger.metric(:name => "BrokerCacheClientGetKeyMiss", :unit => "Count", :value => 1) unless result
29
29
  result ? result : set(key, block.call)
30
30
  rescue StandardError => e
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "3.3.0"
3
+ VERSION = "3.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-18 00:00:00.000000000 Z
11
+ date: 2015-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec