logstash-input-perfmon 0.1.2 → 0.1.3

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
2
  SHA1:
3
- metadata.gz: a02d8e9c2007451db119daba0b7cc49edd7d4d1b
4
- data.tar.gz: 3f883c2fc4e5a85fa1c777f96bb4329aa108d42c
3
+ metadata.gz: 601dbc961227dcfc88ff5824c38e77d07dc3813c
4
+ data.tar.gz: 40e746091821835a2bd829fd8d7462a51bcbc5ca
5
5
  SHA512:
6
- metadata.gz: e30516a092a4e498b3e90289dfe69cea0343f966bed7d1a9eb0e6447f46e00a20e421a0859553a74a4f4cbe85527ebab4adb2d806725d1ea9e9eb6b0c51d26e8
7
- data.tar.gz: f642dc8d47e9573d32e59003aeb6c71e24745a533a1abe30c9888e3a4f5d733047acd37566f45e28022587d875e82253d54fa95b2b4b54556f0db149c09960a9
6
+ metadata.gz: 2f9797ef221c5e1497414437b1c71ee144baf98e24bc02d7192e2ba7544b7a99c68d359849f1bfdda869246ed09a90cb7f97b986c974ecc542d2e178d1d4ecaa
7
+ data.tar.gz: 0a26c01e5250c0d8be8d0cdb3a4d403a8a8250d1f8e966f5d1e9d3389e8af99d321c0586639066b5da38bc77781b8686b5a3a5da268238287e188a7c98246557
data/CHANGELOG.md ADDED
File without changes
data/CONTRIBUTORS ADDED
@@ -0,0 +1,9 @@
1
+ The following is a list of people who have contributed ideas, code, bug
2
+ reports, or in general have helped logstash along its way.
3
+
4
+ Contributors:
5
+
6
+ Note: If you've sent us patches, bug reports, or otherwise contributed to
7
+ Logstash, and you aren't on the list above and want to be, please let us know
8
+ and we'll make sure you're here. Contributions from folks like you are what make
9
+ open source awesome.
data/DEVELOPER.md ADDED
@@ -0,0 +1 @@
1
+ # logstash-input-perfmmon
@@ -19,7 +19,7 @@ class TypeperfWrapper
19
19
  # Adds a counter to the list of counters watched
20
20
  # [counter_name] The path to the counter, such as "\\processor(_total)\\% processor time"
21
21
  def add_counter(counter_name)
22
- raise 'Perfmon counter could not be found.' unless @perfmon_proc_getter.counter_exists?(counter_name)
22
+ raise "Perfmon counter '#{counter_name}' could not be found." unless @perfmon_proc_getter.counter_exists?(counter_name)
23
23
  @counters << counter_name.downcase
24
24
  end
25
25
 
@@ -1,12 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-perfmon'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.3'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Logstash input for Windows Performance Monitor"
6
6
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program. Logstash input for Windows Performance Monitor metrics."
7
7
  s.authors = ["Nick Ramirez"]
8
8
  s.email = 'nickram44@hotmail.com'
9
- s.homepage = "https://github.com/NickMRamirez/logstash-input-perfmon"
9
+ s.homepage = "https://github.com/logstash-plugins/logstash-input-perfmon"
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
@@ -121,7 +121,7 @@ describe 'IntegrationTests' do
121
121
 
122
122
  describe 'add_counter' do
123
123
  it 'raises error when counter is not found' do
124
- expect { wrapper.add_counter('\\Nada(_total)\\% DoesntExist') }.to raise_error 'Perfmon counter could not be found.'
124
+ expect { wrapper.add_counter('\\Nada(_total)\\% DoesntExist') }.to raise_error "Perfmon counter '\\Nada(_total)\\% DoesntExist' could not be found."
125
125
  end
126
126
  end
127
127
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-perfmon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Ramirez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-07 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core
@@ -81,6 +81,9 @@ extensions: []
81
81
  extra_rdoc_files: []
82
82
  files:
83
83
  - ".gitignore"
84
+ - CHANGELOG.md
85
+ - CONTRIBUTORS
86
+ - DEVELOPER.md
84
87
  - Gemfile
85
88
  - LICENSE
86
89
  - README.md
@@ -92,7 +95,7 @@ files:
92
95
  - spec/inputs/perfmon_proc_getter_spec.rb
93
96
  - spec/inputs/perfmon_spec.rb
94
97
  - spec/inputs/typeperf_wrapper_spec.rb
95
- homepage: https://github.com/NickMRamirez/logstash-input-perfmon
98
+ homepage: https://github.com/logstash-plugins/logstash-input-perfmon
96
99
  licenses:
97
100
  - Apache License (2.0)
98
101
  metadata:
@@ -114,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
117
  version: '0'
115
118
  requirements: []
116
119
  rubyforge_project:
117
- rubygems_version: 2.2.3
120
+ rubygems_version: 2.4.5
118
121
  signing_key:
119
122
  specification_version: 4
120
123
  summary: Logstash input for Windows Performance Monitor