client_success 0.1.5 → 0.1.10
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.lock +2 -2
- data/lib/client_success/connection.rb +3 -0
- data/lib/client_success/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66a6a6ce26645b40a1c400ab68f1dc17b66933844990506e99ba1e04206fb32c
|
|
4
|
+
data.tar.gz: c4a6e4c52781cc6fa82b7e523dfd96af714537e1784d0f491434029e7052fda5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58f3b63c8896c6483706537296a5c76c2804b29579ad60c664c78cfe629a7184814af0833fa711eb9a9c66cacc36b08a8bac5659806b708ee7df72aba3f61246
|
|
7
|
+
data.tar.gz: 3c377ccf936f9d085db1dfb845398d498427b58d27bebf21e9fb82ac56316bec6e70a17032468fa122921a2c9d978e32b45e70af0c41ad4c1c0fb0d965b7e7e9
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
client_success (0.1.
|
|
4
|
+
client_success (0.1.10)
|
|
5
5
|
activesupport (~> 5.2)
|
|
6
6
|
dry-types (= 0.11.0)
|
|
7
7
|
faraday
|
|
@@ -89,7 +89,7 @@ GEM
|
|
|
89
89
|
thread_safe (0.3.6)
|
|
90
90
|
typhoeus (1.3.1)
|
|
91
91
|
ethon (>= 0.9.0)
|
|
92
|
-
tzinfo (1.2.
|
|
92
|
+
tzinfo (1.2.7)
|
|
93
93
|
thread_safe (~> 0.1)
|
|
94
94
|
unicode-display_width (1.6.1)
|
|
95
95
|
vcr (5.1.0)
|
|
@@ -10,6 +10,7 @@ module ClientSuccess
|
|
|
10
10
|
class NotFound < Error; end
|
|
11
11
|
|
|
12
12
|
class ParsingError < Error; end
|
|
13
|
+
class Failed < Error; end
|
|
13
14
|
|
|
14
15
|
class << self
|
|
15
16
|
def authorised(access_token)
|
|
@@ -92,6 +93,8 @@ module ClientSuccess
|
|
|
92
93
|
else
|
|
93
94
|
raise Error, error
|
|
94
95
|
end
|
|
96
|
+
rescue Faraday::ConnectionFailed => error
|
|
97
|
+
raise Failed, error
|
|
95
98
|
rescue SignalException => error
|
|
96
99
|
raise Error, error
|
|
97
100
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: client_success
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Practice Ignition
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
262
262
|
- !ruby/object:Gem::Version
|
|
263
263
|
version: '0'
|
|
264
264
|
requirements: []
|
|
265
|
-
rubygems_version: 3.
|
|
265
|
+
rubygems_version: 3.2.3
|
|
266
266
|
signing_key:
|
|
267
267
|
specification_version: 4
|
|
268
268
|
summary: An unofficial Ruby wrapper for Client Success's REST API
|