auth-centric-firewall 0.2.6 → 0.2.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e62ec44b3d6d5c784074a17fbf0908fe7d6592348ca367f2fb70ad04967d0505
|
|
4
|
+
data.tar.gz: b3b8543dbbe85baf2e30c831318807694d5e8d7804e18d7c9b47e301044df482
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b80f4b0e5572a5b04b5239e03f263c1ac98fd4a31751a2f99bf17acd1370db654a9da5b9c1068f0c349e90c722b065b296816748a98cbfbdbf946360df7612df
|
|
7
|
+
data.tar.gz: 6881a2a2098a8dc88c0f74e2dc4187f5357fc6a8d6886ae8f46fb4cce16e151142b211dc47ca55007628c2106b2c55e0f940fb7e566478ef18cfdabd9743e646
|
|
@@ -23,9 +23,9 @@ module Auth
|
|
|
23
23
|
when 200..202
|
|
24
24
|
JSON.parse(http.body)['data']['attributes'].except('session_id', 'ip')
|
|
25
25
|
when 422
|
|
26
|
-
raise
|
|
26
|
+
raise http.body.to_s
|
|
27
27
|
else
|
|
28
|
-
raise
|
|
28
|
+
raise "HTTP Status #{http.status}. HTTP Body: #{http.body.to_s.gsub(/<[^>]*>/, '')}"
|
|
29
29
|
end
|
|
30
30
|
rescue HTTP::TimeoutError
|
|
31
31
|
true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auth-centric-firewall
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Saimon Lovell
|
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '0'
|
|
94
94
|
requirements: []
|
|
95
|
-
rubygems_version: 4.0.
|
|
95
|
+
rubygems_version: 4.0.19
|
|
96
96
|
specification_version: 4
|
|
97
97
|
summary: Use artificial intelligence to find hackers.
|
|
98
98
|
test_files: []
|