arturo 3.0.0.pre.3 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c794e96899f64d161b9f69ee093c40ae0c663d3c52bdd9e4ca5b542d47d3b016
4
- data.tar.gz: c2cf80ee4746377904d1bf5e8e50b1dcd21f9a825a12b90351f3f53517c86f6c
3
+ metadata.gz: 414a786d1d81cd18b31b5d54bc7df6b9c820d13106dcf471721d7383c28e75e8
4
+ data.tar.gz: b42410fd7c9df45c1875958f335e5434a856e154c322b88819dfa20f4eb22877
5
5
  SHA512:
6
- metadata.gz: 86ad6e1bcc6a30162a94441b6f6b27ebf002c15cb9943c570113e6267acbb8ddded5409dfaee47dfc44011f99ed511e64de792c9106b54f533a71e8df80da3ff
7
- data.tar.gz: c6630b7711d5357dd925e9eb9c1954847b4c232bc9292caab25063b63f8319a1149693fdca7c841f291a82f71f0957df29627b6c33b05c42b04526b70b4aa39a
6
+ metadata.gz: 3044307df2f849112c60bb859ab52b2151634ff891442b1e93328f270ad4adb1ddbb8e1da63e5317ad3b5d365d6c3de3761024e585216f5c7a8a20de5af0aa2a
7
+ data.tar.gz: 592a564c1af2f63d80523f9a41c412bb882dabc14195dc3a1dd73d88220b2e74e1d17c5b4edc444d4a9f3f74b0650e6d5f3bb7e4244765fcbf073a1be2f6dfc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
2
 
3
+ ## v3.0.0
4
+
5
+ Converts the Feature model into a mixin that should be used by services via a model generator.
6
+ Brings back the `warm_cache!` method.
7
+ Adds support for Rails 7.1.
8
+
3
9
  ## v2.8.0
4
10
 
5
11
  Drop support for Ruby 2.6
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'active_record'
3
4
  require 'active_support'
4
5
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Arturo
3
- VERSION = '3.0.0.pre.3'
3
+ VERSION = '3.0.1'
4
4
  end
data/lib/arturo.rb CHANGED
@@ -1,13 +1,14 @@
1
1
  # frozen_string_literal: true
2
- module Arturo
3
- require 'arturo/null_logger'
4
- require 'arturo/special_handling'
5
- require 'arturo/feature'
6
- require 'arturo/feature_availability'
7
- require 'arturo/feature_management'
8
- require 'arturo/feature_caching'
9
- require 'arturo/engine' if defined?(Rails)
10
2
 
3
+ require_relative 'arturo/null_logger'
4
+ require_relative 'arturo/special_handling'
5
+ require_relative 'arturo/feature_methods'
6
+ require_relative 'arturo/feature_availability'
7
+ require_relative 'arturo/feature_management'
8
+ require_relative 'arturo/feature_caching'
9
+ require_relative 'arturo/engine' if defined?(Rails)
10
+
11
+ module Arturo
11
12
  class << self
12
13
  # Quick check for whether a feature is enabled for a recipient.
13
14
  # @param [String, Symbol] feature_name
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: 3.0.0.pre.3
4
+ version: 3.0.1
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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '7.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rails
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '5.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.1'
42
+ version: '7.2'
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '5.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7.1'
52
+ version: '7.2'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: sqlite3
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -146,11 +146,11 @@ files:
146
146
  - lib/arturo.rb
147
147
  - lib/arturo/controller_filters.rb
148
148
  - lib/arturo/engine.rb
149
- - lib/arturo/feature.rb
150
149
  - lib/arturo/feature_availability.rb
151
150
  - lib/arturo/feature_caching.rb
152
151
  - lib/arturo/feature_factories.rb
153
152
  - lib/arturo/feature_management.rb
153
+ - lib/arturo/feature_methods.rb
154
154
  - lib/arturo/feature_params_support.rb
155
155
  - lib/arturo/middleware.rb
156
156
  - lib/arturo/no_such_feature.rb
@@ -182,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
182
  version: '2.7'
183
183
  required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ">"
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: 1.3.1
187
+ version: '0'
188
188
  requirements: []
189
189
  rubygems_version: 3.0.3.1
190
190
  signing_key: