wazuh-ruby-client 0.3.2 → 0.3.3

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: a6e610f82ce00aeba7a7b9b3d55e94c0e863656ab4b8d898b579d5bda55f8d1c
4
- data.tar.gz: 94fd38efd2f6c42deedcf880ddfa9fcf9b6ebc0f9c77f56b2856333dea3acde2
3
+ metadata.gz: a1913446c22b5d499a25ad14253020584d44c4c8417ca05d052613d18317f72b
4
+ data.tar.gz: 1b36d8f8243dada48a19234e923f54976862c734d34c8a5f8a0478e094a46b2d
5
5
  SHA512:
6
- metadata.gz: d4bf8fbf93e1c857639bd552de603f2314171e13ad18dff2966136382b6ae2f78d0c275699368c9fcb45f3cd1239f7343a611438571a5d743bb41a71708fff63
7
- data.tar.gz: 3ca2535d7440e5d5c360b43b5448b76aad0644cfa0978e82179d59538b91eaf39ded995c5a86d95ab5af31704f643ddbdb84ddc74333d521e8622c03b422c47e
6
+ metadata.gz: ecbc00e35e33f917a117938e79ac3e8ba6327e8387d92592d4b9510bf8b753bf93800f329d88573e1b94c0f51687fc92deec492fa11bf3ac4f62eeeeb4e0a155
7
+ data.tar.gz: abedc111b0e09e7e7963885d004039227ef8add25bd501c623c8224625ba00e55222cc9e83bcb7205929185058c0d2759e97d939c6ea08dd68fb44cc99695df0
@@ -29,7 +29,7 @@ module Wazuh
29
29
  when 4
30
30
  raise "user and password is required on v4 api" if !basic_user || !basic_password
31
31
  opts[:faraday] = ::Faraday.new(options) do |conn|
32
- conn.request :authorization, 'Bearer', -> { Token.jwt(endpoint, options, basic_user, basic_password) }
32
+ conn.request :authorization, 'Bearer', Token.jwt(endpoint, options, basic_user, basic_password)
33
33
  end
34
34
  end
35
35
 
data/lib/wazuh/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Wazuh
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
@@ -1,3 +1,3 @@
1
1
  module WazuhRubyClient
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wazuh-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrtc0
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-18 00:00:00.000000000 Z
11
+ date: 2021-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler