arturo 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a92dc0b0221d1584220352d9ca7586f50449dd23bb6b4f2bfe9cc26fa30c7d1f
4
- data.tar.gz: d59e9a44466d5ede3338873993f61ae8b11d009ff32eb5e55b1122090b3ad368
3
+ metadata.gz: ceaf568b4219c17d2daafbaf7221ab121e9cdf29d7d6189f81d99154e78e642b
4
+ data.tar.gz: 2ed07d8ebba4efeddf7b35711aca46ed89f0caa7c043f6ac15b10a1803f0b716
5
5
  SHA512:
6
- metadata.gz: fe24d781cd0137148a5edc2b3f5fb67fb9d29995758fb0cbbcb026c0fd4b40960bf542bf31aa09a555f827c053e8f49d1f5f08553d55e68050758f714d6f53f7
7
- data.tar.gz: 6df3e48141801e5007a14f7531a7bfea975a09a95ae59dd7ad2bb8e756b66a14e4903a34f3855f35fbda01465ad972e701381ecbdf321071d5f38f8fd3a689d1
6
+ metadata.gz: f89ce73cf2a3a3ccd4652c8e469ea1eb884da3d6c5d436ae9afc3dae828bad36cca805189784c082d09a56af1d3e642103e4cd0097f2a868238ff80d597d34f4
7
+ data.tar.gz: 3384b7619074ad58df2232e1a210ecbe1008f68d11918a37bc6ed78156df2fc5065dceb73c624f9894f2bd7a90811107b4fd254bd7f09c6d1d8c89d8408699e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Unreleased
2
2
 
3
+ ## v2.5.4
4
+
5
+ Bug fix: Explicitly require rails engine to avoid errors that ::Rails::Engine cannot be found.
6
+
3
7
  ## v2.5.3
4
8
 
5
9
  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](http://code.flickr.com/blog/2009/12/02/flipping-out/),
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 percent* of your users and whitelisting and blacklisting users based
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, you *decrease* feature's deployment percentage or change its white- or blacklist settings).
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', '~> 1.0'
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/stylehseets/arturo_customizations.css`.
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/stylehseets/arturo.css` as that file may be
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/jamesarosen/arturo/issues) and I'll be happy to
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
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
  require 'arturo/controller_filters'
3
3
  require 'arturo/middleware'
4
+ require 'rails/engine'
4
5
 
5
6
  module Arturo
6
7
  class Engine < ::Rails::Engine
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Arturo
3
- VERSION = '2.5.3'
3
+ VERSION = '2.5.4'
4
4
  end
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.5.3
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -169,7 +169,7 @@ homepage: http://github.com/zendesk/arturo
169
169
  licenses:
170
170
  - APLv2
171
171
  metadata: {}
172
- post_install_message:
172
+ post_install_message:
173
173
  rdoc_options: []
174
174
  require_paths:
175
175
  - lib
@@ -184,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
- rubygems_version: 3.2.2
188
- signing_key:
187
+ rubygems_version: 3.0.3
188
+ signing_key:
189
189
  specification_version: 4
190
190
  summary: Feature sliders, wrapped up in an engine
191
191
  test_files: []