laa-fee-calculator-client 1.1.0 → 1.3.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
  SHA256:
3
- metadata.gz: bfc4df8ba322e7976e3226d7d18aa6012af7c2b8c943fc7414dea360f1a3a768
4
- data.tar.gz: 99199b2bd8f7f228a4b18be530f9977766f44071d99349f9418fcb7387c5133d
3
+ metadata.gz: 846930f03ac36c9166dcba3a25cc3b2b552f32b31861043fa1908741912da754
4
+ data.tar.gz: 3b5ec2435a93a7584eff62facedf12a8ab3c754f6f83bcabc625b1ef8fc96c07
5
5
  SHA512:
6
- metadata.gz: 5451efcb50258d96e191b74698eff0b0a592bcc01e84918a14e2df6bf9fe741b337b50fecb6671c39eb182c6523aef118b0397bb9543399c414f62145b5137bd
7
- data.tar.gz: 01e114b83353fca2b880882e8d5ed750c9c734e4eb20d566e030da9da6e07a1c61741d1b745591207e4fb47dc699b5d2caab4d306b9d8cfae7351c838bd51fb2
6
+ metadata.gz: 953bba0d471745c2502a7dc9b0d7cc21c1a58fae009ce09777d419b4a9cc7177b25593d90476ed3536b2f17092b2f124336090dd6c600b7567021dc0f2d26113
7
+ data.tar.gz: 44e1ca22ff932959a6ddfab3046120b8d619647178e9e37957b23539176cee281916e24f23cc6b4fb409b0c58862c0650bf460eb2ee92032c0dbd0a0472e4e25
data/CHANGELOG.md CHANGED
@@ -12,8 +12,33 @@ Add latest change log entries at top using template:
12
12
  -
13
13
  ### Removed
14
14
  -
15
-
16
15
  ```
16
+ ## Version 1.3.1
17
+
18
+ ### Removed
19
+ - `addressable` gem dependency
20
+
21
+ ## Version 1.3.0
22
+
23
+ ### Modified
24
+ - update Faraday dependency
25
+
26
+ ### Added
27
+ - support for Ruby 3.0 and 3.1
28
+
29
+ ### Removed
30
+ - removed support for Ruby 2.6
31
+
32
+ ## Version 1.2.0
33
+
34
+ ### Modified
35
+ - updated Faraday dependency
36
+ - updated development dependencies - rubocop, bundler
37
+ ### Added
38
+ - support/testing for ruby 2.7.0
39
+ ### Removed
40
+ - removed support for ruby 2.5
41
+ - removed testing against ruby versions less than 2.6
17
42
 
18
43
  ## Version 1.1.0
19
44
 
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- source "https://rubygems.org"
3
+ source 'https://rubygems.org'
4
4
 
5
5
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
- [![Build Status](https://travis-ci.org/ministryofjustice/laa-fee-calculator-client.svg?branch=master)](https://travis-ci.org/ministryofjustice/laa-fee-calculator-client)
1
+ ![RSpec](https://github.com/ministryofjustice/laa-fee-calculator-client/actions/workflows/rspec.yml/badge.svg)
2
+ ![Rubocop](https://github.com/ministryofjustice/laa-fee-calculator-client/actions/workflows/rubocop.yml/badge.svg)
2
3
  [![Gem Version](https://badge.fury.io/rb/laa-fee-calculator-client.svg)](https://badge.fury.io/rb/laa-fee-calculator-client)
3
4
  ![](https://ruby-gem-downloads-badge.herokuapp.com/laa-fee-calculator-client?type=total)
4
5
 
@@ -12,7 +13,7 @@ endpoints, providing a simple interface for querying data, in particular, the pr
12
13
  Add this line to your application's Gemfile:
13
14
 
14
15
  ```ruby
15
- gem 'laa-fee-calculator-client', '~> 1.1.0'
16
+ gem 'laa-fee-calculator-client', '~> 1.2.0'
16
17
  ```
17
18
 
18
19
  And then execute:
@@ -172,17 +173,15 @@ Bug reports and pull requests are welcome on GitHub at [ministryofjustice/laa-fe
172
173
 
173
174
  1. Make required changes, run specs (rerecord vcr cassettes if necessary)
174
175
 
175
- 2. Run `bin/ruby_version_test` to test against ruby versions (2.5+ supported at present)
176
+ 2. Run `bin/ruby_version_test` to test against ruby versions (2.7+ supported at present)
176
177
 
177
178
  3. Update the VERSION in `lib/laa/fee_calculator/version` using [semantic versioning](https://guides.rubygems.org/patterns/#semantic-versioning).
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
+ 4. Update the `CHANGELOG.md` - format/documentation standards specified at top of file.
180
181
 
181
- 5. Update the `CHANGELOG.md` - format/documentation standards specified at top of file.
182
+ 5. PR the change, code-review, merge.
182
183
 
183
- 6. PR the change, code-review, merge.
184
-
185
- 7. Pull master and run rake task below to publish
184
+ 6. Pull master and run rake task below to publish. Note, you will need a [rubygems](https://rubygems.org/) account with gem owner privileges and have configured your `~/.gem/credentials` in order for this task to complete successfully.
186
185
 
187
186
  ```bash
188
187
  $ rake release
@@ -195,7 +194,7 @@ $ git push -u origin <branch>
195
194
  $ git tag -a v<VERSION> -m "Version <VERSION>"
196
195
  $ git push origin v<VERSION>
197
196
  $ gem build laa-fee-calculator-client.gemspec
198
- $ gem push laa-fee-calculator-client-<VERSION>.gemspec
197
+ $ gem push laa-fee-calculator-client-<VERSION>.gem
199
198
  ```
200
199
  *`<VERSION>` is the value of `LAA::FeeCalculator::VERSION`
201
200
 
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
5
  require 'rubocop/rake_task'
6
6
 
7
7
  RSpec::Core::RakeTask.new(:spec)
data/bin/console CHANGED
@@ -1,9 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "bundler/setup"
5
- require "pry-byebug"
6
- require "laa/fee_calculator"
4
+ require 'bundler/setup'
5
+ require 'laa/fee_calculator'
7
6
 
8
7
  # You can add fixtures and/or initialization code here to make experimenting
9
8
  # with your gem easier. You can also use a different console, if you like.
@@ -17,5 +16,5 @@ LAA::FeeCalculator.configure do |config|
17
16
  config.host = 'http://localhost:8000/api/v1'
18
17
  end
19
18
 
20
- require "irb"
19
+ require 'irb'
21
20
  IRB.start(__FILE__)
@@ -2,17 +2,64 @@
2
2
 
3
3
  set -e
4
4
 
5
- rubies=("ruby-2.5.5" "ruby-2.6.0" "ruby-2.6.1" "ruby-2.6.2" "ruby-2.6.3")
6
- for i in "${rubies[@]}"
5
+ RUBIES="2.7 3.0 3.1"
6
+
7
+ if [ -e Gemfile.lock ]
8
+ then
9
+ echo Moving Gemfile.lock to Gemfile.lock.tmp
10
+ mv Gemfile.lock Gemfile.lock.tmp
11
+ fi
12
+
13
+ if (which rbenv)
14
+ then
15
+ echo "Using rbenv"
16
+ eval "$(rbenv init - bash)"
17
+ get_version() {
18
+ rbenv install --list 2> /dev/null | grep -E "^$1"
19
+ }
20
+ install_ruby() {
21
+ rbenv install --skip-existing $1
22
+ }
23
+ run_tests_with() {
24
+ rbenv shell $1
25
+ bundle install
26
+ bundle exec rspec spec
27
+ rbenv shell --unset
28
+ }
29
+ elif (which rvm)
30
+ then
31
+ echo "Using rvm"
32
+ get_version() {
33
+ echo $1
34
+ }
35
+ install_ruby() {
36
+ rvm install $1
37
+ }
38
+ run_tests_with() {
39
+ rvm $1 exec bundle install
40
+ rvm $1 exec bundle exec rspec spec
41
+ }
42
+ else
43
+ echo "No Ruby version manager found"
44
+ exit 1
45
+ fi
46
+
47
+ for r in $RUBIES
7
48
  do
8
49
  echo "====================================================="
9
- echo "$i: Start Test"
50
+ echo "$r: Start Test"
10
51
  echo "====================================================="
11
- if [[ $(rvm list | grep $i) ]]; then echo "$i already installed!"; else rvm install $i; fi
12
- rvm $i exec gem install bundler
13
- rvm $i exec bundle install
14
- rvm $i exec bundle exec rspec spec
52
+ VERSION=`get_version $r`
53
+ install_ruby $VERSION
54
+ run_tests_with $VERSION
55
+ rm Gemfile.lock
15
56
  echo "====================================================="
16
- echo "$i: End Test"
57
+ echo "$r: End Test"
17
58
  echo "====================================================="
18
59
  done
60
+
61
+ if [ -e Gemfile.lock.tmp ]
62
+ then
63
+ echo Moving Gemfile.lock.tmp to Gemfile.lock
64
+ mv Gemfile.lock.tmp Gemfile.lock
65
+ fi
@@ -7,14 +7,13 @@ require 'laa/fee_calculator/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'laa-fee-calculator-client'
9
9
  spec.version = LAA::FeeCalculator::VERSION
10
- spec.authors = ['Joel Sugarman', 'Ministry of Justice']
11
- spec.email = ['joel.sugarman@digital.justice.gov.uk', 'tools@digital.justice.gov.uk']
12
- spec.date = LAA::FeeCalculator::VERSION_RELEASED
10
+ spec.authors = ['Katharine Ahern', 'Ministry of Justice']
11
+ spec.email = ['katharine.ahern@digital.justice.gov.uk', 'joel.sugarman@digital.justice.gov.uk', 'tools@digital.justice.gov.uk']
13
12
  spec.summary = 'Ruby client for the Legal Aid Agency fee calculator API'
14
- spec.description = "Ruby client for the Ministry of Justices LAA fee calculator API. A simple interface for transparent calling of the API endpoints to query data and return calculated fee amounts."
13
+ spec.description = 'Ruby client for the Ministry of Justices LAA fee calculator API. A simple interface for transparent calling of the API endpoints to query data and return calculated fee amounts.'
15
14
  spec.homepage = 'https://github.com/ministryofjustice/laa-fee-calculator-client'
16
15
  spec.license = 'MIT'
17
- spec.extra_rdoc_files = ["LICENSE", "README.md"]
16
+ spec.extra_rdoc_files = ['LICENSE', 'README.md']
18
17
 
19
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
19
  f.match(%r{^(test/|spec/|features/|\..*)})
@@ -24,18 +23,18 @@ Gem::Specification.new do |spec|
24
23
  spec.require_paths = ['lib']
25
24
 
26
25
  # see bin/ruby_version_test
27
- spec.required_ruby_version = '>= 2.5.0'
26
+ spec.required_ruby_version = '>= 2.6.0'
28
27
 
29
- spec.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.7'
30
- spec.add_runtime_dependency 'faraday', '>= 0.9.2', '< 0.18.0'
28
+ spec.add_runtime_dependency 'faraday', '~> 1.0'
31
29
 
32
30
  spec.add_development_dependency 'awesome_print'
33
- spec.add_development_dependency 'bundler', '~> 2.1.2'
34
- spec.add_development_dependency 'pry-byebug'
35
31
  spec.add_development_dependency 'rake', '~> 13.0'
36
32
  spec.add_development_dependency 'rb-readline'
37
33
  spec.add_development_dependency 'rspec', '~> 3.0'
38
- spec.add_development_dependency 'rubocop', '~> 0.78'
34
+ spec.add_development_dependency 'rubocop', '~> 1.28'
35
+ spec.add_development_dependency 'rubocop-performance', '~> 1.13'
36
+ spec.add_development_dependency 'rubocop-rake', '~> 0.6'
37
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
39
38
  spec.add_development_dependency 'vcr'
40
39
  spec.add_development_dependency 'webmock'
41
40
  end
@@ -6,25 +6,18 @@ module LAA
6
6
  extend Forwardable
7
7
  def_delegators :connection, :get
8
8
 
9
- attr_reader :scheme_pk, :options
10
-
11
9
  def initialize(scheme_pk, options)
12
- @scheme_pk = scheme_pk
13
- @options = options
10
+ @uri = "fee-schemes/#{scheme_pk}/calculate/"
11
+ @filtered_params = options.reject { |k, _v| k.eql?(:id) }
14
12
  end
15
13
 
16
14
  def call
17
- uri.query_values = options.reject { |k, _v| k.eql?(:id) }
18
- json = get(uri).body
15
+ json = get(@uri, @filtered_params).body
19
16
  JSON.parse(json)['amount']
20
17
  end
21
18
 
22
19
  private
23
20
 
24
- def uri
25
- @uri ||= Addressable::URI.parse("fee-schemes/#{scheme_pk}/calculate/")
26
- end
27
-
28
21
  def connection
29
22
  @connection ||= Connection.instance
30
23
  end
@@ -1,4 +1,4 @@
1
- require "addressable/uri"
1
+ # frozen_string_literal: true
2
2
 
3
3
  module LAA
4
4
  module FeeCalculator
@@ -17,13 +17,11 @@ module LAA
17
17
  end
18
18
 
19
19
  def fee_schemes(id = nil, **options)
20
- uri = 'fee-schemes/'
21
- id ||= options.fetch(:id, nil)
22
- uri.concat(id.to_s, "/") if id
23
- uri = Addressable::URI.parse(uri)
24
- uri.query_values = options.reject { |k, _v| k.eql?(:id) }
20
+ uri = fee_schemes_uri(id || options[:id])
21
+ filtered_params = options.reject { |k, _| k.eql?(:id) }
22
+ # Ruby 3.0+; filtered_params = options.except(:id)
25
23
 
26
- json = get(uri).body
24
+ json = get(uri, filtered_params).body
27
25
 
28
26
  fstruct = JSON.parse(json, object_class: FeeScheme)
29
27
  return fstruct unless fstruct.respond_to?(:results)
@@ -31,6 +29,14 @@ module LAA
31
29
 
32
30
  fstruct.results
33
31
  end
32
+
33
+ private
34
+
35
+ def fee_schemes_uri(id)
36
+ return "fee-schemes/#{id}/" if id
37
+
38
+ 'fee-schemes/'
39
+ end
34
40
  end
35
41
  end
36
42
  end
@@ -10,12 +10,13 @@ module LAA
10
10
  extend Forwardable
11
11
 
12
12
  attr_reader :conn
13
+
13
14
  def_delegators :conn, :port, :headers, :url_prefix, :options, :ssl, :get
14
15
 
15
16
  def initialize
16
17
  @conn = Faraday.new(url: LAA::FeeCalculator.configuration.host, headers: default_headers) do |conn|
17
18
  conn.use LAA::FeeCalculator::RaiseError
18
- conn.use Faraday::Adapter::NetHttp
19
+ conn.adapter :net_http
19
20
  end
20
21
  end
21
22
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'json'
2
4
 
3
5
  module LAA
@@ -17,18 +19,11 @@ module LAA
17
19
  end
18
20
 
19
21
  def has_many(association)
20
- define_method("#{association}_uri".to_sym) do |scheme_pk = nil, id = nil|
21
- uri = scheme_pk.nil? ? "#{association.to_s.tr('_', '-')}/" : "fee-schemes/#{scheme_pk}/#{association.to_s.tr('_', '-')}/"
22
- uri = uri.concat(id.to_s, '/') unless id.nil?
23
- Addressable::URI.parse(uri)
24
- end
25
-
26
22
  define_method(association) do |id = nil, **options|
27
- id ||= options&.fetch(:id, nil)
28
- uri = self.send("#{association}_uri", self.id, id)
29
- uri.query_values = options.reject { |k, _v| k.eql?(:id) }
23
+ uri = uri_for(association, id: id || options[:id])
24
+ filtered_params = options.reject { |k, _v| k.eql?(:id) }
30
25
 
31
- json = get(uri).body
26
+ json = get(uri, filtered_params).body
32
27
 
33
28
  ostruct = JSON.parse(json, object_class: OpenStruct)
34
29
  return ostruct unless ostruct.respond_to?(:results)
@@ -37,6 +32,16 @@ module LAA
37
32
  end
38
33
  end
39
34
  end
35
+
36
+ def uri_for(association, id: nil)
37
+ return "#{base_fee_scheme_uri}#{association.to_s.tr('_', '-')}/" if id.nil?
38
+
39
+ "#{base_fee_scheme_uri}#{association.to_s.tr('_', '-')}/#{id}/"
40
+ end
41
+
42
+ def base_fee_scheme_uri
43
+ id ? "fee-schemes/#{id}/" : ''
44
+ end
40
45
  end
41
46
  end
42
47
  end
@@ -2,8 +2,7 @@
2
2
 
3
3
  module LAA
4
4
  module FeeCalculator
5
- VERSION = "1.1.0"
6
- VERSION_RELEASED = "2019-12-20"
5
+ VERSION = '1.3.1'
7
6
  USER_AGENT = "laa-fee-calculator-client/#{VERSION}"
8
7
  end
9
8
  end
@@ -12,7 +12,7 @@ module LAA
12
12
  module FeeCalculator
13
13
  class << self
14
14
  def root
15
- spec = Gem::Specification.find_by_name("laa-fee-calculator-client")
15
+ spec = Gem::Specification.find_by_name('laa-fee-calculator-client')
16
16
  spec.gem_dir
17
17
  end
18
18
 
@@ -21,6 +21,7 @@ module LAA
21
21
  end
22
22
 
23
23
  attr_writer :configuration
24
+
24
25
  def configuration
25
26
  @configuration ||= Configuration.new
26
27
  end
metadata CHANGED
@@ -1,56 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: laa-fee-calculator-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Joel Sugarman
7
+ - Katharine Ahern
8
8
  - Ministry of Justice
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-12-20 00:00:00.000000000 Z
12
+ date: 2022-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: addressable
15
+ name: faraday
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '2.3'
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.3.7
20
+ version: '1.0'
24
21
  type: :runtime
25
22
  prerelease: false
26
23
  version_requirements: !ruby/object:Gem::Requirement
27
24
  requirements:
28
25
  - - "~>"
29
26
  - !ruby/object:Gem::Version
30
- version: '2.3'
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 2.3.7
34
- - !ruby/object:Gem::Dependency
35
- name: faraday
36
- requirement: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 0.9.2
41
- - - "<"
42
- - !ruby/object:Gem::Version
43
- version: 0.18.0
44
- type: :runtime
45
- prerelease: false
46
- version_requirements: !ruby/object:Gem::Requirement
47
- requirements:
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: 0.9.2
51
- - - "<"
52
- - !ruby/object:Gem::Version
53
- version: 0.18.0
27
+ version: '1.0'
54
28
  - !ruby/object:Gem::Dependency
55
29
  name: awesome_print
56
30
  requirement: !ruby/object:Gem::Requirement
@@ -66,21 +40,21 @@ dependencies:
66
40
  - !ruby/object:Gem::Version
67
41
  version: '0'
68
42
  - !ruby/object:Gem::Dependency
69
- name: bundler
43
+ name: rake
70
44
  requirement: !ruby/object:Gem::Requirement
71
45
  requirements:
72
46
  - - "~>"
73
47
  - !ruby/object:Gem::Version
74
- version: 2.1.2
48
+ version: '13.0'
75
49
  type: :development
76
50
  prerelease: false
77
51
  version_requirements: !ruby/object:Gem::Requirement
78
52
  requirements:
79
53
  - - "~>"
80
54
  - !ruby/object:Gem::Version
81
- version: 2.1.2
55
+ version: '13.0'
82
56
  - !ruby/object:Gem::Dependency
83
- name: pry-byebug
57
+ name: rb-readline
84
58
  requirement: !ruby/object:Gem::Requirement
85
59
  requirements:
86
60
  - - ">="
@@ -94,61 +68,75 @@ dependencies:
94
68
  - !ruby/object:Gem::Version
95
69
  version: '0'
96
70
  - !ruby/object:Gem::Dependency
97
- name: rake
71
+ name: rspec
98
72
  requirement: !ruby/object:Gem::Requirement
99
73
  requirements:
100
74
  - - "~>"
101
75
  - !ruby/object:Gem::Version
102
- version: '13.0'
76
+ version: '3.0'
103
77
  type: :development
104
78
  prerelease: false
105
79
  version_requirements: !ruby/object:Gem::Requirement
106
80
  requirements:
107
81
  - - "~>"
108
82
  - !ruby/object:Gem::Version
109
- version: '13.0'
83
+ version: '3.0'
110
84
  - !ruby/object:Gem::Dependency
111
- name: rb-readline
85
+ name: rubocop
112
86
  requirement: !ruby/object:Gem::Requirement
113
87
  requirements:
114
- - - ">="
88
+ - - "~>"
115
89
  - !ruby/object:Gem::Version
116
- version: '0'
90
+ version: '1.28'
117
91
  type: :development
118
92
  prerelease: false
119
93
  version_requirements: !ruby/object:Gem::Requirement
120
94
  requirements:
121
- - - ">="
95
+ - - "~>"
122
96
  - !ruby/object:Gem::Version
123
- version: '0'
97
+ version: '1.28'
124
98
  - !ruby/object:Gem::Dependency
125
- name: rspec
99
+ name: rubocop-performance
126
100
  requirement: !ruby/object:Gem::Requirement
127
101
  requirements:
128
102
  - - "~>"
129
103
  - !ruby/object:Gem::Version
130
- version: '3.0'
104
+ version: '1.13'
131
105
  type: :development
132
106
  prerelease: false
133
107
  version_requirements: !ruby/object:Gem::Requirement
134
108
  requirements:
135
109
  - - "~>"
136
110
  - !ruby/object:Gem::Version
137
- version: '3.0'
111
+ version: '1.13'
138
112
  - !ruby/object:Gem::Dependency
139
- name: rubocop
113
+ name: rubocop-rake
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '0.6'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.6'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rubocop-rspec
140
128
  requirement: !ruby/object:Gem::Requirement
141
129
  requirements:
142
130
  - - "~>"
143
131
  - !ruby/object:Gem::Version
144
- version: '0.78'
132
+ version: '2.10'
145
133
  type: :development
146
134
  prerelease: false
147
135
  version_requirements: !ruby/object:Gem::Requirement
148
136
  requirements:
149
137
  - - "~>"
150
138
  - !ruby/object:Gem::Version
151
- version: '0.78'
139
+ version: '2.10'
152
140
  - !ruby/object:Gem::Dependency
153
141
  name: vcr
154
142
  requirement: !ruby/object:Gem::Requirement
@@ -181,6 +169,7 @@ description: Ruby client for the Ministry of Justices LAA fee calculator API. A
181
169
  interface for transparent calling of the API endpoints to query data and return
182
170
  calculated fee amounts.
183
171
  email:
172
+ - katharine.ahern@digital.justice.gov.uk
184
173
  - joel.sugarman@digital.justice.gov.uk
185
174
  - tools@digital.justice.gov.uk
186
175
  executables: []
@@ -221,14 +210,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
210
  requirements:
222
211
  - - ">="
223
212
  - !ruby/object:Gem::Version
224
- version: 2.5.0
213
+ version: 2.6.0
225
214
  required_rubygems_version: !ruby/object:Gem::Requirement
226
215
  requirements:
227
216
  - - ">="
228
217
  - !ruby/object:Gem::Version
229
218
  version: '0'
230
219
  requirements: []
231
- rubygems_version: 3.0.3
220
+ rubygems_version: 3.1.6
232
221
  signing_key:
233
222
  specification_version: 4
234
223
  summary: Ruby client for the Legal Aid Agency fee calculator API