flipper-mongo 1.1.2 → 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: 44eb6e6bc41607a770540ce02d4734d7bac8a198c36a8a1a00dac3d19ab57df1
4
- data.tar.gz: 1f754a66e4cd7be843c06834ff33c174837d9e40534c74117165679359553685
3
+ metadata.gz: b12087eef71d7aef815da329b2989efb2779b0eeb3f9a128dca152bea0c5112e
4
+ data.tar.gz: 2f78bb6f3949583e20cc4ffb5a2b2f40cbb1db8a665038a14d7013c3e797fce5
5
5
  SHA512:
6
- metadata.gz: 2327f0de3b9f1fd411f518cf12c6b0bab7413d75bc95a05aec094543b7273b5354ed96bc8f12ff7880c0ba2e9a129ac4795f3bc433a5587c61df7aabe6fd25d4
7
- data.tar.gz: ee2fb6cb30db2a62491e1ebef5eab1c6bc834fc3b760baa6e93cae1a254a62ea75c321ddab5379a2c29966c269e92bf0204051c323c9b4b6fbe31274a36556d1
6
+ metadata.gz: 9c48a16bb81774574bdeaffb51f3e6ab08c0b93ae17db9dc7d181b2f159b53ca320bdebe208059eac4daf7148c0980e975559f81f12e2cf5ac12609d254e2161
7
+ data.tar.gz: 561bdf4904e5c30a5b3c59a1c079f2932d94b3f612dfe090adbed484ccde0acb760dd59b02f9f421f256f6a129da0119cdec6f2935e7d7111d73c3f7ded319ca
@@ -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 disable.
63
- # thing - The Flipper::Type being disabled for the gate.
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)
@@ -1,3 +1,13 @@
1
1
  module Flipper
2
- VERSION = '1.1.2'.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-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
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-12 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.2
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.2
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/blob/main/Changelog.md
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,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.4.10
79
+ rubygems_version: 3.5.3
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Mongo feature flag adapter for Flipper