logstash-devutils 0.0.22-java → 1.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/devutils/rspec/spec_helper.rb +3 -3
- data/logstash-devutils.gemspec +4 -3
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ea183e32dcde96469673ca6446567b83b097966
|
4
|
+
data.tar.gz: 8a0153336ae01075d1ae1c99db53ea75a990e0ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec58e8a4af752240f3224500e9385ff4b9ca966323728e88bf29e7229762d14c9a65e0eca11e44b7531f8d8d1b5ce950ef08505d82d975763106453058a1e52
|
7
|
+
data.tar.gz: 985497a672aa338880dad6db4986613637f1c1255ab24132349450e2dfe2b23d027380bdfdbf044cfa4cb6e51fe70f0684bfa0335dc32a48683744a88ad8d67d
|
@@ -35,14 +35,14 @@ puts("Using Accessor#strict_set for specs")
|
|
35
35
|
# mokey path LogStash::Event to use strict_set in tests
|
36
36
|
# ugly, I know, but this avoids adding conditionals in performance critical section
|
37
37
|
class LogStash::Event
|
38
|
-
alias_method :setval, :
|
39
|
-
def
|
38
|
+
alias_method :setval, :set
|
39
|
+
def set(str, value)
|
40
40
|
if str == TIMESTAMP && !value.is_a?(LogStash::Timestamp)
|
41
41
|
raise TypeError, "The field '@timestamp' must be a LogStash::Timestamp, not a #{value.class} (#{value})"
|
42
42
|
end
|
43
43
|
LogStash::Event.validate_value(value)
|
44
44
|
setval(str, value)
|
45
|
-
end
|
45
|
+
end
|
46
46
|
end
|
47
47
|
|
48
48
|
RSpec.configure do |config|
|
data/logstash-devutils.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
files = %x{git ls-files}.split("\n")
|
7
7
|
|
8
8
|
spec.name = "logstash-devutils"
|
9
|
-
spec.version = "0.0
|
9
|
+
spec.version = "1.0.0"
|
10
10
|
spec.summary = "logstash-devutils"
|
11
11
|
spec.description = "logstash-devutils"
|
12
12
|
spec.license = "Apache 2.0"
|
@@ -18,12 +18,13 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.email = ["jls@semicomplete.com"]
|
19
19
|
spec.homepage = "https://github.com/elasticsearch/logstash-devutils"
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.add_runtime_dependency "rspec", "~> 3.0" # MIT License
|
21
|
+
spec.add_runtime_dependency "rspec", "~> 3.1.0" # MIT License
|
23
22
|
spec.add_runtime_dependency "rspec-wait" # MIT License
|
23
|
+
spec.platform = "java"
|
24
24
|
spec.add_runtime_dependency "rake" # MIT License
|
25
25
|
spec.add_runtime_dependency "gem_publisher" # MIT License
|
26
26
|
spec.add_runtime_dependency "minitar" # GPL2|Ruby License
|
27
|
+
spec.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
|
27
28
|
|
28
29
|
# Should be removed as soon as the plugins are using insist by their
|
29
30
|
# own, and not relying on being required by the spec helper.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-devutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
@@ -15,7 +15,7 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version:
|
18
|
+
version: 3.1.0
|
19
19
|
name: rspec
|
20
20
|
prerelease: false
|
21
21
|
type: :runtime
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.0'
|
89
|
+
name: logstash-core-plugin-api
|
90
|
+
prerelease: false
|
91
|
+
type: :runtime
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
requirement: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|