logstash-devutils 0.0.14-java → 0.0.15-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: 2214feae55ba49ba7b17dd306e4576caeafe0b80
4
- data.tar.gz: bf5b64a3a061fc9a2d1bb39aea8966b2c64059f3
3
+ metadata.gz: 6d89b1491b157c8b9f842f0307ad3aea8c409d23
4
+ data.tar.gz: be5c959b4adf357587a4fc3b8f8a917fb4d7a3c6
5
5
  SHA512:
6
- metadata.gz: a25af26f85a08034baf15dea4e6063bbd6db45d176ebfbca744a5162ae0f8ab5b6636d88aef40092ab74728959877c00206079180f8bc1ecd45a5fdfbf002da2
7
- data.tar.gz: 18f66c4a9b06755c01df3d3c1f9334cf1194ceff2f1df64fb794d801fece7c0441e90c76ebea22a69bdec5fe3ca3d75b52e955b95965bc7a7d704373f420b448
6
+ metadata.gz: ad4d6207506324b9645ff6a677d008068e2ba54bd0ff3cb30c98cb7e03bacaedc497c87d0be201e29384b30aa5e716548ca06a2f25bdcb302b605770c34e3ec1
7
+ data.tar.gz: 1a2128dbcb97c957cac70c8a737086d908d8a822c1b50f6537a7bd805eeb36b5fc14f2dc268fc401282278d8c0e8f0b0e8a4dd33d4f2eedb989f7d7e54764687
@@ -1,9 +1,17 @@
1
1
  require "logstash/agent"
2
2
  require "logstash/pipeline"
3
3
  require "logstash/event"
4
+ require "stud/try"
5
+ require "rspec/expectations"
4
6
  require "thread"
5
7
 
6
8
  module LogStashHelper
9
+ DEFAULT_NUMBER_OF_TRY = 5
10
+ DEFAULT_EXCEPTIONS_FOR_TRY = [RSpec::Expectations::ExpectationNotMetError]
11
+
12
+ def try(number_of_try = DEFAULT_NUMBER_OF_TRY, &block)
13
+ Stud.try(number_of_try.times, DEFAULT_EXCEPTIONS_FOR_TRY, &block)
14
+ end
7
15
 
8
16
  def config(configstr)
9
17
  let(:config) { configstr }
@@ -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 = "0.0.14"
9
+ spec.version = "0.0.15"
10
10
  spec.summary = "logstash-devutils"
11
11
  spec.description = "logstash-devutils"
12
12
  spec.license = "Apache 2.0"
@@ -28,4 +28,6 @@ Gem::Specification.new do |spec|
28
28
  # own, and not relying on being required by the spec helper.
29
29
  # (some plugins does it, some use insist throw spec_helper)
30
30
  spec.add_runtime_dependency "insist", "1.0.0" # (Apache 2.0 license)
31
+ spec.add_runtime_dependency "kramdown"
32
+ spec.add_runtime_dependency "stud", " >= 0.0.20"
31
33
  end
metadata CHANGED
@@ -1,85 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-devutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: java
6
6
  authors:
7
7
  - Jordan Sissel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-08 00:00:00.000000000 Z
11
+ date: 2015-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ~>
17
+ - !ruby/object:Gem::Version
18
+ version: 3.1.0
14
19
  name: rspec
20
+ prerelease: false
21
+ type: :runtime
15
22
  version_requirements: !ruby/object:Gem::Requirement
16
23
  requirements:
17
24
  - - ~>
18
25
  - !ruby/object:Gem::Version
19
26
  version: 3.1.0
27
+ - !ruby/object:Gem::Dependency
20
28
  requirement: !ruby/object:Gem::Requirement
21
29
  requirements:
22
- - - ~>
30
+ - - '>='
23
31
  - !ruby/object:Gem::Version
24
- version: 3.1.0
32
+ version: '0'
33
+ name: rake
25
34
  prerelease: false
26
35
  type: :runtime
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
36
  version_requirements: !ruby/object:Gem::Requirement
30
37
  requirements:
31
38
  - - '>='
32
39
  - !ruby/object:Gem::Version
33
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
34
42
  requirement: !ruby/object:Gem::Requirement
35
43
  requirements:
36
44
  - - '>='
37
45
  - !ruby/object:Gem::Version
38
46
  version: '0'
47
+ name: gem_publisher
39
48
  prerelease: false
40
49
  type: :runtime
41
- - !ruby/object:Gem::Dependency
42
- name: gem_publisher
43
50
  version_requirements: !ruby/object:Gem::Requirement
44
51
  requirements:
45
52
  - - '>='
46
53
  - !ruby/object:Gem::Version
47
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
48
56
  requirement: !ruby/object:Gem::Requirement
49
57
  requirements:
50
58
  - - '>='
51
59
  - !ruby/object:Gem::Version
52
60
  version: '0'
61
+ name: minitar
53
62
  prerelease: false
54
63
  type: :runtime
55
- - !ruby/object:Gem::Dependency
56
- name: minitar
57
64
  version_requirements: !ruby/object:Gem::Requirement
58
65
  requirements:
59
66
  - - '>='
60
67
  - !ruby/object:Gem::Version
61
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
62
70
  requirement: !ruby/object:Gem::Requirement
63
71
  requirements:
64
- - - '>='
72
+ - - '='
65
73
  - !ruby/object:Gem::Version
66
- version: '0'
74
+ version: 1.0.0
75
+ name: insist
67
76
  prerelease: false
68
77
  type: :runtime
69
- - !ruby/object:Gem::Dependency
70
- name: insist
71
78
  version_requirements: !ruby/object:Gem::Requirement
72
79
  requirements:
73
80
  - - '='
74
81
  - !ruby/object:Gem::Version
75
82
  version: 1.0.0
83
+ - !ruby/object:Gem::Dependency
76
84
  requirement: !ruby/object:Gem::Requirement
77
85
  requirements:
78
- - - '='
86
+ - - '>='
79
87
  - !ruby/object:Gem::Version
80
- version: 1.0.0
88
+ version: '0'
89
+ name: kramdown
90
+ prerelease: false
91
+ type: :runtime
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: 0.0.20
103
+ name: stud
81
104
  prerelease: false
82
105
  type: :runtime
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.0.20
83
111
  description: logstash-devutils
84
112
  email:
85
113
  - jls@semicomplete.com
@@ -116,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
144
  version: '0'
117
145
  requirements: []
118
146
  rubyforge_project:
119
- rubygems_version: 2.4.5
147
+ rubygems_version: 2.4.8
120
148
  signing_key:
121
149
  specification_version: 4
122
150
  summary: logstash-devutils