logstash-output-elasticsearch-shield 0.1.1 → 0.1.4

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
  SHA1:
3
- metadata.gz: cb7105df1fd2ded0ff42017e7372ee5b97717ee0
4
- data.tar.gz: bb0a7725de5d0976ca85699c72488d99d9281bef
3
+ metadata.gz: ed969b9251153673f621dec7dad56252ea21b238
4
+ data.tar.gz: 67caa19a04a7fae94eeb1692fafc96f5ee221d8d
5
5
  SHA512:
6
- metadata.gz: 0adfa5279265844472ee9dce009a9644165c8c766dc849599156324c910fae3f5a07a19b28ae7b76d0940d3c1471a2bd6fcf461b7efc39e72d5da98504233b0c
7
- data.tar.gz: 12d4582a005f238aedc97e00c79feb1662d20738528479147d23dd6f2f3db39ab72f0b49936cd187c53def9ea76a68c6b6f951802404bca2f1e7e0e042d8c987
6
+ metadata.gz: c383e1aba20a1e7d43d9679ffde9613a51968420134538899d8d192c78cec96dd27706e3703611329c46b9da91ee911e37fa0d73d344bec59d2948e0aea3ead2
7
+ data.tar.gz: f02f38e07b3eb74513eb783f2bf16293092879df30021240d3fd1da227f0111f49e88ec0f7338a9802e23f2e6a0e2b3d5ad75dd371f364a82784b870d79e4479
@@ -48,8 +48,7 @@ module LogStash::Outputs::ElasticSearch::Shield
48
48
  @protocol = "transport"
49
49
  end
50
50
 
51
- jars = Dir.glob(::File.dirname(__FILE__) + "/../../../../vendor/*.jar")
52
- jars.each {|jar| $CLASSPATH << jar}
51
+ require 'logstash-output-elasticsearch-shield_jars'
53
52
 
54
53
  if @ssl
55
54
  settings['shield.transport.ssl'] = @ssl
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-elasticsearch-shield'
4
- s.version = '0.1.1'
4
+ s.version = '0.1.4'
5
5
  s.licenses = ['SHIELD SOFTWARE LICENSE AGREEMENT']
6
6
  s.summary = "Shield plugin for the Elasticsearch Output"
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"
@@ -13,6 +13,10 @@ Gem::Specification.new do |s|
13
13
  # Files
14
14
  s.files = `git ls-files`.split($\)
15
15
 
16
+ # Shield Jar
17
+ s.requirements << "jar 'org.elasticsearch:elasticsearch-shield', '1.0.0'"
18
+ s.requirements << "repo https://maven.elasticsearch.org/artifactory/releases"
19
+
16
20
  # Tests
17
21
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
18
22
 
@@ -20,7 +24,8 @@ Gem::Specification.new do |s|
20
24
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
25
 
22
26
  # Gem dependencies
23
- s.add_runtime_dependency 'logstash-output-elasticsearch', '<= 0.1.9'
27
+ s.add_runtime_dependency 'logstash-output-elasticsearch', '~> 0.1'
28
+ s.add_runtime_dependency 'jar-dependencies', ['>= 0.1.7', '~> 0.1']
24
29
 
25
30
  s.add_development_dependency 'logstash-devutils'
26
31
  end
metadata CHANGED
@@ -1,29 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch-shield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-30 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - <=
16
+ - - ~>
17
17
  - !ruby/object:Gem::Version
18
- version: 0.1.9
18
+ version: '0.1'
19
19
  name: logstash-output-elasticsearch
20
20
  prerelease: false
21
21
  type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - <=
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.9
26
+ version: '0.1'
27
+ - !ruby/object:Gem::Dependency
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.1.7
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: '0.1'
36
+ name: jar-dependencies
37
+ prerelease: false
38
+ type: :runtime
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 0.1.7
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: '0.1'
27
47
  - !ruby/object:Gem::Dependency
28
48
  requirement: !ruby/object:Gem::Requirement
29
49
  requirements:
@@ -52,7 +72,6 @@ files:
52
72
  - lib/logstash/outputs/elasticsearch/shield.rb
53
73
  - logstash-output-elasticsearch-shield.gemspec
54
74
  - spec/outputs/shield_spec.rb
55
- - vendor.json
56
75
  homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
57
76
  licenses:
58
77
  - SHIELD SOFTWARE LICENSE AGREEMENT
@@ -73,9 +92,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
92
  - - '>='
74
93
  - !ruby/object:Gem::Version
75
94
  version: '0'
76
- requirements: []
95
+ requirements:
96
+ - jar 'org.elasticsearch:elasticsearch-shield', '1.0.0'
97
+ - repo https://maven.elasticsearch.org/artifactory/releases
77
98
  rubyforge_project:
78
- rubygems_version: 2.1.9
99
+ rubygems_version: 2.4.5
79
100
  signing_key:
80
101
  specification_version: 4
81
102
  summary: Shield plugin for the Elasticsearch Output
@@ -1,6 +0,0 @@
1
- [
2
- {
3
- "sha1": "ee1f2fcc477d8723c5b9ee4c5cbb1ac7d51f8422",
4
- "url": "https://maven.elasticsearch.org/artifactory/public-releases/org/elasticsearch/elasticsearch-shield/1.0.0/elasticsearch-shield-1.0.0.jar"
5
- }
6
- ]