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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deb117e05bbf701e4e1e60cf3cccc659a173c7d4f1fc5cb6f80ee72af5603b0e
4
- data.tar.gz: a4e928fbd33774f2d41508136da24e56eb2687775c2b962912df86e99eb34bdf
3
+ metadata.gz: b12028419d63b7d28ddf4d0104584fc3062df30fb2dce04a6b73279c87e6b1e1
4
+ data.tar.gz: e456c74454baeb05af8179f049e01f550ffd5c6ae77e46f455e2a548a37015d7
5
5
  SHA512:
6
- metadata.gz: 890dbffd8a3489d505db3da5149cefeb85acbee754d0cc39a9ecf15e5d38b145735df895de9a16a747e20a0b92ae533e01a954e21220d0e044beb7e73ddc3c3e
7
- data.tar.gz: 518f7f4cbc0559bb20931ba39a7c000a5ed632075ebd6ce41ff4555334c5c31251256b1f92105d8cd44b21b93b79e52e6b820ab2f5875bbd26a219dd3334967b
6
+ metadata.gz: d9c799dbb3a12c790ac47e59f7dee7712d962c383ff48a1b475872ab2e9af5214a6ea3f9ce61d0daa318ccd16eaf321dc87dfb0ab17eb1e9bef0219b1e9642d8
7
+ data.tar.gz: e6bba46ffab73cda9622da7d3b5a5bf54ab30ee32408cc7ce6a3857257df041ceb067ed8b763d46c742da9cf218482e3c28662ff66629fa1da13f49ba674b4f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.8
2
+
3
+ * Faraday 2 compatibility (#88)
4
+
1
5
  # 1.0.7
2
6
 
3
7
  * Further Ruby 3 compatibility, in particular with Faraday (#83)
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", "< 2.0"]
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"
@@ -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']["type"]}: #{error['error']['message']}"
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
@@ -1,3 +1,3 @@
1
1
  module Airrecord
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
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.7
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: 2021-08-03 00:00:00.000000000 Z
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: '2.0'
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: '2.0'
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.2.15
146
+ rubygems_version: 3.3.3
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Airtable client