deimos-ruby 1.3.0.pre.beta3 → 1.3.0.pre.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +87 -1
- data/Rakefile +1 -1
- data/deimos-ruby.gemspec +1 -0
- data/lib/deimos/version.rb +1 -1
- data/lib/tasks/deimos.rake +1 -1
- data/spec/rake_spec.rb +19 -0
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f45c9dfd2ee1104f6f2959358c9d60892c77ff881da57333023869ecde5e7fe
|
4
|
+
data.tar.gz: 3a5d8b16495d169028b660e15c91449ec4484dda40a8f84c2a520fcf580edc62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b61f02c57a6c6b53673a46a648d239aa9b72a13aa5df047e6372cac11e0ed035bf8f5251a710d19bb744176da3ff1c742b5a3a806dc069151ee4dcee366cdce7
|
7
|
+
data.tar.gz: a1cdb60928f9e1e9dd72677b2d7aaa5c04131b28ca084bd98126225a69e3af2d19d8a101f2dd1ded5aab143a6f562a6833d6dc310438ed775e82e05ff143223a
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## UNRELEASED
|
9
9
|
|
10
|
+
# [1.3.0-beta4] - 2019-12-02
|
11
|
+
- Fixed bug where by running `rake deimos:start` without
|
12
|
+
specifying a producer backend would crash.
|
13
|
+
|
10
14
|
# [1.3.0-beta3] - 2019-11-26
|
11
15
|
- Fixed bug in TestHelpers where key_decoder was not stubbed out.
|
12
16
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
deimos-ruby (1.3.0.pre.
|
4
|
+
deimos-ruby (1.3.0.pre.beta4)
|
5
5
|
avro-patches (~> 0.3)
|
6
6
|
avro_turf (~> 0.8)
|
7
7
|
phobos (~> 1.8.2.pre.beta2)
|
@@ -10,6 +10,32 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
+
actioncable (5.2.0)
|
14
|
+
actionpack (= 5.2.0)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailer (5.2.0)
|
18
|
+
actionpack (= 5.2.0)
|
19
|
+
actionview (= 5.2.0)
|
20
|
+
activejob (= 5.2.0)
|
21
|
+
mail (~> 2.5, >= 2.5.4)
|
22
|
+
rails-dom-testing (~> 2.0)
|
23
|
+
actionpack (5.2.0)
|
24
|
+
actionview (= 5.2.0)
|
25
|
+
activesupport (= 5.2.0)
|
26
|
+
rack (~> 2.0)
|
27
|
+
rack-test (>= 0.6.3)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
+
actionview (5.2.0)
|
31
|
+
activesupport (= 5.2.0)
|
32
|
+
builder (~> 3.1)
|
33
|
+
erubi (~> 1.4)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
36
|
+
activejob (5.2.0)
|
37
|
+
activesupport (= 5.2.0)
|
38
|
+
globalid (>= 0.3.6)
|
13
39
|
activemodel (5.2.0)
|
14
40
|
activesupport (= 5.2.0)
|
15
41
|
activerecord (5.2.0)
|
@@ -18,6 +44,10 @@ GEM
|
|
18
44
|
arel (>= 9.0)
|
19
45
|
activerecord-import (0.28.1)
|
20
46
|
activerecord (>= 3.2)
|
47
|
+
activestorage (5.2.0)
|
48
|
+
actionpack (= 5.2.0)
|
49
|
+
activerecord (= 5.2.0)
|
50
|
+
marcel (~> 0.3.1)
|
21
51
|
activesupport (5.2.0)
|
22
52
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
53
|
i18n (>= 0.7, < 2)
|
@@ -32,19 +62,24 @@ GEM
|
|
32
62
|
avro_turf (0.11.0)
|
33
63
|
avro (>= 1.7.7, < 1.10)
|
34
64
|
excon (~> 0.45)
|
65
|
+
builder (3.2.3)
|
35
66
|
coderay (1.1.2)
|
36
67
|
concurrent-ruby (1.1.3)
|
37
68
|
concurrent-ruby-ext (1.1.3)
|
38
69
|
concurrent-ruby (= 1.1.3)
|
70
|
+
crass (1.0.5)
|
39
71
|
ddtrace (0.22.0)
|
40
72
|
msgpack
|
41
73
|
diff-lcs (1.3)
|
42
74
|
digest-crc (0.4.1)
|
43
75
|
dogstatsd-ruby (4.2.0)
|
76
|
+
erubi (1.9.0)
|
44
77
|
excon (0.69.1)
|
45
78
|
exponential-backoff (0.0.4)
|
46
79
|
ffi (1.11.1)
|
47
80
|
formatador (0.2.5)
|
81
|
+
globalid (0.4.2)
|
82
|
+
activesupport (>= 4.2.0)
|
48
83
|
guard (2.14.2)
|
49
84
|
formatador (>= 0.2.4)
|
50
85
|
listen (>= 2.7, < 4.0)
|
@@ -73,13 +108,26 @@ GEM
|
|
73
108
|
logging (2.2.2)
|
74
109
|
little-plugger (~> 1.1)
|
75
110
|
multi_json (~> 1.10)
|
111
|
+
loofah (2.4.0)
|
112
|
+
crass (~> 1.0.2)
|
113
|
+
nokogiri (>= 1.5.9)
|
76
114
|
lumberjack (1.0.12)
|
115
|
+
mail (2.7.1)
|
116
|
+
mini_mime (>= 0.1.1)
|
117
|
+
marcel (0.3.3)
|
118
|
+
mimemagic (~> 0.3.2)
|
77
119
|
method_source (0.9.0)
|
120
|
+
mimemagic (0.3.3)
|
121
|
+
mini_mime (1.0.2)
|
122
|
+
mini_portile2 (2.4.0)
|
78
123
|
minitest (5.11.3)
|
79
124
|
msgpack (1.2.10)
|
80
125
|
multi_json (1.14.1)
|
81
126
|
mysql2 (0.5.2)
|
82
127
|
nenv (0.3.0)
|
128
|
+
nio4r (2.5.2)
|
129
|
+
nokogiri (1.10.5)
|
130
|
+
mini_portile2 (~> 2.4.0)
|
83
131
|
notiffany (0.1.1)
|
84
132
|
nenv (~> 0.1)
|
85
133
|
shellany (~> 0.0)
|
@@ -98,6 +146,33 @@ GEM
|
|
98
146
|
pry (0.11.3)
|
99
147
|
coderay (~> 1.1.0)
|
100
148
|
method_source (~> 0.9.0)
|
149
|
+
rack (2.0.7)
|
150
|
+
rack-test (1.1.0)
|
151
|
+
rack (>= 1.0, < 3)
|
152
|
+
rails (5.2.0)
|
153
|
+
actioncable (= 5.2.0)
|
154
|
+
actionmailer (= 5.2.0)
|
155
|
+
actionpack (= 5.2.0)
|
156
|
+
actionview (= 5.2.0)
|
157
|
+
activejob (= 5.2.0)
|
158
|
+
activemodel (= 5.2.0)
|
159
|
+
activerecord (= 5.2.0)
|
160
|
+
activestorage (= 5.2.0)
|
161
|
+
activesupport (= 5.2.0)
|
162
|
+
bundler (>= 1.3.0)
|
163
|
+
railties (= 5.2.0)
|
164
|
+
sprockets-rails (>= 2.0.0)
|
165
|
+
rails-dom-testing (2.0.3)
|
166
|
+
activesupport (>= 4.2.0)
|
167
|
+
nokogiri (>= 1.6)
|
168
|
+
rails-html-sanitizer (1.3.0)
|
169
|
+
loofah (~> 2.3)
|
170
|
+
railties (5.2.0)
|
171
|
+
actionpack (= 5.2.0)
|
172
|
+
activesupport (= 5.2.0)
|
173
|
+
method_source
|
174
|
+
rake (>= 0.8.7)
|
175
|
+
thor (>= 0.18.1, < 2.0)
|
101
176
|
rainbow (3.0.0)
|
102
177
|
rake (10.5.0)
|
103
178
|
rb-fsevent (0.10.2)
|
@@ -132,12 +207,22 @@ GEM
|
|
132
207
|
ruby-progressbar (1.10.1)
|
133
208
|
ruby_dep (1.5.0)
|
134
209
|
shellany (0.0.1)
|
210
|
+
sprockets (4.0.0)
|
211
|
+
concurrent-ruby (~> 1.0)
|
212
|
+
rack (> 1, < 3)
|
213
|
+
sprockets-rails (3.2.1)
|
214
|
+
actionpack (>= 4.0)
|
215
|
+
activesupport (>= 4.0)
|
216
|
+
sprockets (>= 3.0.0)
|
135
217
|
sqlite3 (1.3.13)
|
136
218
|
thor (0.20.3)
|
137
219
|
thread_safe (0.3.6)
|
138
220
|
tzinfo (1.2.5)
|
139
221
|
thread_safe (~> 0.1)
|
140
222
|
unicode-display_width (1.6.0)
|
223
|
+
websocket-driver (0.7.1)
|
224
|
+
websocket-extensions (>= 0.1.0)
|
225
|
+
websocket-extensions (0.1.4)
|
141
226
|
|
142
227
|
PLATFORMS
|
143
228
|
ruby
|
@@ -154,6 +239,7 @@ DEPENDENCIES
|
|
154
239
|
guard-rubocop (~> 1)
|
155
240
|
mysql2 (~> 0.5)
|
156
241
|
pg (~> 1.1)
|
242
|
+
rails (~> 5.2)
|
157
243
|
rake (~> 10)
|
158
244
|
rspec (~> 3)
|
159
245
|
rspec_junit_formatter (~> 0.3)
|
data/Rakefile
CHANGED
data/deimos-ruby.gemspec
CHANGED
@@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_development_dependency('guard-rubocop', '~> 1')
|
34
34
|
spec.add_development_dependency('mysql2', '~> 0.5')
|
35
35
|
spec.add_development_dependency('pg', '~> 1.1')
|
36
|
+
spec.add_development_dependency('rails', '~> 5.2')
|
36
37
|
spec.add_development_dependency('rake', '~> 10')
|
37
38
|
spec.add_development_dependency('rspec', '~> 3')
|
38
39
|
spec.add_development_dependency('rspec_junit_formatter', '~>0.3')
|
data/lib/deimos/version.rb
CHANGED
data/lib/tasks/deimos.rake
CHANGED
@@ -7,7 +7,7 @@ namespace :deimos do
|
|
7
7
|
desc 'Starts Deimos in the rails environment'
|
8
8
|
task start: :environment do
|
9
9
|
Deimos.configure do |config|
|
10
|
-
config.publish_backend = :
|
10
|
+
config.publish_backend = :kafka if config.publish_backend == :kafka_async
|
11
11
|
end
|
12
12
|
ENV['DEIMOS_RAKE_TASK'] = 'true'
|
13
13
|
STDOUT.sync = true
|
data/spec/rake_spec.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'rails'
|
5
|
+
Rails.logger = Logger.new(STDOUT)
|
6
|
+
load("#{__dir__}/../lib/tasks/deimos.rake")
|
7
|
+
|
8
|
+
if Rake.application.lookup(:environment).nil?
|
9
|
+
Rake::Task.define_task(:environment)
|
10
|
+
end
|
11
|
+
|
12
|
+
describe 'Rakefile' do # rubocop:disable RSpec/DescribeClass
|
13
|
+
it 'should start listeners' do
|
14
|
+
runner = instance_double(Phobos::CLI::Runner)
|
15
|
+
expect(Phobos::CLI::Runner).to receive(:new).and_return(runner)
|
16
|
+
expect(runner).to receive(:run!)
|
17
|
+
Rake::Task['deimos:start'].invoke
|
18
|
+
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deimos-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0.pre.
|
4
|
+
version: 1.3.0.pre.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro-patches
|
@@ -206,6 +206,20 @@ dependencies:
|
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '1.1'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '5.2'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '5.2'
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: rake
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -382,6 +396,7 @@ files:
|
|
382
396
|
- spec/phobos.yml
|
383
397
|
- spec/producer_spec.rb
|
384
398
|
- spec/publish_backend_spec.rb
|
399
|
+
- spec/rake_spec.rb
|
385
400
|
- spec/schemas/com/my-namespace/MySchema-key.avsc
|
386
401
|
- spec/schemas/com/my-namespace/MySchema.avsc
|
387
402
|
- spec/schemas/com/my-namespace/MySchemaWithBooleans.avsc
|
@@ -443,6 +458,7 @@ test_files:
|
|
443
458
|
- spec/phobos.yml
|
444
459
|
- spec/producer_spec.rb
|
445
460
|
- spec/publish_backend_spec.rb
|
461
|
+
- spec/rake_spec.rb
|
446
462
|
- spec/schemas/com/my-namespace/MySchema-key.avsc
|
447
463
|
- spec/schemas/com/my-namespace/MySchema.avsc
|
448
464
|
- spec/schemas/com/my-namespace/MySchemaWithBooleans.avsc
|