racecar 1.2.0 → 2.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -15
- data/README.md +37 -63
- data/lib/ensure_hash_compact.rb +10 -0
- data/lib/racecar.rb +3 -5
- data/lib/racecar/cli.rb +2 -7
- data/lib/racecar/config.rb +79 -55
- data/lib/racecar/consumer.rb +32 -11
- data/lib/racecar/consumer_set.rb +177 -0
- data/lib/racecar/ctl.rb +6 -9
- data/lib/racecar/pause.rb +55 -0
- data/lib/racecar/runner.rb +189 -119
- data/lib/racecar/version.rb +1 -1
- data/racecar.gemspec +3 -2
- metadata +26 -9
data/lib/racecar/version.rb
CHANGED
data/racecar.gemspec
CHANGED
@@ -21,9 +21,10 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
23
|
spec.add_runtime_dependency "king_konf", "~> 0.3.7"
|
24
|
-
spec.add_runtime_dependency "
|
24
|
+
spec.add_runtime_dependency "rdkafka", "~> 0.6.0"
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", [">= 1.13", "< 3"]
|
27
|
-
spec.add_development_dependency "rake", "
|
27
|
+
spec.add_development_dependency "rake", "> 10.0"
|
28
28
|
spec.add_development_dependency "rspec", "~> 3.0"
|
29
|
+
spec.add_development_dependency "timecop"
|
29
30
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: racecar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: king_konf
|
@@ -26,19 +26,19 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.3.7
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: rdkafka
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 0.6.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: 0.6.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bundler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,14 +63,14 @@ dependencies:
|
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '10.0'
|
76
76
|
- !ruby/object:Gem::Dependency
|
@@ -87,6 +87,20 @@ dependencies:
|
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '3.0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: timecop
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
90
104
|
description:
|
91
105
|
email:
|
92
106
|
- dschierbeck@zendesk.com
|
@@ -112,6 +126,7 @@ files:
|
|
112
126
|
- examples/producing_consumer.rb
|
113
127
|
- exe/racecar
|
114
128
|
- exe/racecarctl
|
129
|
+
- lib/ensure_hash_compact.rb
|
115
130
|
- lib/generators/racecar/consumer_generator.rb
|
116
131
|
- lib/generators/racecar/install_generator.rb
|
117
132
|
- lib/generators/templates/consumer.rb.erb
|
@@ -120,8 +135,10 @@ files:
|
|
120
135
|
- lib/racecar/cli.rb
|
121
136
|
- lib/racecar/config.rb
|
122
137
|
- lib/racecar/consumer.rb
|
138
|
+
- lib/racecar/consumer_set.rb
|
123
139
|
- lib/racecar/ctl.rb
|
124
140
|
- lib/racecar/daemon.rb
|
141
|
+
- lib/racecar/pause.rb
|
125
142
|
- lib/racecar/rails_config_file_loader.rb
|
126
143
|
- lib/racecar/runner.rb
|
127
144
|
- lib/racecar/version.rb
|
@@ -141,9 +158,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
158
|
version: '0'
|
142
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
160
|
requirements:
|
144
|
-
- - "
|
161
|
+
- - ">"
|
145
162
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
163
|
+
version: 1.3.1
|
147
164
|
requirements: []
|
148
165
|
rubyforge_project:
|
149
166
|
rubygems_version: 2.7.6
|