floodgate 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/floodgate/client.rb +1 -1
- data/lib/floodgate/version.rb +1 -1
- data/spec/cassettes/Floodgate_Client/_add_ip_address/when_an_ip_address_is_specified/adds_it_to_the_list_of_allowed_ip_addresses.yml +27 -27
- data/spec/cassettes/Floodgate_Client/_allowed_ip_addresses/returns_the_allowed_ip_addresses.yml +17 -17
- data/spec/cassettes/Floodgate_Client/_close/changes_filter_traffic_from_false_to_true.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_my_ip_address/is_an_ip_address.yml +4 -4
- data/spec/cassettes/Floodgate_Client/_open/changes_filter_traffic_from_true_to_false.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_remove_ip_address/when_an_ip_address_is_specified/removes_it_from_the_list_of_allowed_ip_addresses.yml +22 -22
- data/spec/cassettes/Floodgate_Client/_set_redirect_url/when_a_redirect_url_is_specified/changes_the_redirect_url.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_set_redirect_url/when_nil_is_specified/clears_the_redirect_url.yml +20 -20
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_not_valid/returns_the_default_status.yml +5 -5
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_valid/and_traffic_filtering_is_enabled/filter_traffic_is_true.yml +5 -5
- data/spec/cassettes/Floodgate_Client/_status/when_the_credentials_are_valid/and_traffic_filtering_is_not_enabled/filter_traffic_is_false.yml +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01c8e26e92a1d4e69271bcccdbbc403b8063b1fd
|
4
|
+
data.tar.gz: 62bd46b23e4f2ee0e150eb0a72b29c5a8f135606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6377b0da14f6f7bae3d61e988bfdd879e62003a9cb751c05e44c3f4fad0bf5b99a09a2e463b82a1133e390eba299b3941e9d94578db044673d2002b8e8560a9
|
7
|
+
data.tar.gz: cc6cfb83081c6e8f8e81b57fe0fbbc1d6eb652ee93a23c247a57934a174803185aa14e7f2fb65557143dc6ae9d7175168102b3aa0c6a64fd6408369df4e9b363
|
data/lib/floodgate/client.rb
CHANGED
data/lib/floodgate/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: delete
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:24 GMT
|
27
27
|
etag:
|
28
28
|
- "\"d751713988987e9331980363e24189ce\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 492e37e6-2955-48b1-9def-0c3bb66aa83f
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.900839'
|
35
35
|
content-length:
|
36
36
|
- '2'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "[]"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:19 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:24 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 3cadd839-e2b5-4e34-bad2-89150e56d1aa
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.048828'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:20 GMT
|
83
83
|
- request:
|
84
84
|
method: post
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:25 GMT
|
107
107
|
etag:
|
108
108
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 05d2bc2d-8297-41c5-9eb7-89a9e9f3c7a5
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.078790'
|
115
115
|
content-length:
|
116
116
|
- '24'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:20 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,27 +142,27 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:25 GMT
|
146
146
|
etag:
|
147
|
-
- "\"
|
147
|
+
- "\"455e0371dd7f786131811e7ba5250560\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 782ea7de-b496-4457-bf3b-b334150826cc
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.013111'
|
154
154
|
content-length:
|
155
155
|
- '136'
|
156
156
|
connection:
|
157
157
|
- Close
|
158
158
|
body:
|
159
159
|
encoding: UTF-8
|
160
|
-
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"
|
160
|
+
string: "{\"allowed_ip_addresses\":[\"1.1.1.1\",\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:21 GMT
|
163
163
|
- request:
|
164
164
|
method: delete
|
165
|
-
uri: https://staging-api.floodgate.io/
|
165
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
166
166
|
body:
|
167
167
|
encoding: US-ASCII
|
168
168
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -183,15 +183,15 @@ http_interactions:
|
|
183
183
|
content-type:
|
184
184
|
- application/json
|
185
185
|
date:
|
186
|
-
-
|
186
|
+
- Tue, 04 Mar 2014 17:55:25 GMT
|
187
187
|
etag:
|
188
188
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
189
189
|
server:
|
190
190
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
191
191
|
x-request-id:
|
192
|
-
-
|
192
|
+
- b1d78e06-f884-4407-a0e1-e74238a5475e
|
193
193
|
x-runtime:
|
194
|
-
- '0.
|
194
|
+
- '0.033346'
|
195
195
|
content-length:
|
196
196
|
- '43'
|
197
197
|
connection:
|
@@ -200,5 +200,5 @@ http_interactions:
|
|
200
200
|
encoding: UTF-8
|
201
201
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
202
202
|
http_version:
|
203
|
-
recorded_at:
|
203
|
+
recorded_at: Tue, 04 Mar 2014 17:55:21 GMT
|
204
204
|
recorded_with: VCR 2.8.0
|
data/spec/cassettes/Floodgate_Client/_allowed_ip_addresses/returns_the_allowed_ip_addresses.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:26 GMT
|
27
27
|
etag:
|
28
28
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 0df3f222-85ea-4b1c-998b-0d0256fd807e
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.060471'
|
35
35
|
content-length:
|
36
36
|
- '24'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:21 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,27 +62,27 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:26 GMT
|
66
66
|
etag:
|
67
|
-
- "\"
|
67
|
+
- "\"455e0371dd7f786131811e7ba5250560\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- f7ca8616-6a61-4bd5-abe7-7dd043260425
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.023911'
|
74
74
|
content-length:
|
75
75
|
- '136'
|
76
76
|
connection:
|
77
77
|
- Close
|
78
78
|
body:
|
79
79
|
encoding: UTF-8
|
80
|
-
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"
|
80
|
+
string: "{\"allowed_ip_addresses\":[\"1.1.1.1\",\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:21 GMT
|
83
83
|
- request:
|
84
84
|
method: delete
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:26 GMT
|
107
107
|
etag:
|
108
108
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- ce517abf-c956-4619-98c8-2a83d0526ad0
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.161463'
|
115
115
|
content-length:
|
116
116
|
- '43'
|
117
117
|
connection:
|
@@ -120,5 +120,5 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:22 GMT
|
124
124
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bfilter_traffic%5D=false&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:27 GMT
|
27
27
|
etag:
|
28
28
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 13fb763b-cac0-4a5b-a687-f1fc8089a8d2
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.074060'
|
35
35
|
content-length:
|
36
36
|
- '126'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:22 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:27 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 0ba41153-5fcd-40f8-bc91-6246fe7cd87f
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.019695'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:22 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bfilter_traffic%5D=true&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:27 GMT
|
107
107
|
etag:
|
108
108
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 894ffee1-9574-4d58-a7bc-0234c782772d
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.122131'
|
115
115
|
content-length:
|
116
116
|
- '125'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:23 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:28 GMT
|
146
146
|
etag:
|
147
147
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- e9950d3c-96cf-4ded-886b-dca8c0279334
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.048572'
|
154
154
|
content-length:
|
155
155
|
- '125'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:23 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -17,15 +17,15 @@ http_interactions:
|
|
17
17
|
server:
|
18
18
|
- MochiWeb/1.0 (Any of you quaids got a smint?)
|
19
19
|
date:
|
20
|
-
-
|
20
|
+
- Tue, 04 Mar 2014 17:54:09 GMT
|
21
21
|
content-type:
|
22
22
|
- text/plain
|
23
23
|
content-length:
|
24
|
-
- '
|
24
|
+
- '14'
|
25
25
|
body:
|
26
26
|
encoding: UTF-8
|
27
27
|
string: |
|
28
|
-
|
28
|
+
72.33.147.204
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Tue, 04 Mar 2014 17:55:23 GMT
|
31
31
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bfilter_traffic%5D=true&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:29 GMT
|
27
27
|
etag:
|
28
28
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- fa0f6690-82c7-4c8c-a461-9d24f4c40ca4
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.021594'
|
35
35
|
content-length:
|
36
36
|
- '125'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:24 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:29 GMT
|
66
66
|
etag:
|
67
67
|
- "\"7771a307c8a2bc95dff054cd3bfcbf9c\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- f6723b79-0f95-4b91-8589-ef6a08cb70e5
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.022057'
|
74
74
|
content-length:
|
75
75
|
- '125'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":true,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:25 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bfilter_traffic%5D=false&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:29 GMT
|
107
107
|
etag:
|
108
108
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- fecd37b8-44d9-4291-bb60-b07dc04369c9
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.026978'
|
115
115
|
content-length:
|
116
116
|
- '126'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:25 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:30 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- a22e8503-1507-494c-9791-3f0c5141f7e8
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.112726'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:25 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:30 GMT
|
27
27
|
etag:
|
28
28
|
- "\"bbc66f5c6fff2775354263608d971d3a\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- dcea82f9-9138-4c67-892c-94a70c3c0f93
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.089936'
|
35
35
|
content-length:
|
36
36
|
- '24'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"ip_address\":\"1.1.1.1\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:25 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,27 +62,27 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:30 GMT
|
66
66
|
etag:
|
67
|
-
- "\"
|
67
|
+
- "\"455e0371dd7f786131811e7ba5250560\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- b8f37c44-4210-4341-92fe-5668891e1382
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.014286'
|
74
74
|
content-length:
|
75
75
|
- '136'
|
76
76
|
connection:
|
77
77
|
- Close
|
78
78
|
body:
|
79
79
|
encoding: UTF-8
|
80
|
-
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"
|
80
|
+
string: "{\"allowed_ip_addresses\":[\"1.1.1.1\",\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:26 GMT
|
83
83
|
- request:
|
84
84
|
method: delete
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/ip_addresses
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ip_address%5Bip_address%5D=1.1.1.1&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:30 GMT
|
107
107
|
etag:
|
108
108
|
- "\"23e8cc0c8abfb81d69429dfc9203ea60\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- d1f1ab0a-bdf3-40be-9d06-14f8deba8d98
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.101696'
|
115
115
|
content-length:
|
116
116
|
- '43'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"ip_addresses\":[{\"ip_address\":\"1.1.1.1\"}]}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:26 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:31 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 544e0244-b415-46cb-9427-449a9a52a89a
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.035587'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:26 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bredirect_url%5D&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:32 GMT
|
27
27
|
etag:
|
28
28
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- 3eef7b32-6993-4826-98d5-2f8b9a16117c
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.025649'
|
35
35
|
content-length:
|
36
36
|
- '126'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:27 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:32 GMT
|
66
66
|
etag:
|
67
67
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- 7f53dc8d-b965-4c8d-8cce-a889c3288985
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.013977'
|
74
74
|
content-length:
|
75
75
|
- '126'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:28 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bredirect_url%5D=http%3A%2F%2Fexample.com&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:32 GMT
|
107
107
|
etag:
|
108
108
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- c8bb9d89-5bef-4ccd-8ea2-e672068fe23e
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.053007'
|
115
115
|
content-length:
|
116
116
|
- '142'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:28 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:33 GMT
|
146
146
|
etag:
|
147
147
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 4e84be53-b8e5-4f6a-baaa-d6f0a17ffa1e
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.014723'
|
154
154
|
content-length:
|
155
155
|
- '142'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:28 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: app%5Bredirect_url%5D=http%3A%2F%2Fexample.com&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -23,15 +23,15 @@ http_interactions:
|
|
23
23
|
content-type:
|
24
24
|
- application/json
|
25
25
|
date:
|
26
|
-
-
|
26
|
+
- Tue, 04 Mar 2014 17:55:33 GMT
|
27
27
|
etag:
|
28
28
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
29
29
|
server:
|
30
30
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
31
31
|
x-request-id:
|
32
|
-
-
|
32
|
+
- aadc4f86-7681-4880-86fe-08bf9ada4714
|
33
33
|
x-runtime:
|
34
|
-
- '0.
|
34
|
+
- '0.023173'
|
35
35
|
content-length:
|
36
36
|
- '142'
|
37
37
|
connection:
|
@@ -40,10 +40,10 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Tue, 04 Mar 2014 17:55:28 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: https://staging-api.floodgate.io/
|
46
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -62,15 +62,15 @@ http_interactions:
|
|
62
62
|
content-type:
|
63
63
|
- application/json
|
64
64
|
date:
|
65
|
-
-
|
65
|
+
- Tue, 04 Mar 2014 17:55:33 GMT
|
66
66
|
etag:
|
67
67
|
- "\"e095bacd98a20e55860f5d335f67baee\""
|
68
68
|
server:
|
69
69
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
70
70
|
x-request-id:
|
71
|
-
-
|
71
|
+
- f756a05e-11af-46d6-940c-5e20f1afa3d0
|
72
72
|
x-runtime:
|
73
|
-
- '0.
|
73
|
+
- '0.030762'
|
74
74
|
content-length:
|
75
75
|
- '142'
|
76
76
|
connection:
|
@@ -79,10 +79,10 @@ http_interactions:
|
|
79
79
|
encoding: UTF-8
|
80
80
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":\"http://example.com\"}"
|
81
81
|
http_version:
|
82
|
-
recorded_at:
|
82
|
+
recorded_at: Tue, 04 Mar 2014 17:55:29 GMT
|
83
83
|
- request:
|
84
84
|
method: put
|
85
|
-
uri: https://staging-api.floodgate.io/
|
85
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: app%5Bredirect_url%5D&api_token=f28b5848e158f96e96168aa37f0002f2
|
@@ -103,15 +103,15 @@ http_interactions:
|
|
103
103
|
content-type:
|
104
104
|
- application/json
|
105
105
|
date:
|
106
|
-
-
|
106
|
+
- Tue, 04 Mar 2014 17:55:34 GMT
|
107
107
|
etag:
|
108
108
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
109
109
|
server:
|
110
110
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
111
111
|
x-request-id:
|
112
|
-
-
|
112
|
+
- 7d651a77-cd83-4ee7-9579-98bd124fe530
|
113
113
|
x-runtime:
|
114
|
-
- '0.
|
114
|
+
- '0.046181'
|
115
115
|
content-length:
|
116
116
|
- '126'
|
117
117
|
connection:
|
@@ -120,10 +120,10 @@ http_interactions:
|
|
120
120
|
encoding: UTF-8
|
121
121
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
122
122
|
http_version:
|
123
|
-
recorded_at:
|
123
|
+
recorded_at: Tue, 04 Mar 2014 17:55:29 GMT
|
124
124
|
- request:
|
125
125
|
method: get
|
126
|
-
uri: https://staging-api.floodgate.io/
|
126
|
+
uri: https://staging-api.floodgate.io/apps/9d2852cff163507330242460c0ca5eec/status?api_token=f28b5848e158f96e96168aa37f0002f2
|
127
127
|
body:
|
128
128
|
encoding: US-ASCII
|
129
129
|
string: ''
|
@@ -142,15 +142,15 @@ http_interactions:
|
|
142
142
|
content-type:
|
143
143
|
- application/json
|
144
144
|
date:
|
145
|
-
-
|
145
|
+
- Tue, 04 Mar 2014 17:55:34 GMT
|
146
146
|
etag:
|
147
147
|
- "\"5dcd96cc7b45b270738601bce30d703f\""
|
148
148
|
server:
|
149
149
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
150
150
|
x-request-id:
|
151
|
-
-
|
151
|
+
- 0a11626b-4c78-42de-9f42-3e62387ea42e
|
152
152
|
x-runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.012052'
|
154
154
|
content-length:
|
155
155
|
- '126'
|
156
156
|
connection:
|
@@ -159,5 +159,5 @@ http_interactions:
|
|
159
159
|
encoding: UTF-8
|
160
160
|
string: "{\"allowed_ip_addresses\":[\"9.109.14.25\",\"164.249.198.56\"],\"filter_traffic\":false,\"name\":\"mutable-test-app\",\"redirect_url\":null}"
|
161
161
|
http_version:
|
162
|
-
recorded_at:
|
162
|
+
recorded_at: Tue, 04 Mar 2014 17:55:29 GMT
|
163
163
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/foo/status?api_token=bar
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,13 +21,13 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 04 Mar 2014 17:55:34 GMT
|
25
25
|
server:
|
26
26
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
27
27
|
x-request-id:
|
28
|
-
-
|
28
|
+
- 4e23818e-bc63-4b69-ad03-5e834ce8ad09
|
29
29
|
x-runtime:
|
30
|
-
- '0.
|
30
|
+
- '0.021808'
|
31
31
|
content-length:
|
32
32
|
- '28'
|
33
33
|
connection:
|
@@ -36,5 +36,5 @@ http_interactions:
|
|
36
36
|
encoding: UTF-8
|
37
37
|
string: "{\"error\":\"401 Unauthorized\"}"
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
39
|
+
recorded_at: Tue, 04 Mar 2014 17:55:30 GMT
|
40
40
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/fa5d63bcf3d6b557eee782c9e61e4002/status?api_token=da2f2d06c102eea0f1971c2c90936ee3
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,15 +21,15 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 04 Mar 2014 17:55:34 GMT
|
25
25
|
etag:
|
26
26
|
- "\"dee747427e4c4ad6746155406732f396\""
|
27
27
|
server:
|
28
28
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
29
29
|
x-request-id:
|
30
|
-
-
|
30
|
+
- 82037e4b-fb57-4357-b11b-8fbe445f78b4
|
31
31
|
x-runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.013876'
|
33
33
|
content-length:
|
34
34
|
- '112'
|
35
35
|
connection:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: "{\"allowed_ip_addresses\":[],\"filter_traffic\":true,\"name\":\"floodgate-gem-filter-traffic-true\",\"redirect_url\":null}"
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 04 Mar 2014 17:55:30 GMT
|
42
42
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://staging-api.floodgate.io/
|
5
|
+
uri: https://staging-api.floodgate.io/apps/cbaeb13b7f63956ef70c382a7a67407d/status?api_token=349d2b1ee8ec56eb04b909b1eb9993b0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -21,15 +21,15 @@ http_interactions:
|
|
21
21
|
content-type:
|
22
22
|
- application/json
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 04 Mar 2014 17:55:34 GMT
|
25
25
|
etag:
|
26
26
|
- "\"8843d65a25ba489ef0f7eea44981e1f6\""
|
27
27
|
server:
|
28
28
|
- WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
|
29
29
|
x-request-id:
|
30
|
-
-
|
30
|
+
- e87d6fd9-69aa-42bd-ad5e-c0abd9ff40a6
|
31
31
|
x-runtime:
|
32
|
-
- '0.
|
32
|
+
- '0.020458'
|
33
33
|
content-length:
|
34
34
|
- '131'
|
35
35
|
connection:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: "{\"allowed_ip_addresses\":[\"166.147.100.145\"],\"filter_traffic\":false,\"name\":\"floodgate-gem-filter-traffic-false\",\"redirect_url\":null}"
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 04 Mar 2014 17:55:30 GMT
|
42
42
|
recorded_with: VCR 2.8.0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: floodgate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark McEahern
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|