flipper-redis 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,7 +127,7 @@ module Flipper
127
127
  #
128
128
  # Returns a Set of the values enabled for the gate.
129
129
  def fields_to_gate_value(fields, gate)
130
- regex = /^#{Regexp.escape(gate.key)}\//
130
+ regex = /^#{Regexp.escape(gate.key.to_s)}\//
131
131
  keys = fields.grep(regex)
132
132
  values = keys.map { |key| key.split('/', 2).last }
133
133
  values.to_set
@@ -1,7 +1,7 @@
1
1
  module Flipper
2
2
  module Adapters
3
3
  class Redis
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,55 +1,65 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: flipper-redis
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 5
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 1
10
+ version: 0.6.1
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - John Nunemaker
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-02-20 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: flipper
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2013-02-27 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
24
+ requirements:
19
25
  - - ~>
20
- - !ruby/object:Gem::Version
26
+ - !ruby/object:Gem::Version
27
+ hash: 7
28
+ segments:
29
+ - 0
30
+ - 6
31
+ - 0
21
32
  version: 0.6.0
22
- type: :runtime
33
+ version_requirements: *id001
34
+ name: flipper
23
35
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 0.6.0
30
- - !ruby/object:Gem::Dependency
31
- name: redis
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 3.0.0
38
36
  type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
37
+ - !ruby/object:Gem::Dependency
38
+ requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
40
+ requirements:
43
41
  - - ~>
44
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
43
+ hash: 7
44
+ segments:
45
+ - 3
46
+ - 0
47
+ - 0
45
48
  version: 3.0.0
49
+ version_requirements: *id002
50
+ name: redis
51
+ prerelease: false
52
+ type: :runtime
46
53
  description: Redis adapter for Flipper
47
- email:
54
+ email:
48
55
  - nunemaker@gmail.com
49
56
  executables: []
57
+
50
58
  extensions: []
59
+
51
60
  extra_rdoc_files: []
52
- files:
61
+
62
+ files:
53
63
  - .gitignore
54
64
  - .travis.yml
55
65
  - Gemfile
@@ -65,30 +75,40 @@ files:
65
75
  - lib/flipper/adapters/redis/version.rb
66
76
  - spec/flipper/redis_spec.rb
67
77
  - spec/helper.rb
78
+ has_rdoc: true
68
79
  homepage: http://jnunemaker.github.com/flipper-redis
69
80
  licenses: []
81
+
70
82
  post_install_message:
71
83
  rdoc_options: []
72
- require_paths:
84
+
85
+ require_paths:
73
86
  - lib
74
- required_ruby_version: !ruby/object:Gem::Requirement
87
+ required_ruby_version: !ruby/object:Gem::Requirement
75
88
  none: false
76
- requirements:
77
- - - ! '>='
78
- - !ruby/object:Gem::Version
79
- version: '0'
80
- required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ version: "0"
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
97
  none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
86
105
  requirements: []
106
+
87
107
  rubyforge_project:
88
- rubygems_version: 1.8.23
108
+ rubygems_version: 1.6.2
89
109
  signing_key:
90
110
  specification_version: 3
91
111
  summary: Redis adapter for Flipper
92
- test_files:
112
+ test_files:
93
113
  - spec/flipper/redis_spec.rb
94
114
  - spec/helper.rb