flipper-moneta 1.1.2 → 1.2.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: d8828a6839a7844f87b2657025f91b6a3e4864bc5c0c06d06229f405f7755b77
4
- data.tar.gz: 31267c4824924330edddb53d3cb5911124fa59792be5174fb30d74c184fec6a4
3
+ metadata.gz: bd5bd5c82855c7e2d19193e5c832b140abf29397b796f06e2a6c593a38bdd65d
4
+ data.tar.gz: e0897a5862482400d76aaa622705d3afa71dcfc56910eeadeebda4b7a470ff13
5
5
  SHA512:
6
- metadata.gz: 8bf7a1ae632e2256a7dc054bbb00adf45cfeb18f6d7a441d9f664775f10950b4e131a651e8c3682ee503e0dfec0f8435f4c9155a4920b606eeb2e8bf95e3b9f3
7
- data.tar.gz: ee2f920fee364d5122467e5d7b228bf88d8cb2b68dd8904ec4abba498c4279a3e17e145866bab0882a563f6e908573339361cac1c179ccb9503df8e9eba7d5d7
6
+ metadata.gz: 50f03b15335386658dd57f787b4f528397d68fe79d4af67f08f601c9d56bb669acd5bf100ec5ae946b4e774e810d26021738598f3ff31e455e173ce6d9b6cf6a
7
+ data.tar.gz: '09ba3643909a5bf7c8cc99859f58aaee0f09fc43d3a709bfa97be3dd76d3d0a38e16ce773ce6ad7d6622b3836258f0dc051404f7bf201644f31ce58a54db675d'
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
19
19
  gem.version = Flipper::VERSION
20
20
 
21
21
  gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
22
- gem.add_dependency 'moneta', '>= 0.7.0', '< 1.2'
22
+ gem.add_dependency 'moneta', '>= 0.7.0', '< 2'
23
23
  end
@@ -47,7 +47,7 @@ module Flipper
47
47
  # Public: Enables a gate for a given thing.
48
48
  #
49
49
  # feature - The Flipper::Feature for the gate.
50
- # gate - The Flipper::Gate to disable.
50
+ # gate - The Flipper::Gate to enable.
51
51
  # thing - The Flipper::Type being enabled for the gate.
52
52
  #
53
53
  # Returns true.
@@ -1,3 +1,13 @@
1
1
  module Flipper
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.2.1'.freeze
3
+
4
+ REQUIRED_RUBY_VERSION = '2.6'.freeze
5
+ NEXT_REQUIRED_RUBY_VERSION = '3.0'.freeze
6
+
7
+ REQUIRED_RAILS_VERSION = '5.2'.freeze
8
+ NEXT_REQUIRED_RAILS_VERSION = '6.1.0'.freeze
9
+
10
+ def self.deprecated_ruby_version?
11
+ Gem::Version.new(RUBY_VERSION) < Gem::Version.new(NEXT_REQUIRED_RUBY_VERSION)
12
+ end
3
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-moneta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-12 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flipper
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.1.2
19
+ version: 1.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.1.2
26
+ version: 1.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: moneta
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 0.7.0
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '1.2'
36
+ version: '2'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.7.0
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.2'
46
+ version: '2'
47
47
  description:
48
48
  email: support@flippercloud.io
49
49
  executables: []
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.4.10
76
+ rubygems_version: 3.5.3
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Moneta feature flag adapter for Flipper