mistral_client 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d22291f0931609c910a1e7e3dbb3faee87cbf542
4
- data.tar.gz: 6d7000c084ca0881f25dd1ecd59e5ae9cabaf107
3
+ metadata.gz: 1a19078fe9df8fd3f34d6dd6d15bb8f234aa0ed0
4
+ data.tar.gz: '0583018c1b59624c00a2a2aebd01e97d4ad92857'
5
5
  SHA512:
6
- metadata.gz: ce0048a15cfeb882393903411f35c47fc5bfb2dbceda87cd32dd1a809d8b282f3cd2f28099129be6e9411dc5cd5183b1555faf505e8401bf680919c186a24537
7
- data.tar.gz: d74c8d30e74e78ec706f55f6dbf79839b66744222eeae321f1eb5c28ae34d56fe9dd7c08c27dadebfdeff3277ed831f369e05dd82ad705ee0530e0c5f9308558
6
+ metadata.gz: d70023eb0e0d158ca85beea726a6802726e05d04fb4a4721a0f0b2ae993463e235d871b635e8c568ca41e621874c077da54e45084ccad2de9ca939b27b54caed
7
+ data.tar.gz: 84ede2404279bddee7186a6caf5ee48ed05780dbfc35468494ff2d5b0407a676a175e32bf93453c2de18ef3f428f92f3f2af8e79b29854b4d3f46ca0017d5f59
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.2.0] - 2018-12-17
9
+
10
+ ### Added
11
+ - A get health endpoint
12
+
8
13
  ## [1.1.0] - 2017-12-15
9
14
 
10
15
  ### Added
@@ -17,5 +22,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
17
22
 
18
23
  * Initial Release
19
24
 
20
- [Unreleased]: https://github.com/civisanalytics/mistral_client/compare/v1.1.0...HEAD
25
+ [Unreleased]: https://github.com/civisanalytics/mistral_client/compare/v1.2.0...HEAD
26
+ [1.2.0]: https://github.com/civisanalytics/mistral_client/compare/v1.1.0...v1.2.0
21
27
  [1.1.0]: https://github.com/civisanalytics/mistral_client/compare/v1.0.0...v1.1.0
@@ -9,6 +9,7 @@ require 'mistral_client/client'
9
9
  require 'mistral_client/environment'
10
10
  require 'mistral_client/error'
11
11
  require 'mistral_client/execution'
12
+ require 'mistral_client/health'
12
13
  require 'mistral_client/task'
13
14
  require 'mistral_client/version'
14
15
  require 'mistral_client/workflow'
@@ -32,6 +32,7 @@ module MistralClient
32
32
  action_execution: MistralClient::ActionExecution,
33
33
  environment: MistralClient::Environment,
34
34
  execution: MistralClient::Execution,
35
+ health: MistralClient::Health,
35
36
  task: MistralClient::Task,
36
37
  workflow: MistralClient::Workflow
37
38
  }
@@ -0,0 +1,13 @@
1
+ module MistralClient
2
+ class Health < Base
3
+ PATH = ''.freeze
4
+
5
+ def initialize(server)
6
+ @server = server
7
+ end
8
+
9
+ def get
10
+ @server.get(PATH.to_s)
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module MistralClient
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mistral_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brennan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-12-15 00:00:00.000000000 Z
13
+ date: 2018-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
@@ -152,6 +152,7 @@ files:
152
152
  - lib/mistral_client/environment.rb
153
153
  - lib/mistral_client/error.rb
154
154
  - lib/mistral_client/execution.rb
155
+ - lib/mistral_client/health.rb
155
156
  - lib/mistral_client/mixins/definable.rb
156
157
  - lib/mistral_client/mixins/deletable.rb
157
158
  - lib/mistral_client/mixins/mistral_object.rb