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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc2d4988d59993aae6be2eefe9bfa741bf4c1566
4
- data.tar.gz: c26b68180b950eb5e07f0830a0319e7f7208cd54
3
+ metadata.gz: 303e7ad43643a8b8557e664611fc52607fbca7b4
4
+ data.tar.gz: 8f3826bcfe1288235c96c30d8385840e950a550e
5
5
  SHA512:
6
- metadata.gz: 7a4445804a562bec3831235b52f55a201bdb17920fe42e0d645a94989ea09203743d648f31558384434dc645f440457264c341ddaa6c3eb6338b50b65f81c7fb
7
- data.tar.gz: f4e4f1eb7acb97d6fb4708aa4b6acc45e0bb02f86afce2abc0ffa38272f82c20e61760ae387f11ede97cdf4f8eb5c81c4b5bf3759355477b46d3ff7cc01e8ae6
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
- puts("Using Accessor#strict_set for specs")
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
@@ -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.1"
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.license = "Apache 2.0"
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.1
4
+ version: 1.0.2
5
5
  platform: java
6
6
  authors:
7
- - Jordan Sissel
7
+ - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-11 00:00:00.000000000 Z
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: https://github.com/elasticsearch/logstash-devutils
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: []