govuk-pay-ruby-client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/govuk-pay-ruby-client.gemspec +1 -3
- data/lib/payments_api/configuration.rb +1 -1
- data/lib/payments_api/version.rb +1 -1
- metadata +2 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23c83a770d949134b3b8096cd2aac396b66eeb4a58cb28f04247499bc45f7df1
|
4
|
+
data.tar.gz: 990340815b2a2afb2ab9d9ce3ea8d78bd4547ef5fbde5594a8a33d95105798bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 243b891667787479d562c8b6888c2a6f28a437028249d7d65353d58a796dc17a0d382d8d6771a456be0206ff67a121b6e00b2108d5b714624091351ad7043725
|
7
|
+
data.tar.gz: ccd1efaafc7cd496ad7d2c2ba9729d09003695cbc0ada0763ea218fa65451001fd6c9968d3f83ce5a19707621fbe05cf43f230499e5265656672cb65b3f045d7
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# GOV.UK Pay ruby client (basic functionality)
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/govuk-pay-ruby-client.svg)](https://badge.fury.io/rb/govuk-pay-ruby-client)
|
4
|
+
|
3
5
|
This is a basic little gem to serve as an API client for [GOV.UK Pay](https://www.payments.service.gov.uk).
|
4
6
|
|
5
7
|
Currently it supports:
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.authors = ['Jesus Laiz']
|
12
12
|
spec.email = ['zheileman@users.noreply.github.com']
|
13
13
|
|
14
|
-
spec.summary = 'Ruby client for GOV.UK
|
14
|
+
spec.summary = 'Ruby client for GOV.UK Pay API (basic functionality)'
|
15
15
|
spec.homepage = 'https://github.com/ministryofjustice/govuk-pay-ruby-client'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
|
@@ -27,10 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_runtime_dependency 'faraday', '~> 1.0'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'bundler', '~> 1.17'
|
30
|
-
spec.add_development_dependency 'pry-byebug', '~> 3.4'
|
31
30
|
spec.add_development_dependency 'rake', '~> 13.0'
|
32
31
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
33
32
|
spec.add_development_dependency 'rubocop', '~> 0.80'
|
34
33
|
spec.add_development_dependency 'simplecov', '~> 0.18'
|
35
|
-
spec.add_development_dependency 'webmock', '~> 3.4'
|
36
34
|
end
|
@@ -17,7 +17,7 @@ module PaymentsApi
|
|
17
17
|
@read_timeout = 20 # read timeout in seconds
|
18
18
|
|
19
19
|
@request_headers = {
|
20
|
-
'User-Agent' => "govuk-pay-ruby-client v#{VERSION}",
|
20
|
+
'User-Agent' => "govuk-pay-ruby-client v#{PaymentsApi::VERSION}",
|
21
21
|
'Content-Type' => 'application/json',
|
22
22
|
'Accept' => 'application/json'
|
23
23
|
}.freeze
|
data/lib/payments_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-pay-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesus Laiz
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.17'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pry-byebug
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.4'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.4'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +94,6 @@ dependencies:
|
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '0.18'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: webmock
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '3.4'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '3.4'
|
125
97
|
description:
|
126
98
|
email:
|
127
99
|
- zheileman@users.noreply.github.com
|
@@ -172,5 +144,5 @@ requirements: []
|
|
172
144
|
rubygems_version: 3.0.3
|
173
145
|
signing_key:
|
174
146
|
specification_version: 4
|
175
|
-
summary: Ruby client for GOV.UK
|
147
|
+
summary: Ruby client for GOV.UK Pay API (basic functionality)
|
176
148
|
test_files: []
|