logstash-devutils 1.0.1-java → 1.0.2-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 +1 -13
- data/logstash-devutils.gemspec +16 -6
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 303e7ad43643a8b8557e664611fc52607fbca7b4
|
4
|
+
data.tar.gz: 8f3826bcfe1288235c96c30d8385840e950a550e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19b8344bc207986c2ec0bb10f6ae8d68a0e2e6cb9b674e494576abb017f38e1ba1eab1a53475cdee50408d1d289766e5719313a1254d6a9fcb788c1b779f2737
|
7
|
+
data.tar.gz: 13a561b93e15519884b7013a7b91e1407e8633e98738146f80f7ad59856dce4ed20e20281e53a7059094d1930372ef07df5b9cae220311feb7d1b6b167f0e469
|
@@ -31,19 +31,7 @@ if ENV["TEST_DEBUG"]
|
|
31
31
|
$logger.level = :debug
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
|
-
# mokey path LogStash::Event to use strict_set in tests
|
36
|
-
# ugly, I know, but this avoids adding conditionals in performance critical section
|
37
|
-
class LogStash::Event
|
38
|
-
alias_method :setval, :set
|
39
|
-
def set(str, value)
|
40
|
-
if str == TIMESTAMP && !value.is_a?(LogStash::Timestamp)
|
41
|
-
raise TypeError, "The field '@timestamp' must be a LogStash::Timestamp, not a #{value.class} (#{value})"
|
42
|
-
end
|
43
|
-
LogStash::Event.validate_value(value)
|
44
|
-
setval(str, value)
|
45
|
-
end
|
46
|
-
end
|
34
|
+
# removed the strictness check, it did not seem to catch anything
|
47
35
|
|
48
36
|
RSpec.configure do |config|
|
49
37
|
# for now both include and extend are required because the newly refactored "input" helper method need to be visible in a "it" block
|
data/logstash-devutils.gemspec
CHANGED
@@ -6,22 +6,32 @@ 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 = "1.0.
|
9
|
+
spec.version = "1.0.2"
|
10
|
+
spec.licenses = ["Apache License (2.0)"]
|
10
11
|
spec.summary = "logstash-devutils"
|
11
12
|
spec.description = "logstash-devutils"
|
12
|
-
spec.
|
13
|
+
spec.authors = ["Elastic"]
|
14
|
+
spec.email = "info@elastic.co"
|
15
|
+
spec.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
|
13
16
|
|
14
17
|
spec.files = files
|
15
18
|
spec.require_paths << "lib"
|
16
19
|
|
17
|
-
spec.authors = ["Jordan Sissel"]
|
18
|
-
spec.email = ["jls@semicomplete.com"]
|
19
|
-
spec.homepage = "https://github.com/elasticsearch/logstash-devutils"
|
20
|
-
|
21
20
|
spec.platform = "java"
|
22
21
|
|
22
|
+
# Please note that devutils is meant to be used as a developement dependency from other
|
23
|
+
# plugins/gems. As such, devutils OWN development dependencies (any add_development_dependency)
|
24
|
+
# will be ignored when bundling a plugin/gem which uses/depends on devutils. This is
|
25
|
+
# why all devutils own dependencies should normally be specified as add_runtime_dependency.
|
26
|
+
|
27
|
+
# It is important to specify rspec "~> 3.0" and not "~> 3.0.0" (or any other version to the patch level)
|
28
|
+
# otherwise the version constrain will have to be met up to the minor release version and only allow
|
29
|
+
# patch level differences. In other words, "~> 3.0.0" will allow 3.0.1 but not 3.1.
|
30
|
+
# This comment has been added because this has caused weird dependencies issues since we
|
31
|
+
# update rspec quite freely upon new minor releases.
|
23
32
|
spec.add_runtime_dependency "rspec", "~> 3.0" # MIT License
|
24
33
|
spec.add_runtime_dependency "rspec-wait" # MIT License
|
34
|
+
|
25
35
|
spec.add_runtime_dependency "rake" # MIT License
|
26
36
|
spec.add_runtime_dependency "gem_publisher" # MIT License
|
27
37
|
spec.add_runtime_dependency "minitar" # GPL2|Ruby License
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-devutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,8 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
description: logstash-devutils
|
154
|
-
email:
|
155
|
-
- jls@semicomplete.com
|
154
|
+
email: info@elastic.co
|
156
155
|
executables: []
|
157
156
|
extensions: []
|
158
157
|
extra_rdoc_files: []
|
@@ -166,9 +165,9 @@ files:
|
|
166
165
|
- lib/logstash/devutils/rspec/shared_examples.rb
|
167
166
|
- lib/logstash/devutils/rspec/spec_helper.rb
|
168
167
|
- logstash-devutils.gemspec
|
169
|
-
homepage:
|
168
|
+
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
170
169
|
licenses:
|
171
|
-
- Apache 2.0
|
170
|
+
- Apache License (2.0)
|
172
171
|
metadata: {}
|
173
172
|
post_install_message:
|
174
173
|
rdoc_options: []
|