flipper-api 0.11.0 → 0.12.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0719237e3ee4fb4097aed2c0ae3c5d58c168a85e'
|
4
|
+
data.tar.gz: 895cbaf6a7f618933f5f0ae93b7fbac38e3040ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 837deed37ae4d00360188cb515333522119a87f9eaefe8c3b1752d5862eb140152d6735b68633917a06200caa4d0d8080e52bb896c51190f8bfe9194cb62c9fb
|
7
|
+
data.tar.gz: ab68facde25ce0ee6bf120df0b29550da17fe7039e9cc55b3d8f835cb9550e598180363fd44e2aafdcdaa4a42738e504364c631c51aca0de006211bd03c60316
|
@@ -35,7 +35,7 @@ module Flipper
|
|
35
35
|
def post
|
36
36
|
feature_name = params.fetch('name') { json_error_response(:name_invalid) }
|
37
37
|
feature = flipper[feature_name]
|
38
|
-
|
38
|
+
feature.add
|
39
39
|
decorated_feature = Decorators::Feature.new(feature)
|
40
40
|
json_response(decorated_feature.as_json, 200)
|
41
41
|
end
|
data/lib/flipper/version.rb
CHANGED
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.
|
4
|
+
version: 0.12.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: 2018-01-06 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.
|
39
|
+
version: 0.12.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.
|
46
|
+
version: 0.12.0
|
47
47
|
description: Rack middleware that provides an API for the flipper gem.
|
48
48
|
email:
|
49
49
|
- nunemaker@gmail.com
|