flipper-dalli 0.11.0.beta3 → 0.11.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/adapters/dalli_spec.rb +1 -1
- data/test/adapters/dalli_test.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91d1dfb6a736e385efc93f57510d360addf5a21c
|
4
|
+
data.tar.gz: d9fd813fd2dfdbc0001664d289d5709383cf5ce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81411a324317787355f0967887b440d35362b2cc5c6acb90c7123c52b7a83ac6af33480dbf9bf00a7a641aaf34726c3c2c0460578c8e18cf53d1fc44e6cce9b3
|
7
|
+
data.tar.gz: 570e989f8cb3329d063250efe88c8eba50b3bbdabff12c3a1291923f98ae761d7351f8aac78b7701f2f1024cafb3bb722fb60f216d4dc0bca7f3be526d7012dc
|
data/lib/flipper/version.rb
CHANGED
@@ -5,7 +5,7 @@ require 'flipper/spec/shared_adapter_specs'
|
|
5
5
|
|
6
6
|
RSpec.describe Flipper::Adapters::Dalli do
|
7
7
|
let(:memory_adapter) { Flipper::Adapters::Memory.new }
|
8
|
-
let(:cache) { Dalli::Client.new(ENV['
|
8
|
+
let(:cache) { Dalli::Client.new(ENV['MEMCACHED_URL'] || '127.0.0.1:11211') }
|
9
9
|
let(:adapter) { described_class.new(memory_adapter, cache) }
|
10
10
|
let(:flipper) { Flipper.new(adapter) }
|
11
11
|
|
data/test/adapters/dalli_test.rb
CHANGED
@@ -6,7 +6,7 @@ class DalliTest < MiniTest::Test
|
|
6
6
|
prepend Flipper::Test::SharedAdapterTests
|
7
7
|
|
8
8
|
def setup
|
9
|
-
url = ENV.fetch('
|
9
|
+
url = ENV.fetch('MEMCACHED_URL', 'localhost:11211')
|
10
10
|
@cache = Dalli::Client.new(url)
|
11
11
|
@cache.flush
|
12
12
|
memory_adapter = Flipper::Adapters::Memory.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-dalli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.0.
|
4
|
+
version: 0.11.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flipper
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.11.0.
|
19
|
+
version: 0.11.0.beta4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.11.0.
|
26
|
+
version: 0.11.0.beta4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dalli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|