analyzer 1.0.4 → 1.0.5

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
- SHA1:
3
- metadata.gz: 27c549d7c66d301b3e7818b389244ed9654a614f
4
- data.tar.gz: a39bbd56120c727ee653480dc2f8dc10c4e07ba8
2
+ SHA256:
3
+ metadata.gz: 796165e7b6c23de07d5176ae67c8cd9aa7dc8266afa35164fd243e47ca3a9725
4
+ data.tar.gz: 39a312f376d0254f9643672a54a5a7927c379c84e74e020fae6a2c06775e25a1
5
5
  SHA512:
6
- metadata.gz: 41ce4e1d9270e967ccd87a6771fca815f3dee9d786a7e1f26acc00a5285774f54050b6ba0dd3cf8eae64b1a9302cfbc7d6bd9d539e0f219c670abd6c203d6a19
7
- data.tar.gz: c1f23f76d50b8c3b6f03a01391000724aa6997d5db59c7bb18e5356fa28d8d91b6a1d8bd77b5bbbee2f722a21a0207ad881890a7554a728d5821e6593c3b9dee
6
+ metadata.gz: abe9db44c008c686a0cf72a591852b8ffd0136ab13034a40afca9c908ea0a5671d55b7f7898eccf26b0a319c4653e659253606e343c8cf036e1050440e3298a3
7
+ data.tar.gz: 69f966495135331c331599167126f4bc9efb358ed49f75d5c6e872b9eb90370dac9d27ec258f8b0f623fc92a6292610ba9eba145a880fffddb93b8afc1405dda
data/lib/analyzer/rss.rb CHANGED
@@ -39,8 +39,8 @@ class Analyzer
39
39
  # Pull memory from `ps` command, takes more resources and can freeze
40
40
  # in low memory situations
41
41
  def ps_memory
42
- KB_TO_BYTE * BigDecimal.new(`ps -o rss= -p #{@pid}`)
42
+ KB_TO_BYTE * BigDecimal(`ps -o rss= -p #{@pid}`)
43
43
  end
44
44
 
45
45
  end
46
- end
46
+ end
@@ -1,3 +1,3 @@
1
1
  class Analyzer
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2021-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.7'
27
- description:
27
+ description:
28
28
  email:
29
29
  - jonbracy@gmail.com
30
30
  executables:
@@ -49,7 +49,7 @@ licenses:
49
49
  - MIT
50
50
  metadata:
51
51
  source_code_uri: https://github.com/malomalo/analyzer
52
- post_install_message:
52
+ post_install_message:
53
53
  rdoc_options: []
54
54
  require_paths:
55
55
  - lib
@@ -65,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  requirements:
67
67
  - gnuplot
68
- rubyforge_project:
69
- rubygems_version: 2.6.11
70
- signing_key:
68
+ rubygems_version: 3.2.22
69
+ signing_key:
71
70
  specification_version: 4
72
71
  summary: A Performance analyzer for Ruby
73
72
  test_files: []