zeebe-client 0.7.0 → 0.8.0

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
  SHA256:
3
- metadata.gz: 9b34a5bc00038a658671e60c664643ceadb7ec9074ce36c1cd03896e30ea2137
4
- data.tar.gz: 216bff695e7ac2f3cff7fd9d30ab1bb404e4067a90917b7bd7c44ae29d4bf2cb
3
+ metadata.gz: 96ba28052b1e13576e4bd3c222fcfcc77fd245accb93ccb5a8d0e1319f858731
4
+ data.tar.gz: a5a3cd78b8c1cca57da05ca2ac7270bcb6fb344ba6d2eb4a8be54d06b9e39c38
5
5
  SHA512:
6
- metadata.gz: d3af02c9d299b20ba9f786f135434914e81c0f813cc282c58ff7cbbbc472fb6d67bc41f89ad77c711a9fb5f04ac27e3526e0ec28e58446de20e964a713252b4e
7
- data.tar.gz: 2d2381fcc2904a5c10901e94ff1aeb57edc251ec9dd0afb7e75cd78aeffa940e9ee48c8fec88e998305c0456342f40214bb9bc507f2a736159fd54b047307727
6
+ metadata.gz: 43b8b2e199a439758d2ff2df6a225003ecdb401a9e03cfd04ebf08c0c79fdd8ffaca41076b84c8d4ffc31db5d4e2ce1d470cd4b03b91bbd0edcc03f6901598bf
7
+ data.tar.gz: 80a4a2f647c2d32dbd2fa793c8df8fa8fe9f187ccc5826228aeb2d8171bd526c25887c6ceeb6c6ba2d683684f403e58045f217b949d8c075fa11f8983081d385
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0 (October 9, 2019)
4
+
5
+ - add support for [Zeebe 0.21.1](https://github.com/zeebe-io/zeebe/releases/tag/0.21.1)
6
+
3
7
  ## 0.7.0 (August 12, 2019)
4
8
 
5
9
  - add support for [Zeebe 0.20.0](https://github.com/zeebe-io/zeebe/releases/tag/0.20.0)
data/README.md CHANGED
@@ -13,7 +13,7 @@ Install the gem:
13
13
  Run a Zeebe instance locally:
14
14
 
15
15
  ```sh
16
- docker run -it --rm -p 26500:26500 camunda/zeebe:0.20.0
16
+ docker run -it --rm -p 26500:26500 camunda/zeebe:0.21.1
17
17
  ```
18
18
 
19
19
  And then try the available [demo script](examples/demo.rb).
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ task travis: ['zeebe:start', :default, 'zeebe:stop']
13
13
 
14
14
  desc 'Starts Zeebe Docker container'
15
15
  task 'zeebe:start' do
16
- sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:0.20.0'
16
+ sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:0.21.1'
17
17
  sleep(5)
18
18
  end
19
19
 
@@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  optional :timeout, :int64, 3
12
12
  optional :maxJobsToActivate, :int32, 4
13
13
  repeated :fetchVariable, :string, 5
14
+ optional :requestTimeout, :int64, 6
14
15
  end
15
16
  add_message "gateway_protocol.ActivateJobsResponse" do
16
17
  repeated :jobs, :message, 1, "gateway_protocol.ActivatedJob"
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Zeebe
3
3
  module Client
4
- VERSION = '0.7.0'.freeze
4
+ VERSION = '0.8.0'.freeze
5
5
  end
6
6
  end
@@ -22,6 +22,10 @@ message ActivateJobsRequest {
22
22
  // a list of variables to fetch as the job variables; if empty, all visible variables at
23
23
  // the time of activation for the scope of the job will be returned
24
24
  repeated string fetchVariable = 5;
25
+ // The request will be completed when at least one job is activated or after the requestTimeout.
26
+ // if the requestTimeout = 0, a default timeout is used.
27
+ // if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.
28
+ int64 requestTimeout = 6;
25
29
  }
26
30
 
27
31
  message ActivateJobsResponse {
@@ -19,12 +19,12 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.required_ruby_version = '>= 2.3'
21
21
 
22
- s.add_runtime_dependency 'grpc', '~> 1.22.0'
22
+ s.add_runtime_dependency 'grpc', '>= 1.23', '< 1.25'
23
23
 
24
- s.add_development_dependency 'grpc-tools', '~> 1.22.0'
24
+ s.add_development_dependency 'grpc-tools', '~> 1.24.0'
25
25
  s.add_development_dependency 'bundler'
26
26
  s.add_development_dependency 'rake'
27
27
  s.add_development_dependency 'rspec'
28
- s.add_development_dependency 'rubocop', '~> 0.74.0'
28
+ s.add_development_dependency 'rubocop', '~> 0.75.0'
29
29
  s.add_development_dependency 'bundler-audit'
30
30
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeebe-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nicolai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-12 00:00:00.000000000 Z
11
+ date: 2019-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.23'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 1.22.0
22
+ version: '1.25'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.23'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 1.22.0
32
+ version: '1.25'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: grpc-tools
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 1.22.0
39
+ version: 1.24.0
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: 1.22.0
46
+ version: 1.24.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: bundler
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +92,14 @@ dependencies:
86
92
  requirements:
87
93
  - - "~>"
88
94
  - !ruby/object:Gem::Version
89
- version: 0.74.0
95
+ version: 0.75.0
90
96
  type: :development
91
97
  prerelease: false
92
98
  version_requirements: !ruby/object:Gem::Requirement
93
99
  requirements:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
- version: 0.74.0
102
+ version: 0.75.0
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: bundler-audit
99
105
  requirement: !ruby/object:Gem::Requirement