arturo 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/CHANGELOG.md +23 -0
- data/config/routes.rb +1 -1
- data/lib/arturo/engine.rb +4 -0
- data/{app/models → lib}/arturo/feature.rb +0 -0
- metadata +5 -26
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
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=
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
## v1.9.0
|
2
|
+
|
3
|
+
Improvement: `Arturo::Feature` is defined in `lib/arturo/feature.rb` instead of
|
4
|
+
`app/models/arturo/feature.rb`, which means consuming applications can load it
|
5
|
+
without loading the whole engine.
|
6
|
+
|
7
|
+
Improvement: `Arturo::Engine` no longer eagerly loads all engine files; instead,
|
8
|
+
it uses Rails's `autoload_paths` to ensure classes are loaded as necessary.
|
9
|
+
|
10
|
+
Bug fix: the route to `arturo/features_controller#update_all` is now called
|
11
|
+
`features_update_all`; it had been called simply `features`, which caused
|
12
|
+
conflict problems in Rails 4.0.
|
13
|
+
|
14
|
+
## v1.8.0
|
15
|
+
|
16
|
+
Improvement: "All" caching strategy is now smarter about its use of the
|
17
|
+
`update_at` attribute. It handles the case when a Feature's `updated_at` is
|
18
|
+
`nil` and queries the database less often to figure out whether any features
|
19
|
+
have changed.
|
20
|
+
|
21
|
+
Bug fix: the engine's `source_root` relied on its `root_path`, which is not
|
22
|
+
available on all versions of Rails.
|
23
|
+
|
1
24
|
## v1.7.0
|
2
25
|
|
3
26
|
`Arturo::FeaturesHelper#error_messages_for` has been removed. This only affects
|
data/config/routes.rb
CHANGED
@@ -8,6 +8,6 @@ if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR == 0
|
|
8
8
|
else
|
9
9
|
Arturo::Engine.routes.draw do
|
10
10
|
resources :features, :controller => 'arturo/features'
|
11
|
-
put 'features', :to => 'arturo/features#update_all', :as => '
|
11
|
+
put 'features', :to => 'arturo/features#update_all', :as => 'features_update_all'
|
12
12
|
end
|
13
13
|
end
|
data/lib/arturo/engine.rb
CHANGED
@@ -6,5 +6,9 @@ module Arturo
|
|
6
6
|
include Arturo::ControllerFilters
|
7
7
|
helper Arturo::FeatureManagement
|
8
8
|
end
|
9
|
+
|
10
|
+
root = File.expand_path("../../..", __FILE__)
|
11
|
+
config.autoload_paths = ["#{root}/app/helpers", "#{root}/app/controllers"]
|
12
|
+
config.eager_load_paths = []
|
9
13
|
end
|
10
14
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arturo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.9.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- James A. Rosen
|
@@ -10,12 +9,11 @@ autorequire:
|
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
11
|
- gem-public_cert.pem
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-12-31 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rails
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ! '>'
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -26,7 +24,6 @@ dependencies:
|
|
26
24
|
type: :runtime
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
27
|
requirements:
|
31
28
|
- - ! '>'
|
32
29
|
- !ruby/object:Gem::Version
|
@@ -37,7 +34,6 @@ dependencies:
|
|
37
34
|
- !ruby/object:Gem::Dependency
|
38
35
|
name: mocha
|
39
36
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
37
|
requirements:
|
42
38
|
- - ! '>='
|
43
39
|
- !ruby/object:Gem::Version
|
@@ -45,7 +41,6 @@ dependencies:
|
|
45
41
|
type: :development
|
46
42
|
prerelease: false
|
47
43
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
44
|
requirements:
|
50
45
|
- - ! '>='
|
51
46
|
- !ruby/object:Gem::Version
|
@@ -53,7 +48,6 @@ dependencies:
|
|
53
48
|
- !ruby/object:Gem::Dependency
|
54
49
|
name: rake
|
55
50
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
51
|
requirements:
|
58
52
|
- - ! '>='
|
59
53
|
- !ruby/object:Gem::Version
|
@@ -61,7 +55,6 @@ dependencies:
|
|
61
55
|
type: :development
|
62
56
|
prerelease: false
|
63
57
|
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
58
|
requirements:
|
66
59
|
- - ! '>='
|
67
60
|
- !ruby/object:Gem::Version
|
@@ -69,7 +62,6 @@ dependencies:
|
|
69
62
|
- !ruby/object:Gem::Dependency
|
70
63
|
name: minitest
|
71
64
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
65
|
requirements:
|
74
66
|
- - <
|
75
67
|
- !ruby/object:Gem::Version
|
@@ -77,7 +69,6 @@ dependencies:
|
|
77
69
|
type: :development
|
78
70
|
prerelease: false
|
79
71
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
72
|
requirements:
|
82
73
|
- - <
|
83
74
|
- !ruby/object:Gem::Version
|
@@ -85,7 +76,6 @@ dependencies:
|
|
85
76
|
- !ruby/object:Gem::Dependency
|
86
77
|
name: minitest-rg
|
87
78
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
79
|
requirements:
|
90
80
|
- - ! '>='
|
91
81
|
- !ruby/object:Gem::Version
|
@@ -93,7 +83,6 @@ dependencies:
|
|
93
83
|
type: :development
|
94
84
|
prerelease: false
|
95
85
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
86
|
requirements:
|
98
87
|
- - ! '>='
|
99
88
|
- !ruby/object:Gem::Version
|
@@ -101,7 +90,6 @@ dependencies:
|
|
101
90
|
- !ruby/object:Gem::Dependency
|
102
91
|
name: sqlite3
|
103
92
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
93
|
requirements:
|
106
94
|
- - ! '>='
|
107
95
|
- !ruby/object:Gem::Version
|
@@ -109,7 +97,6 @@ dependencies:
|
|
109
97
|
type: :development
|
110
98
|
prerelease: false
|
111
99
|
version_requirements: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
100
|
requirements:
|
114
101
|
- - ! '>='
|
115
102
|
- !ruby/object:Gem::Version
|
@@ -117,7 +104,6 @@ dependencies:
|
|
117
104
|
- !ruby/object:Gem::Dependency
|
118
105
|
name: factory_girl
|
119
106
|
requirement: !ruby/object:Gem::Requirement
|
120
|
-
none: false
|
121
107
|
requirements:
|
122
108
|
- - ~>
|
123
109
|
- !ruby/object:Gem::Version
|
@@ -125,7 +111,6 @@ dependencies:
|
|
125
111
|
type: :development
|
126
112
|
prerelease: false
|
127
113
|
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
114
|
requirements:
|
130
115
|
- - ~>
|
131
116
|
- !ruby/object:Gem::Version
|
@@ -133,7 +118,6 @@ dependencies:
|
|
133
118
|
- !ruby/object:Gem::Dependency
|
134
119
|
name: timecop
|
135
120
|
requirement: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
121
|
requirements:
|
138
122
|
- - ~>
|
139
123
|
- !ruby/object:Gem::Version
|
@@ -141,7 +125,6 @@ dependencies:
|
|
141
125
|
type: :development
|
142
126
|
prerelease: false
|
143
127
|
version_requirements: !ruby/object:Gem::Requirement
|
144
|
-
none: false
|
145
128
|
requirements:
|
146
129
|
- - ~>
|
147
130
|
- !ruby/object:Gem::Version
|
@@ -149,7 +132,6 @@ dependencies:
|
|
149
132
|
- !ruby/object:Gem::Dependency
|
150
133
|
name: appraisal
|
151
134
|
requirement: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
135
|
requirements:
|
154
136
|
- - ~>
|
155
137
|
- !ruby/object:Gem::Version
|
@@ -157,7 +139,6 @@ dependencies:
|
|
157
139
|
type: :development
|
158
140
|
prerelease: false
|
159
141
|
version_requirements: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
142
|
requirements:
|
162
143
|
- - ~>
|
163
144
|
- !ruby/object:Gem::Version
|
@@ -170,6 +151,7 @@ extra_rdoc_files: []
|
|
170
151
|
files:
|
171
152
|
- lib/arturo/controller_filters.rb
|
172
153
|
- lib/arturo/engine.rb
|
154
|
+
- lib/arturo/feature.rb
|
173
155
|
- lib/arturo/feature_availability.rb
|
174
156
|
- lib/arturo/feature_caching.rb
|
175
157
|
- lib/arturo/feature_factories.rb
|
@@ -192,7 +174,6 @@ files:
|
|
192
174
|
- app/assets/stylesheets/arturo.css
|
193
175
|
- app/controllers/arturo/features_controller.rb
|
194
176
|
- app/helpers/arturo/features_helper.rb
|
195
|
-
- app/models/arturo/feature.rb
|
196
177
|
- app/views/arturo/features/_feature.html.erb
|
197
178
|
- app/views/arturo/features/_form.html.erb
|
198
179
|
- app/views/arturo/features/edit.html.erb
|
@@ -208,28 +189,26 @@ files:
|
|
208
189
|
homepage: http://github.com/jamesarosen/arturo
|
209
190
|
licenses:
|
210
191
|
- APLv2
|
192
|
+
metadata: {}
|
211
193
|
post_install_message:
|
212
194
|
rdoc_options: []
|
213
195
|
require_paths:
|
214
196
|
- .
|
215
197
|
- lib
|
216
198
|
required_ruby_version: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
199
|
requirements:
|
219
200
|
- - ! '>='
|
220
201
|
- !ruby/object:Gem::Version
|
221
202
|
version: '0'
|
222
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
|
-
none: false
|
224
204
|
requirements:
|
225
205
|
- - ! '>='
|
226
206
|
- !ruby/object:Gem::Version
|
227
207
|
version: '0'
|
228
208
|
requirements: []
|
229
209
|
rubyforge_project:
|
230
|
-
rubygems_version: 1.
|
210
|
+
rubygems_version: 2.1.10
|
231
211
|
signing_key:
|
232
212
|
specification_version: 2
|
233
213
|
summary: Feature sliders, wrapped up in an engine
|
234
214
|
test_files: []
|
235
|
-
has_rdoc: 'false'
|