arturo 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## v1.10.0
2
+
3
+ Improvement: Arturo no longer declares a hard runtime dependency on Rails, but
4
+ instead only on ActiveRecord. This makes it possible to use `Arturo::Feature`
5
+ in non-Rails settings. Feature *management* is still expressed as a Rails engine
6
+ and requires `actionpack` and other parts of Rails.
7
+
1
8
  ## v1.9.0
2
9
 
3
10
  Improvement: `Arturo::Feature` is defined in `lib/arturo/feature.rb` instead of
data/lib/arturo.rb CHANGED
@@ -4,8 +4,6 @@ module Arturo
4
4
  require 'arturo/feature_availability'
5
5
  require 'arturo/feature_management'
6
6
  require 'arturo/feature_caching'
7
- require 'arturo/controller_filters'
8
- require 'arturo/middleware'
9
7
  require 'arturo/engine' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
10
8
 
11
9
  class <<self
data/lib/arturo/engine.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'arturo/controller_filters'
2
+ require 'arturo/middleware'
3
+
1
4
  module Arturo
2
5
  class Engine < ::Rails::Engine
3
6
  ActiveSupport.on_load(:action_controller) do
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arturo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - James A. Rosen
@@ -9,11 +10,12 @@ autorequire:
9
10
  bindir: bin
10
11
  cert_chain:
11
12
  - gem-public_cert.pem
12
- date: 2013-12-31 00:00:00.000000000 Z
13
+ date: 2014-01-10 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
- name: rails
16
+ name: activerecord
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - ! '>'
19
21
  - !ruby/object:Gem::Version
@@ -24,6 +26,7 @@ dependencies:
24
26
  type: :runtime
25
27
  prerelease: false
26
28
  version_requirements: !ruby/object:Gem::Requirement
29
+ none: false
27
30
  requirements:
28
31
  - - ! '>'
29
32
  - !ruby/object:Gem::Version
@@ -31,9 +34,26 @@ dependencies:
31
34
  - - <
32
35
  - !ruby/object:Gem::Version
33
36
  version: '5.0'
37
+ - !ruby/object:Gem::Dependency
38
+ name: rails
39
+ requirement: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
34
53
  - !ruby/object:Gem::Dependency
35
54
  name: mocha
36
55
  requirement: !ruby/object:Gem::Requirement
56
+ none: false
37
57
  requirements:
38
58
  - - ! '>='
39
59
  - !ruby/object:Gem::Version
@@ -41,6 +61,7 @@ dependencies:
41
61
  type: :development
42
62
  prerelease: false
43
63
  version_requirements: !ruby/object:Gem::Requirement
64
+ none: false
44
65
  requirements:
45
66
  - - ! '>='
46
67
  - !ruby/object:Gem::Version
@@ -48,6 +69,7 @@ dependencies:
48
69
  - !ruby/object:Gem::Dependency
49
70
  name: rake
50
71
  requirement: !ruby/object:Gem::Requirement
72
+ none: false
51
73
  requirements:
52
74
  - - ! '>='
53
75
  - !ruby/object:Gem::Version
@@ -55,6 +77,7 @@ dependencies:
55
77
  type: :development
56
78
  prerelease: false
57
79
  version_requirements: !ruby/object:Gem::Requirement
80
+ none: false
58
81
  requirements:
59
82
  - - ! '>='
60
83
  - !ruby/object:Gem::Version
@@ -62,6 +85,7 @@ dependencies:
62
85
  - !ruby/object:Gem::Dependency
63
86
  name: minitest
64
87
  requirement: !ruby/object:Gem::Requirement
88
+ none: false
65
89
  requirements:
66
90
  - - <
67
91
  - !ruby/object:Gem::Version
@@ -69,6 +93,7 @@ dependencies:
69
93
  type: :development
70
94
  prerelease: false
71
95
  version_requirements: !ruby/object:Gem::Requirement
96
+ none: false
72
97
  requirements:
73
98
  - - <
74
99
  - !ruby/object:Gem::Version
@@ -76,6 +101,7 @@ dependencies:
76
101
  - !ruby/object:Gem::Dependency
77
102
  name: minitest-rg
78
103
  requirement: !ruby/object:Gem::Requirement
104
+ none: false
79
105
  requirements:
80
106
  - - ! '>='
81
107
  - !ruby/object:Gem::Version
@@ -83,6 +109,7 @@ dependencies:
83
109
  type: :development
84
110
  prerelease: false
85
111
  version_requirements: !ruby/object:Gem::Requirement
112
+ none: false
86
113
  requirements:
87
114
  - - ! '>='
88
115
  - !ruby/object:Gem::Version
@@ -90,6 +117,7 @@ dependencies:
90
117
  - !ruby/object:Gem::Dependency
91
118
  name: sqlite3
92
119
  requirement: !ruby/object:Gem::Requirement
120
+ none: false
93
121
  requirements:
94
122
  - - ! '>='
95
123
  - !ruby/object:Gem::Version
@@ -97,6 +125,7 @@ dependencies:
97
125
  type: :development
98
126
  prerelease: false
99
127
  version_requirements: !ruby/object:Gem::Requirement
128
+ none: false
100
129
  requirements:
101
130
  - - ! '>='
102
131
  - !ruby/object:Gem::Version
@@ -104,6 +133,7 @@ dependencies:
104
133
  - !ruby/object:Gem::Dependency
105
134
  name: factory_girl
106
135
  requirement: !ruby/object:Gem::Requirement
136
+ none: false
107
137
  requirements:
108
138
  - - ~>
109
139
  - !ruby/object:Gem::Version
@@ -111,6 +141,7 @@ dependencies:
111
141
  type: :development
112
142
  prerelease: false
113
143
  version_requirements: !ruby/object:Gem::Requirement
144
+ none: false
114
145
  requirements:
115
146
  - - ~>
116
147
  - !ruby/object:Gem::Version
@@ -118,6 +149,7 @@ dependencies:
118
149
  - !ruby/object:Gem::Dependency
119
150
  name: timecop
120
151
  requirement: !ruby/object:Gem::Requirement
152
+ none: false
121
153
  requirements:
122
154
  - - ~>
123
155
  - !ruby/object:Gem::Version
@@ -125,6 +157,7 @@ dependencies:
125
157
  type: :development
126
158
  prerelease: false
127
159
  version_requirements: !ruby/object:Gem::Requirement
160
+ none: false
128
161
  requirements:
129
162
  - - ~>
130
163
  - !ruby/object:Gem::Version
@@ -132,6 +165,7 @@ dependencies:
132
165
  - !ruby/object:Gem::Dependency
133
166
  name: appraisal
134
167
  requirement: !ruby/object:Gem::Requirement
168
+ none: false
135
169
  requirements:
136
170
  - - ~>
137
171
  - !ruby/object:Gem::Version
@@ -139,6 +173,7 @@ dependencies:
139
173
  type: :development
140
174
  prerelease: false
141
175
  version_requirements: !ruby/object:Gem::Requirement
176
+ none: false
142
177
  requirements:
143
178
  - - ~>
144
179
  - !ruby/object:Gem::Version
@@ -189,26 +224,28 @@ files:
189
224
  homepage: http://github.com/jamesarosen/arturo
190
225
  licenses:
191
226
  - APLv2
192
- metadata: {}
193
227
  post_install_message:
194
228
  rdoc_options: []
195
229
  require_paths:
196
230
  - .
197
231
  - lib
198
232
  required_ruby_version: !ruby/object:Gem::Requirement
233
+ none: false
199
234
  requirements:
200
235
  - - ! '>='
201
236
  - !ruby/object:Gem::Version
202
237
  version: '0'
203
238
  required_rubygems_version: !ruby/object:Gem::Requirement
239
+ none: false
204
240
  requirements:
205
241
  - - ! '>='
206
242
  - !ruby/object:Gem::Version
207
243
  version: '0'
208
244
  requirements: []
209
245
  rubyforge_project:
210
- rubygems_version: 2.1.10
246
+ rubygems_version: 1.8.25
211
247
  signing_key:
212
248
  specification_version: 2
213
249
  summary: Feature sliders, wrapped up in an engine
214
250
  test_files: []
251
+ has_rdoc: 'false'
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YzA4Njk2ZmQyZmMzNzQ3MTAwN2QxOWVjMGRhZDA0ZTM3MTcyNzBmYg==
5
- data.tar.gz: !binary |-
6
- YTZhMTRiYjUxZDUwNDQ4MjJiOWE5MzhlZmM1NzdjOGYxMDIwYWNlMA==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- YzhkYWExN2UyZGYzMzc0ZWEwZjc3Y2I4YzljNzk1YmM4NjI3MDMzMTBiNTI2
10
- MWIxZTFjZDRjMTI3ODUxNWU3YzRlMzg5NGY1YjNiOWU2Y2ZlYzVjNzIzNzY2
11
- MWQ0ZDgyY2U3OGM2NzZmMTVlYTQ0MzAwNTEyZTU2NDhhYzI3ZDI=
12
- data.tar.gz: !binary |-
13
- ZjkwYjA1ZGQ3ZTA2N2ZiNDkwMzZlMWM2NDgyNTA3YzQxMjRiYjIwNTYxODhm
14
- MTkzNmUwMzkwNTgxZjZiODljMTk0ODAwNWNmMzFjNThlYWU2MDc3ZGY4YzY3
15
- MDQ1YzgyMjdmMmUxZWQwZjFmZTdiNjE4MWQxNzdiNzgyMjhlNmQ=