tradier 0.5.0 → 0.5.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 +4 -4
- data/lib/tradier/account.rb +5 -5
- data/lib/tradier/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 961d674a89e1aba3233274cc69bdc66429fc9d6a
|
4
|
+
data.tar.gz: 84e8a372a96e7dcebd595e764f0d1227cce8d391
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef107a3bad44c3658a6ec2e3a7791b656baee7c90a954035302dbee02f4d42363bcf4d95c6fc9d408d3d7a229b6e328d6993e5f245e8458ea74e3c18c1184007
|
7
|
+
data.tar.gz: 53436e13a61894aaa3360b2686c3d25853526cb85e3c2361f6cbe301355b5169cd369068e44a275e42d08c959808da3341ef9a87d37c09887c1841fe3f13336a
|
data/lib/tradier/account.rb
CHANGED
@@ -37,23 +37,23 @@ module Tradier
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def individual_account?
|
40
|
-
classification.downcase == 'individual'
|
40
|
+
classification && classification.downcase == 'individual'
|
41
41
|
end
|
42
42
|
|
43
43
|
def joint_account?
|
44
|
-
classification.downcase == 'joint'
|
44
|
+
classification && classification.downcase == 'joint'
|
45
45
|
end
|
46
46
|
|
47
47
|
def traditional_ira?
|
48
|
-
classification.downcase == 'traditional_ira'
|
48
|
+
classification && classification.downcase == 'traditional_ira'
|
49
49
|
end
|
50
50
|
|
51
51
|
def roth_ira?
|
52
|
-
classification.downcase == 'roth_ira'
|
52
|
+
classification && classification.downcase == 'roth_ira'
|
53
53
|
end
|
54
54
|
|
55
55
|
def rollover_ira?
|
56
|
-
classification.downcase == 'rollover_ira'
|
56
|
+
classification && classification.downcase == 'rollover_ira'
|
57
57
|
end
|
58
58
|
|
59
59
|
def ira?
|
data/lib/tradier/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tradier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Agalloco
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
12
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|