logstash-core 1.5.0.rc4.snapshot2-java → 1.5.0.snapshot1-java

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of logstash-core might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c172a7e60e5b827f266a9c31118630f53af974b
4
- data.tar.gz: 4e60b82765c5e3bb2a34533edc8ec5cec562708f
3
+ metadata.gz: 743d8972e12c8d8eea45b4835d3aa61fd3552670
4
+ data.tar.gz: 072a5f662af302799cbb330fb4a61aac962c3355
5
5
  SHA512:
6
- metadata.gz: 4623f3461e89f628f0557c3659cbea9fd64dc5a2269703582cd85190db6d68c5bf6692ca890b3467cecce0d1aeb69c525781102237ec45c24db4ff5021381dd9
7
- data.tar.gz: 25734226e0102e256893c616de68b03a9fe7b23f4404b77652a6359b69140898fe355b8414c8ecc4664247fe285f1bf2ec12b7602ed43370ce688ea2084dc6e5
6
+ metadata.gz: 9b491439a41e88c027ecf0c3639d8183b894e38561802b0c1aa40a2c2a6080e6a25fc1203b8878af4dd7ef81ab0c771a43becb040519672f14feb5edd758923d
7
+ data.tar.gz: 525d34020708de68d2623eecfed261448864ad0f0818553e5b5d9b2c1c99274ce7f441a96446d99517d80932eb7c88f688afcb53c1b0ff92cd6e3c31098e5f65
@@ -141,6 +141,7 @@ class LogStash::Event
141
141
  @metadata_accessors.set(fieldref[METADATA_BRACKETS.length .. -1], value)
142
142
  elsif fieldref == METADATA
143
143
  @metadata = value
144
+ @metadata_accessors = LogStash::Util::Accessors.new(@metadata)
144
145
  else
145
146
  @accessors.set(fieldref, value)
146
147
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  # The version of logstash.
3
- LOGSTASH_VERSION = "1.5.0.rc4.snapshot2"
3
+ LOGSTASH_VERSION = "1.5.0.snapshot1"
4
4
 
5
5
  # Note to authors: this should not include dashes because 'gem' barfs if
6
6
  # you include a dash in the version string.
@@ -48,7 +48,4 @@ Gem::Specification.new do |gem|
48
48
  # https://github.com/rubinius/rubinius/issues/2632#issuecomment-26954565
49
49
  gem.add_runtime_dependency "racc"
50
50
  end
51
-
52
- gem.add_development_dependency "rspec", "~> 2.14" #(MIT license)
53
- gem.add_development_dependency "logstash-devutils", "~> 0"
54
51
  end
@@ -38,6 +38,11 @@ describe LogStash::Event do
38
38
  expect(subject["[foo][bar]"] = "zab").to eq("zab")
39
39
  expect(subject["[foo][bar]"]).to eq("zab")
40
40
  end
41
+
42
+ it "allow to set the @metadata key to a hash" do
43
+ subject["@metadata"] = { "action" => "index" }
44
+ expect(subject["[@metadata][action]"]).to eq("index")
45
+ end
41
46
  end
42
47
 
43
48
  context "#sprintf" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.rc4.snapshot2
4
+ version: 1.5.0.snapshot1
5
5
  platform: java
6
6
  authors:
7
7
  - Jordan Sissel
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-05 00:00:00.000000000 Z
13
+ date: 2015-05-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cabin
@@ -138,34 +138,6 @@ dependencies:
138
138
  version: 0.2.8
139
139
  prerelease: false
140
140
  type: :runtime
141
- - !ruby/object:Gem::Dependency
142
- name: rspec
143
- version_requirements: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - ~>
146
- - !ruby/object:Gem::Version
147
- version: '2.14'
148
- requirement: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ~>
151
- - !ruby/object:Gem::Version
152
- version: '2.14'
153
- prerelease: false
154
- type: :development
155
- - !ruby/object:Gem::Dependency
156
- name: logstash-devutils
157
- version_requirements: !ruby/object:Gem::Requirement
158
- requirements:
159
- - - ~>
160
- - !ruby/object:Gem::Version
161
- version: '0'
162
- requirement: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ~>
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- prerelease: false
168
- type: :development
169
141
  description: The core components of logstash, the scalable log and event management tool
170
142
  email:
171
143
  - jls@semicomplete.com
@@ -266,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
238
  version: 1.3.1
267
239
  requirements: []
268
240
  rubyforge_project:
269
- rubygems_version: 2.4.5
241
+ rubygems_version: 2.2.2
270
242
  signing_key:
271
243
  specification_version: 4
272
244
  summary: logstash-core - The core components of logstash