logstash-devutils 1.0.2-java → 1.1.0-java
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf89ebe536a356fc1e416963b01ad71c45e0dea3
|
4
|
+
data.tar.gz: 742264e06310a926019f954d40ece84bd50cbed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44e5c372227c650f4bfa13def94fa21315af358424d415cd652cae12305956e0420bb1b10a56ff2a483965d014ccd6347df580070e7fff8375eb7ab8472f05a8
|
7
|
+
data.tar.gz: 02b9af7e77a99a3175033fa20def92bbcc52738212969f2a3778cc2878630f531feecf4658b73d4b89a96bf689eff8839689211351bfb47cbe7576bb09f5138c
|
@@ -0,0 +1,10 @@
|
|
1
|
+
status = error
|
2
|
+
name = LogstashRspecConfig
|
3
|
+
|
4
|
+
appender.console.type = Console
|
5
|
+
appender.console.name = console
|
6
|
+
appender.console.layout.type = PatternLayout
|
7
|
+
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c] %m%n
|
8
|
+
|
9
|
+
rootLogger.level = error
|
10
|
+
rootLogger.appenderRef.console.ref = console
|
@@ -20,6 +20,12 @@ require "insist"
|
|
20
20
|
|
21
21
|
Thread.abort_on_exception = true
|
22
22
|
|
23
|
+
# set log4j configuration
|
24
|
+
unless java.lang.System.getProperty("log4j.configurationFile")
|
25
|
+
log4j2_properties = "#{File.dirname(__FILE__)}/log4j2.properties"
|
26
|
+
LogStash::Logging::Logger::initialize(log4j2_properties)
|
27
|
+
end
|
28
|
+
|
23
29
|
$TESTING = true
|
24
30
|
if RUBY_VERSION < "1.9.2"
|
25
31
|
$stderr.puts "Ruby 1.9.2 or later is required. (You are running: " + RUBY_VERSION + ")"
|
@@ -27,8 +33,9 @@ if RUBY_VERSION < "1.9.2"
|
|
27
33
|
end
|
28
34
|
|
29
35
|
if ENV["TEST_DEBUG"]
|
30
|
-
|
31
|
-
|
36
|
+
LogStash::Logging::Logger::configure_logging("WARN")
|
37
|
+
else
|
38
|
+
LogStash::Logging::Logger::configure_logging("OFF")
|
32
39
|
end
|
33
40
|
|
34
41
|
# removed the strictness check, it did not seem to catch anything
|
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 = "1.0
|
9
|
+
spec.version = "1.1.0"
|
10
10
|
spec.licenses = ["Apache License (2.0)"]
|
11
11
|
spec.summary = "logstash-devutils"
|
12
12
|
spec.description = "logstash-devutils"
|
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.1.0
|
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-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/logstash/devutils/rake.rb
|
162
162
|
- lib/logstash/devutils/rake/publish.rake
|
163
163
|
- lib/logstash/devutils/rake/vendor.rake
|
164
|
+
- lib/logstash/devutils/rspec/log4j2.properties
|
164
165
|
- lib/logstash/devutils/rspec/logstash_helpers.rb
|
165
166
|
- lib/logstash/devutils/rspec/shared_examples.rb
|
166
167
|
- lib/logstash/devutils/rspec/spec_helper.rb
|