hachi 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hachi/clients/alert.rb +1 -1
- data/lib/hachi/clients/base.rb +1 -2
- data/lib/hachi/models/alert.rb +1 -1
- data/lib/hachi/models/base.rb +0 -1
- data/lib/hachi/models/case.rb +1 -1
- data/lib/hachi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efe04e36b93c8278ea1c128e7aa38135d33468c904ad3434dbcc6c7dc7707478
|
4
|
+
data.tar.gz: caaa81f78a086e6dba10e54f977018fbc19f5485559a59d15047a152d1780d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75a96eb5ad3cea0bf65ec999ab14e27bbc081bc5e1315e231a9e1aac27c0db69caf1cc7820d1f782ba8cdcd25cc37606b6be0ea52abe8aa53b357781c1294217
|
7
|
+
data.tar.gz: 87d6925a83d4faf2d544648d47b6c0caa82641fa25fcf0a138d35c0061a5a421aba6491c7391e9211101ded22f7308b18f49da5d73adf86143068450107bcad7
|
data/lib/hachi/clients/alert.rb
CHANGED
data/lib/hachi/clients/base.rb
CHANGED
@@ -66,8 +66,7 @@ module Hachi
|
|
66
66
|
|
67
67
|
code = response.code
|
68
68
|
unless code.start_with? "20"
|
69
|
-
|
70
|
-
raise Error, "Unsupported response code returned: #{code} (#{message})"
|
69
|
+
raise Error, "Unsupported response code returned: #{code} (#{json})"
|
71
70
|
end
|
72
71
|
|
73
72
|
yield json
|
data/lib/hachi/models/alert.rb
CHANGED
data/lib/hachi/models/base.rb
CHANGED
data/lib/hachi/models/case.rb
CHANGED
data/lib/hachi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hachi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.0.
|
147
|
+
rubygems_version: 3.0.4
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: A dead simple TheHive API wrapper.
|