logstash-output-gemfire 0.1.4 → 2.0.0

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: e92d9736c2306b3fc6e2d20907d7005e4ee7382a
4
- data.tar.gz: ca0ffe35fd731af8fc3191e7f61ca10f34a979bd
3
+ metadata.gz: 42b972027c0715f330a2d0d5171f5f4b2bb26fb4
4
+ data.tar.gz: 6fd82b12028f5821288f843173823fe8277a919d
5
5
  SHA512:
6
- metadata.gz: 8e96ccca5d67a2aa27ca48c9da03a030b6e22dcf9bc8dd5faa33b7e1eebf3046631075ddb4b6b8f08b731d6e0bbdc2c7f10f45725c754ea9b45888ddb2343f13
7
- data.tar.gz: 35f13db5046cfb7e1aa7c2acdf14268b71e2455a0bf22aa00aefd616b4ef473825945c2052201e408d25a8d76035cdc612d53ae8b937495217d3218e1af945be
6
+ metadata.gz: 5da98d98356210a3b8325118847bde336968da7baf2c5b9c61e082a5845762e5333610571ef621bb140017c5569afed56eecc1bd5c24b314be1267dc1223d84b
7
+ data.tar.gz: 1a3816203d3a38b3c424bc0425f3211e742d1a8f0723d511fa76186cc8d36acb4f62362cd7c7d26e05d4b581581966fedb4d802ef37d5a57907fade0937d618f
data/CHANGELOG.md ADDED
File without changes
data/NOTICE.TXT ADDED
@@ -0,0 +1,5 @@
1
+ Elasticsearch
2
+ Copyright 2012-2015 Elasticsearch
3
+
4
+ This product includes software developed by The Apache Software
5
+ Foundation (http://www.apache.org/).
data/README.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
6
6
 
7
7
  ## Documentation
8
8
 
9
- Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
9
+ Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
16
- Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com mailing list.
16
+ Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
17
17
 
18
18
  ## Developing
19
19
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -61,14 +61,10 @@ class LogStash::Outputs::Gemfire < LogStash::Outputs::Base
61
61
  @logger.debug("Created cache #{@cache.inspect}")
62
62
 
63
63
  rescue => e
64
- if terminating?
65
- return
66
- else
67
- @logger.error("Gemfire connection error (during connect), will reconnect",
68
- :exception => e, :backtrace => e.backtrace)
69
- sleep(1)
70
- retry
71
- end
64
+ @logger.error("Gemfire connection error (during connect), will reconnect",
65
+ :exception => e, :backtrace => e.backtrace)
66
+ Stud.stoppable_sleep(1) { stop? }
67
+ retry if !stop?
72
68
  end
73
69
 
74
70
  @region = @cache.getRegion(@region_name);
@@ -95,9 +91,8 @@ class LogStash::Outputs::Gemfire < LogStash::Outputs::Base
95
91
  end
96
92
 
97
93
  public
98
- def teardown
94
+ def close
99
95
  @cache.close if @cache
100
96
  @cache = nil
101
- finished
102
- end # def teardown
97
+ end # def close
103
98
  end # class LogStash::Outputs::Gemfire
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-gemfire'
4
- s.version = '0.1.4'
4
+ s.version = '2.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "$summary"
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"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = `git ls-files`.split($\)+::Dir.glob('vendor/*')
14
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
24
24
  s.add_runtime_dependency 'jar-dependencies', '~> 0.1.7'
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
metadata CHANGED
@@ -1,78 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-gemfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
14
+ name: logstash-core
15
+ version_requirements: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - '>='
17
+ - - ~>
17
18
  - !ruby/object:Gem::Version
18
- version: 1.4.0
19
- - - <
19
+ version: 2.0.0.snapshot
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ~>
20
23
  - !ruby/object:Gem::Version
21
- version: 2.0.0
22
- name: logstash-core
24
+ version: 2.0.0.snapshot
23
25
  prerelease: false
24
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: jar-dependencies
25
29
  version_requirements: !ruby/object:Gem::Requirement
26
30
  requirements:
27
- - - '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.4.0
30
- - - <
31
+ - - ~>
31
32
  - !ruby/object:Gem::Version
32
- version: 2.0.0
33
- - !ruby/object:Gem::Dependency
33
+ version: 0.1.7
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - ~>
37
37
  - !ruby/object:Gem::Version
38
38
  version: 0.1.7
39
- name: jar-dependencies
40
39
  prerelease: false
41
40
  type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: logstash-devutils
42
43
  version_requirements: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - ~>
45
+ - - '>='
45
46
  - !ruby/object:Gem::Version
46
- version: 0.1.7
47
- - !ruby/object:Gem::Dependency
47
+ version: '0'
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - '>='
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
- name: logstash-devutils
54
53
  prerelease: false
55
54
  type: :development
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - '>='
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
55
  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
62
56
  email: info@elastic.co
63
57
  executables: []
64
58
  extensions: []
65
59
  extra_rdoc_files: []
66
60
  files:
67
- - .gitignore
61
+ - lib/logstash/outputs/gemfire.rb
62
+ - spec/outputs/gemfire_spec.rb
63
+ - logstash-output-gemfire.gemspec
64
+ - CHANGELOG.md
65
+ - README.md
68
66
  - CONTRIBUTORS
69
67
  - Gemfile
70
68
  - LICENSE
71
- - README.md
72
- - Rakefile
73
- - lib/logstash/outputs/gemfire.rb
74
- - logstash-output-gemfire.gemspec
75
- - spec/outputs/gemfire_spec.rb
69
+ - NOTICE.TXT
76
70
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
77
71
  licenses:
78
72
  - Apache License (2.0)
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
4
- vendor
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- @files=[]
2
-
3
- task :default do
4
- system("rake -T")
5
- end
6
-
7
- require "logstash/devutils/rake"