flipper-moneta 1.1.1 → 1.2.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: 2f76932d15ee42a0dff5a422cf11505addcbed1453249ba238b183baab842ed6
4
- data.tar.gz: fa30ec401f19f6b39644899d43818e7556eb42f4d999eda1b95449b6d3f2ac7b
3
+ metadata.gz: 6233cd993327ca1a5333b05f8ce42bb7c42042e488757649e6dabd07ce69aa6d
4
+ data.tar.gz: ffaad72e7f1ce5ce69d741f2b9a4a6cb52745cdedf89ada35f23bf68d06ee661
5
5
  SHA512:
6
- metadata.gz: 739c171655bf34bf8ce9fbf8102432c19b152177bdebfdb104fb7e6498ae924e0f447f7ecd3da8ccdd539c957deb3e2aa84959b1c8bfd52da71c030fa2056258
7
- data.tar.gz: 294b0de751086440683dac2a0f789b76c94d081fd2c4fe9b3689cefca2ac8f0a35d3657f28b68d31d725ef9356ec62974c37442957dbb0bc349451374264c75e
6
+ metadata.gz: 140e8e74dca4e370ba945707503c16eea0b8288c065e9c876d566f63209078b6addfe4a2133f9c2bce98115951f5109b106a6e645d07462f008a506e4f4d8324
7
+ data.tar.gz: 717a8832ad7cc05a672e05e7fcb5f5a9459ad3c7ddbb7d46e8c7a8d9584c6d75c31327bc3f33fe24ee1141f262d15331c21ffcf60b5e7c913686e82b7f5708c6
@@ -8,7 +8,7 @@ end
8
8
  Gem::Specification.new do |gem|
9
9
  gem.authors = ['John Nunemaker']
10
10
  gem.email = 'support@flippercloud.io'
11
- gem.summary = 'Moneta adapter for Flipper'
11
+ gem.summary = 'Moneta feature flag adapter for Flipper'
12
12
  gem.license = 'MIT'
13
13
  gem.homepage = 'https://www.flippercloud.io/docs/adapters/moneta'
14
14
 
@@ -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.1'.freeze
2
+ VERSION = '1.2.0'.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.1
4
+ version: 1.2.0
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-09 00:00:00.000000000 Z
11
+ date: 2024-01-11 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.1
19
+ version: 1.2.0
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.1
26
+ version: 1.2.0
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,9 +73,9 @@ 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
- summary: Moneta adapter for Flipper
79
+ summary: Moneta feature flag adapter for Flipper
80
80
  test_files:
81
81
  - spec/flipper/adapters/moneta_spec.rb