gds-api-adapters 47.1.0 → 47.1.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: 07a8872b59b834e53fb0e489fc1d739935fc7612
4
- data.tar.gz: f6f1ff1b3e6f38c7b62925b580bb0f8c54ef6f69
3
+ metadata.gz: 4ef33bc6ded80f8b5585aa3eacdef99b2c06257c
4
+ data.tar.gz: c38816d7b8061a336df2835b16c8871a756aed15
5
5
  SHA512:
6
- metadata.gz: 001b52990662be57cd02b0e163d651540789cb34a7d6ae7e726c461364180861d34b7316150215dc823191d72f9fe8c8afd50ccc0d8aa742e5b55ccc6deb59f8
7
- data.tar.gz: 825e5e74f72b944b4fb64c139d0d079ec62a4523f94aa289ba403fdba92e84bd38e6f791956343eafdf63a64df081bdc438f89299ba578fc71dd21e1fae443ae
6
+ metadata.gz: b10cbeb80228493c6e6d75adc4c41341f2979375c85ba21e14bc3cc471d68a78e8043102781d825e334060f2235ce6e5cf098185c95f44eb2b6253ad3833b8e6
7
+ data.tar.gz: 0b46f6e2aa914728a621bf5f7608ffd94b3f8ade25cf75e9f5f3f3c714fe2f5afaa1b538f6303f036eb3cb7d1613b23590b33175c2c821d1b56a664214ffa157
@@ -71,7 +71,7 @@ module GdsApi
71
71
  def search_terms(slug)
72
72
  options = {
73
73
  slug: slug,
74
- transaction: 'searchTerms',
74
+ transaction: 'search-terms',
75
75
  group_by: 'searchKeyword',
76
76
  collect: 'searchUniques:sum'
77
77
  }
@@ -81,7 +81,7 @@ module GdsApi
81
81
  def searches(slug, is_multipart)
82
82
  options = {
83
83
  slug: slug,
84
- transaction: 'searchTerms',
84
+ transaction: 'search-terms',
85
85
  group_by: 'pagePath',
86
86
  collect: 'searchUniques:sum'
87
87
  }
@@ -2,7 +2,7 @@ module GdsApi
2
2
  module TestHelpers
3
3
  module PerformancePlatform
4
4
  module DataOut
5
- PP_DATA_OUT_ENDPOINT = "http://www.performance.service.gov.uk".freeze
5
+ PP_DATA_OUT_ENDPOINT = "https://www.performance.service.gov.uk".freeze
6
6
 
7
7
  def stub_service_feedback(slug, response_body = {})
8
8
  stub_http_request(:get, "#{PP_DATA_OUT_ENDPOINT}/data/#{slug}/customer-satisfaction").
@@ -21,7 +21,7 @@ module GdsApi
21
21
  def stub_search_terms(slug, response_body = {})
22
22
  options = {
23
23
  slug: slug,
24
- transaction: 'searchTerms',
24
+ transaction: 'search-terms',
25
25
  group_by: 'searchKeyword',
26
26
  collect: 'searchUniques:sum'
27
27
  }
@@ -31,7 +31,7 @@ module GdsApi
31
31
  def stub_searches(slug, is_multipart, response_body = {})
32
32
  options = {
33
33
  slug: slug,
34
- transaction: 'searchTerms',
34
+ transaction: 'search-terms',
35
35
  group_by: 'pagePath',
36
36
  collect: 'searchUniques:sum'
37
37
  }
@@ -76,7 +76,7 @@ module GdsApi
76
76
  end
77
77
 
78
78
  def stub_search_404(slug)
79
- stub_request(:get, "#{PP_DATA_OUT_ENDPOINT}/data/govuk-info/searchTerms").
79
+ stub_request(:get, "#{PP_DATA_OUT_ENDPOINT}/data/govuk-info/search-terms").
80
80
  with(query: hash_including(filter_by: slug)).
81
81
  to_return(status: 404, headers: { content_type: "application/json" })
82
82
  end
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '47.1.0'.freeze
2
+ VERSION = '47.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 47.1.0
4
+ version: 47.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stewart