diffend 0.2.39 → 0.2.40

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: 329d0035ee4b67c704f2bdd5fd200d64f9ae8e1becbed313d8dd92a0e16df80b
4
- data.tar.gz: 8033441ed7c7932b687a0f9cbaae5c4da3aa2daa8398358ba5d20251eb27126d
3
+ metadata.gz: ab9ba402e382256b6318f8a4b278ae8e6ae0e68dc9ab15fedca98b8e46f8a105
4
+ data.tar.gz: 7f0fa88a9af55b5b7d2992fa67fcde7f464f36b68801f4b69b3d0204033428df
5
5
  SHA512:
6
- metadata.gz: 63912e6f594a0569bf7ac80f1c3e10ef86c7d4a5e9c2bc4f8b7df52cc2307954668cc50494b854b1cc27cce10ef12792104ca7890921a96d5a669f379321f5c7
7
- data.tar.gz: 7b45d8ffe0cd139578fa6c6e4b156b816662467d48a3ab3c4bf66a10a3eb43439aa16b2f79b88e8222f7949daaad6efa17d8f9749aa4cf01dfb58e9fe6c4389b
6
+ metadata.gz: e41cad9b056aed9f846424964a14862cf5dfeab3596b93673bf7ed9ceacc50beab92157cfe8b98aa4a35c8bce5341862c79e6a35ae03fdc754a85eeb730b7077
7
+ data.tar.gz: dfd06d10e56962b7ffa3eca0530b8b7fcaa9bb83169c2bd52e672a957de9dba22dd63f2dd91c3d90441c466256446d4609c293e028e75deaa66db28f47fccbfc
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -18,7 +18,7 @@ jobs:
18
18
  - 'jruby-9.2.14.0'
19
19
  bundler:
20
20
  - '2.1.4'
21
- - '2.2.5'
21
+ - '2.2.7'
22
22
  include:
23
23
  - ruby: '2.7'
24
24
  coverage: 'true'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [Unreleased][master]
4
4
 
5
+ ## [0.2.40] (2021-02-23)
6
+ - don't expose ips, we can identify instance by a hostname ([#108](https://github.com/diffend-io/diffend-ruby/pull/108))
7
+ - don't set `verify_mode` when creating request in `Diffend::Request`, use default value set by `use_ssl` flag instead ([#109](https://github.com/diffend-io/diffend-ruby/pull/109))
8
+
5
9
  ## [0.2.39] (2021-01-18)
6
10
  - handle a case if we start to fast and some gems require things it may break the execution ([#101](https://github.com/diffend-io/diffend-ruby/pull/101))
7
11
 
@@ -122,7 +126,8 @@
122
126
 
123
127
  - initial release
124
128
 
125
- [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.39...HEAD
129
+ [master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.40...HEAD
130
+ [0.2.40]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.39...v0.2.40
126
131
  [0.2.39]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.38...v0.2.39
127
132
  [0.2.38]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.37...v0.2.38
128
133
  [0.2.37]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.36...v0.2.37
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diffend (0.2.39)
4
+ diffend (0.2.40)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -18,10 +18,10 @@ GEM
18
18
  rspec-expectations (3.10.1)
19
19
  diff-lcs (>= 1.2.0, < 2.0)
20
20
  rspec-support (~> 3.10.0)
21
- rspec-mocks (3.10.1)
21
+ rspec-mocks (3.10.2)
22
22
  diff-lcs (>= 1.2.0, < 2.0)
23
23
  rspec-support (~> 3.10.0)
24
- rspec-support (3.10.1)
24
+ rspec-support (3.10.2)
25
25
 
26
26
  PLATFORMS
27
27
  java
@@ -37,4 +37,4 @@ DEPENDENCIES
37
37
  rspec
38
38
 
39
39
  BUNDLED WITH
40
- 2.2.5
40
+ 2.2.7
@@ -30,7 +30,7 @@ module Diffend
30
30
  # @param response [Hash] response from diffend API
31
31
  def build_message(config, response)
32
32
  if response.key?('error')
33
- build_error(config, response)
33
+ build_error(response)
34
34
  elsif response.key?('action')
35
35
  build_verdict(config, response)
36
36
  else
@@ -16,7 +16,6 @@ module Diffend
16
16
 
17
17
  {
18
18
  'command' => command,
19
- 'ips' => ips,
20
19
  'name' => uname[:nodename],
21
20
  'system' => {
22
21
  'machine' => uname[:machine],
@@ -53,17 +52,6 @@ module Diffend
53
52
  end
54
53
  end
55
54
 
56
- # Build host ips, except localhost and loopback
57
- #
58
- # @return [Array<String>]
59
- def ips
60
- Socket.ip_address_list.map do |ip|
61
- next if ip.ipv4_loopback? || ip.ipv6_loopback? || ip.ipv6_linklocal?
62
-
63
- ip.ip_address
64
- end.compact
65
- end
66
-
67
55
  # Build host tags
68
56
  #
69
57
  # @return [Array]
@@ -124,7 +124,6 @@ module Diffend
124
124
  uri.host,
125
125
  uri.port,
126
126
  use_ssl: uri.scheme == 'https',
127
- verify_mode: OpenSSL::SSL::VERIFY_NONE,
128
127
  open_timeout: 15,
129
128
  read_timeout: 15
130
129
  ) { |http| yield(http, uri) }
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Diffend
4
4
  # Current version
5
- VERSION = '0.2.39'
5
+ VERSION = '0.2.40'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diffend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.39
4
+ version: 0.2.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Pajor
@@ -34,7 +34,7 @@ cert_chain:
34
34
  9MmF6uCQa1EjK2p8tYT0MnbHrFkoehxdX4VO9y99GAkhZyJNKPYPtyAUFV27sT2V
35
35
  LfCJRk4ifKIN/FUCwDSn8Cz0m6oH265q0p6wdzI6qrWOjP8tGOMBTA==
36
36
  -----END CERTIFICATE-----
37
- date: 2021-01-18 00:00:00.000000000 Z
37
+ date: 2021-02-23 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: bundler
metadata.gz.sig CHANGED
Binary file