laa-fee-calculator-client 0.2.0 → 0.2.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: 3da85f79e91ae96f2fba3ff03befa81ae2341d56559d5de095fadef63af6d118
4
- data.tar.gz: dd17564a3375b73ea9fc5a8c846f2a41eb27db1ca821df9be10cf2fab9b6e138
3
+ metadata.gz: 7733a3472e52dd582d4ba5b4644babcd23420ae9d585151a5e04ef770f412f8f
4
+ data.tar.gz: aba8c175cb04c20c2e9cf7390ece4ef1ecbbf089fa6a62065e473b043e9f1a14
5
5
  SHA512:
6
- metadata.gz: 429ff6ad54a273c293102978e6f041e672ad6b9c883338ae2be5eb0ad0d57023bfa5eb200bd0301f8b8a9f63590b8ee181f014054d353736fb6da76558cfaf0f
7
- data.tar.gz: b44b780ab5cb138df048aa012d66001d9cf9f7253cef1cfd59d8d4181d73683b5d24e0ff6f23dd08fa7dd0ae59cdafd2a9179757fa29f0d90329844658acb2f3
6
+ metadata.gz: 6a2176231b26ee1746b075307475d0c57406f27fc055578128921c6162a3e2a4ae0aa27ab7c40884c1ccfea7498fbaf438af40f777c5a00a60c3ad1226913b35
7
+ data.tar.gz: abbfa982f0e7addab81147b64eead68bc5a8f565e977ef7a8483db12b295568b1c09c38d0272b0a27579ab032b34efde9943a462785970dcce91e46a8387aed8
@@ -2,7 +2,7 @@
2
2
 
3
3
  set -e
4
4
 
5
- rubies=("ruby-2.4.4" "ruby-2.5.0" "ruby-2.5.1")
5
+ rubies=("ruby-2.4.4" "ruby-2.5.0" "ruby-2.5.1" "ruby-2.5.2" "ruby-2.5.3" "ruby-2.6.1")
6
6
  for i in "${rubies[@]}"
7
7
  do
8
8
  echo "====================================================="
@@ -29,12 +29,13 @@ Gem::Specification.new do |spec|
29
29
  spec.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.7'
30
30
  spec.add_runtime_dependency 'faraday', '~> 0.9.2'
31
31
 
32
- spec.add_development_dependency "awesome_print"
33
- spec.add_development_dependency "bundler", "~> 1.16"
34
- spec.add_development_dependency "pry-byebug"
35
- spec.add_development_dependency "rake", "~> 10.0"
36
- spec.add_development_dependency "rspec", "~> 3.0"
37
- spec.add_development_dependency "rubocop", '~> 0.50'
38
- spec.add_development_dependency "vcr"
39
- spec.add_development_dependency "webmock"
32
+ spec.add_development_dependency 'awesome_print'
33
+ spec.add_development_dependency 'bundler', '~> 1.16'
34
+ spec.add_development_dependency 'pry-byebug'
35
+ spec.add_development_dependency 'rake', '~> 10.0'
36
+ spec.add_development_dependency 'rb-readline'
37
+ spec.add_development_dependency 'rspec', '~> 3.0'
38
+ spec.add_development_dependency 'rubocop', '~> 0.50'
39
+ spec.add_development_dependency 'vcr'
40
+ spec.add_development_dependency 'webmock'
40
41
  end
@@ -9,8 +9,8 @@ module LAA
9
9
  attr_accessor :host, :headers
10
10
 
11
11
  def initialize
12
- @host ||= host || LAA_FEE_CALCULATOR_API_V1
13
- @headers ||= headers || HEADERS
12
+ @host = host || LAA_FEE_CALCULATOR_API_V1
13
+ @headers = headers || HEADERS
14
14
  end
15
15
  end
16
16
  end
@@ -9,7 +9,7 @@ module LAA
9
9
  # gem specific handlers.
10
10
  #
11
11
  class RaiseError < Faraday::Response::Middleware
12
- CLIENT_ERROR_STATUSES = 400...600
12
+ CLIENT_ERROR_STATUSES = (400...600).freeze
13
13
 
14
14
  def on_complete(env)
15
15
  case env[:status]
@@ -2,8 +2,8 @@
2
2
 
3
3
  module LAA
4
4
  module FeeCalculator
5
- VERSION = "0.2.0"
6
- VERSION_RELEASED = "2018-09-18"
5
+ VERSION = "0.2.1"
6
+ VERSION_RELEASED = "2019-03-12"
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: 0.2.0
4
+ version: 0.2.1
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: 2018-09-18 00:00:00.000000000 Z
12
+ date: 2019-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
@@ -101,6 +101,20 @@ dependencies:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '10.0'
104
+ - !ruby/object:Gem::Dependency
105
+ name: rb-readline
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
104
118
  - !ruby/object:Gem::Dependency
105
119
  name: rspec
106
120
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
222
  version: '0'
209
223
  requirements: []
210
224
  rubyforge_project:
211
- rubygems_version: 2.7.6
225
+ rubygems_version: 2.7.7
212
226
  signing_key:
213
227
  specification_version: 4
214
228
  summary: Ruby client for the Legal Aid Agency fee calculator API