dkron-rb 0.9.2 → 0.10.0
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 +4 -4
- data/Gemfile +4 -0
- data/Gemfile.lock +30 -28
- data/README.md +13 -8
- data/Rakefile +9 -3
- data/config.json +1 -1
- data/dkron-rb.gemspec +8 -17
- data/docs/DefaultApi.md +1 -1
- data/docs/ExecutionsApi.md +1 -1
- data/docs/ExecutorConfig.md +7 -0
- data/docs/ExecutorShell.md +10 -0
- data/docs/Job.md +5 -4
- data/docs/Member.md +3 -3
- data/docs/ProcessorFiles.md +9 -0
- data/docs/ProcessorLog.md +8 -0
- data/docs/ProcessorSyslog.md +8 -0
- data/docs/Processors.md +7 -0
- data/git_push.sh +1 -13
- data/lib/dkron-rb.rb +10 -4
- data/lib/dkron-rb/api/default_api.rb +13 -36
- data/lib/dkron-rb/api/executions_api.rb +8 -21
- data/lib/dkron-rb/api/jobs_api.rb +29 -52
- data/lib/dkron-rb/api/members_api.rb +5 -20
- data/lib/dkron-rb/api_client.rb +55 -45
- data/lib/dkron-rb/api_error.rb +9 -18
- data/lib/dkron-rb/configuration.rb +8 -13
- data/lib/dkron-rb/models/execution.rb +6 -17
- data/lib/dkron-rb/models/executor_config.rb +179 -0
- data/lib/dkron-rb/models/executor_shell.rb +208 -0
- data/lib/dkron-rb/models/job.rb +48 -46
- data/lib/dkron-rb/models/member.rb +10 -20
- data/lib/dkron-rb/models/processor_files.rb +198 -0
- data/lib/dkron-rb/models/processor_log.rb +189 -0
- data/lib/dkron-rb/models/processor_syslog.rb +189 -0
- data/lib/dkron-rb/models/processors.rb +179 -0
- data/lib/dkron-rb/models/status.rb +6 -17
- data/lib/dkron-rb/version.rb +3 -14
- data/pkg/dkron-rb-0.9.2.gem +0 -0
- data/seeds.rb +5 -2
- data/spec/models/executor_config_spec.rb +36 -0
- data/spec/models/executor_shell_spec.rb +54 -0
- data/spec/models/processor_files_spec.rb +48 -0
- data/spec/models/processor_log_spec.rb +42 -0
- data/spec/models/processor_syslog_spec.rb +42 -0
- data/spec/models/processors_spec.rb +36 -0
- metadata +46 -25
- data/dkron-rb-0.0.1.gem +0 -0
- data/dkron-rb-0.0.2.gem +0 -0
@@ -3,21 +3,10 @@
|
|
3
3
|
|
4
4
|
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
9
|
+
Swagger Codegen version: 2.3.1
|
21
10
|
|
22
11
|
=end
|
23
12
|
|
@@ -50,7 +39,7 @@ module Dkron
|
|
50
39
|
end
|
51
40
|
|
52
41
|
# Show invalid properties with the reasons. Usually used together with valid?
|
53
|
-
# @return Array for valid
|
42
|
+
# @return Array for valid properties with the reasons
|
54
43
|
def list_invalid_properties
|
55
44
|
invalid_properties = Array.new
|
56
45
|
return invalid_properties
|
@@ -87,7 +76,7 @@ module Dkron
|
|
87
76
|
def build_from_hash(attributes)
|
88
77
|
return nil unless attributes.is_a?(Hash)
|
89
78
|
self.class.swagger_types.each_pair do |key, type|
|
90
|
-
if type =~
|
79
|
+
if type =~ /\AArray<(.*)>/i
|
91
80
|
# check to ensure the input is an array given that the the attribute
|
92
81
|
# is documented as an array but the input is not
|
93
82
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -118,7 +107,7 @@ module Dkron
|
|
118
107
|
when :Float
|
119
108
|
value.to_f
|
120
109
|
when :BOOLEAN
|
121
|
-
if value.to_s =~
|
110
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
122
111
|
true
|
123
112
|
else
|
124
113
|
false
|
@@ -129,7 +118,7 @@ module Dkron
|
|
129
118
|
when /\AArray<(?<inner_type>.+)>\z/
|
130
119
|
inner_type = Regexp.last_match[:inner_type]
|
131
120
|
value.map { |v| _deserialize(inner_type, v) }
|
132
|
-
when /\AHash<(?<k_type
|
121
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
133
122
|
k_type = Regexp.last_match[:k_type]
|
134
123
|
v_type = Regexp.last_match[:v_type]
|
135
124
|
{}.tap do |hash|
|
data/lib/dkron-rb/version.rb
CHANGED
@@ -3,24 +3,13 @@
|
|
3
3
|
|
4
4
|
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
9
|
+
Swagger Codegen version: 2.3.1
|
21
10
|
|
22
11
|
=end
|
23
12
|
|
24
13
|
module Dkron
|
25
|
-
VERSION = "0.
|
14
|
+
VERSION = "0.10.0"
|
26
15
|
end
|
data/pkg/dkron-rb-0.9.2.gem
CHANGED
Binary file
|
data/seeds.rb
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
Dkron.configure do
|
2
|
-
|c| c.host = "localhost:
|
2
|
+
|c| c.host = "localhost:8080"
|
3
3
|
end
|
4
4
|
|
5
5
|
5.times do |i|
|
6
6
|
j = Dkron::Job.new
|
7
7
|
j.name = "job_#{i}"
|
8
|
-
j.
|
8
|
+
j.executor = "shell"
|
9
|
+
j.executor_config = {
|
10
|
+
"command": "date"
|
11
|
+
}
|
9
12
|
j.schedule = "@every 5s"
|
10
13
|
j.tags = {
|
11
14
|
role: "web"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::ExecutorConfig
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ExecutorConfig' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::ExecutorConfig.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ExecutorConfig' do
|
31
|
+
it 'should create an instance of ExecutorConfig' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::ExecutorConfig)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::ExecutorShell
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ExecutorShell' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::ExecutorShell.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ExecutorShell' do
|
31
|
+
it 'should create an instance of ExecutorShell' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::ExecutorShell)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "command"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "env"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "shell"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::ProcessorFiles
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ProcessorFiles' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::ProcessorFiles.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ProcessorFiles' do
|
31
|
+
it 'should create an instance of ProcessorFiles' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::ProcessorFiles)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "forward"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "log_dir"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::ProcessorLog
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ProcessorLog' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::ProcessorLog.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ProcessorLog' do
|
31
|
+
it 'should create an instance of ProcessorLog' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::ProcessorLog)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "forward"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::ProcessorSyslog
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ProcessorSyslog' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::ProcessorSyslog.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ProcessorSyslog' do
|
31
|
+
it 'should create an instance of ProcessorSyslog' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::ProcessorSyslog)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "forward"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#Dkron REST API
|
3
|
+
|
4
|
+
#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.10.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Dkron::Processors
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Processors' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Dkron::Processors.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Processors' do
|
31
|
+
it 'should create an instance of Processors' do
|
32
|
+
expect(@instance).to be_instance_of(Dkron::Processors)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dkron-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -36,40 +36,40 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1
|
39
|
+
version: '2.1'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 1.
|
42
|
+
version: 2.1.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '1
|
49
|
+
version: '2.1'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 1.
|
52
|
+
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '3.
|
59
|
+
version: '3.6'
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 3.
|
62
|
+
version: 3.6.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
69
|
+
version: '3.6'
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 3.
|
72
|
+
version: 3.6.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: vcr
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
version: '0.2'
|
180
180
|
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: 0.2.
|
182
|
+
version: 0.2.12
|
183
183
|
type: :development
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ dependencies:
|
|
189
189
|
version: '0.2'
|
190
190
|
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0.2.
|
192
|
+
version: 0.2.12
|
193
193
|
description: 'You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron
|
194
194
|
nodes usually listen on port `8080` for API requests. All examples in this section
|
195
195
|
assume that you''ve found a running leader at `localhost:8080`. Dkron implements
|
@@ -211,19 +211,23 @@ files:
|
|
211
211
|
- bin/console
|
212
212
|
- bin/setup
|
213
213
|
- config.json
|
214
|
-
- dkron-rb-0.0.1.gem
|
215
|
-
- dkron-rb-0.0.2.gem
|
216
214
|
- dkron-rb.gemspec
|
217
215
|
- docs/Agent.md
|
218
216
|
- docs/DefaultApi.md
|
219
217
|
- docs/Execution.md
|
220
218
|
- docs/ExecutionsApi.md
|
219
|
+
- docs/ExecutorConfig.md
|
220
|
+
- docs/ExecutorShell.md
|
221
221
|
- docs/InlineResponse200.md
|
222
222
|
- docs/Job.md
|
223
223
|
- docs/JobsApi.md
|
224
224
|
- docs/MainApi.md
|
225
225
|
- docs/Member.md
|
226
226
|
- docs/MembersApi.md
|
227
|
+
- docs/ProcessorFiles.md
|
228
|
+
- docs/ProcessorLog.md
|
229
|
+
- docs/ProcessorSyslog.md
|
230
|
+
- docs/Processors.md
|
227
231
|
- docs/Serf.md
|
228
232
|
- docs/Status.md
|
229
233
|
- docs/Tags.md
|
@@ -239,9 +243,15 @@ files:
|
|
239
243
|
- lib/dkron-rb/cron.rb
|
240
244
|
- lib/dkron-rb/models/agent.rb
|
241
245
|
- lib/dkron-rb/models/execution.rb
|
246
|
+
- lib/dkron-rb/models/executor_config.rb
|
247
|
+
- lib/dkron-rb/models/executor_shell.rb
|
242
248
|
- lib/dkron-rb/models/inline_response_200.rb
|
243
249
|
- lib/dkron-rb/models/job.rb
|
244
250
|
- lib/dkron-rb/models/member.rb
|
251
|
+
- lib/dkron-rb/models/processor_files.rb
|
252
|
+
- lib/dkron-rb/models/processor_log.rb
|
253
|
+
- lib/dkron-rb/models/processor_syslog.rb
|
254
|
+
- lib/dkron-rb/models/processors.rb
|
245
255
|
- lib/dkron-rb/models/serf.rb
|
246
256
|
- lib/dkron-rb/models/status.rb
|
247
257
|
- lib/dkron-rb/models/tags.rb
|
@@ -259,16 +269,21 @@ files:
|
|
259
269
|
- spec/configuration_spec.rb
|
260
270
|
- spec/models/agent_spec.rb
|
261
271
|
- spec/models/execution_spec.rb
|
272
|
+
- spec/models/executor_config_spec.rb
|
273
|
+
- spec/models/executor_shell_spec.rb
|
262
274
|
- spec/models/inline_response_200_spec.rb
|
263
275
|
- spec/models/job_spec.rb
|
264
276
|
- spec/models/member_spec.rb
|
277
|
+
- spec/models/processor_files_spec.rb
|
278
|
+
- spec/models/processor_log_spec.rb
|
279
|
+
- spec/models/processor_syslog_spec.rb
|
280
|
+
- spec/models/processors_spec.rb
|
265
281
|
- spec/models/serf_spec.rb
|
266
282
|
- spec/models/status_spec.rb
|
267
283
|
- spec/models/tags_spec.rb
|
268
284
|
- spec/spec_helper.rb
|
269
285
|
homepage: https://github.com/swagger-api/swagger-codegen
|
270
|
-
licenses:
|
271
|
-
- Apache 2.0
|
286
|
+
licenses: []
|
272
287
|
metadata: {}
|
273
288
|
post_install_message:
|
274
289
|
rdoc_options: []
|
@@ -278,7 +293,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
278
293
|
requirements:
|
279
294
|
- - ">="
|
280
295
|
- !ruby/object:Gem::Version
|
281
|
-
version: '
|
296
|
+
version: '1.9'
|
282
297
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
298
|
requirements:
|
284
299
|
- - ">="
|
@@ -286,24 +301,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
301
|
version: '0'
|
287
302
|
requirements: []
|
288
303
|
rubyforge_project:
|
289
|
-
rubygems_version: 2.
|
304
|
+
rubygems_version: 2.4.5.2
|
290
305
|
signing_key:
|
291
306
|
specification_version: 4
|
292
307
|
summary: Dkron REST API Ruby Gem
|
293
308
|
test_files:
|
309
|
+
- spec/api/members_api_spec.rb
|
294
310
|
- spec/api/default_api_spec.rb
|
295
|
-
- spec/api/executions_api_spec.rb
|
296
|
-
- spec/api/jobs_api_spec.rb
|
297
311
|
- spec/api/main_api_spec.rb
|
298
|
-
- spec/api/
|
312
|
+
- spec/api/jobs_api_spec.rb
|
313
|
+
- spec/api/executions_api_spec.rb
|
299
314
|
- spec/api_client_spec.rb
|
300
315
|
- spec/configuration_spec.rb
|
301
|
-
- spec/models/
|
316
|
+
- spec/models/processor_syslog_spec.rb
|
317
|
+
- spec/models/executor_config_spec.rb
|
318
|
+
- spec/models/executor_shell_spec.rb
|
302
319
|
- spec/models/execution_spec.rb
|
303
|
-
- spec/models/inline_response_200_spec.rb
|
304
|
-
- spec/models/job_spec.rb
|
305
|
-
- spec/models/member_spec.rb
|
306
320
|
- spec/models/serf_spec.rb
|
321
|
+
- spec/models/job_spec.rb
|
322
|
+
- spec/models/agent_spec.rb
|
323
|
+
- spec/models/processor_files_spec.rb
|
307
324
|
- spec/models/status_spec.rb
|
308
325
|
- spec/models/tags_spec.rb
|
326
|
+
- spec/models/inline_response_200_spec.rb
|
327
|
+
- spec/models/processors_spec.rb
|
328
|
+
- spec/models/processor_log_spec.rb
|
329
|
+
- spec/models/member_spec.rb
|
309
330
|
- spec/spec_helper.rb
|