wazuh-rb 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 020ae6347449308a9a65fdbcc3430aad7de6d61f90965638140a32b7a20472ca
4
- data.tar.gz: 341a7b23c03bf367197e7ec90273c981a0f4de5131b48dd38af188f32e655774
3
+ metadata.gz: 55ac348cc1559633d548b387f8a3cab9a66c52b1c8396f0f6aad69d4300a168f
4
+ data.tar.gz: 65d7426b5afab890dcf7d6729e971fffbc7bfaa73085002d3dd8c5d9ab06dde8
5
5
  SHA512:
6
- metadata.gz: 4f89e90e0f8fc6b6802967d7dbe6b6b0e53d9dbb362b6b2130ba68b79e2c8b9c3efaa28d867b82b0f2a297eeb2217cf9ce94338ff8b75dbc9fc4e803938ac7cd
7
- data.tar.gz: ef16883389552af02bd29de7123ab408df9732e7241d334a790855e211f033b9f89b6ec0ce16087266e8f7a2e661c113e4247d708969bd6247b89da1865e6ef3
6
+ metadata.gz: e4b3b6941ee7e112f7d39d089572f77b7520fe7ef148f89c8856bf54bf66c5034e2409f01ed49630e5ccb0466e597ccc4673e6a5f4f3a87b9bab22fc1549fdc7
7
+ data.tar.gz: 19f21172d46cb99a8f1243f2e94e022a30fa701a956838df84125b1df301978d8b30ba78527b9349ab4530c5d1825bef3f6750da3f8d9dc5e50201d401ca3a6a
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  *ca
2
2
  *crt
3
3
  *key
4
+ pkg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wazuh-rb (0.1.0)
4
+ wazuh-rb (0.2.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  thor
@@ -12,6 +12,7 @@ module Wazuh
12
12
  when 500..599 then ServerError
13
13
  end
14
14
 
15
+ raise response.body["message"] if response.body["error"]
15
16
  klass.new(response) if klass
16
17
  end
17
18
 
@@ -1,3 +1,3 @@
1
1
  module Wazuh
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wazuh-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86