arturo 1.11.0 → 1.12.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: 88ce4aeb22e317dd8292fe0195d9bf50b9a90da0
4
- data.tar.gz: 84e1dd8b5f888190e30a914f467d30d349c55f10
3
+ metadata.gz: 2efec69b5bc22bf33bd5ad4edd8b733f98c4eb39
4
+ data.tar.gz: d89b448f25d35206888522fb71e25a7aa8ddcf2a
5
5
  SHA512:
6
- metadata.gz: b8e4879523a8521f7af17d852d9aac39cd1b40fc0a6eca615f827db37dcaff87049ac04254a2669c1f86afe9dfeb67847180f5e6cd594a2054d61c9d5d8a283c
7
- data.tar.gz: 9bc806e96c48f63bcbd4c7191444be92b929c45c0d9f60f35f2eb490b17dc1d86353db12f154b779174e55c11c81823e7c5bc17fcf50687169067dc63c12187e
6
+ metadata.gz: 1a8329c2724ef8d891a3ba3b78ec7e9a34b4ce4c7e646f76deb5e92c875afab88655871dac9ce78edb4c2d92e151532c0f112dea82ac65f627a5b0559525b254
7
+ data.tar.gz: 352d60e9aa92851d7266be830b0ceeca28b7978aa9a17ed181090546c8406af1e10923164737ec542855a3a7ce7cbe5407e53600d860458c2cafe0ce93b6e1e7
@@ -1,3 +1,8 @@
1
+ ## v.12.0
2
+
3
+ Bug fix: database look-up uses `feature.to_sym.to_s` instead of `feature.to_s`
4
+ since the latter is for humans and not meant to be a stable format.
5
+
1
6
  ## v1.11.0
2
7
 
3
8
  Depreaction: `[feature]_enabled_for?` methods
@@ -26,7 +26,7 @@ module Arturo
26
26
  # @return [Arturo::Feature, nil] the Feature if found, else Arturo::NoSuchFeature
27
27
  def self.to_feature(feature_or_symbol)
28
28
  return feature_or_symbol if feature_or_symbol.kind_of?(self)
29
- symbol = feature_or_symbol.to_sym
29
+ symbol = feature_or_symbol.to_sym.to_s
30
30
  self.where(:symbol => symbol).first || Arturo::NoSuchFeature.new(symbol)
31
31
  end
32
32
 
@@ -1,4 +1,5 @@
1
1
  require 'arturo'
2
+ require 'arturo/feature'
2
3
 
3
4
  # Configure who may manage features here.
4
5
  # The following is the default implementation.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arturo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - gem-public_cert.pem
12
- date: 2014-07-01 00:00:00.000000000 Z
12
+ date: 2014-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -35,86 +35,104 @@ dependencies:
35
35
  name: rails
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '3.2'
41
+ - - "<"
42
+ - !ruby/object:Gem::Version
43
+ version: '5.0'
41
44
  type: :development
42
45
  prerelease: false
43
46
  version_requirements: !ruby/object:Gem::Requirement
44
47
  requirements:
45
- - - ">="
48
+ - - ">"
46
49
  - !ruby/object:Gem::Version
47
- version: '0'
50
+ version: '3.2'
51
+ - - "<"
52
+ - !ruby/object:Gem::Version
53
+ version: '5.0'
48
54
  - !ruby/object:Gem::Dependency
49
55
  name: mocha
50
56
  requirement: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ">="
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: '1.1'
55
61
  type: :development
56
62
  prerelease: false
57
63
  version_requirements: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ">="
65
+ - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
67
+ version: '1.1'
62
68
  - !ruby/object:Gem::Dependency
63
69
  name: rake
64
70
  requirement: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ">="
72
+ - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0'
74
+ version: '10.3'
69
75
  type: :development
70
76
  prerelease: false
71
77
  version_requirements: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ">="
79
+ - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: '0'
81
+ version: '10.3'
76
82
  - !ruby/object:Gem::Dependency
77
83
  name: minitest
78
84
  requirement: !ruby/object:Gem::Requirement
79
85
  requirements:
80
- - - ">="
86
+ - - ">"
81
87
  - !ruby/object:Gem::Version
82
88
  version: '0'
89
+ - - "<"
90
+ - !ruby/object:Gem::Version
91
+ version: '6.0'
83
92
  type: :development
84
93
  prerelease: false
85
94
  version_requirements: !ruby/object:Gem::Requirement
86
95
  requirements:
87
- - - ">="
96
+ - - ">"
88
97
  - !ruby/object:Gem::Version
89
98
  version: '0'
99
+ - - "<"
100
+ - !ruby/object:Gem::Version
101
+ version: '6.0'
90
102
  - !ruby/object:Gem::Dependency
91
103
  name: minitest-rg
92
104
  requirement: !ruby/object:Gem::Requirement
93
105
  requirements:
94
- - - ">="
106
+ - - ">"
95
107
  - !ruby/object:Gem::Version
96
108
  version: '0'
109
+ - - "<"
110
+ - !ruby/object:Gem::Version
111
+ version: '6.0'
97
112
  type: :development
98
113
  prerelease: false
99
114
  version_requirements: !ruby/object:Gem::Requirement
100
115
  requirements:
101
- - - ">="
116
+ - - ">"
102
117
  - !ruby/object:Gem::Version
103
118
  version: '0'
119
+ - - "<"
120
+ - !ruby/object:Gem::Version
121
+ version: '6.0'
104
122
  - !ruby/object:Gem::Dependency
105
123
  name: sqlite3
106
124
  requirement: !ruby/object:Gem::Requirement
107
125
  requirements:
108
- - - ">="
126
+ - - "~>"
109
127
  - !ruby/object:Gem::Version
110
- version: '0'
128
+ version: '1.3'
111
129
  type: :development
112
130
  prerelease: false
113
131
  version_requirements: !ruby/object:Gem::Requirement
114
132
  requirements:
115
- - - ">="
133
+ - - "~>"
116
134
  - !ruby/object:Gem::Version
117
- version: '0'
135
+ version: '1.3'
118
136
  - !ruby/object:Gem::Dependency
119
137
  name: factory_girl
120
138
  requirement: !ruby/object:Gem::Requirement
@@ -147,16 +165,16 @@ dependencies:
147
165
  name: wwtd
148
166
  requirement: !ruby/object:Gem::Requirement
149
167
  requirements:
150
- - - ">="
168
+ - - "~>"
151
169
  - !ruby/object:Gem::Version
152
- version: '0'
170
+ version: '0.5'
153
171
  type: :development
154
172
  prerelease: false
155
173
  version_requirements: !ruby/object:Gem::Requirement
156
174
  requirements:
157
- - - ">="
175
+ - - "~>"
158
176
  - !ruby/object:Gem::Version
159
- version: '0'
177
+ version: '0.5'
160
178
  description: Deploy features incrementally to your users
161
179
  email: james.a.rosen@gmail.com
162
180
  executables: []