laa-fee-calculator-client 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +5 -3
- data/laa-fee-calculator-client.gemspec +4 -4
- data/lib/laa/fee_calculator/errors.rb +1 -1
- data/lib/laa/fee_calculator/version.rb +2 -2
- metadata +16 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfc4df8ba322e7976e3226d7d18aa6012af7c2b8c943fc7414dea360f1a3a768
|
4
|
+
data.tar.gz: 99199b2bd8f7f228a4b18be530f9977766f44071d99349f9418fcb7387c5133d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5451efcb50258d96e191b74698eff0b0a592bcc01e84918a14e2df6bf9fe741b337b50fecb6671c39eb182c6523aef118b0397bb9543399c414f62145b5137bd
|
7
|
+
data.tar.gz: 01e114b83353fca2b880882e8d5ed750c9c734e4eb20d566e030da9da6e07a1c61741d1b745591207e4fb47dc699b5d2caab4d306b9d8cfae7351c838bd51fb2
|
data/CHANGELOG.md
CHANGED
@@ -15,6 +15,13 @@ Add latest change log entries at top using template:
|
|
15
15
|
|
16
16
|
```
|
17
17
|
|
18
|
+
## Version 1.1.0
|
19
|
+
|
20
|
+
### Modified
|
21
|
+
- updated Faraday dependency
|
22
|
+
- Fixed deprecation warning resulting from `Faraday::Error::ClientError` being deprecated in favour of `Faraday::ClientError`
|
23
|
+
- updated development dependencies - rubocop, bundler
|
24
|
+
|
18
25
|
## Version 1.0.0
|
19
26
|
|
20
27
|
#### Note
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ endpoints, providing a simple interface for querying data, in particular, the pr
|
|
12
12
|
Add this line to your application's Gemfile:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem 'laa-fee-calculator-client', '~>
|
15
|
+
gem 'laa-fee-calculator-client', '~> 1.1.0'
|
16
16
|
```
|
17
17
|
|
18
18
|
And then execute:
|
@@ -178,9 +178,11 @@ Bug reports and pull requests are welcome on GitHub at [ministryofjustice/laa-fe
|
|
178
178
|
|
179
179
|
4. Update the VERSION_RELEASED in `lib/laa/fee_calculator/version` to the date you intend to publish/release the version.
|
180
180
|
|
181
|
-
5.
|
181
|
+
5. Update the `CHANGELOG.md` - format/documentation standards specified at top of file.
|
182
182
|
|
183
|
-
6.
|
183
|
+
6. PR the change, code-review, merge.
|
184
|
+
|
185
|
+
7. Pull master and run rake task below to publish
|
184
186
|
|
185
187
|
```bash
|
186
188
|
$ rake release
|
@@ -27,15 +27,15 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.required_ruby_version = '>= 2.5.0'
|
28
28
|
|
29
29
|
spec.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.7'
|
30
|
-
spec.add_runtime_dependency 'faraday', '
|
30
|
+
spec.add_runtime_dependency 'faraday', '>= 0.9.2', '< 0.18.0'
|
31
31
|
|
32
32
|
spec.add_development_dependency 'awesome_print'
|
33
|
-
spec.add_development_dependency 'bundler', '~> 2.
|
33
|
+
spec.add_development_dependency 'bundler', '~> 2.1.2'
|
34
34
|
spec.add_development_dependency 'pry-byebug'
|
35
|
-
spec.add_development_dependency 'rake', '~>
|
35
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
36
36
|
spec.add_development_dependency 'rb-readline'
|
37
37
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
38
|
+
spec.add_development_dependency 'rubocop', '~> 0.78'
|
39
39
|
spec.add_development_dependency 'vcr'
|
40
40
|
spec.add_development_dependency 'webmock'
|
41
41
|
end
|
@@ -6,7 +6,7 @@ module LAA
|
|
6
6
|
|
7
7
|
# raised for failed response status between 400 and 599 and not handled
|
8
8
|
# by classes below
|
9
|
-
class ClientError < Faraday::
|
9
|
+
class ClientError < Faraday::ClientError
|
10
10
|
# overide the e.message attribute
|
11
11
|
# e.g. raise LAA::FeeCalculator::ResponseError.new(response)
|
12
12
|
# => #<LAA::FeeCalculator::ResponseError: "`case_date` should be in the format YYYY-MM-DD">
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: laa-fee-calculator-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Sugarman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -35,16 +35,22 @@ dependencies:
|
|
35
35
|
name: faraday
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.9.2
|
41
|
+
- - "<"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.18.0
|
41
44
|
type: :runtime
|
42
45
|
prerelease: false
|
43
46
|
version_requirements: !ruby/object:Gem::Requirement
|
44
47
|
requirements:
|
45
|
-
- - "
|
48
|
+
- - ">="
|
46
49
|
- !ruby/object:Gem::Version
|
47
50
|
version: 0.9.2
|
51
|
+
- - "<"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.18.0
|
48
54
|
- !ruby/object:Gem::Dependency
|
49
55
|
name: awesome_print
|
50
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,14 +71,14 @@ dependencies:
|
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
74
|
+
version: 2.1.2
|
69
75
|
type: :development
|
70
76
|
prerelease: false
|
71
77
|
version_requirements: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
81
|
+
version: 2.1.2
|
76
82
|
- !ruby/object:Gem::Dependency
|
77
83
|
name: pry-byebug
|
78
84
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,14 +99,14 @@ dependencies:
|
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
102
|
+
version: '13.0'
|
97
103
|
type: :development
|
98
104
|
prerelease: false
|
99
105
|
version_requirements: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
109
|
+
version: '13.0'
|
104
110
|
- !ruby/object:Gem::Dependency
|
105
111
|
name: rb-readline
|
106
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +141,14 @@ dependencies:
|
|
135
141
|
requirements:
|
136
142
|
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
144
|
+
version: '0.78'
|
139
145
|
type: :development
|
140
146
|
prerelease: false
|
141
147
|
version_requirements: !ruby/object:Gem::Requirement
|
142
148
|
requirements:
|
143
149
|
- - "~>"
|
144
150
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
151
|
+
version: '0.78'
|
146
152
|
- !ruby/object:Gem::Dependency
|
147
153
|
name: vcr
|
148
154
|
requirement: !ruby/object:Gem::Requirement
|