cloudmunda 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7bc11e07d3ec2aa7bd21257979a3fff0e144e5be7dd15bf40a8a56ad319ab37
4
- data.tar.gz: 2b67cee925aeb9c29cbf1dd7890b388d8a6fc0714307d895e4cf72fb0cd68aeb
3
+ metadata.gz: 936e312ef49af3f00fc9c0d4f97b84ce173a8da8981273791a88977a3bb3cfe8
4
+ data.tar.gz: c9dc23a1bf6142d0bd0e49d22a9261cfcfb197bcc83b7a2ea7600407ea709579
5
5
  SHA512:
6
- metadata.gz: 9923bd0036513545ac6fb1348d27acced388c39d158e8650f2c0106812ce689c5bdfc75d47df18e6edaae1142ae15bbb6f05f1e4309b9cf182a859b9885b350b
7
- data.tar.gz: 1a45f2b528c6ba450467cf4184a2785af77eb0448f583559469c2e5bc78e7d8710120ea22d273b0698213e9f1bb1922d1dc8c74c580546001d261bef20caf370
6
+ metadata.gz: e937d7735c28308809b9c57e23fc4c40ceb6030a3ccce06d186d49848473fe42f40ddbaa9654954aabe4ed06e03616f7dc6c2721d05689cec71bce5ed39a2262
7
+ data.tar.gz: b75a37bc42b05a8c8e947d7243ec4b5d50cd9311d4a42afa16c505f1d04c01f239a0d660a41644ad1c3fda62cd187486628c7f393c3e9e66c61cbc33f3cbd8c7
data/CHANGELOG.md CHANGED
@@ -1,9 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.3] - 2021-02-25
3
+ ## [0.1.4] - 2022-08-09
4
+ - Rework how we use `runs_in_development` together with `type`. This is a very biased approach. What we do from now on if when in your job definition `runs_in_development` equals to true, we will add `-dev` to the type name.
5
+
6
+ ## [0.1.3] - 2022-02-25
4
7
  - Fix bug in `Supervisor#start` that would lead to not gracefully shutting down workers.
5
8
 
6
- ## [0.1.2] - 2021-02-25
9
+ ## [0.1.2] - 2022-02-25
7
10
  - Add class method `runs_in_development` to Cloudmunda::Worker. This way you can run only specific jobs in development.
8
11
 
9
12
  ## [0.1.1] - 2021-12-16
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudmunda (0.1.3)
4
+ cloudmunda (0.1.4)
5
5
  concurrent-ruby (~> 1.0)
6
6
  rest-client (~> 2.0)
7
7
  zeebe-client (~> 0.16)
@@ -9,87 +9,95 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (6.1.4.1)
13
- actionpack (= 6.1.4.1)
14
- activesupport (= 6.1.4.1)
12
+ actioncable (7.0.3.1)
13
+ actionpack (= 7.0.3.1)
14
+ activesupport (= 7.0.3.1)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (6.1.4.1)
18
- actionpack (= 6.1.4.1)
19
- activejob (= 6.1.4.1)
20
- activerecord (= 6.1.4.1)
21
- activestorage (= 6.1.4.1)
22
- activesupport (= 6.1.4.1)
17
+ actionmailbox (7.0.3.1)
18
+ actionpack (= 7.0.3.1)
19
+ activejob (= 7.0.3.1)
20
+ activerecord (= 7.0.3.1)
21
+ activestorage (= 7.0.3.1)
22
+ activesupport (= 7.0.3.1)
23
23
  mail (>= 2.7.1)
24
- actionmailer (6.1.4.1)
25
- actionpack (= 6.1.4.1)
26
- actionview (= 6.1.4.1)
27
- activejob (= 6.1.4.1)
28
- activesupport (= 6.1.4.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.0.3.1)
28
+ actionpack (= 7.0.3.1)
29
+ actionview (= 7.0.3.1)
30
+ activejob (= 7.0.3.1)
31
+ activesupport (= 7.0.3.1)
29
32
  mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
30
36
  rails-dom-testing (~> 2.0)
31
- actionpack (6.1.4.1)
32
- actionview (= 6.1.4.1)
33
- activesupport (= 6.1.4.1)
34
- rack (~> 2.0, >= 2.0.9)
37
+ actionpack (7.0.3.1)
38
+ actionview (= 7.0.3.1)
39
+ activesupport (= 7.0.3.1)
40
+ rack (~> 2.0, >= 2.2.0)
35
41
  rack-test (>= 0.6.3)
36
42
  rails-dom-testing (~> 2.0)
37
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
38
- actiontext (6.1.4.1)
39
- actionpack (= 6.1.4.1)
40
- activerecord (= 6.1.4.1)
41
- activestorage (= 6.1.4.1)
42
- activesupport (= 6.1.4.1)
44
+ actiontext (7.0.3.1)
45
+ actionpack (= 7.0.3.1)
46
+ activerecord (= 7.0.3.1)
47
+ activestorage (= 7.0.3.1)
48
+ activesupport (= 7.0.3.1)
49
+ globalid (>= 0.6.0)
43
50
  nokogiri (>= 1.8.5)
44
- actionview (6.1.4.1)
45
- activesupport (= 6.1.4.1)
51
+ actionview (7.0.3.1)
52
+ activesupport (= 7.0.3.1)
46
53
  builder (~> 3.1)
47
54
  erubi (~> 1.4)
48
55
  rails-dom-testing (~> 2.0)
49
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
50
- activejob (6.1.4.1)
51
- activesupport (= 6.1.4.1)
57
+ activejob (7.0.3.1)
58
+ activesupport (= 7.0.3.1)
52
59
  globalid (>= 0.3.6)
53
- activemodel (6.1.4.1)
54
- activesupport (= 6.1.4.1)
55
- activerecord (6.1.4.1)
56
- activemodel (= 6.1.4.1)
57
- activesupport (= 6.1.4.1)
58
- activestorage (6.1.4.1)
59
- actionpack (= 6.1.4.1)
60
- activejob (= 6.1.4.1)
61
- activerecord (= 6.1.4.1)
62
- activesupport (= 6.1.4.1)
63
- marcel (~> 1.0.0)
60
+ activemodel (7.0.3.1)
61
+ activesupport (= 7.0.3.1)
62
+ activerecord (7.0.3.1)
63
+ activemodel (= 7.0.3.1)
64
+ activesupport (= 7.0.3.1)
65
+ activestorage (7.0.3.1)
66
+ actionpack (= 7.0.3.1)
67
+ activejob (= 7.0.3.1)
68
+ activerecord (= 7.0.3.1)
69
+ activesupport (= 7.0.3.1)
70
+ marcel (~> 1.0)
64
71
  mini_mime (>= 1.1.0)
65
- activesupport (6.1.4.1)
72
+ activesupport (7.0.3.1)
66
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
67
74
  i18n (>= 1.6, < 2)
68
75
  minitest (>= 5.1)
69
76
  tzinfo (~> 2.0)
70
- zeitwerk (~> 2.3)
71
77
  ast (2.4.2)
72
78
  builder (3.2.4)
73
- concurrent-ruby (1.1.9)
79
+ concurrent-ruby (1.1.10)
74
80
  crass (1.0.6)
75
- diff-lcs (1.4.4)
81
+ diff-lcs (1.5.0)
82
+ digest (3.1.0)
76
83
  domain_name (0.5.20190701)
77
84
  unf (>= 0.0.5, < 1.0.0)
78
- erubi (1.10.0)
85
+ erubi (1.11.0)
79
86
  globalid (1.0.0)
80
87
  activesupport (>= 5.0)
81
- google-protobuf (3.19.1-x86_64-darwin)
82
- googleapis-common-protos-types (1.3.0)
88
+ google-protobuf (3.21.4-x86_64-darwin)
89
+ googleapis-common-protos-types (1.3.2)
83
90
  google-protobuf (~> 3.14)
84
- grpc (1.42.0-x86_64-darwin)
85
- google-protobuf (~> 3.18)
91
+ grpc (1.48.0-x86_64-darwin)
92
+ google-protobuf (~> 3.19)
86
93
  googleapis-common-protos-types (~> 1.0)
87
94
  http-accept (1.7.0)
88
- http-cookie (1.0.4)
95
+ http-cookie (1.0.5)
89
96
  domain_name (~> 0.5)
90
- i18n (1.8.11)
97
+ i18n (1.12.0)
91
98
  concurrent-ruby (~> 1.0)
92
- loofah (2.13.0)
99
+ json (2.6.2)
100
+ loofah (2.18.0)
93
101
  crass (~> 1.0.2)
94
102
  nokogiri (>= 1.5.9)
95
103
  mail (2.7.1)
@@ -100,101 +108,112 @@ GEM
100
108
  mime-types-data (~> 3.2015)
101
109
  mime-types-data (3.2022.0105)
102
110
  mini_mime (1.1.2)
103
- minitest (5.14.4)
111
+ minitest (5.16.2)
112
+ net-imap (0.2.3)
113
+ digest
114
+ net-protocol
115
+ strscan
116
+ net-pop (0.1.1)
117
+ digest
118
+ net-protocol
119
+ timeout
120
+ net-protocol (0.1.3)
121
+ timeout
122
+ net-smtp (0.3.1)
123
+ digest
124
+ net-protocol
125
+ timeout
104
126
  netrc (0.11.0)
105
127
  nio4r (2.5.8)
106
- nokogiri (1.12.5-x86_64-darwin)
128
+ nokogiri (1.13.8-x86_64-darwin)
107
129
  racc (~> 1.4)
108
- parallel (1.21.0)
109
- parser (3.0.3.2)
130
+ parallel (1.22.1)
131
+ parser (3.1.2.1)
110
132
  ast (~> 2.4.1)
111
133
  racc (1.6.0)
112
- rack (2.2.3)
113
- rack-test (1.1.0)
114
- rack (>= 1.0, < 3)
115
- rails (6.1.4.1)
116
- actioncable (= 6.1.4.1)
117
- actionmailbox (= 6.1.4.1)
118
- actionmailer (= 6.1.4.1)
119
- actionpack (= 6.1.4.1)
120
- actiontext (= 6.1.4.1)
121
- actionview (= 6.1.4.1)
122
- activejob (= 6.1.4.1)
123
- activemodel (= 6.1.4.1)
124
- activerecord (= 6.1.4.1)
125
- activestorage (= 6.1.4.1)
126
- activesupport (= 6.1.4.1)
134
+ rack (2.2.4)
135
+ rack-test (2.0.2)
136
+ rack (>= 1.3)
137
+ rails (7.0.3.1)
138
+ actioncable (= 7.0.3.1)
139
+ actionmailbox (= 7.0.3.1)
140
+ actionmailer (= 7.0.3.1)
141
+ actionpack (= 7.0.3.1)
142
+ actiontext (= 7.0.3.1)
143
+ actionview (= 7.0.3.1)
144
+ activejob (= 7.0.3.1)
145
+ activemodel (= 7.0.3.1)
146
+ activerecord (= 7.0.3.1)
147
+ activestorage (= 7.0.3.1)
148
+ activesupport (= 7.0.3.1)
127
149
  bundler (>= 1.15.0)
128
- railties (= 6.1.4.1)
129
- sprockets-rails (>= 2.0.0)
150
+ railties (= 7.0.3.1)
130
151
  rails-dom-testing (2.0.3)
131
152
  activesupport (>= 4.2.0)
132
153
  nokogiri (>= 1.6)
133
- rails-html-sanitizer (1.4.2)
154
+ rails-html-sanitizer (1.4.3)
134
155
  loofah (~> 2.3)
135
- railties (6.1.4.1)
136
- actionpack (= 6.1.4.1)
137
- activesupport (= 6.1.4.1)
156
+ railties (7.0.3.1)
157
+ actionpack (= 7.0.3.1)
158
+ activesupport (= 7.0.3.1)
138
159
  method_source
139
- rake (>= 0.13)
160
+ rake (>= 12.2)
140
161
  thor (~> 1.0)
141
- rainbow (3.0.0)
162
+ zeitwerk (~> 2.5)
163
+ rainbow (3.1.1)
142
164
  rake (13.0.6)
143
- regexp_parser (2.2.0)
165
+ regexp_parser (2.5.0)
144
166
  rest-client (2.1.0)
145
167
  http-accept (>= 1.7.0, < 2.0)
146
168
  http-cookie (>= 1.0.2, < 2.0)
147
169
  mime-types (>= 1.16, < 4.0)
148
170
  netrc (~> 0.8)
149
171
  rexml (3.2.5)
150
- rspec (3.10.0)
151
- rspec-core (~> 3.10.0)
152
- rspec-expectations (~> 3.10.0)
153
- rspec-mocks (~> 3.10.0)
154
- rspec-core (3.10.1)
155
- rspec-support (~> 3.10.0)
156
- rspec-expectations (3.10.1)
172
+ rspec (3.11.0)
173
+ rspec-core (~> 3.11.0)
174
+ rspec-expectations (~> 3.11.0)
175
+ rspec-mocks (~> 3.11.0)
176
+ rspec-core (3.11.0)
177
+ rspec-support (~> 3.11.0)
178
+ rspec-expectations (3.11.0)
157
179
  diff-lcs (>= 1.2.0, < 2.0)
158
- rspec-support (~> 3.10.0)
159
- rspec-mocks (3.10.2)
180
+ rspec-support (~> 3.11.0)
181
+ rspec-mocks (3.11.1)
160
182
  diff-lcs (>= 1.2.0, < 2.0)
161
- rspec-support (~> 3.10.0)
162
- rspec-support (3.10.3)
163
- rubocop (1.23.0)
183
+ rspec-support (~> 3.11.0)
184
+ rspec-support (3.11.0)
185
+ rubocop (1.34.1)
186
+ json (~> 2.3)
164
187
  parallel (~> 1.10)
165
- parser (>= 3.0.0.0)
188
+ parser (>= 3.1.2.1)
166
189
  rainbow (>= 2.2.2, < 4.0)
167
190
  regexp_parser (>= 1.8, < 3.0)
168
- rexml
169
- rubocop-ast (>= 1.12.0, < 2.0)
191
+ rexml (>= 3.2.5, < 4.0)
192
+ rubocop-ast (>= 1.20.0, < 2.0)
170
193
  ruby-progressbar (~> 1.7)
171
194
  unicode-display_width (>= 1.4.0, < 3.0)
172
- rubocop-ast (1.15.0)
173
- parser (>= 3.0.1.1)
195
+ rubocop-ast (1.21.0)
196
+ parser (>= 3.1.1.0)
174
197
  ruby-progressbar (1.11.0)
175
- sprockets (4.0.2)
176
- concurrent-ruby (~> 1.0)
177
- rack (> 1, < 3)
178
- sprockets-rails (3.4.1)
179
- actionpack (>= 5.2)
180
- activesupport (>= 5.2)
181
- sprockets (>= 3.0.0)
182
- thor (1.1.0)
183
- tzinfo (2.0.4)
198
+ strscan (3.0.4)
199
+ thor (1.2.1)
200
+ timeout (0.3.0)
201
+ tzinfo (2.0.5)
184
202
  concurrent-ruby (~> 1.0)
185
203
  unf (0.1.4)
186
204
  unf_ext
187
- unf_ext (0.0.8)
188
- unicode-display_width (2.1.0)
205
+ unf_ext (0.0.8.2)
206
+ unicode-display_width (2.2.0)
189
207
  websocket-driver (0.7.5)
190
208
  websocket-extensions (>= 0.1.0)
191
209
  websocket-extensions (0.1.5)
192
- zeebe-client (0.16.1)
210
+ zeebe-client (0.17.0)
193
211
  grpc (~> 1.32)
194
- zeitwerk (2.5.1)
212
+ zeitwerk (2.6.0)
195
213
 
196
214
  PLATFORMS
197
215
  x86_64-darwin-20
216
+ x86_64-darwin-21
198
217
 
199
218
  DEPENDENCIES
200
219
  cloudmunda!
@@ -57,7 +57,7 @@ module Cloudmunda
57
57
  #
58
58
  # @return [String]
59
59
  def get_type
60
- @type
60
+ get_runs_in_development ? "#{@type}-dev" : @type
61
61
  end
62
62
 
63
63
  # Sets the maximum number of jobs to send to the worker for processing at once.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cloudmunda
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmunda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lien Van Den Steen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-25 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.2.31
115
+ rubygems_version: 3.3.7
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby wrapper for Camunda Cloud