flipper-api 0.22.1 → 0.24.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: 3378241cf94cd3f5922cfce943f3c728b4034b2a6b40f08a5c9ab00f01c21463
4
- data.tar.gz: 4e0d9338fc3f605c2b3ea9917b312f8e8bbf1ffc0b80d9ecb606d5b3d5f6ec03
3
+ metadata.gz: ee54a1b8dbd6fbe6c8569970b9b2c25dfabef58f024ca0b2848717a703b17600
4
+ data.tar.gz: 63f01695a63096f006332632f8d6d6d982338a70bdd577c214b15b790074aea4
5
5
  SHA512:
6
- metadata.gz: f82bd31a433660f2a4c0678edb37ca32965302c3aa8cacd6a421584b3b6b8784e06be32513b72d06bf2257e13be22d2f25572b4ba115c4dc173d82254fc5cbc1
7
- data.tar.gz: 1edfcc71162df8f5defd6ed0b741fb1550de32242a0e614388dd26f814e48c432b0253896cf764482ab5c55bead7ad7b2f1607db195435f4df9114a297d736c8
6
+ metadata.gz: 760626f78c88eacc21d3d9e672f82449678bd57014c99f949539d3b4fae0202e7e774df0992118aa2b6d6d3d9bf79883c8558c872356ad1d08d7370d49e008b7
7
+ data.tar.gz: f386ad25a8911ce18b7560cd77aed907cc2bd50ae27d05b778058e013d8b3ab68cb6b38919a210baf0c1abd429fd9a57ed44a674c91079415ced685f1b064b43
@@ -8,7 +8,7 @@ module Flipper
8
8
  @code = code
9
9
  @message = message
10
10
  @more_info =
11
- 'https://github.com/jnunemaker/flipper/tree/master/docs/api#error-code-reference'
11
+ 'https://flippercloud.io/docs/api#error-code-reference'
12
12
  @http_status = http_status
13
13
  end
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.22.1'.freeze
2
+ VERSION = '0.24.0'.freeze
3
3
  end
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::Action do
4
2
  let(:action_subclass) do
5
3
  Class.new(described_class) do
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::JsonParams do
4
2
  let(:app) do
5
3
  app = lambda do |env|
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::ActorsGate do
4
2
  let(:app) { build_api(flipper) }
5
3
  let(:actor) { Flipper::Actor.new('1') }
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::Actors do
4
2
  let(:app) { build_api(flipper) }
5
3
  let(:actor) { Flipper::Actor.new('User123') }
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::BooleanGate do
4
2
  let(:app) { build_api(flipper) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::ClearFeature do
4
2
  let(:app) { build_api(flipper) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::Feature do
4
2
  let(:app) { build_api(flipper) }
5
3
  let(:feature) { build_feature }
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::Features do
4
2
  let(:app) { build_api(flipper) }
5
3
  let(:feature) { build_feature }
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::GroupsGate do
4
2
  let(:app) { build_api(flipper) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::PercentageOfActorsGate do
4
2
  let(:app) { build_api(flipper) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api::V1::Actions::PercentageOfTimeGate do
4
2
  let(:app) { build_api(flipper) }
5
3
 
@@ -1,5 +1,3 @@
1
- require 'helper'
2
-
3
1
  RSpec.describe Flipper::Api do
4
2
  describe 'Initializing middleware with flipper instance' do
5
3
  let(:app) { build_api(flipper) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.24.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: 2021-08-23 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.22.1
39
+ version: 0.24.0
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.22.1
46
+ version: 0.24.0
47
47
  description:
48
48
  email:
49
49
  - nunemaker@gmail.com
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.0.3
108
+ rubygems_version: 3.1.2
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: API for the Flipper gem