arturo 3.0.0.pre.2 → 3.0.0

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: 346c2db84a5f2ee076523442f5aa74df82f5a569443442bb62a9e7a5c6282eac
4
- data.tar.gz: '08084dc9d67287a900cf0efb67e2c4b34a57adf0e9e3566c24611c6809ff7e0c'
3
+ metadata.gz: 114d46ab7339cbbdd1c2a3a3ec26b030b825d19e34251255ea335e574200da0e
4
+ data.tar.gz: efafe224e924eb3a87f48d7bb7db5b61f77d1446c0bec296c929dcf17dac970b
5
5
  SHA512:
6
- metadata.gz: '09b8dff52e9b716913a772b61edb58ca3d3955b25a77c685731f0a6667b28f8d479ff8083280a06b6e4ae43dce097b009058081511b9588d9ccd477b991b92e1'
7
- data.tar.gz: ba4e8e2ede15e370155beab5535633d5c200aecd0ab4de0793036f5fa1dd091da9082a2e0a61da61803d25725dfd2f0ab05b13c45406de352208a2709aa8d29b
6
+ metadata.gz: 258fd4d3264819126bfeaf84acf8ec93cbe28930b09478a061d4c077ac4212cccf78e87762d83532b6ee60652eb1105e48cbd15c4a64d5e0005339fbb6eb4632
7
+ data.tar.gz: 5336f810f255103c809286dd9f1560bc775ff466c6e357e6e5e4b9d384226cfdfd532204a1c2970d6e90796a60f829c5002527e5c052c12d9bae5c6ca375e1b5
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
@@ -102,7 +102,7 @@ module Arturo
102
102
  # without cache extension option
103
103
  #
104
104
  def arturos_from_origin(fallback:)
105
- Hash[Arturo::Feature.all.map { |f| [f.symbol.to_sym, f] }]
105
+ Arturo::Feature.all.to_h { |f| [f.symbol.to_sym, f] }
106
106
  rescue ActiveRecord::ActiveRecordError
107
107
  raise unless Arturo::Feature.extend_cache_on_failure?
108
108
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Arturo
3
- VERSION = '3.0.0.pre.2'
3
+ VERSION = '3.0.0'
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: 3.0.0.pre.2
4
+ version: 3.0.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: 2023-09-22 00:00:00.000000000 Z
11
+ date: 2023-10-27 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
@@ -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: