d4h_api 2.0.1 → 2.1.0
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
- checksums.yaml.gz.sig +0 -0
- data/d4h_api.gemspec +3 -1
- data/lib/d4h/api/client.rb +2 -2
- data/lib/d4h/api/version.rb +7 -0
- data.tar.gz.sig +3 -2
- metadata +2 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 321af8cf1d00fce88aaff3599b5fcaa26bab2b722b0c19a89c79b37316fdb938
|
|
4
|
+
data.tar.gz: 6801f14b8059ec1191d4cfc0c984aa460113d55336bb82467ac9119aa0661704
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dfde0a625ce90d7340297de7aed8615315628452dd28bb1ae511103267f20a25cf06c19ef6422e7a857043c39db434be0a226e3bfb965e2233bdec9a2a54376
|
|
7
|
+
data.tar.gz: 0de277bbe84ed2f6ce20ea394b083f78b8e23a8b0ce84fe1cef76e9e95b401458c22560b6135619a36bea63674881ec667fe8e3cd098f8193f8e35cc57c28d45
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/d4h_api.gemspec
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require_relative "lib/d4h/api/version"
|
|
4
|
+
|
|
3
5
|
Gem::Specification.new do |spec|
|
|
4
6
|
spec.name = "d4h_api"
|
|
5
|
-
spec.version =
|
|
7
|
+
spec.version = D4H::API::VERSION
|
|
6
8
|
spec.authors = ["Pawel Osiczko"]
|
|
7
9
|
spec.email = ["p.osiczko@tetrapyloctomy.org"]
|
|
8
10
|
spec.homepage = "https://github.com/rockymountainrescue/d4h_api"
|
data/lib/d4h/api/client.rb
CHANGED
|
@@ -106,7 +106,7 @@ module D4H
|
|
|
106
106
|
|
|
107
107
|
# Public: Returns the memoized Faraday connection.
|
|
108
108
|
#
|
|
109
|
-
# Configured with
|
|
109
|
+
# Configured with JSON request encoding, JSON response parsing,
|
|
110
110
|
# exponential backoff retry on transient errors, and the chosen adapter.
|
|
111
111
|
#
|
|
112
112
|
# The retry middleware retries on 429 and 5xx status codes up to
|
|
@@ -116,7 +116,7 @@ module D4H
|
|
|
116
116
|
def connection
|
|
117
117
|
@connection ||= Faraday.new do |f|
|
|
118
118
|
f.url_prefix = base_url
|
|
119
|
-
f.request(:
|
|
119
|
+
f.request(:json)
|
|
120
120
|
if max_retries > 0
|
|
121
121
|
f.request(:retry,
|
|
122
122
|
max: max_retries,
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
��H����ή
|
|
2
|
+
��2��NԽr��%�ÖT-u�03���j�K
|
|
3
|
+
i.S�31�n�1�|w �8(u8_/;���3�\A��%<�#9`���wf؊������f��jj^w�ȿI�32��:��s�qL�=
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: d4h_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pawel Osiczko
|
|
@@ -234,6 +234,7 @@ files:
|
|
|
234
234
|
- lib/d4h/api/resources/team_resource.rb
|
|
235
235
|
- lib/d4h/api/resources/whiteboard_resource.rb
|
|
236
236
|
- lib/d4h/api/resources/whoami_resource.rb
|
|
237
|
+
- lib/d4h/api/version.rb
|
|
237
238
|
homepage: https://github.com/rockymountainrescue/d4h_api
|
|
238
239
|
licenses:
|
|
239
240
|
- Hippocratic-2.1
|
metadata.gz.sig
CHANGED
|
Binary file
|