snaptrade 2.0.105 → 2.0.106

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: 709ced67e4adad4ebaf3209d1f7ce593d4017b52d17c8cd2778ee9b4f34250aa
4
- data.tar.gz: e34de10a02a27e658477d17e18a78314cbe1977a690f4b3b65ca627aa6106922
3
+ metadata.gz: 1611d480f5dd625ad7df1e674bdc8ba7b32030d48f811568db3448e47b2c274c
4
+ data.tar.gz: 4c06ba8c70d0ac739aee6fcbddfc52223d46582d6d475e89637679345aba962f
5
5
  SHA512:
6
- metadata.gz: f31b8253882883ef36d801441882be39af34053a42256b6979b11e1da4356bb2ff746de3264a59ae6c027eaaa067b517e9f73af9d48c38893265ae49384351b8
7
- data.tar.gz: 1ba29a4875743bfd989276f3ec0067e6c123fbf310470adc9467beebcf29fe655235002d8aa102c49ee7c2be21a5025e0a30fafca052a0fd443304e4767d52d4
6
+ metadata.gz: 4bc435eeaa5a2fe733076753bf8cc05d1f209c9fe5c226579b70622b36411709b3aedd355db64f17a7cb3d46b097e177ef095227773fe58c359eec4e5900cf00
7
+ data.tar.gz: a7755b019cb24bf171c5c53979226530a8c1e910950934b1fd0b0eaaa4b3f54e86f29278bc4b0f01b2b7c0c2d2025df6abbb58e2a90bbf0945735ef107972561
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.105)
4
+ snaptrade (2.0.106)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
@@ -68,7 +68,7 @@ GEM
68
68
  rubocop-ast (>= 1.2.0, < 2.0)
69
69
  ruby-progressbar (~> 1.7)
70
70
  unicode-display_width (>= 1.4.0, < 3.0)
71
- rubocop-ast (1.45.0)
71
+ rubocop-ast (1.45.1)
72
72
  parser (>= 3.3.7.2)
73
73
  prism (~> 1.4)
74
74
  ruby-progressbar (1.13.0)
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v2.0.105-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.105)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.106-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.106)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -82,7 +82,7 @@ Connect brokerage accounts to your app for live positions and trading
82
82
  Add to Gemfile:
83
83
 
84
84
  ```ruby
85
- gem 'snaptrade', '~> 2.0.105'
85
+ gem 'snaptrade', '~> 2.0.106'
86
86
  ```
87
87
 
88
88
  ## Getting Started<a id="getting-started"></a>
@@ -35,7 +35,7 @@ module SnapTrade
35
35
 
36
36
  attr_accessor :balance
37
37
 
38
- # The current status of the account. Can be either \"open\", \"closed\", or null if the status is unknown or not provided by the brokerage.
38
+ # The current status of the account. Can be either \"open\", \"closed\", \"archived\" or null if the status is unknown or not provided by the brokerage.
39
39
  attr_accessor :status
40
40
 
41
41
  # The account type as provided by the brokerage
@@ -14,9 +14,10 @@ module SnapTrade
14
14
  class AccountStatus
15
15
  OPEN = "open".freeze
16
16
  CLOSED = "closed".freeze
17
+ ARCHIVED = "archived".freeze
17
18
 
18
19
  def self.all_vars
19
- @all_vars ||= [OPEN, CLOSED].freeze
20
+ @all_vars ||= [OPEN, CLOSED, ARCHIVED].freeze
20
21
  end
21
22
 
22
23
  # Builds the enum from string
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.105'
11
+ VERSION = '2.0.106'
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.105
4
+ version: 2.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday