gds-api-adapters 23.2.0 → 23.2.1
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/helpers.rb +0 -1
- data/lib/gds_api/version.rb +1 -1
- data/test/helpers_test.rb +26 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da4e4ae0fc44e8c9ebe795756199c5077dd6d318
|
4
|
+
data.tar.gz: 8bd24552bad840fa445a1aa1ea965d20d7af8772
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d87312aceb19389654c848d02bbf0815713fec58ced7d8a914035bb4c18149987da6f1866cbd9af27eaaaecb6dfea0c681ef23928a55d3a3bf378b1df4c3696a
|
7
|
+
data.tar.gz: d3ddb7828a6469a7bfcc5cce1c372810debb85899a3c490486f12321a2a746c07ff836c4e96287734dd416a519de54fdaa8133339b5233efd7a033674547adba
|
data/lib/gds_api/helpers.rb
CHANGED
data/lib/gds_api/version.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'gds_api/helpers'
|
3
|
+
|
4
|
+
describe GdsApi::Helpers do
|
5
|
+
class TestDouble
|
6
|
+
include GdsApi::Helpers
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should define helpers for the various apis" do
|
10
|
+
test_with_helpers = TestDouble.new
|
11
|
+
|
12
|
+
refute_nil test_with_helpers.asset_manager_api
|
13
|
+
refute_nil test_with_helpers.business_support_api
|
14
|
+
refute_nil test_with_helpers.content_api
|
15
|
+
refute_nil test_with_helpers.content_register
|
16
|
+
refute_nil test_with_helpers.content_store
|
17
|
+
refute_nil test_with_helpers.fact_cave_api
|
18
|
+
refute_nil test_with_helpers.publisher_api
|
19
|
+
refute_nil test_with_helpers.imminence_api
|
20
|
+
refute_nil test_with_helpers.licence_application_api
|
21
|
+
refute_nil test_with_helpers.need_api
|
22
|
+
refute_nil test_with_helpers.panopticon_api
|
23
|
+
refute_nil test_with_helpers.worldwide_api
|
24
|
+
refute_nil test_with_helpers.email_alert_api
|
25
|
+
end
|
26
|
+
end
|
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: 23.2.
|
4
|
+
version: 23.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Stewart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|
@@ -360,6 +360,7 @@ files:
|
|
360
360
|
- test/fixtures/world_organisations_australia.json
|
361
361
|
- test/gds_api_base_test.rb
|
362
362
|
- test/gov_uk_delivery_test.rb
|
363
|
+
- test/helpers_test.rb
|
363
364
|
- test/imminence_api_test.rb
|
364
365
|
- test/json_client_test.rb
|
365
366
|
- test/licence_application_api_test.rb
|
@@ -427,6 +428,7 @@ test_files:
|
|
427
428
|
- test/licence_application_api_test.rb
|
428
429
|
- test/gov_uk_delivery_test.rb
|
429
430
|
- test/maslow_test.rb
|
431
|
+
- test/helpers_test.rb
|
430
432
|
- test/panopticon_registerer_test.rb
|
431
433
|
- test/panopticon_test.rb
|
432
434
|
- test/middleware/govuk_header_sniffer_test.rb
|