logstash-core 5.0.0.alpha2.snapshot1-java → 5.0.0.alpha2.snapshot2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of logstash-core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/logstash/version.rb +1 -1
- data/lib/logstash-core/version.rb +1 -1
- data/logstash-core.gemspec +1 -1
- data/spec/static/i18n_spec.rb +25 -0
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eb6c2c950ece7dfa8bff8e470a006e6fe2fb18a
|
4
|
+
data.tar.gz: a9f8b462b9648e2b2e0740ee308cde7843e8ff0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63aad0c89e475690b429cb582fab138fc5d86680cae1279379a044b195465a01a7ae8bef45f84523d4939647462294bc7eb326596b7723c325805903e60f2387
|
7
|
+
data.tar.gz: cc29c516d56a0d435262a7989480eca295f9f787aa19941723ede215a13f231108feb44f734d6c54957e39362772a7db825be79753b952ccafa6affba42f8917
|
data/lib/logstash/version.rb
CHANGED
data/logstash-core.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.require_paths = ["lib"]
|
18
18
|
gem.version = LOGSTASH_CORE_VERSION.gsub(/-/, '.')
|
19
19
|
|
20
|
-
gem.add_runtime_dependency "logstash-core-event-java", "~> 5.0.0.alpha2.
|
20
|
+
gem.add_runtime_dependency "logstash-core-event-java", "~> 5.0.0.alpha2.snapshot2"
|
21
21
|
|
22
22
|
gem.add_runtime_dependency "cabin", "~> 0.8.0" #(Apache 2.0 license)
|
23
23
|
gem.add_runtime_dependency "pry", "~> 0.10.1" #(Ruby license)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
require "i18n"
|
4
|
+
|
5
|
+
I18N_T_REGEX = Regexp.new('I18n.t.+?"(.+?)"')
|
6
|
+
|
7
|
+
describe I18n do
|
8
|
+
context "when using en.yml" do
|
9
|
+
glob_path = File.join(LogStash::Environment::LOGSTASH_HOME, "logstash-*", "lib", "**", "*.rb")
|
10
|
+
|
11
|
+
Dir.glob(glob_path).each do |file_name|
|
12
|
+
|
13
|
+
context "in file \"#{file_name}\"" do
|
14
|
+
File.foreach(file_name) do |line|
|
15
|
+
next unless (match = line.match(I18N_T_REGEX))
|
16
|
+
line = $INPUT_LINE_NUMBER
|
17
|
+
key = match[1]
|
18
|
+
it "in line #{line} the \"#{key}\" key should exist" do
|
19
|
+
expect(I18n.exists?(key)).to be_truthy
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0.alpha2.
|
4
|
+
version: 5.0.0.alpha2.snapshot2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-28 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: 5.0.0.alpha2.
|
18
|
+
version: 5.0.0.alpha2.snapshot2
|
19
19
|
name: logstash-core-event-java
|
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: 5.0.0.alpha2.
|
26
|
+
version: 5.0.0.alpha2.snapshot2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -436,6 +436,7 @@ files:
|
|
436
436
|
- spec/logstash/util/worker_threads_default_printer_spec.rb
|
437
437
|
- spec/logstash/util/wrapped_synchronous_queue_spec.rb
|
438
438
|
- spec/logstash/util_spec.rb
|
439
|
+
- spec/static/i18n_spec.rb
|
439
440
|
- spec/support/matchers.rb
|
440
441
|
- spec/support/mocks_classes.rb
|
441
442
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
@@ -511,5 +512,6 @@ test_files:
|
|
511
512
|
- spec/logstash/util/worker_threads_default_printer_spec.rb
|
512
513
|
- spec/logstash/util/wrapped_synchronous_queue_spec.rb
|
513
514
|
- spec/logstash/util_spec.rb
|
515
|
+
- spec/static/i18n_spec.rb
|
514
516
|
- spec/support/matchers.rb
|
515
517
|
- spec/support/mocks_classes.rb
|