mistral_client 1.0.0 → 2.0.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
- SHA1:
3
- metadata.gz: 0746e5658fe10edda68289b63a11f8e8306f939d
4
- data.tar.gz: fb5750de1c4bc90795b0b3bc49e06267f284c1d1
2
+ SHA256:
3
+ metadata.gz: 34f8fe4927bf0a63c4116a071881feeaa08c2e7aaf395ffa6fda00be01a25a3d
4
+ data.tar.gz: 71c54308a991fd231ab0689577d19a424de75768c149ab3e02e8703e7f55d1c1
5
5
  SHA512:
6
- metadata.gz: 15483eea25a2f62af9a40b7efce8d7bfdaa2b1896ce905b2d55d48655114805ee9b29fb350d28bb28e827f9830ddf0f65dc500e50b38d8b878716eaad5665847
7
- data.tar.gz: f246cac33c6292e134d8f1f56805ef90bf3721fd7987316085733293f6683e1dcbb62627de47c86267345cf91a379d1845ce3e440e567c836024bf257cb164d2
6
+ metadata.gz: 551bae7ab6e7a7758882c7af6af1f5c6aa6ce829a6eff64c74e337480f2fdaced3bc0d49f2107aab1f27edcbdd7df3732a874d9a2b0193f0b2b3a753d78ca65b
7
+ data.tar.gz: a83d532bee4796185fffedc1364f7ec123b30594e16742c2a0b9e061b63da026a32d32bf911860424b0f6e3b182d81f984b27cf8ae28fd249c902fdcfddf6c5f
data/.rspec CHANGED
@@ -1 +1,2 @@
1
1
  --color
2
+ --warnings
data/.rubocop.yml CHANGED
@@ -1,3 +1,8 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5
3
+ NewCops: disable
4
+ SuggestExtensions: false
5
+
1
6
  Style/Documentation:
2
7
  Enabled: false
3
8
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.2
1
+ 3.0.0
data/.travis.yml CHANGED
@@ -1,10 +1,12 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.3.5
5
- - 2.4.2
4
+ - 2.5.8
5
+ - 2.6.6
6
+ - 2.7.2
7
+ - 3.0.0
6
8
  before_install:
7
- - rvm @global do gem install bundler
9
+ - gem install bundler
8
10
  branches:
9
11
  only:
10
12
  - master
data/CHANGELOG.md CHANGED
@@ -5,8 +5,54 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [2.0.0] - 2021-02-09
9
+
10
+ ### Added
11
+ - Added Ruby 2.7 and 3.0 to the Travis build matrix
12
+
13
+ ### Changed
14
+ - Bumped the Ruby version for development to 3.0.0
15
+ - Fixed deprecation warnings around positional and keyword arguments from ruby 2.7.0
16
+ - Updated rubocop to v1.9.1, and fixed rubocop violations
17
+ - Configured rspec to emit warnings, and fix them
18
+ - Re-recorded the spec cassettes
19
+ - Fixed broken links in the README
20
+
21
+ ### Removed
22
+ - Removed Ruby 2.3 and 2.4 from the Travis build matrix
23
+
24
+ ## [1.3.0] - 2020-04-20
25
+
26
+ ### Changed
27
+ - Relaxed the constraint on the httparty dependency
28
+ - Added Ruby 2.5 and 2.6 to the build matrix
29
+ - Updated development dependencies
30
+
31
+ ## [1.2.1] - 2019-11-07
32
+
33
+ ### Added
34
+ - A new exception with the request to mistral attached
35
+
36
+ ## [1.2.0] - 2018-12-17
37
+
38
+ ### Added
39
+ - A get health endpoint
40
+
41
+ ## [1.1.0] - 2017-12-15
42
+
43
+ ### Added
44
+ - Made the input parameter available to execute! so that users can parameterize workflows.
45
+
46
+ ### Changed
47
+ - Fixed transient spec failure in task_spec.rb
48
+
8
49
  ## 1.0.0 - 2017-10-09
9
50
 
10
51
  * Initial Release
11
52
 
12
- [Unreleased]: https://github.com/civisanalytics/mistral_client/compare/v1.0.0...HEAD
53
+ [Unreleased]: https://github.com/civisanalytics/mistral_client/compare/v2.0.0...HEAD
54
+ [2.0.0]: https://github.com/civisanalytics/mistral_client/compare/v1.3.0...v2.0.0
55
+ [1.3.0]: https://github.com/civisanalytics/mistral_client/compare/v1.2.1...v1.3.0
56
+ [1.2.1]: https://github.com/civisanalytics/mistral_client/compare/v1.2.0...v1.2.1
57
+ [1.2.0]: https://github.com/civisanalytics/mistral_client/compare/v1.1.0...v1.2.0
58
+ [1.1.0]: https://github.com/civisanalytics/mistral_client/compare/v1.0.0...v1.1.0
data/README.md CHANGED
@@ -1,14 +1,13 @@
1
1
  # MistralClient
2
2
 
3
- [![Build Status](https://travis-ci.org/civisanalytics/mistral_client.svg?branch=master)](https://travis-ci.org/civisanalytics/mistral_client)
3
+ [![Build Status](https://travis-ci.com/civisanalytics/mistral_client.svg?branch=master)](https://travis-ci.com/civisanalytics/mistral_client)
4
4
  [![Gem Version](https://badge.fury.io/rb/mistral_client.svg)](http://badge.fury.io/rb/mistral_client)
5
- [![Dependency Status](https://gemnasium.com/civisanalytics/mistral_client.svg)](https://gemnasium.com/civisanalytics/mistral_client)
6
5
 
7
6
  MistralClient provides a Ruby interface to a limited subset of
8
7
  the [Mistral] [API].
9
8
 
10
- [Mistral]: https://wiki.openstack.org/wiki/Mistral
11
- [API]: https://docs.openstack.org/mistral/latest/api/v2.html
9
+ [Mistral]: https://docs.openstack.org/mistral/latest/
10
+ [API]: https://docs.openstack.org/mistral/latest/user/rest_api_v2.html
12
11
 
13
12
  ## Installation
14
13
 
@@ -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'
@@ -18,6 +18,7 @@ module MistralClient
18
18
  include MistralClient::Mixins::MistralObject
19
19
 
20
20
  def initialize(server, id: nil)
21
+ super()
21
22
  @server = server
22
23
  @path = 'action_executions'
23
24
  @id = id
@@ -32,14 +32,19 @@ 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
  }
38
39
  end
39
40
 
40
- def method_missing(name, *args, &block)
41
+ def method_missing(name, *args, **kwargs, &block)
41
42
  if self.class.resources.keys.include?(name)
42
- self.class.resources[name].new(self, *args)
43
+ if kwargs.nil? || kwargs.empty?
44
+ self.class.resources[name].new(self, *args)
45
+ else
46
+ self.class.resources[name].new(self, *args, **kwargs)
47
+ end
43
48
  else
44
49
  super
45
50
  end
@@ -53,6 +58,7 @@ module MistralClient
53
58
 
54
59
  def post_or_put(verb, path, body, json)
55
60
  raise ArgumentError unless %i[post put].include?(verb)
61
+
56
62
  headers = if json
57
63
  { 'Content-Type' => 'application/json' }
58
64
  else
@@ -66,10 +72,9 @@ module MistralClient
66
72
 
67
73
  def check_for_error(resp)
68
74
  return if resp.code >= 200 && resp.code < 300
69
- if resp.code == 404
70
- raise MissingObjectError, JSON.parse(resp.body)['faultstring']
71
- end
72
- raise MistralError,
75
+ raise MissingObjectError, JSON.parse(resp.body)['faultstring'] if resp.code == 404
76
+
77
+ raise MistralResponseError.new(resp),
73
78
  "Could not perform the requested operation:\n#{resp.body}"
74
79
  end
75
80
  end
@@ -8,8 +8,9 @@ module MistralClient
8
8
  include MistralClient::Mixins::Definable
9
9
 
10
10
  def initialize(server, definition = nil, name: nil)
11
+ super()
11
12
  @server = server
12
- @definition = parse_definition(definition) if definition
13
+ @definition = definition ? parse_definition(definition) : nil
13
14
  @name = name
14
15
  if @name
15
16
  reload
@@ -25,6 +26,7 @@ module MistralClient
25
26
  def delete!
26
27
  resp = @server.delete("#{PATH}/#{@name}")
27
28
  return true if resp.code == 204
29
+
28
30
  raise MistralClient::MistralError,
29
31
  "Could not perform the requested operation:\n#{resp.body}"
30
32
  end
@@ -37,9 +39,7 @@ module MistralClient
37
39
  end
38
40
 
39
41
  def massage_definition(definition)
40
- if definition['variables'].is_a? Hash
41
- definition['variables'] = definition['variables'].to_json
42
- end
42
+ definition['variables'] = definition['variables'].to_json if definition['variables'].is_a? Hash
43
43
  definition
44
44
  end
45
45
  end
@@ -2,5 +2,15 @@ module MistralClient
2
2
  class MistralError < StandardError; end
3
3
 
4
4
  class ConfigurationError < MistralError; end
5
+
5
6
  class MissingObjectError < MistralError; end
7
+
8
+ class MistralResponseError < MistralError
9
+ attr_reader :response
10
+
11
+ def initialize(response)
12
+ @response = response
13
+ super(response)
14
+ end
15
+ end
6
16
  end
@@ -18,15 +18,18 @@ module MistralClient
18
18
  include MistralClient::Mixins::Definable
19
19
  include MistralClient::Mixins::Deletable
20
20
 
21
+ # rubocop:disable Metrics/ParameterLists
21
22
  def initialize(server, workflow_id: nil, env: nil, task_name: nil,
22
- id: nil)
23
- set_attributes(server, workflow_id, env, task_name, id)
23
+ id: nil, input: nil)
24
+ super()
25
+ set_attributes(server, workflow_id, env, task_name, id, input)
24
26
  if @id
25
27
  reload
26
28
  elsif @workflow_id
27
29
  create_execution
28
30
  end
29
31
  end
32
+ # rubocop:enable Metrics/ParameterLists
30
33
 
31
34
  def patch(description: nil, state: nil, env: nil)
32
35
  body = {}
@@ -42,13 +45,16 @@ module MistralClient
42
45
 
43
46
  private
44
47
 
45
- def set_attributes(server, workflow_id, env, task_name, id)
48
+ # rubocop:disable Metrics/ParameterLists
49
+ def set_attributes(server, workflow_id, env, task_name, id, input)
46
50
  @server = server
47
51
  @env = env
48
52
  @task_name = task_name
49
53
  @id = id
50
54
  @workflow_id = workflow_id
55
+ @input = input
51
56
  end
57
+ # rubocop:enable Metrics/ParameterLists
52
58
 
53
59
  def create_execution
54
60
  body = { workflow_id: @workflow_id }
@@ -56,6 +62,7 @@ module MistralClient
56
62
  params[:env] = @env if @env
57
63
  params[:task_name] = @task_name if @task_name
58
64
  body[:params] = params unless params.empty?
65
+ body[:input] = input unless input.nil?
59
66
 
60
67
  resp = @server.post(PATH, body.to_json, json: true)
61
68
  ivars_from_response(resp)
@@ -0,0 +1,14 @@
1
+ module MistralClient
2
+ class Health < Base
3
+ PATH = ''.freeze
4
+
5
+ def initialize(server)
6
+ super()
7
+ @server = server
8
+ end
9
+
10
+ def get
11
+ @server.get(PATH.to_s)
12
+ end
13
+ end
14
+ end
@@ -3,9 +3,8 @@ module MistralClient
3
3
  module Definable
4
4
  # rubocop:disable Metrics/MethodLength
5
5
  def parse_definition(definition)
6
- if definition.is_a?(Hash) || definition.is_a?(Array)
7
- return YAML.dump(definition)
8
- end
6
+ return YAML.dump(definition) if definition.is_a?(Hash) || definition.is_a?(Array)
7
+
9
8
  definition = File.read(definition) if File.exist?(definition)
10
9
  # Called outside the if/else to validate the YAML.
11
10
  parsed = YAML.safe_load(definition, [], [], true)
@@ -4,6 +4,7 @@ module MistralClient
4
4
  def delete!
5
5
  resp = @server.delete("#{self.class::PATH}/#{id}")
6
6
  return true if resp.code == 204
7
+
7
8
  raise MistralClient::MistralError,
8
9
  "Could not perform the requested operation:\n#{resp.body}"
9
10
  end
@@ -6,6 +6,7 @@ module MistralClient
6
6
 
7
7
  %w[UNICODE_FIELDS DATE_FIELDS JSON_FIELDS BOOL_FIELDS].each do |fields|
8
8
  next unless child.const_defined? fields
9
+
9
10
  child.send(:attr_reader, *child.const_get(fields))
10
11
  end
11
12
  end
@@ -26,7 +27,9 @@ module MistralClient
26
27
  end
27
28
 
28
29
  # rubocop:disable Metrics/AbcSize
30
+ # rubocop:disable Metrics/CyclomaticComplexity
29
31
  # rubocop:disable Metrics/MethodLength
32
+ # rubocop:disable Metrics/PerceivedComplexity
30
33
  def ivars_from_response(resp)
31
34
  klass = self.class
32
35
  @id = resp['id']
@@ -37,15 +40,15 @@ module MistralClient
37
40
  instance_variable_set("@#{var}", resp[var]) if resp.key? var
38
41
  end
39
42
  klass::DATE_FIELDS.each do |var|
40
- if resp[var]
41
- instance_variable_set("@#{var}", DateTime.parse(resp[var]))
42
- end
43
+ instance_variable_set("@#{var}", DateTime.parse(resp[var])) if resp[var]
43
44
  end
44
45
  klass::JSON_FIELDS.each do |var|
45
46
  instance_variable_set("@#{var}", JSON.parse(resp[var])) if resp[var]
46
47
  end
47
48
  end
49
+ # rubocop:enable Metrics/PerceivedComplexity
48
50
  # rubocop:enable Metrics/MethodLength
51
+ # rubocop:enable Metrics/CyclomaticComplexity
49
52
  # rubocop:enable Metrics/AbcSize
50
53
  end
51
54
  end
@@ -20,6 +20,7 @@ module MistralClient
20
20
  include MistralClient::Mixins::MistralObject
21
21
 
22
22
  def initialize(server, id: nil)
23
+ super()
23
24
  @server = server
24
25
  @path = 'tasks'
25
26
  @id = id
@@ -1,3 +1,3 @@
1
1
  module MistralClient
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
@@ -11,6 +11,7 @@ module MistralClient
11
11
  include MistralClient::Mixins::Deletable
12
12
 
13
13
  def initialize(server, definition = nil, id: nil, name: nil)
14
+ super()
14
15
  @server = server
15
16
  if definition
16
17
  @definition = parse_definition(definition)
@@ -21,8 +22,12 @@ module MistralClient
21
22
  end
22
23
  end
23
24
 
24
- def execute!(env: nil, task_name: nil)
25
- Execution.new(@server, workflow_id: @id, env: env, task_name: task_name)
25
+ def execute!(env: nil, task_name: nil, input: nil)
26
+ Execution.new(@server,
27
+ workflow_id: @id,
28
+ env: env,
29
+ task_name: task_name,
30
+ input: input)
26
31
  end
27
32
 
28
33
  def valid?(definition)
@@ -1,4 +1,4 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require 'mistral_client/version'
4
4
 
@@ -10,11 +10,11 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Ruby client for Mistral.'
12
12
  spec.description = "A Ruby client for OpenStack's Mistral " \
13
- '<https://wiki.openstack.org/wiki/Mistral>.'
13
+ '<https://docs.openstack.org/mistral/latest/>.'
14
14
  spec.homepage = 'https://github.com/civisanalytics/mistral_client'
15
- spec.license = 'BSD 3-Clause'
15
+ spec.license = 'BSD-3-Clause'
16
16
 
17
- spec.required_ruby_version = '~> 2.3'
17
+ spec.required_ruby_version = ['>= 2.5', '< 3.1']
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
@@ -22,12 +22,12 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_dependency 'httparty', '~> 0.15.6'
26
- spec.add_development_dependency 'bundler', '~> 1.15'
27
- spec.add_development_dependency 'pry', '~> 0.11.1'
28
- spec.add_development_dependency 'rake', '~> 12.1'
29
- spec.add_development_dependency 'rspec', '~> 3.6'
30
- spec.add_development_dependency 'rubocop', '~> 0.50.0'
31
- spec.add_development_dependency 'vcr', '~> 3.0'
32
- spec.add_development_dependency 'webmock', '~> 3.1'
25
+ spec.add_dependency 'httparty', '~> 0.15'
26
+ spec.add_development_dependency 'bundler', '~> 2.1'
27
+ spec.add_development_dependency 'pry', '~> 0.13.1'
28
+ spec.add_development_dependency 'rake', '~> 13.0'
29
+ spec.add_development_dependency 'rspec', '~> 3.9'
30
+ spec.add_development_dependency 'rubocop', '~> 1.9.1'
31
+ spec.add_development_dependency 'vcr', '~> 5.1'
32
+ spec.add_development_dependency 'webmock', '~> 3.8'
33
33
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mistral_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brennan
8
8
  - Jeff Cousens
9
9
  - Mike Saelim
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-10-13 00:00:00.000000000 Z
13
+ date: 2021-02-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
@@ -18,113 +18,113 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.15.6
21
+ version: '0.15'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.15.6
28
+ version: '0.15'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bundler
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '1.15'
35
+ version: '2.1'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '1.15'
42
+ version: '2.1'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: pry
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 0.11.1
49
+ version: 0.13.1
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 0.11.1
56
+ version: 0.13.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rake
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: '12.1'
63
+ version: '13.0'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '12.1'
70
+ version: '13.0'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rspec
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '3.6'
77
+ version: '3.9'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '3.6'
84
+ version: '3.9'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: rubocop
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: 0.50.0
91
+ version: 1.9.1
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: 0.50.0
98
+ version: 1.9.1
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: vcr
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: '3.0'
105
+ version: '5.1'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '3.0'
112
+ version: '5.1'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: webmock
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '3.1'
119
+ version: '3.8'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: '3.1'
127
- description: A Ruby client for OpenStack's Mistral <https://wiki.openstack.org/wiki/Mistral>.
126
+ version: '3.8'
127
+ description: A Ruby client for OpenStack's Mistral <https://docs.openstack.org/mistral/latest/>.
128
128
  email:
129
129
  - opensource@civisanalytics.com
130
130
  executables: []
@@ -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
@@ -161,26 +162,28 @@ files:
161
162
  - mistral_client.gemspec
162
163
  homepage: https://github.com/civisanalytics/mistral_client
163
164
  licenses:
164
- - BSD 3-Clause
165
+ - BSD-3-Clause
165
166
  metadata: {}
166
- post_install_message:
167
+ post_install_message:
167
168
  rdoc_options: []
168
169
  require_paths:
169
170
  - lib
170
171
  required_ruby_version: !ruby/object:Gem::Requirement
171
172
  requirements:
172
- - - "~>"
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: '2.5'
176
+ - - "<"
173
177
  - !ruby/object:Gem::Version
174
- version: '2.3'
178
+ version: '3.1'
175
179
  required_rubygems_version: !ruby/object:Gem::Requirement
176
180
  requirements:
177
181
  - - ">="
178
182
  - !ruby/object:Gem::Version
179
183
  version: '0'
180
184
  requirements: []
181
- rubyforge_project:
182
- rubygems_version: 2.6.13
183
- signing_key:
185
+ rubygems_version: 3.2.3
186
+ signing_key:
184
187
  specification_version: 4
185
188
  summary: Ruby client for Mistral.
186
189
  test_files: []