fake_elasticache 0.0.2 → 0.0.3

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: a55c73274aa98cd520825bdd36ad6c0e723f9160
4
- data.tar.gz: a696dfdde838469d899f902a60c1aab9a80c0697
3
+ metadata.gz: 05c57e5ac928be4dbb51686340b32adb470aceb8
4
+ data.tar.gz: 56ba68fa9048f3a58e768333f868762b959093b1
5
5
  SHA512:
6
- metadata.gz: 26eae6c13b177c29df707e56d2f960d18c3d746d69bad7dc06c152908e2bb0aced6fb4946a033e5585b86abae46ef7e3babe4ee7d95343af09783cf9d3765a00
7
- data.tar.gz: 29a4c7b98d8f3692fafa6181052d690237494bd58396471aad6dc159eb6e286a60623d10fc5c3bce0140c50216365bd9f59c22d27d52b6a350ef24aef8f37274
6
+ metadata.gz: 909aab938c755853e6bdb2fc29e3272a8a7a00ed9093b9c756545bc67542f49f12fca59029a48662abaccefb976d9a33ca9709772256d491dfb845dbd22eadce
7
+ data.tar.gz: ae980827bcbb82678d13240b6debca92c7031b9721cea5db28177cfa609d701a6a86448415899ca2ea04ef56723ba2e0f6d2284ab0902930ba5704290bb5dee5
@@ -10,7 +10,7 @@ module FakeElasticache
10
10
  :version => ENV.fetch('MEMCACHED_VERSION', '2.4.14')
11
11
  }
12
12
 
13
- ENV.keys.select { |key| key.to_s.match(/^MEMCACHED[0-9]*_PORT/) }.each do |linked_container|
13
+ ENV.keys.select { |key| key.to_s.match(/^MEMCACHED[0-9]*_PORT$/) }.each do |linked_container|
14
14
  id = linked_container[/\d+/,0]
15
15
  memcached_server = ENV[linked_container].nil? ? ['127.0.0.1', '11211'] : ENV[linked_container].sub("tcp://", "").split(':')
16
16
  options[:servers] << "#{ENV.fetch("DNS#{id}_NAME", 'localhost')}|#{memcached_server[0]}|#{memcached_server[1]}"
@@ -1,3 +1,3 @@
1
1
  module FakeElasticache
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fake_elasticache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack