flipper-api 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/flipper/api/v1/actions/expression_gate.rb +1 -1
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/api/action_spec.rb +2 -2
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22f89b91964147cbf09e65dd9f9b2eff54260d17bd4284c47c827bf22ddcef9d
|
4
|
+
data.tar.gz: 16f92c3cc53d21a5bbfddae42bca94609c2107a021a1eaaefa9eff5f15293f67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 524b2bd8c86277f0b25e6eab8ce0d69a37b177345fc2d327df2326c5427af8675120aeb5452abe71aa983b3f18549bafa8bef2dae4af937ef83273888932b532
|
7
|
+
data.tar.gz: 6998b9f8aaf7b105630e78053526252e954ce9cd35167af82b8fd86b8c55fcce1c86ed2e18e1c6605b201a04ae9c5511c44dbef5533cfa78f6e2dceadac5ef72
|
@@ -18,7 +18,7 @@ module Flipper
|
|
18
18
|
feature.enable_expression expression
|
19
19
|
decorated_feature = Decorators::Feature.new(feature)
|
20
20
|
json_response(decorated_feature.as_json, 200)
|
21
|
-
rescue NameError, ArgumentError
|
21
|
+
rescue NameError, ArgumentError
|
22
22
|
json_error_response(:expression_invalid)
|
23
23
|
end
|
24
24
|
end
|
data/lib/flipper/version.rb
CHANGED
@@ -74,7 +74,7 @@ RSpec.describe Flipper::Api::Action do
|
|
74
74
|
response = catch(:halt) do
|
75
75
|
action.json_error_response(:feature_not_found)
|
76
76
|
end
|
77
|
-
|
77
|
+
_, headers, body = response
|
78
78
|
parsed_body = JSON.parse(body[0])
|
79
79
|
|
80
80
|
expect(headers[Rack::CONTENT_TYPE]).to eq('application/json')
|
@@ -88,7 +88,7 @@ RSpec.describe Flipper::Api::Action do
|
|
88
88
|
response = catch(:halt) do
|
89
89
|
action.json_error_response(:group_not_registered)
|
90
90
|
end
|
91
|
-
|
91
|
+
_, headers, body = response
|
92
92
|
parsed_body = JSON.parse(body[0])
|
93
93
|
|
94
94
|
expect(headers[Rack::CONTENT_TYPE]).to eq('application/json')
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rack
|
@@ -36,15 +35,14 @@ dependencies:
|
|
36
35
|
requirements:
|
37
36
|
- - "~>"
|
38
37
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.3.
|
38
|
+
version: 1.3.3
|
40
39
|
type: :runtime
|
41
40
|
prerelease: false
|
42
41
|
version_requirements: !ruby/object:Gem::Requirement
|
43
42
|
requirements:
|
44
43
|
- - "~>"
|
45
44
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.3.
|
47
|
-
description:
|
45
|
+
version: 1.3.3
|
48
46
|
email: support@flippercloud.io
|
49
47
|
executables: []
|
50
48
|
extensions: []
|
@@ -97,8 +95,8 @@ metadata:
|
|
97
95
|
homepage_uri: https://www.flippercloud.io
|
98
96
|
source_code_uri: https://github.com/flippercloud/flipper
|
99
97
|
bug_tracker_uri: https://github.com/flippercloud/flipper/issues
|
100
|
-
changelog_uri: https://github.com/flippercloud/flipper/releases/tag/v1.3.
|
101
|
-
|
98
|
+
changelog_uri: https://github.com/flippercloud/flipper/releases/tag/v1.3.3
|
99
|
+
funding_uri: https://github.com/sponsors/flippercloud
|
102
100
|
rdoc_options: []
|
103
101
|
require_paths:
|
104
102
|
- lib
|
@@ -113,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
111
|
- !ruby/object:Gem::Version
|
114
112
|
version: '0'
|
115
113
|
requirements: []
|
116
|
-
rubygems_version: 3.5
|
117
|
-
signing_key:
|
114
|
+
rubygems_version: 3.6.5
|
118
115
|
specification_version: 4
|
119
116
|
summary: Feature flag API for the Flipper gem
|
120
117
|
test_files:
|