mistral_client 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/mistral_client/client.rb +1 -1
- data/lib/mistral_client/error.rb +8 -0
- data/lib/mistral_client/version.rb +1 -1
- data/mistral_client.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a48d760a07649c33f6a9c7bd996753e71e6952d4
|
4
|
+
data.tar.gz: 64c519cf94a71af368c6c659d36ef82c43cdc35f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c00af48da4b14682cdc9038f8ee9864738f35c3f6612120ce17dbb8eea2e1850c8d56dc4cebbd664f51785e5bec9747760336accbd1010c849f6dda00e49bd9b
|
7
|
+
data.tar.gz: 29713d2b34e8b13f21793503a39ad93f43331cac43fb54d9b84a4c37d3176b70149d8bd44626c8ae46772fff9ec0d92b4c84279ebc0e712082496ff975e1a9c4
|
data/CHANGELOG.md
CHANGED
data/lib/mistral_client/error.rb
CHANGED
@@ -3,4 +3,12 @@ module MistralClient
|
|
3
3
|
|
4
4
|
class ConfigurationError < MistralError; end
|
5
5
|
class MissingObjectError < MistralError; end
|
6
|
+
class MistralResponseError < MistralError
|
7
|
+
attr_reader :response
|
8
|
+
|
9
|
+
def initialize(response)
|
10
|
+
@response = response
|
11
|
+
super(response)
|
12
|
+
end
|
13
|
+
end
|
6
14
|
end
|
data/mistral_client.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
25
|
spec.add_dependency 'httparty', '~> 0.15.6'
|
26
|
-
spec.add_development_dependency 'bundler', '~>
|
26
|
+
spec.add_development_dependency 'bundler', '~> 2.0.2'
|
27
27
|
spec.add_development_dependency 'pry', '~> 0.11.1'
|
28
28
|
spec.add_development_dependency 'rake', '~> 12.1'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.6'
|
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.2.
|
4
|
+
version: 1.2.1
|
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:
|
13
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 2.0.2
|
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:
|
42
|
+
version: 2.0.2
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: pry
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
182
|
rubyforge_project:
|
183
|
-
rubygems_version: 2.
|
183
|
+
rubygems_version: 2.5.2.3
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Ruby client for Mistral.
|