airrecord 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/airrecord.gemspec +1 -1
- data/lib/airrecord/client.rb +2 -2
- data/lib/airrecord/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b12028419d63b7d28ddf4d0104584fc3062df30fb2dce04a6b73279c87e6b1e1
|
4
|
+
data.tar.gz: e456c74454baeb05af8179f049e01f550ffd5c6ae77e46f455e2a548a37015d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9c799dbb3a12c790ac47e59f7dee7712d962c383ff48a1b475872ab2e9af5214a6ea3f9ce61d0daa318ccd16eaf321dc87dfb0ab17eb1e9bef0219b1e9642d8
|
7
|
+
data.tar.gz: e6bba46ffab73cda9622da7d3b5a5bf54ab30ee32408cc7ce6a3857257df041ceb067ed8b763d46c742da9cf218482e3c28662ff66629fa1da13f49ba674b4f6
|
data/CHANGELOG.md
CHANGED
data/airrecord.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
spec.required_ruby_version = ">= 2.2"
|
23
23
|
|
24
|
-
spec.add_dependency "faraday", [">= 0.10", "<
|
24
|
+
spec.add_dependency "faraday", [">= 0.10", "< 3.0"]
|
25
25
|
spec.add_dependency "net-http-persistent"
|
26
26
|
|
27
27
|
spec.add_development_dependency "bundler", "~> 2"
|
data/lib/airrecord/client.rb
CHANGED
@@ -43,8 +43,8 @@ module Airrecord
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def handle_error(status, error)
|
46
|
-
if error.is_a?(Hash)
|
47
|
-
raise Error, "HTTP #{status}: #{error['error'][
|
46
|
+
if error.is_a?(Hash) && error['error']
|
47
|
+
raise Error, "HTTP #{status}: #{error['error']['type']}: #{error['error']['message']}"
|
48
48
|
else
|
49
49
|
raise Error, "HTTP #{status}: Communication error: #{error}"
|
50
50
|
end
|
data/lib/airrecord/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airrecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Eskildsen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '3.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: net-http-persistent
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.3.3
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Airtable client
|