schwab-api-ruby 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9659741b90ac05d0426da9e7ff4c6d3a03a205deeb2901d3ec97b9a8dd39165
4
- data.tar.gz: 5d27d65ef5d09158b61d41d621db97869cd137d11912d339fa0ff3cbea71258e
3
+ metadata.gz: '09b5c18abd2a4f667636bf4a533c69f712abf93303b907d6a259b7b4cfad43fd'
4
+ data.tar.gz: 79ce6904f54e11d27d91d6efabafdcb4c0b82c5a70a05150240699a5225083da
5
5
  SHA512:
6
- metadata.gz: 3f5c84e4f946111c19adc93b4d73a2d3c4c45edfd397b9f6ec3ee05e1632f18695d0c311e6fd4d07442f2bd0d7604fda875056c09a55c496b721a4bcfddc0919
7
- data.tar.gz: a9ae1f55fd29ff52d032463b8e0d28ab50f51576957e78d98aefa3c7c9a15ee9e6a020dac4fec5d59d24183c24d448665a5019a6920206a45ddfd2e8321aef4a
6
+ metadata.gz: ebaeec72abdbd2c81960388dc48b8fcf3d41dda11f1a872b7be27e9311f6b2d01eaa175426f39f3ca3425e8b078dd6589a4f70de5b9e7ba7543d3643ba446e09
7
+ data.tar.gz: e4cd9842d84adc0c8a048f252bff2917a9584a1beeb26cabca2f7f9dd57a5a98a93148c57b8a8d6e251b51fc80a3c009558b6d311fe26e872cd667c236eccd88
@@ -44,7 +44,7 @@ module Schwab
44
44
  )
45
45
 
46
46
  unless response_success?(response)
47
- raise Schwab::Error::SchwabAPIError.new(
47
+ raise Schwab::APIError.new(
48
48
  "Unable to retrieve access tokens from API - #{response.code} - #{response.body}"
49
49
  )
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module Schwab
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -35,7 +35,7 @@ describe Schwab::Error do
35
35
  end
36
36
 
37
37
  it 'raises a RateLimitError' do
38
- expect { subject }.to raise_error(Schwab::Error::RateLimitError)
38
+ expect { subject }.to raise_error(Schwab::RateLimitError)
39
39
  end
40
40
  end
41
41
 
@@ -68,7 +68,7 @@ describe Schwab::Error do
68
68
  end
69
69
 
70
70
  it 'raises a NotAuthorizedError' do
71
- expect { subject }.to raise_error(Schwab::Error::NotAuthorizedError)
71
+ expect { subject }.to raise_error(Schwab::NotAuthorizedError)
72
72
  end
73
73
  end
74
74
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schwab-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winston Kotzan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-27 00:00:00.000000000 Z
11
+ date: 2024-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler