logstash-input-eventlog 0.1.6-java → 1.0.0-java

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: f13c329a36f6b929b09ee978a555c75e0e9eab64
4
- data.tar.gz: 43ecd5b9bd0bfb3c5cbc8597ef787262eafec6e2
3
+ metadata.gz: 9b5d5cddfd3573ee431f3ee0f355c2cb8aeb4ada
4
+ data.tar.gz: 535a4b1ad9f7ae67fb1899f0715d03ee1f954004
5
5
  SHA512:
6
- metadata.gz: b0767c8d4d1c883d1a5d720988f10162576cb6658d3c4e37f73944f6bca7abfcc8d75e0265e5ac6ccef0b6a82c906c5e3d1f35f121030efce542191f566ced8b
7
- data.tar.gz: d4d927c303db0878130950cb38256761834b96864c164113f82ccc573fb1713d8823974926c3897dc041639a36c284b82179cd9a81c994e15726f08cb521e94c
6
+ metadata.gz: 58409e6fcf95afbe20478d6b815def0d778a56ad5f972b686cf35969ca31890c5d7c8c92d453579a3b8380fb827fda525623279b0db7d90272713e4d455cd3c7
7
+ data.tar.gz: 0e3f6588673a691bf97fcc4ceaffa411834d886d46edf7039203c5841e1e0c4658a963bf69ec1eab7e276f48e397b6e37aa651f38109fab5120eb6c61e6066f4
@@ -32,7 +32,7 @@ class LogStash::Inputs::EventLog < LogStash::Inputs::Base
32
32
  @hostname = Socket.gethostname
33
33
  @logger.info("Registering input eventlog://#{@hostname}/#{@logfile}")
34
34
 
35
- if RUBY_PLATFORM == "java"
35
+ if LogStash::Environment.jruby?
36
36
  require "jruby-win32ole"
37
37
  else
38
38
  require "win32ole"
@@ -82,7 +82,7 @@ class LogStash::Inputs::EventLog < LogStash::Inputs::Base
82
82
  |property| e[property] = event.send property
83
83
  }
84
84
 
85
- if RUBY_PLATFORM == "java"
85
+ if LogStash::Environment.jruby?
86
86
  # unwrap jruby-win32ole racob data
87
87
  e["InsertionStrings"] = unwrap_racob_variant_array(event.InsertionStrings)
88
88
  data = unwrap_racob_variant_array(event.Data)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-eventlog'
4
- s.version = '0.1.6'
4
+ s.version = '1.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This input will pull events from a Windows Event Log"
7
7
  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"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-eventlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 1.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-22 00:00:00.000000000 Z
11
+ date: 2015-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.1.9
115
+ rubygems_version: 2.2.2
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: This input will pull events from a Windows Event Log