zaikio-client-helpers 0.2.1 → 0.2.2

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: 5231d366ba2c15a4a7adebee682f240828b9c09eef27ca41f0d9420c54dbf53d
4
- data.tar.gz: a918501a0c65b22ca0a22afe632859fb89b954dc6cdda9af965f2b93e2bd8277
3
+ metadata.gz: b04e37308c3d4d671262df75c9e71a56feccfa2ecbddd561a5c495d9bb08116c
4
+ data.tar.gz: f9cd398097d4e20637398ce37bf75cd035d52385f6beafb58d32c8d787ac50b5
5
5
  SHA512:
6
- metadata.gz: 122e12335f91bcb223a8ea83bc4c889c8ffa57c3348dd1a91a5ef1a9acffde537d0d260061b89b9bec9616242a608788fcb53f85daf20465ee32e594725b76fc
7
- data.tar.gz: 56690603e8d4e2b4f88c0ec6a7ac27659dd78210de2b64b19497758dd31505e9f036d9b112f7c694c38a138ea58c21090f59a2cb6d97988592b8a9aada6f2570
6
+ metadata.gz: 41d8e99d08d8dc5bc2f6cfcb247285857222a830ac74a73da9339cd293aedf43fdcd0ac74a9fb4d08479028c7a34956c1afb00406a7655e33769fbca39132a47
7
+ data.tar.gz: '08baf07f1cee0553900681da973abd696ab9f12b40c4dd03d8df46fb27402d20716721dd537908b77c14993e9b0ca5f59fe798ca0ae8f8cf00562cee2f8ac41a'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.2] - 2021-08-12
4
+
5
+ - Attempt to fix `NoMethodError` when looking for pagination headers
6
+
3
7
  ## [0.2.1] - 2021-08-05
4
8
 
5
9
  - Fixed `with_fallback` from spyke by aliasing the correct error classes
@@ -63,7 +63,7 @@ module Zaikio::Client::Helpers
63
63
  class Relation < Spyke::Relation
64
64
  HEADERS.each_key do |symbol|
65
65
  define_method(symbol) do
66
- find_some.metadata[METADATA_KEY][symbol]
66
+ find_some.metadata.dig(METADATA_KEY, symbol)
67
67
  end
68
68
  end
69
69
 
@@ -3,7 +3,7 @@
3
3
  module Zaikio
4
4
  module Client
5
5
  module Helpers
6
- VERSION = "0.2.1"
6
+ VERSION = "0.2.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-client-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaikio GMBH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-05 00:00:00.000000000 Z
11
+ date: 2021-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: '0'
115
+ version: '2.3'
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - ">="