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 +4 -4
- data/flipper-moneta.gemspec +2 -2
- data/lib/flipper/adapters/moneta.rb +1 -1
- data/lib/flipper/version.rb +11 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6233cd993327ca1a5333b05f8ce42bb7c42042e488757649e6dabd07ce69aa6d
|
4
|
+
data.tar.gz: ffaad72e7f1ce5ce69d741f2b9a4a6cb52745cdedf89ada35f23bf68d06ee661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 140e8e74dca4e370ba945707503c16eea0b8288c065e9c876d566f63209078b6addfe4a2133f9c2bce98115951f5109b106a6e645d07462f008a506e4f4d8324
|
7
|
+
data.tar.gz: 717a8832ad7cc05a672e05e7fcb5f5a9459ad3c7ddbb7d46e8c7a8d9584c6d75c31327bc3f33fe24ee1141f262d15331c21ffcf60b5e7c913686e82b7f5708c6
|
data/flipper-moneta.gemspec
CHANGED
@@ -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', '<
|
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
|
50
|
+
# gate - The Flipper::Gate to enable.
|
51
51
|
# thing - The Flipper::Type being enabled for the gate.
|
52
52
|
#
|
53
53
|
# Returns true.
|
data/lib/flipper/version.rb
CHANGED
@@ -1,3 +1,13 @@
|
|
1
1
|
module Flipper
|
2
|
-
VERSION = '1.
|
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.
|
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:
|
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.
|
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.
|
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: '
|
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: '
|
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.
|
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
|