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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e91d89315e8d8119bb926e760828c6f9f267049dbf72130c64158a0a86fc2f8
4
- data.tar.gz: 90586ee41c12e1a473e6a725494623737e05324794168d60099e55361a7c268a
3
+ metadata.gz: bfc4df8ba322e7976e3226d7d18aa6012af7c2b8c943fc7414dea360f1a3a768
4
+ data.tar.gz: 99199b2bd8f7f228a4b18be530f9977766f44071d99349f9418fcb7387c5133d
5
5
  SHA512:
6
- metadata.gz: '092cbda2e9b578a3c0c07b941079437c546583368131ac5698c6e5c09ad530a5e82b2c57c50bf8abef64f28303461d298b5670c3c0a50ffd7ec5dbcceb3215b5'
7
- data.tar.gz: 370b75e0bdb3cb1809ab1d0ec0df6bf64afcf13ec92c2ca84e60e8115ac15befe57928976f321bee676dfbdcca737c5e57d8afdfbeb0da8e4218aa3e4f3b03f6
6
+ metadata.gz: 5451efcb50258d96e191b74698eff0b0a592bcc01e84918a14e2df6bf9fe741b337b50fecb6671c39eb182c6523aef118b0397bb9543399c414f62145b5137bd
7
+ data.tar.gz: 01e114b83353fca2b880882e8d5ed750c9c734e4eb20d566e030da9da6e07a1c61741d1b745591207e4fb47dc699b5d2caab4d306b9d8cfae7351c838bd51fb2
@@ -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', '~> 0.1.1'
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. PR the change, code-review, merge.
181
+ 5. Update the `CHANGELOG.md` - format/documentation standards specified at top of file.
182
182
 
183
- 6. Pull master and run rake task below to publish
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', '~> 0.9.2'
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.0.0'
33
+ spec.add_development_dependency 'bundler', '~> 2.1.2'
34
34
  spec.add_development_dependency 'pry-byebug'
35
- spec.add_development_dependency 'rake', '~> 10.0'
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.74'
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::Error::ClientError
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">
@@ -2,8 +2,8 @@
2
2
 
3
3
  module LAA
4
4
  module FeeCalculator
5
- VERSION = "1.0.0"
6
- VERSION_RELEASED = "2019-08-05"
5
+ VERSION = "1.1.0"
6
+ VERSION_RELEASED = "2019-12-20"
7
7
  USER_AGENT = "laa-fee-calculator-client/#{VERSION}"
8
8
  end
9
9
  end
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.0.0
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-08-05 00:00:00.000000000 Z
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.0.0
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.0.0
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: '10.0'
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: '10.0'
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.74'
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.74'
151
+ version: '0.78'
146
152
  - !ruby/object:Gem::Dependency
147
153
  name: vcr
148
154
  requirement: !ruby/object:Gem::Requirement