arturo 2.5.3 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +8 -7
- data/app/controllers/arturo/features_controller.rb +0 -1
- data/lib/arturo/controller_filters.rb +1 -1
- data/lib/arturo/engine.rb +1 -0
- data/lib/arturo/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f254071a4bbfd2f21be2f98d0312c109f032dd18367f09d72da778990a051d84
|
4
|
+
data.tar.gz: b3b0683fc7c11411247bec4cd9e0779c7d03c1026ac8c8768eea2ee193968502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6afb98e8e40dbc338d39f554348950797d9edb66cc9c7ac7ce3782a854b590606a289993e47c7763c8aad8defc8745ad74656f1c1f2b16af835402728e188540
|
7
|
+
data.tar.gz: e410b3bda222befbfd54de38060547bf1746059eadf01bcd7ec7d00b1524e7c2f66e109fa14b67970260c8772dda853f01672f5377b6d448837d1421d94303e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
+
## v2.6.0
|
4
|
+
|
5
|
+
Add support for Rails 7.0
|
6
|
+
|
7
|
+
Add support for Ruby 3.0 & 3.1
|
8
|
+
|
9
|
+
Drop support for Rails 4.2
|
10
|
+
|
11
|
+
Drop support for Ruby 2.4 & 2.5
|
12
|
+
|
13
|
+
## v2.5.4
|
14
|
+
|
15
|
+
Bug fix: Explicitly require rails engine to avoid errors that ::Rails::Engine cannot be found.
|
16
|
+
|
3
17
|
## v2.5.3
|
4
18
|
|
5
19
|
Bug fix: Allow using Arturo with ActiveRecord, but without all of Rails.
|
data/README.md
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
Arturo provides feature sliders for Rails. It lets you turn features on and off
|
4
4
|
just like
|
5
|
-
[feature flippers](
|
5
|
+
[feature flippers](https://code.flickr.net/2009/12/02/flipping-out/),
|
6
6
|
but offers more fine-grained control. It supports deploying features only for
|
7
|
-
a given
|
7
|
+
a given percentage of your users and whitelisting and blacklisting users based
|
8
8
|
on any criteria you can express in Ruby.
|
9
9
|
|
10
10
|
The selection is deterministic. So if a user has a feature on Monday, the
|
11
|
-
user will still have it on Tuesday (unless
|
11
|
+
user will still have it on Tuesday (unless you *decrease* the feature's
|
12
|
+
deployment percentage or change its white- or blacklist settings).
|
12
13
|
|
13
14
|
### A quick example
|
14
15
|
|
@@ -71,7 +72,7 @@ feature and deploy it to all users.
|
|
71
72
|
|
72
73
|
|
73
74
|
```Ruby
|
74
|
-
gem 'arturo'
|
75
|
+
gem 'arturo'
|
75
76
|
```
|
76
77
|
|
77
78
|
## Configuration
|
@@ -113,16 +114,16 @@ There are configuration options for the following:
|
|
113
114
|
|
114
115
|
##### CSS
|
115
116
|
|
116
|
-
Open up the newly-generated `public/
|
117
|
+
Open up the newly-generated `public/stylesheets/arturo_customizations.css`.
|
117
118
|
You can add any overrides you like to the feature configuration page styles
|
118
|
-
here. **Do not** edit `public/
|
119
|
+
here. **Do not** edit `public/stylesheets/arturo.css` as that file may be
|
119
120
|
overwritten in future updates to Arturo.
|
120
121
|
|
121
122
|
### In other frameworks
|
122
123
|
|
123
124
|
Arturo is a Rails engine. I want to promote reuse on other frameworks by
|
124
125
|
extracting key pieces into mixins, though this isn't done yet. Open an
|
125
|
-
[issue](http://github.com/
|
126
|
+
[issue](http://github.com/zendesk/arturo/issues) and I'll be happy to
|
126
127
|
work with you on support for your favorite framework.
|
127
128
|
|
128
129
|
## Deep-Dive
|
data/lib/arturo/engine.rb
CHANGED
data/lib/arturo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arturo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James A. Rosen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,40 +16,40 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '5.0'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '7.1'
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '5.0'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '7.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: sqlite3
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,14 +177,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
177
|
requirements:
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '2.
|
180
|
+
version: '2.6'
|
181
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
183
|
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
rubygems_version: 3.
|
187
|
+
rubygems_version: 3.1.6
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: Feature sliders, wrapped up in an engine
|