airrecord 1.0.7 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/airrecord.gemspec +2 -1
- data/bin/production-test.rb +3 -1
- data/lib/airrecord/client.rb +2 -2
- data/lib/airrecord/version.rb +1 -1
- data/lib/airrecord.rb +1 -0
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2140fe15354970d81a69ca08eccffeae0b01bdb2b479f90081cca5304438fbd2
|
4
|
+
data.tar.gz: 76ce4af2fb471aa3a04e95b7e03481c9421120b5a5875afa5c3c1aa9d4b2dc00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8817c39c254feb9cefe90305193954e689d949014bc348b4d2a053e4b850244781cd571f376e10a5b5f70d3b8db2b1bb6a4ede2eac5758293bb021baaabdc26
|
7
|
+
data.tar.gz: df2f9499f1cf610bce130acad4d498453bcc6ecb0da2b204eac0ba471132267ec39c4b9449e44ed2a19c05462b871c081aefe332e808d18cb244f41bdad27b25
|
data/CHANGELOG.md
CHANGED
data/airrecord.gemspec
CHANGED
@@ -21,8 +21,9 @@ 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
|
24
|
+
spec.add_dependency "faraday", [">= 1.0", "< 3.0"]
|
25
25
|
spec.add_dependency "net-http-persistent"
|
26
|
+
spec.add_dependency "faraday-net_http_persistent"
|
26
27
|
|
27
28
|
spec.add_development_dependency "bundler", "~> 2"
|
28
29
|
spec.add_development_dependency "byebug"
|
data/bin/production-test.rb
CHANGED
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
data/lib/airrecord.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.10
|
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-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '1.0'
|
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
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0
|
29
|
+
version: '1.0'
|
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
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: faraday-net_http_persistent
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: bundler
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
157
|
- !ruby/object:Gem::Version
|
144
158
|
version: '0'
|
145
159
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
160
|
+
rubygems_version: 3.3.3
|
147
161
|
signing_key:
|
148
162
|
specification_version: 4
|
149
163
|
summary: Airtable client
|