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 +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +2 -2
- data/lib/snaptrade/models/account.rb +1 -1
- data/lib/snaptrade/models/account_status.rb +2 -1
- data/lib/snaptrade/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1611d480f5dd625ad7df1e674bdc8ba7b32030d48f811568db3448e47b2c274c
|
4
|
+
data.tar.gz: 4c06ba8c70d0ac739aee6fcbddfc52223d46582d6d475e89637679345aba962f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
-
[](https://rubygems.org/gems/snaptrade/versions/2.0.106)
|
10
10
|
[](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.
|
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
|
data/lib/snaptrade/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2025-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|