win32-pdh 0.1.4 → 0.1.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/win32/pdh/counter.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e46f18c5fb8a3022b81c9e861ae65aeb1a9a86478935efb3868c51b635f851de
4
- data.tar.gz: 4f8f6c8800700eda846aff5e96ad83760ed6c5996e94cea9cb49c01e7bbf8dbf
3
+ metadata.gz: 6872c9a89fb6afd0797fa8c7806e70d11101e1eeb1e2fad070d6db049787c124
4
+ data.tar.gz: b12361dac0a241bffa26a3fdbcd54355ad5103bb0b73083214d0541891f9f56d
5
5
  SHA512:
6
- metadata.gz: 000ff8756967f84acc1bd96d0408f426bab086bf81a2357923652aacf123d8a6e7a6409f14e32d78a7538d7e35f30bbe04d825b5a7f023f2bf15d0a2f73e4d0c
7
- data.tar.gz: af0cfc18ec75c26400e1ee089f253a99e86c7c836124ff867ae3a49fe742b4b88d8265a73504e8c626316bcb53a1404522aeaa7f587ca4714b303290831b1157
6
+ metadata.gz: d02e87bf962c6e8cb456b8384e6315d58a710a000a5709fa2344bea3f1195b98872ade41b5086d81607f9cacf161d68b7d5e1ec4263e22c66f0c513f395006a1
7
+ data.tar.gz: e63bbe55c54fe477944b7e7242ee676e2c90952ff2dae8c9c920df3f09f566513a5a35b6cc18f44b3414db7546f5e5a750e5f209bb2fe312ca4a6932ab03ec4b
@@ -58,7 +58,7 @@ module Win32
58
58
  )
59
59
  end
60
60
 
61
- attr_accessor :type, :version, :status, :scale, :default_scale, :full_path, :machine_name, :object_name, :instance_name, :instance_index, :counter_name, :explain_text
61
+ attr_accessor :type, :version, :status, :scale, :default_scale, :full_path, :machine_name, :object_name, :instance_name, :parent_instance, :instance_index, :counter_name, :explain_text
62
62
 
63
63
  ##
64
64
  # Initializes the counter from a query and a path. This usually won't be
@@ -127,6 +127,7 @@ module Win32
127
127
  @machine_name = Pdh.read_cwstr(counter_path[:szMachineName]).freeze
128
128
  @object_name = Pdh.read_cwstr(counter_path[:szObjectName]).freeze
129
129
  @instance_name = Pdh.read_cwstr(counter_path[:szInstanceName]).freeze
130
+ @parent_instance = Pdh.read_cwstr(counter_path[:szParentInstance]).freeze
130
131
  @instance_index = counter_path[:dwInstanceIndex]
131
132
  @counter_name = Pdh.read_cwstr(counter_path[:szCounterName]).freeze
132
133
  @explain_text = Pdh.read_cwstr(info[:szExplainText]).freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-pdh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor C. Richberger