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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc39b99f58af5595068c9fe62f4944ad074f9442
4
- data.tar.gz: 821df12c86f2b4aa3562d39d4303186802289673
3
+ metadata.gz: 961d674a89e1aba3233274cc69bdc66429fc9d6a
4
+ data.tar.gz: 84e8a372a96e7dcebd595e764f0d1227cce8d391
5
5
  SHA512:
6
- metadata.gz: d1a51249b2e4ed5269a2f812a6460fc5ecaf904f235d0f130fdcfcfd8f7a79c70c2cd2ce1990c5ea997d792a39edd03869dd2be8d98cc786ff741c55e6b6a521
7
- data.tar.gz: 64537c65004133ee7a0609bca41102fc22b707ba73fb1759957c0ce5ef3d426838115c4b1ca67a5d0ea2e306cc9cdc8088e713c8b6a5ae74954bd4fed0fb3333
6
+ metadata.gz: ef107a3bad44c3658a6ec2e3a7791b656baee7c90a954035302dbee02f4d42363bcf4d95c6fc9d408d3d7a229b6e328d6993e5f245e8458ea74e3c18c1184007
7
+ data.tar.gz: 53436e13a61894aaa3360b2686c3d25853526cb85e3c2361f6cbe301355b5169cd369068e44a275e42d08c959808da3341ef9a87d37c09887c1841fe3f13336a
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module Tradier
2
- VERSION = "0.5.0"
2
+ VERSION = '0.5.1'
3
3
  end
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.0
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-02 00:00:00.000000000 Z
12
+ date: 2014-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday