beez 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +24 -0
- data/.travis.yml +10 -0
- data/CHANGELOG.md +27 -2
- data/Gemfile +3 -3
- data/Gemfile.lock +135 -105
- data/README.md +138 -68
- data/Rakefile +2 -2
- data/assets/images/bee.png +0 -0
- data/assets/images/order-process.png +0 -0
- data/assets/images/zeebe-operate.jpeg +0 -0
- data/beez.gemspec +23 -20
- data/bin/console +3 -3
- data/examples/workers.rb +12 -13
- data/exe/beez +6 -5
- data/lib/beez/cli.rb +35 -30
- data/lib/beez/client.rb +33 -20
- data/lib/beez/configuration.rb +2 -3
- data/lib/beez/launcher.rb +0 -1
- data/lib/beez/processor.rb +28 -8
- data/lib/beez/rails.rb +2 -4
- data/lib/beez/supervisor.rb +1 -2
- data/lib/beez/version.rb +1 -1
- data/lib/beez/worker.rb +5 -7
- data/lib/beez.rb +2 -4
- metadata +59 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf59a4ba981f7ec3427d3a6b29f1203e97fca819e544a978ef0f2b5c6290894
|
4
|
+
data.tar.gz: 33845e5d488d6ef388aeaf2b7cc550e556438b6a5bc3323544795da27b1eab0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c96667d7390ab8d74c04ef3b630c0771e7eca9d6b5374c4aa1510d459bd8934ee5e67f0707d99399241223a486465a43e76d5c5b2f2cf18a743c1989e22a23d3
|
7
|
+
data.tar.gz: b7f1c5a26d55df07b14f58cc4613a6085ac6dfe30226c7f1207fb8cb150888d89f312fcea003745166893f0eaa844fb2dfb82a8357ba45edf57c5cb80ad2c2f3
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
Style/FrozenStringLiteralComment:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Style/Documentation:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Naming/AccessorMethodName:
|
8
|
+
Exclude:
|
9
|
+
- "lib/beez/worker.rb"
|
10
|
+
|
11
|
+
Metrics/MethodLength:
|
12
|
+
Description: "Avoid methods longer than 15 lines of code."
|
13
|
+
Max: 15
|
14
|
+
|
15
|
+
Metrics/BlockLength:
|
16
|
+
Exclude:
|
17
|
+
- "**/*.gemspec"
|
18
|
+
- "spec/**/*"
|
19
|
+
|
20
|
+
AllCops:
|
21
|
+
SuggestExtensions: false
|
22
|
+
NewCops: disable
|
23
|
+
Exclude:
|
24
|
+
- "spec/dummy/**/*"
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
-
|
1
|
+
# Changelog
|
2
2
|
|
3
|
-
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
|
10
|
+
## [0.2.0]
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
|
14
|
+
- Upgraded `zeebe-client` to be compatible with Zeebe `>= 1.0.0`
|
15
|
+
- [BREAKING] Rename `Beez::Client.create_workflow_instance` into `create_process_instance`
|
16
|
+
- [BREAKING] Rename `Beez::Client.deploy_workflow` into `deploy_process`
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- Fix a typo in the code base when requiring a ruby file
|
21
|
+
|
22
|
+
## [0.1.0] - 2020-07-18
|
23
|
+
|
24
|
+
- First release 🎆
|
25
|
+
|
26
|
+
[unreleased]: https://github.com/gottfrois/beez/compare/v0.2.0...HEAD
|
27
|
+
[0.2.0]: https://github.com/gottfrois/beez/compare/v0.1.0...0.2.0
|
28
|
+
[0.1.0]: https://github.com/gottfrois/beez/releases/tag/v0.1.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,162 +1,189 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
beez (0.
|
4
|
+
beez (0.2.0)
|
5
5
|
concurrent-ruby (~> 1.0)
|
6
6
|
zeebe-client (~> 0.7)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (6.
|
12
|
-
actionpack (= 6.
|
11
|
+
actioncable (6.1.4.4)
|
12
|
+
actionpack (= 6.1.4.4)
|
13
|
+
activesupport (= 6.1.4.4)
|
13
14
|
nio4r (~> 2.0)
|
14
15
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (6.
|
16
|
-
actionpack (= 6.
|
17
|
-
activejob (= 6.
|
18
|
-
activerecord (= 6.
|
19
|
-
activestorage (= 6.
|
20
|
-
activesupport (= 6.
|
16
|
+
actionmailbox (6.1.4.4)
|
17
|
+
actionpack (= 6.1.4.4)
|
18
|
+
activejob (= 6.1.4.4)
|
19
|
+
activerecord (= 6.1.4.4)
|
20
|
+
activestorage (= 6.1.4.4)
|
21
|
+
activesupport (= 6.1.4.4)
|
21
22
|
mail (>= 2.7.1)
|
22
|
-
actionmailer (6.
|
23
|
-
actionpack (= 6.
|
24
|
-
actionview (= 6.
|
25
|
-
activejob (= 6.
|
23
|
+
actionmailer (6.1.4.4)
|
24
|
+
actionpack (= 6.1.4.4)
|
25
|
+
actionview (= 6.1.4.4)
|
26
|
+
activejob (= 6.1.4.4)
|
27
|
+
activesupport (= 6.1.4.4)
|
26
28
|
mail (~> 2.5, >= 2.5.4)
|
27
29
|
rails-dom-testing (~> 2.0)
|
28
|
-
actionpack (6.
|
29
|
-
actionview (= 6.
|
30
|
-
activesupport (= 6.
|
31
|
-
rack (~> 2.0, >= 2.0.
|
30
|
+
actionpack (6.1.4.4)
|
31
|
+
actionview (= 6.1.4.4)
|
32
|
+
activesupport (= 6.1.4.4)
|
33
|
+
rack (~> 2.0, >= 2.0.9)
|
32
34
|
rack-test (>= 0.6.3)
|
33
35
|
rails-dom-testing (~> 2.0)
|
34
36
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
-
actiontext (6.
|
36
|
-
actionpack (= 6.
|
37
|
-
activerecord (= 6.
|
38
|
-
activestorage (= 6.
|
39
|
-
activesupport (= 6.
|
37
|
+
actiontext (6.1.4.4)
|
38
|
+
actionpack (= 6.1.4.4)
|
39
|
+
activerecord (= 6.1.4.4)
|
40
|
+
activestorage (= 6.1.4.4)
|
41
|
+
activesupport (= 6.1.4.4)
|
40
42
|
nokogiri (>= 1.8.5)
|
41
|
-
actionview (6.
|
42
|
-
activesupport (= 6.
|
43
|
+
actionview (6.1.4.4)
|
44
|
+
activesupport (= 6.1.4.4)
|
43
45
|
builder (~> 3.1)
|
44
46
|
erubi (~> 1.4)
|
45
47
|
rails-dom-testing (~> 2.0)
|
46
48
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
-
activejob (6.
|
48
|
-
activesupport (= 6.
|
49
|
+
activejob (6.1.4.4)
|
50
|
+
activesupport (= 6.1.4.4)
|
49
51
|
globalid (>= 0.3.6)
|
50
|
-
activemodel (6.
|
51
|
-
activesupport (= 6.
|
52
|
-
activerecord (6.
|
53
|
-
activemodel (= 6.
|
54
|
-
activesupport (= 6.
|
55
|
-
activestorage (6.
|
56
|
-
actionpack (= 6.
|
57
|
-
activejob (= 6.
|
58
|
-
activerecord (= 6.
|
59
|
-
|
60
|
-
|
52
|
+
activemodel (6.1.4.4)
|
53
|
+
activesupport (= 6.1.4.4)
|
54
|
+
activerecord (6.1.4.4)
|
55
|
+
activemodel (= 6.1.4.4)
|
56
|
+
activesupport (= 6.1.4.4)
|
57
|
+
activestorage (6.1.4.4)
|
58
|
+
actionpack (= 6.1.4.4)
|
59
|
+
activejob (= 6.1.4.4)
|
60
|
+
activerecord (= 6.1.4.4)
|
61
|
+
activesupport (= 6.1.4.4)
|
62
|
+
marcel (~> 1.0.0)
|
63
|
+
mini_mime (>= 1.1.0)
|
64
|
+
activesupport (6.1.4.4)
|
61
65
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
-
i18n (>=
|
63
|
-
minitest (
|
64
|
-
tzinfo (~>
|
65
|
-
zeitwerk (~> 2.
|
66
|
+
i18n (>= 1.6, < 2)
|
67
|
+
minitest (>= 5.1)
|
68
|
+
tzinfo (~> 2.0)
|
69
|
+
zeitwerk (~> 2.3)
|
70
|
+
ast (2.4.2)
|
66
71
|
builder (3.2.4)
|
67
72
|
coderay (1.1.3)
|
68
|
-
concurrent-ruby (1.1.
|
73
|
+
concurrent-ruby (1.1.9)
|
69
74
|
crass (1.0.6)
|
70
|
-
diff-lcs (1.
|
71
|
-
erubi (1.
|
72
|
-
globalid (0.
|
73
|
-
activesupport (>=
|
74
|
-
google-protobuf (3.
|
75
|
-
googleapis-common-protos-types (1.0
|
76
|
-
google-protobuf (~> 3.
|
77
|
-
grpc (1.
|
78
|
-
google-protobuf (~> 3.
|
75
|
+
diff-lcs (1.5.0)
|
76
|
+
erubi (1.10.0)
|
77
|
+
globalid (1.0.0)
|
78
|
+
activesupport (>= 5.0)
|
79
|
+
google-protobuf (3.21.9)
|
80
|
+
googleapis-common-protos-types (1.4.0)
|
81
|
+
google-protobuf (~> 3.14)
|
82
|
+
grpc (1.50.0)
|
83
|
+
google-protobuf (~> 3.21)
|
79
84
|
googleapis-common-protos-types (~> 1.0)
|
80
|
-
i18n (1.8.
|
85
|
+
i18n (1.8.11)
|
81
86
|
concurrent-ruby (~> 1.0)
|
82
|
-
loofah (2.
|
87
|
+
loofah (2.13.0)
|
83
88
|
crass (~> 1.0.2)
|
84
89
|
nokogiri (>= 1.5.9)
|
85
90
|
mail (2.7.1)
|
86
91
|
mini_mime (>= 0.1.1)
|
87
|
-
marcel (0.
|
88
|
-
mimemagic (~> 0.3.2)
|
92
|
+
marcel (1.0.2)
|
89
93
|
method_source (1.0.0)
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
94
|
+
mini_mime (1.1.2)
|
95
|
+
mini_portile2 (2.8.0)
|
96
|
+
minitest (5.15.0)
|
97
|
+
nio4r (2.5.8)
|
98
|
+
nokogiri (1.13.3)
|
99
|
+
mini_portile2 (~> 2.8.0)
|
100
|
+
racc (~> 1.4)
|
101
|
+
parallel (1.21.0)
|
102
|
+
parser (3.1.0.0)
|
103
|
+
ast (~> 2.4.1)
|
104
|
+
pry (0.14.1)
|
98
105
|
coderay (~> 1.1)
|
99
106
|
method_source (~> 1.0)
|
107
|
+
racc (1.6.0)
|
100
108
|
rack (2.2.3)
|
101
109
|
rack-test (1.1.0)
|
102
110
|
rack (>= 1.0, < 3)
|
103
|
-
rails (6.
|
104
|
-
actioncable (= 6.
|
105
|
-
actionmailbox (= 6.
|
106
|
-
actionmailer (= 6.
|
107
|
-
actionpack (= 6.
|
108
|
-
actiontext (= 6.
|
109
|
-
actionview (= 6.
|
110
|
-
activejob (= 6.
|
111
|
-
activemodel (= 6.
|
112
|
-
activerecord (= 6.
|
113
|
-
activestorage (= 6.
|
114
|
-
activesupport (= 6.
|
115
|
-
bundler (>= 1.
|
116
|
-
railties (= 6.
|
111
|
+
rails (6.1.4.4)
|
112
|
+
actioncable (= 6.1.4.4)
|
113
|
+
actionmailbox (= 6.1.4.4)
|
114
|
+
actionmailer (= 6.1.4.4)
|
115
|
+
actionpack (= 6.1.4.4)
|
116
|
+
actiontext (= 6.1.4.4)
|
117
|
+
actionview (= 6.1.4.4)
|
118
|
+
activejob (= 6.1.4.4)
|
119
|
+
activemodel (= 6.1.4.4)
|
120
|
+
activerecord (= 6.1.4.4)
|
121
|
+
activestorage (= 6.1.4.4)
|
122
|
+
activesupport (= 6.1.4.4)
|
123
|
+
bundler (>= 1.15.0)
|
124
|
+
railties (= 6.1.4.4)
|
117
125
|
sprockets-rails (>= 2.0.0)
|
118
126
|
rails-dom-testing (2.0.3)
|
119
127
|
activesupport (>= 4.2.0)
|
120
128
|
nokogiri (>= 1.6)
|
121
|
-
rails-html-sanitizer (1.
|
129
|
+
rails-html-sanitizer (1.4.2)
|
122
130
|
loofah (~> 2.3)
|
123
|
-
railties (6.
|
124
|
-
actionpack (= 6.
|
125
|
-
activesupport (= 6.
|
131
|
+
railties (6.1.4.4)
|
132
|
+
actionpack (= 6.1.4.4)
|
133
|
+
activesupport (= 6.1.4.4)
|
126
134
|
method_source
|
127
|
-
rake (>= 0.
|
128
|
-
thor (
|
135
|
+
rake (>= 0.13)
|
136
|
+
thor (~> 1.0)
|
137
|
+
rainbow (3.1.1)
|
129
138
|
rake (12.3.3)
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
rspec-
|
134
|
-
|
135
|
-
rspec-
|
136
|
-
rspec-
|
139
|
+
regexp_parser (2.2.0)
|
140
|
+
rexml (3.2.5)
|
141
|
+
rspec (3.10.0)
|
142
|
+
rspec-core (~> 3.10.0)
|
143
|
+
rspec-expectations (~> 3.10.0)
|
144
|
+
rspec-mocks (~> 3.10.0)
|
145
|
+
rspec-core (3.10.1)
|
146
|
+
rspec-support (~> 3.10.0)
|
147
|
+
rspec-expectations (3.10.1)
|
137
148
|
diff-lcs (>= 1.2.0, < 2.0)
|
138
|
-
rspec-support (~> 3.
|
139
|
-
rspec-mocks (3.
|
149
|
+
rspec-support (~> 3.10.0)
|
150
|
+
rspec-mocks (3.10.2)
|
140
151
|
diff-lcs (>= 1.2.0, < 2.0)
|
141
|
-
rspec-support (~> 3.
|
142
|
-
rspec-support (3.
|
152
|
+
rspec-support (~> 3.10.0)
|
153
|
+
rspec-support (3.10.3)
|
154
|
+
rubocop (1.24.1)
|
155
|
+
parallel (~> 1.10)
|
156
|
+
parser (>= 3.0.0.0)
|
157
|
+
rainbow (>= 2.2.2, < 4.0)
|
158
|
+
regexp_parser (>= 1.8, < 3.0)
|
159
|
+
rexml
|
160
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
161
|
+
ruby-progressbar (~> 1.7)
|
162
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
163
|
+
rubocop-ast (1.15.1)
|
164
|
+
parser (>= 3.0.1.1)
|
165
|
+
rubocop-rake (0.6.0)
|
166
|
+
rubocop (~> 1.0)
|
167
|
+
rubocop-rspec (2.7.0)
|
168
|
+
rubocop (~> 1.19)
|
169
|
+
ruby-progressbar (1.11.0)
|
143
170
|
sprockets (4.0.2)
|
144
171
|
concurrent-ruby (~> 1.0)
|
145
172
|
rack (> 1, < 3)
|
146
|
-
sprockets-rails (3.2
|
147
|
-
actionpack (>=
|
148
|
-
activesupport (>=
|
173
|
+
sprockets-rails (3.4.2)
|
174
|
+
actionpack (>= 5.2)
|
175
|
+
activesupport (>= 5.2)
|
149
176
|
sprockets (>= 3.0.0)
|
150
|
-
thor (1.
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
websocket-driver (0.7.
|
177
|
+
thor (1.2.1)
|
178
|
+
tzinfo (2.0.4)
|
179
|
+
concurrent-ruby (~> 1.0)
|
180
|
+
unicode-display_width (2.1.0)
|
181
|
+
websocket-driver (0.7.5)
|
155
182
|
websocket-extensions (>= 0.1.0)
|
156
183
|
websocket-extensions (0.1.5)
|
157
|
-
zeebe-client (0.
|
158
|
-
grpc (~> 1.
|
159
|
-
zeitwerk (2.
|
184
|
+
zeebe-client (0.17.0)
|
185
|
+
grpc (~> 1.32)
|
186
|
+
zeitwerk (2.5.3)
|
160
187
|
|
161
188
|
PLATFORMS
|
162
189
|
ruby
|
@@ -168,6 +195,9 @@ DEPENDENCIES
|
|
168
195
|
rails (>= 4)
|
169
196
|
rake (~> 12.0)
|
170
197
|
rspec (~> 3.0)
|
198
|
+
rubocop (~> 1.0)
|
199
|
+
rubocop-rake (~> 0.6)
|
200
|
+
rubocop-rspec (~> 2.0)
|
171
201
|
|
172
202
|
BUNDLED WITH
|
173
203
|
2.1.4
|