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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a40f277fd306b18db76025ca370d8ed4bbf1b8f
4
- data.tar.gz: 2335bc37a530d8066189ce4b5a987884802523a5
3
+ metadata.gz: da4e4ae0fc44e8c9ebe795756199c5077dd6d318
4
+ data.tar.gz: 8bd24552bad840fa445a1aa1ea965d20d7af8772
5
5
  SHA512:
6
- metadata.gz: b90e08fc3c110e59de7a8b807f83a526c3fdc271797435c333fd3c1f5658cf35b0bbab5f8ae36981e6aa0faa46dbc5b349ac286ee960e17ee063092fccad8ac0
7
- data.tar.gz: 628cf65f392899017a2d8255f5205192520cff986c87e381a26443e941451e3a6c4d63208979cdde82e169af8142447fd96ba565d3f6035f26f5258a60ed4d69
6
+ metadata.gz: d87312aceb19389654c848d02bbf0815713fec58ced7d8a914035bb4c18149987da6f1866cbd9af27eaaaecb6dfea0c681ef23928a55d3a3bf378b1df4c3696a
7
+ data.tar.gz: d3ddb7828a6469a7bfcc5cce1c372810debb85899a3c490486f12321a2a746c07ff836c4e96287734dd416a519de54fdaa8133339b5233efd7a033674547adba
@@ -10,7 +10,6 @@ require 'gds_api/need_api'
10
10
  require 'gds_api/panopticon'
11
11
  require 'gds_api/publisher'
12
12
  require 'gds_api/worldwide'
13
- require 'gds_api/finder_api'
14
13
  require 'gds_api/email_alert_api'
15
14
 
16
15
  module GdsApi
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '23.2.0'
2
+ VERSION = '23.2.1'
3
3
  end
@@ -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.0
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 00:00:00.000000000 Z
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