gds-api-adapters 63.2.0 → 63.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds_api.rb +5 -4
- data/lib/gds_api/test_helpers/worldwide.rb +1 -1
- data/lib/gds_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3bd75606812cc9007166b0c56129634b6ec041dbfc0a0994c3472e66ab8c8a6
|
4
|
+
data.tar.gz: a6e6e8c9345e040f1309202e2bb84f0052a343fda9ed882e990b697d4f7118e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bbdc41d879b0a5515821488e07a45cc4c81ddc012db0c90c0a5279c101d89b4818de14585c67cfeac9b204fd2c46b620270ae5af3057ccf9715278e0ab846c8
|
7
|
+
data.tar.gz: 35e305250af06c85bf248716b5ea3fc90429305ea05c561a0e13af86f0723266da1bc2e50dddf6473b33acd47fc88b6cfe14a268fe4f17f5a29169aa33292f93
|
data/lib/gds_api.rb
CHANGED
@@ -117,8 +117,9 @@ module GdsApi
|
|
117
117
|
GdsApi::Maslow.new(Plek.new.external_url_for("maslow"), options)
|
118
118
|
end
|
119
119
|
|
120
|
-
# Creates a GdsApi::Organisations adapter for accessing Whitehall
|
121
|
-
#
|
120
|
+
# Creates a GdsApi::Organisations adapter for accessing Whitehall
|
121
|
+
# APIs through the origin, where the requests will be handled by
|
122
|
+
# Collections frontend.
|
122
123
|
#
|
123
124
|
# @return [GdsApi::Organisations]
|
124
125
|
def self.organisations(options = {})
|
@@ -192,10 +193,10 @@ module GdsApi
|
|
192
193
|
end
|
193
194
|
|
194
195
|
# Creates a GdsApi::Worldwide adapter for accessing Whitehall APIs on a
|
195
|
-
# whitehall-
|
196
|
+
# whitehall-frontend host
|
196
197
|
#
|
197
198
|
# @return [GdsApi::Worldwide]
|
198
199
|
def self.worldwide(options = {})
|
199
|
-
GdsApi::Worldwide.new(Plek.find("whitehall-
|
200
|
+
GdsApi::Worldwide.new(Plek.find("whitehall-frontend"), options)
|
200
201
|
end
|
201
202
|
end
|
@@ -8,7 +8,7 @@ module GdsApi
|
|
8
8
|
extend AliasDeprecated
|
9
9
|
include GdsApi::TestHelpers::CommonResponses
|
10
10
|
|
11
|
-
WORLDWIDE_API_ENDPOINT = Plek.current.find("whitehall-
|
11
|
+
WORLDWIDE_API_ENDPOINT = Plek.current.find("whitehall-frontend")
|
12
12
|
|
13
13
|
# Sets up the index endpoints for the given country slugs
|
14
14
|
# The stubs are setup to paginate in chunks of 20
|
data/lib/gds_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gds-api-adapters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 63.
|
4
|
+
version: 63.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|