diffend 0.2.28 → 0.2.29

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: 0c100adca589f5e4e22488ecc8d12a865b2ec8a5bb6be4bf15f3b4bf5d5ad089
4
- data.tar.gz: 8e5820badb850ee24606874e8de80a8e19114a08276f9fca3933a54e4fb825bc
3
+ metadata.gz: 9c978cd44ce6f9c52de63870eea0ccf2534b851a1034318447d60afb08998479
4
+ data.tar.gz: 220475fd0f2f47b16ebd3882cd602e45475d0f1dc92cb9cdc21f41996940c305
5
5
  SHA512:
6
- metadata.gz: 70b2798f074676511abc75974db24ee116dcbf9fc87983a4cfc6d9e69246c12b0970c376ced03e08a6fb0a9ba09fa9cd11a3da5d728715c6ec676030bd7ebccd
7
- data.tar.gz: fd130a1283b65d6487bab7323eb2a7d7c9d3db6cea7c777e4c7a023f77e9b0d0ee4078cd38c9228fe18b1555ee9e9ec9efd0fa1033a7c8ed5e19859cb8e11970
6
+ metadata.gz: eb0966e3eecffe872a833ad135004ff177fa3d8e1930dec40533fc62fc71af4047f075512b6df9cb1f898d3654ce2303ce9fcee17c55c1dd1d212da3f27d249d
7
+ data.tar.gz: 7d2baad903c1425fdfe8f9f64f2cd741f9de01a504333307e82bab6066d36b968177549d23846e3bca66a87532687058ba39c78b802e8cd3bfc0f3406820c644
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.28...HEAD
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diffend (0.2.28)
4
+ diffend (0.2.29)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -29,7 +29,7 @@
29
29
  # Diffend main namespace
30
30
  module Diffend
31
31
  # Current plugin version
32
- VERSION = '0.2.28'
32
+ VERSION = '0.2.29'
33
33
  # Diffend homepage
34
34
  HOMEPAGE = 'https://diffend.io'
35
35
 
@@ -163,10 +163,15 @@ module Diffend
163
163
  # @return [Hash]
164
164
  def build_host_command
165
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(' ')}"
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.28
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-19 00:00:00.000000000 Z
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