diffend 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -2
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +1 -1
- data/lib/diffend.rb +1 -1
- data/lib/diffend/monitor.rb +5 -3
- data/lib/diffend/voting/versions/remote.rb +10 -4
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c100adca589f5e4e22488ecc8d12a865b2ec8a5bb6be4bf15f3b4bf5d5ad089
|
4
|
+
data.tar.gz: 8e5820badb850ee24606874e8de80a8e19114a08276f9fca3933a54e4fb825bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b2798f074676511abc75974db24ee116dcbf9fc87983a4cfc6d9e69246c12b0970c376ced03e08a6fb0a9ba09fa9cd11a3da5d728715c6ec676030bd7ebccd
|
7
|
+
data.tar.gz: fd130a1283b65d6487bab7323eb2a7d7c9d3db6cea7c777e4c7a023f77e9b0d0ee4078cd38c9228fe18b1555ee9e9ec9efd0fa1033a7c8ed5e19859cb8e11970
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Z�X��ԯ���.��#}C*��4p&$��>��o��XHv4�ъ�$\Ǐ?�w�^�4K��.�da pDȴ�[��p�9k��9�!]�<�9��0[���u*��&z.���6]i\#�ز�"�nM��w���]�~Tb�0��k8ĩJ�~l�e*�x!�(�����f��2q cs���D`�#şF��m.5 ͩl,���>J���TA7�SO����I�yP�3��eݥ��Үu�����EJ���>�S`��7�~��s�$[���w�U�'����Q�Y����V�㑩Oi�W�+5��S}������[�H��Ö=�L3�
|
2
|
+
E��V��u�c�3�B�lϴEY�1��6�����JV
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## [Unreleased][master]
|
4
4
|
|
5
|
+
## [0.2.28] (2020-09-19)
|
6
|
+
- start `Diffend::Monitor` only if not in development or test ([#44](https://github.com/diffend-io/diffend-ruby/pull/44))
|
7
|
+
- better host command expose ([#45](https://github.com/diffend-io/diffend-ruby/pull/45))
|
8
|
+
|
5
9
|
## [0.2.27] (2020-09-16)
|
6
10
|
- introduce `Diffend::RequestObject` ([#40](https://github.com/diffend-io/diffend-ruby/pull/40))
|
7
11
|
- clean up error codes and introduce `DIFFEND_INGORE_EXCEPTIONS` ([#41](https://github.com/diffend-io/diffend-ruby/pull/41))
|
@@ -60,7 +64,8 @@
|
|
60
64
|
|
61
65
|
- initial release
|
62
66
|
|
63
|
-
[master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.
|
67
|
+
[master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.28...HEAD
|
68
|
+
[0.2.28]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.27...v0.2.28
|
64
69
|
[0.2.27]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.26...v0.2.27
|
65
70
|
[0.2.26]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.25...v0.2.26
|
66
71
|
[0.2.25]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.24...v0.2.25
|
data/Gemfile.lock
CHANGED
data/lib/diffend.rb
CHANGED
data/lib/diffend/monitor.rb
CHANGED
@@ -22,7 +22,9 @@
|
|
22
22
|
versions/remote
|
23
23
|
].each { |file| require "diffend/voting/#{file}" }
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
unless %w[development test].include?(ENV['DIFFEND_ENV'])
|
26
|
+
Thread.new do
|
27
|
+
track = Diffend::Track.new
|
28
|
+
track.start
|
29
|
+
end
|
28
30
|
end
|
@@ -162,10 +162,16 @@ module Diffend
|
|
162
162
|
#
|
163
163
|
# @return [Hash]
|
164
164
|
def build_host_command
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
165
|
+
if File.exist?($PROGRAM_NAME)
|
166
|
+
array = `ps -p #{Process.pid} -o command=`.strip.split(' ')
|
167
|
+
array.shift if array.first.end_with?('bin/ruby')
|
168
|
+
name = array.shift.split('/').last.strip
|
169
|
+
command = "#{name} #{array.join(' ')}"
|
170
|
+
|
171
|
+
{ 'name' => command, 'title' => '' }
|
172
|
+
else
|
173
|
+
{ 'name' => ARGV.join(' '), 'title' => $PROGRAM_NAME }
|
174
|
+
end
|
169
175
|
end
|
170
176
|
|
171
177
|
# Build host ips, except localhost and loopback
|
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.
|
4
|
+
version: 0.2.28
|
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: 2020-09-
|
37
|
+
date: 2020-09-19 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: bundler
|
metadata.gz.sig
CHANGED
Binary file
|