flipper-redis 0.7.5 → 0.8.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
  SHA1:
3
- metadata.gz: bff3c69d9515ee439f0374afa25cf060e0b6d71f
4
- data.tar.gz: 826d42e36d1b7ed11c02e7b9d59ce55ef77e6025
3
+ metadata.gz: b98b79bbb48674a9ad7df5830a12ad5eed07badf
4
+ data.tar.gz: 5e4f7a68db0ef750e3f2334c98247109fe0cbf75
5
5
  SHA512:
6
- metadata.gz: 2902fed8943fb8de573b03fdc909031b631441df8a1f8eb60b2d0368a4b31b103cf3aa132acb4a6dec96c2b0c6e49c75a1203143d1f0790b10384a4857b34800
7
- data.tar.gz: b668c53eedbf720deb1efe452670d6bcc4d5a0100bb036bf5304d42bdf95449747e80643016b06770d306ead4ee1552addd07c760b3d85d657740dfd92491e8c
6
+ metadata.gz: 5fb6c8122cf3b90562045c3d9f6e5c98212778dd1681d71123d2cea196d7d77da154dba91faaf2d77993cb9662b300bd44babfbc175ac3cd90f6f852408b8540
7
+ data.tar.gz: 585451e23d415e18b1bcc52be1139b91c9bbdf6f5acd5fea1794e6adc211d368cbeb2456831065a6d79fd7e2828e789c36508a5fa647d61e5eed2853cbb515bd
@@ -5,7 +5,7 @@ require 'flipper'
5
5
  module Flipper
6
6
  module Adapters
7
7
  class Redis
8
- include Flipper::Adapter
8
+ include ::Flipper::Adapter
9
9
 
10
10
  # Private: The key that stores the set of known features.
11
11
  FeaturesKey = :flipper_features
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = "0.7.5"
2
+ VERSION = "0.8.0"
3
3
  end
@@ -0,0 +1,11 @@
1
+ require 'test_helper'
2
+ require 'flipper/adapters/redis'
3
+
4
+ class RedisTest < MiniTest::Test
5
+ prepend SharedAdapterTests
6
+
7
+ def setup
8
+ client = Redis.new({}).tap { |c| c.flushdb }
9
+ @adapter = Flipper::Adapters::Redis.new(client)
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2016-06-21 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.7.5
19
+ version: 0.8.0
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.7.5
26
+ version: 0.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -60,6 +60,7 @@ files:
60
60
  - lib/flipper/adapters/redis.rb
61
61
  - lib/flipper/version.rb
62
62
  - spec/flipper/adapters/redis_spec.rb
63
+ - test/adapters/redis_test.rb
63
64
  homepage: https://github.com/jnunemaker/flipper
64
65
  licenses:
65
66
  - MIT
@@ -86,3 +87,4 @@ specification_version: 4
86
87
  summary: Redis adapter for Flipper
87
88
  test_files:
88
89
  - spec/flipper/adapters/redis_spec.rb
90
+ - test/adapters/redis_test.rb