flipper-mongo 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-mongo.gemspec +1 -1
- data/lib/flipper/adapters/mongo.rb +2 -2
- data/lib/flipper/version.rb +11 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b12087eef71d7aef815da329b2989efb2779b0eeb3f9a128dca152bea0c5112e
|
4
|
+
data.tar.gz: 2f78bb6f3949583e20cc4ffb5a2b2f40cbb1db8a665038a14d7013c3e797fce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c48a16bb81774574bdeaffb51f3e6ab08c0b93ae17db9dc7d181b2f159b53ca320bdebe208059eac4daf7148c0980e975559f81f12e2cf5ac12609d254e2161
|
7
|
+
data.tar.gz: 561bdf4904e5c30a5b3c59a1c079f2932d94b3f612dfe090adbed484ccde0acb760dd59b02f9f421f256f6a129da0119cdec6f2935e7d7111d73c3f7ded319ca
|
data/flipper-mongo.gemspec
CHANGED
@@ -9,7 +9,7 @@ end
|
|
9
9
|
Gem::Specification.new do |gem|
|
10
10
|
gem.authors = ['John Nunemaker']
|
11
11
|
gem.email = 'support@flippercloud.io'
|
12
|
-
gem.summary = 'Mongo adapter for Flipper'
|
12
|
+
gem.summary = 'Mongo feature flag adapter for Flipper'
|
13
13
|
gem.license = 'MIT'
|
14
14
|
gem.homepage = 'https://www.flippercloud.io/docs/adapters/mongo'
|
15
15
|
|
@@ -59,8 +59,8 @@ module Flipper
|
|
59
59
|
# Public: Enables a gate for a given thing.
|
60
60
|
#
|
61
61
|
# feature - The Flipper::Feature for the gate.
|
62
|
-
# gate - The Flipper::Gate to
|
63
|
-
# thing - The Flipper::Type being
|
62
|
+
# gate - The Flipper::Gate to enable.
|
63
|
+
# thing - The Flipper::Type being enabled for the gate.
|
64
64
|
#
|
65
65
|
# Returns true.
|
66
66
|
def enable(feature, gate, thing)
|
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-mongo
|
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: mongo
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,7 @@ metadata:
|
|
60
60
|
homepage_uri: https://www.flippercloud.io
|
61
61
|
source_code_uri: https://github.com/flippercloud/flipper
|
62
62
|
bug_tracker_uri: https://github.com/flippercloud/flipper/issues
|
63
|
-
changelog_uri: https://github.com/flippercloud/flipper/
|
63
|
+
changelog_uri: https://github.com/flippercloud/flipper/releases/tag/v1.2.0
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|
66
66
|
require_paths:
|
@@ -76,10 +76,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.5.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
|
-
summary: Mongo adapter for Flipper
|
82
|
+
summary: Mongo feature flag adapter for Flipper
|
83
83
|
test_files:
|
84
84
|
- spec/flipper/adapters/mongo_spec.rb
|
85
85
|
- test/adapters/mongo_test.rb
|