diffend 0.2.28 → 0.2.29
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/lib/diffend.rb +1 -1
- data/lib/diffend/voting/versions/remote.rb +9 -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: 9c978cd44ce6f9c52de63870eea0ccf2534b851a1034318447d60afb08998479
|
|
4
|
+
data.tar.gz: 220475fd0f2f47b16ebd3882cd602e45475d0f1dc92cb9cdc21f41996940c305
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb0966e3eecffe872a833ad135004ff177fa3d8e1930dec40533fc62fc71af4047f075512b6df9cb1f898d3654ce2303ce9fcee17c55c1dd1d212da3f27d249d
|
|
7
|
+
data.tar.gz: 7d2baad903c1425fdfe8f9f64f2cd741f9de01a504333307e82bab6066d36b968177549d23846e3bca66a87532687058ba39c78b802e8cd3bfc0f3406820c644
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased][master]
|
|
4
4
|
|
|
5
|
+
## [0.2.29] (2020-09-21)
|
|
6
|
+
- fix command reporting on jruby ([#48](https://github.com/diffend-io/diffend-ruby/pull/48))
|
|
7
|
+
|
|
5
8
|
## [0.2.28] (2020-09-19)
|
|
6
9
|
- start `Diffend::Monitor` only if not in development or test ([#44](https://github.com/diffend-io/diffend-ruby/pull/44))
|
|
7
10
|
- better host command expose ([#45](https://github.com/diffend-io/diffend-ruby/pull/45))
|
|
@@ -64,7 +67,8 @@
|
|
|
64
67
|
|
|
65
68
|
- initial release
|
|
66
69
|
|
|
67
|
-
[master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.
|
|
70
|
+
[master]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.29...HEAD
|
|
71
|
+
[0.2.29]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.28...v0.2.29
|
|
68
72
|
[0.2.28]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.27...v0.2.28
|
|
69
73
|
[0.2.27]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.26...v0.2.27
|
|
70
74
|
[0.2.26]: https://github.com/diffend-io/diffend-ruby/compare/v0.2.25...v0.2.26
|
data/Gemfile.lock
CHANGED
data/lib/diffend.rb
CHANGED
|
@@ -163,10 +163,15 @@ module Diffend
|
|
|
163
163
|
# @return [Hash]
|
|
164
164
|
def build_host_command
|
|
165
165
|
if File.exist?($PROGRAM_NAME)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
if defined?(JRUBY_VERSION)
|
|
167
|
+
name = $PROGRAM_NAME.split('/').last.strip
|
|
168
|
+
command = "#{name} #{ARGV.join(' ')}"
|
|
169
|
+
else
|
|
170
|
+
array = `ps -p #{Process.pid} -o command=`.strip.split(' ')
|
|
171
|
+
array.shift if array.first.end_with?('bin/ruby')
|
|
172
|
+
name = array.shift.split('/').last.strip
|
|
173
|
+
command = "#{name} #{array.join(' ')}"
|
|
174
|
+
end
|
|
170
175
|
|
|
171
176
|
{ 'name' => command, 'title' => '' }
|
|
172
177
|
else
|
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.29
|
|
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-21 00:00:00.000000000 Z
|
|
38
38
|
dependencies:
|
|
39
39
|
- !ruby/object:Gem::Dependency
|
|
40
40
|
name: bundler
|
metadata.gz.sig
CHANGED
|
Binary file
|