defra_ruby_govpay 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: ebc3e1002f53ab4c0e4a467375e730feac353cd05d9fb701e6a643a0b783645a
4
- data.tar.gz: d6437d4b6f89f745737b903debb6b34819e17eba8ff7f59fbb641b45780e07b9
3
+ metadata.gz: ba54aba1349d8a9f7f7e7091775e4687b69ba8b3437a980fd0f355d8648db453
4
+ data.tar.gz: ea4115db350c21ba48e867aebbeb4b96791aa89852ca41144b0065cb07bc19df
5
5
  SHA512:
6
- metadata.gz: ea2d5f0d93136560796f261b8ed2b7fb955196fa85708b40372ea61a3486cab12f4cf93de3463ea336ccf1ba3dfc672ffee00fa93f10a8305ce936ad2d1a74bd
7
- data.tar.gz: 6badf44aaa4a8bc9bc0f0b6111f144d8b2fd8f455832be5c1489e2e3b523ea35d95863b939310dadcf68aa6fb7636cdf605d96423def9bb875adbd0117dc89ab
6
+ metadata.gz: 5d1da26faac8cd47483c60a8f66c32b405654978e4322b3258812009a336ef6409ddd68a763248070e7dd5b08f95e658d25710b283a2be0425bb877ea6ab0e70
7
+ data.tar.gz: 9d64fc44573910e2aedd3290065d5d0f3743b12218af85466f2b3bfc8ca7fc5c99636456b59e99b07de2250ddb9a82055a02e34b29121693f6a2b574165370d7
data/Gemfile CHANGED
@@ -7,8 +7,6 @@ gemspec
7
7
 
8
8
  gem "byebug"
9
9
 
10
- gem "github_changelog_generator"
11
-
12
10
  gem "defra_ruby_style", "~> 0.4"
13
11
 
14
12
  gem "rake", "~> 13.0"
data/Gemfile.lock CHANGED
@@ -7,47 +7,10 @@ PATH
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.1.1)
11
- base64
12
- bigdecimal
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
- connection_pool (>= 2.2.5)
15
- drb
16
- i18n (>= 1.6, < 2)
17
- minitest (>= 5.1)
18
- mutex_m
19
- tzinfo (~> 2.0)
20
10
  addressable (2.8.5)
21
11
  public_suffix (>= 2.0.2, < 6.0)
22
12
  ast (2.4.2)
23
- async (2.6.5)
24
- console (~> 1.10)
25
- fiber-annotation
26
- io-event (~> 1.1)
27
- timers (~> 4.1)
28
- async-http (0.61.0)
29
- async (>= 1.25)
30
- async-io (>= 1.28)
31
- async-pool (>= 0.2)
32
- protocol-http (~> 0.25.0)
33
- protocol-http1 (~> 0.16.0)
34
- protocol-http2 (~> 0.15.0)
35
- traces (>= 0.10.0)
36
- async-http-faraday (0.12.0)
37
- async-http (~> 0.42)
38
- faraday
39
- async-io (1.36.1)
40
- async
41
- async-pool (0.4.0)
42
- async (>= 1.25)
43
- base64 (0.1.1)
44
- bigdecimal (3.1.4)
45
13
  byebug (11.1.3)
46
- concurrent-ruby (1.2.2)
47
- connection_pool (2.4.1)
48
- console (1.23.2)
49
- fiber-annotation
50
- fiber-local
51
14
  crack (0.4.5)
52
15
  rexml
53
16
  defra_ruby_style (0.4.0)
@@ -58,56 +21,20 @@ GEM
58
21
  diff-lcs (1.5.0)
59
22
  domain_name (0.5.20190701)
60
23
  unf (>= 0.0.5, < 1.0.0)
61
- drb (2.1.1)
62
- ruby2_keywords
63
- faraday (2.7.11)
64
- base64
65
- faraday-net_http (>= 2.0, < 3.1)
66
- ruby2_keywords (>= 0.0.4)
67
- faraday-http-cache (2.5.0)
68
- faraday (>= 0.8)
69
- faraday-net_http (3.0.2)
70
- fiber-annotation (0.2.0)
71
- fiber-local (1.0.0)
72
- github_changelog_generator (1.16.4)
73
- activesupport
74
- async (>= 1.25.0)
75
- async-http-faraday
76
- faraday-http-cache
77
- multi_json
78
- octokit (~> 4.6)
79
- rainbow (>= 2.2.1)
80
- rake (>= 10.0)
81
24
  hashdiff (1.0.1)
82
25
  http-accept (1.7.0)
83
26
  http-cookie (1.0.5)
84
27
  domain_name (~> 0.5)
85
- i18n (1.14.1)
86
- concurrent-ruby (~> 1.0)
87
- io-event (1.3.3)
88
28
  json (2.6.3)
89
29
  language_server-protocol (3.17.0.3)
90
30
  mime-types (3.5.1)
91
31
  mime-types-data (~> 3.2015)
92
32
  mime-types-data (3.2023.0808)
93
- minitest (5.20.0)
94
- multi_json (1.15.0)
95
- mutex_m (0.1.2)
96
33
  netrc (0.11.0)
97
- octokit (4.25.1)
98
- faraday (>= 1, < 3)
99
- sawyer (~> 0.9)
100
34
  parallel (1.23.0)
101
35
  parser (3.2.2.4)
102
36
  ast (~> 2.4.1)
103
37
  racc
104
- protocol-hpack (1.4.2)
105
- protocol-http (0.25.0)
106
- protocol-http1 (0.16.0)
107
- protocol-http (~> 0.22)
108
- protocol-http2 (0.15.1)
109
- protocol-hpack (~> 1.4)
110
- protocol-http (~> 0.18)
111
38
  public_suffix (5.0.3)
112
39
  racc (1.7.2)
113
40
  rainbow (3.1.1)
@@ -156,14 +83,6 @@ GEM
156
83
  rubocop-capybara (~> 2.17)
157
84
  rubocop-factory_bot (~> 2.22)
158
85
  ruby-progressbar (1.13.0)
159
- ruby2_keywords (0.0.5)
160
- sawyer (0.9.2)
161
- addressable (>= 2.3.5)
162
- faraday (>= 0.17.3, < 3)
163
- timers (4.3.5)
164
- traces (0.11.1)
165
- tzinfo (2.0.6)
166
- concurrent-ruby (~> 1.0)
167
86
  unf (0.1.4)
168
87
  unf_ext
169
88
  unf_ext (0.0.8.2)
@@ -181,7 +100,6 @@ DEPENDENCIES
181
100
  byebug
182
101
  defra_ruby_govpay!
183
102
  defra_ruby_style (~> 0.4)
184
- github_changelog_generator
185
103
  rake (~> 13.0)
186
104
  rspec (~> 3.0)
187
105
  rubocop (~> 1.21)
@@ -55,7 +55,7 @@ module DefraRubyGovpay
55
55
 
56
56
  def handle_error(error, method, path, params)
57
57
  error_message = "Error sending request to govpay (#{method} #{path}, params: #{params}), " \
58
- "response body #{JSON.parse(error.response.body)}: #{error}"
58
+ "response body: #{error.response&.body}: #{error}"
59
59
  DefraRubyGovpay.logger.error error_message
60
60
  raise GovpayApiError, error_message
61
61
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DefraRubyGovpay
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defra_ruby_govpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Pratt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client