finapps_core 5.0.9 → 5.0.10

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: 02d94808c56da43ce378a957a15a28a0eb48d5005c785e784ba9142a9652d91f
4
- data.tar.gz: 2eabf5b84c9839d2cdd9f80245d8a3454bcb863f1b8dcdbea89e0a4a2b3ef8c2
3
+ metadata.gz: 7430c005b154f12216d5ea8075681c9ff616a783e1b4706c339531e1a821aa95
4
+ data.tar.gz: 0edaf97a7ab75208c30944d75243bab93471b249b99aeeed86a51f2025e3f6a9
5
5
  SHA512:
6
- metadata.gz: 2b494fac5ca2d2104d5d40912c440b08e750e137fa4a0bd44bdfa8b540c6ad4e627b2ae5eb372fcf704d915c98028854d9f5ab527ede1a8a29b87e4527ae4f1c
7
- data.tar.gz: '028ea9d578f9d6a8f97ba73c715d08c65f4f06548c620bc5d6c05c76b505e5268a3736d454a3f39b37c71e3c4744364ee4c658d3913ea7d64031b25bcf77bb76'
6
+ metadata.gz: 769493f4d4bc686430d96dd960daf52383e2d8eea8a4b9ed7a36bcb9151d3ff201f8e8f0611947b71e970fc6f8e0cce822009c8c295f1ee418885c7c2ebf31e7
7
+ data.tar.gz: ef666e527b1e772180f0586ec5d7ba9250fed366c8e539e73735337a8e1f16238ecd270cd5547401e7c30fdfd59c7a6dad70433452eb769dab2d55473dff7198
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = Dir['spec/**/*.rb']
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_runtime_dependency 'faraday', '~> 0.15', '>= 0.15.3'
24
- spec.add_runtime_dependency 'faraday_middleware', '~> 0.12', '>= 0.12.2'
23
+ spec.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1'
24
+ spec.add_runtime_dependency 'faraday_middleware', '~> 1.0', '>= 1.0'
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.2'
26
+ spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.2'
27
27
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0', '>= 1.0.9'
28
28
  spec.add_development_dependency 'gem-release', '~> 2.0', '>= 2.0.3'
29
29
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
@@ -81,7 +81,7 @@ module FinAppsCore
81
81
  [send(method, path, params), []]
82
82
  rescue FinAppsCore::InvalidArgumentsError,
83
83
  FinAppsCore::MissingArgumentsError,
84
- Faraday::Error::ConnectionFailed => e
84
+ Faraday::ConnectionFailed => e
85
85
  [nil, handle_error(e)]
86
86
  rescue Faraday::ClientError => e
87
87
  [nil, handle_client_error(e)]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinAppsCore
4
- VERSION = '5.0.9'
4
+ VERSION = '5.0.10'
5
5
  end
@@ -29,9 +29,9 @@ RSpec.describe FinAppsCore::REST::BaseClient do
29
29
  end
30
30
 
31
31
  describe '#send_request' do
32
- it 'raises FinAppsCore::InvalidArgumentsError if method is NOT supported' do
32
+ it 'raises NoMethodError if method is NOT supported' do
33
33
  expect { base_client.send_request('fake_path', :option) }
34
- .to(raise_error NoMethodError)
34
+ .to(raise_error(NoMethodError, /undefined method `option/))
35
35
  end
36
36
 
37
37
  it 'raises FinAppsCore::MissingArgumentsError if method is NOT provided' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.9
4
+ version: 5.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.15'
19
+ version: '1.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.15.3
22
+ version: 1.0.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '0.15'
29
+ version: '1.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.15.3
32
+ version: 1.0.1
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: faraday_middleware
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.12'
39
+ version: '1.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.12.2
42
+ version: '1.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '0.12'
49
+ version: '1.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.12.2
52
+ version: '1.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
55
55
  requirement: !ruby/object:Gem::Requirement