gds-api-adapters 26.2.0 → 26.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43033670f2451e74e4ecc8048760dfd834031618
4
- data.tar.gz: 628a90354b539241f4b73e36ebc8964c37fa3c25
3
+ metadata.gz: c8d2ad10bdb8f23a5fbccc0641d1afc80d5a75c0
4
+ data.tar.gz: 55db7a552841689e8ea718f85a697f65018d7340
5
5
  SHA512:
6
- metadata.gz: 8a435d8ed882a8a758f552b527aad505eee5ab83717e5e665c9192ed9cce1f0def28ac39b9ec60ce9b98a874860aaa07b4fd4ec0b77b197556204447553aef38
7
- data.tar.gz: 9bb98c53792e857a1a3fa595ce4bcfa42201813bf7180ac06c1521d018ae711333cda765511a4b287558305435d8bafe13052f3010dd97b9ea56644503b0bbd9
6
+ metadata.gz: ad34080e34e564a4c05a0378da586e438fea8806323a846e3dbbd39b1dfc4ca6d3ca2350d23a58105fa728e0ae806e46ef23faa6b6215047eb76388f64b48b5c
7
+ data.tar.gz: 9ccf68c027c2edf9a84997942f7dfc4a76f6b161f51d27e39096ee6d2a13f7c2df4fea60bbea0d641bfd902e5c75ef593521867029b1fd1a371da47063c2b732
@@ -50,6 +50,11 @@ module GdsApi
50
50
  stub_request(:any, %r{\A#{PUBLISHING_API_V2_ENDPOINT}})
51
51
  end
52
52
 
53
+ def stub_any_publishing_api_call_to_return_not_found
54
+ stub_request(:any, %r{\A#{PUBLISHING_API_V2_ENDPOINT}})
55
+ .to_return(status: 404, headers: {"Content-Type" => "application/json; charset=utf-8"})
56
+ end
57
+
53
58
  def assert_publishing_api_put_content(content_id, attributes_or_matcher = {}, times = 1)
54
59
  url = PUBLISHING_API_V2_ENDPOINT + "/content/" + content_id
55
60
  assert_publishing_api(:put, url, attributes_or_matcher, times)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '26.2.0'
2
+ VERSION = '26.3.0'
3
3
  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: 26.2.0
4
+ version: 26.3.0
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-11-27 00:00:00.000000000 Z
11
+ date: 2015-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek