arturo 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/arturo/feature.rb +2 -2
  2. metadata +115 -71
@@ -29,8 +29,8 @@ module Arturo
29
29
  end
30
30
 
31
31
  # Create a new Feature
32
- def initialize(attributes = {})
33
- super(DEFAULT_ATTRIBUTES.merge(attributes || {}))
32
+ def initialize(attributes = {}, options = {}, &block)
33
+ super(DEFAULT_ATTRIBUTES.merge(attributes || {}), options, &block)
34
34
  end
35
35
 
36
36
  # @param [Object] feature_recipient a User, Account,
metadata CHANGED
@@ -1,99 +1,133 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: arturo
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 0
10
+ version: 1.4.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - James A. Rosen
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-11-01 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-04-30 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rails
16
- requirement: &2154174960 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
25
+ requirements:
19
26
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.0'
27
+ - !ruby/object:Gem::Version
28
+ hash: 7
29
+ segments:
30
+ - 3
31
+ - 0
32
+ version: "3.0"
22
33
  type: :runtime
23
- prerelease: false
24
- version_requirements: *2154174960
25
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
26
36
  name: mocha
27
- requirement: &2154174560 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
28
39
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
33
47
  type: :development
34
- prerelease: false
35
- version_requirements: *2154174560
36
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
37
50
  name: rake
38
- requirement: &2154174100 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
39
53
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
44
61
  type: :development
45
- prerelease: false
46
- version_requirements: *2154174100
47
- - !ruby/object:Gem::Dependency
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
48
64
  name: redgreen
49
- requirement: &2154173600 !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
50
67
  none: false
51
- requirements:
68
+ requirements:
52
69
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '1.2'
70
+ - !ruby/object:Gem::Version
71
+ hash: 11
72
+ segments:
73
+ - 1
74
+ - 2
75
+ version: "1.2"
55
76
  type: :development
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
79
+ name: sqlite3
56
80
  prerelease: false
57
- version_requirements: *2154173600
58
- - !ruby/object:Gem::Dependency
59
- name: sqlite3-ruby
60
- requirement: &2154173100 !ruby/object:Gem::Requirement
81
+ requirement: &id005 !ruby/object:Gem::Requirement
61
82
  none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: '1.3'
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
66
90
  type: :development
67
- prerelease: false
68
- version_requirements: *2154173100
69
- - !ruby/object:Gem::Dependency
91
+ version_requirements: *id005
92
+ - !ruby/object:Gem::Dependency
70
93
  name: factory_girl
71
- requirement: &2154172640 !ruby/object:Gem::Requirement
94
+ prerelease: false
95
+ requirement: &id006 !ruby/object:Gem::Requirement
72
96
  none: false
73
- requirements:
97
+ requirements:
74
98
  - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '1.3'
99
+ - !ruby/object:Gem::Version
100
+ hash: 9
101
+ segments:
102
+ - 1
103
+ - 3
104
+ version: "1.3"
77
105
  type: :development
78
- prerelease: false
79
- version_requirements: *2154172640
80
- - !ruby/object:Gem::Dependency
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
81
108
  name: timecop
82
- requirement: &2154172180 !ruby/object:Gem::Requirement
109
+ prerelease: false
110
+ requirement: &id007 !ruby/object:Gem::Requirement
83
111
  none: false
84
- requirements:
112
+ requirements:
85
113
  - - ~>
86
- - !ruby/object:Gem::Version
87
- version: '0.3'
114
+ - !ruby/object:Gem::Version
115
+ hash: 13
116
+ segments:
117
+ - 0
118
+ - 3
119
+ version: "0.3"
88
120
  type: :development
89
- prerelease: false
90
- version_requirements: *2154172180
121
+ version_requirements: *id007
91
122
  description: Deploy features incrementally to your users
92
123
  email: james.a.rosen@gmail.com
93
124
  executables: []
125
+
94
126
  extensions: []
127
+
95
128
  extra_rdoc_files: []
96
- files:
129
+
130
+ files:
97
131
  - lib/arturo/controller_filters.rb
98
132
  - lib/arturo/engine.rb
99
133
  - lib/arturo/feature_availability.rb
@@ -130,27 +164,37 @@ files:
130
164
  - HISTORY.md
131
165
  homepage: http://github.com/jamesarosen/arturo
132
166
  licenses: []
167
+
133
168
  post_install_message:
134
169
  rdoc_options: []
135
- require_paths:
170
+
171
+ require_paths:
136
172
  - .
137
173
  - lib
138
- required_ruby_version: !ruby/object:Gem::Requirement
174
+ required_ruby_version: !ruby/object:Gem::Requirement
139
175
  none: false
140
- requirements:
141
- - - ! '>='
142
- - !ruby/object:Gem::Version
143
- version: '0'
144
- required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ hash: 3
180
+ segments:
181
+ - 0
182
+ version: "0"
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
184
  none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ hash: 3
189
+ segments:
190
+ - 0
191
+ version: "0"
150
192
  requirements: []
193
+
151
194
  rubyforge_project:
152
- rubygems_version: 1.8.6
195
+ rubygems_version: 1.8.15
153
196
  signing_key:
154
197
  specification_version: 2
155
198
  summary: Feature sliders, wrapped up in an engine
156
199
  test_files: []
200
+