finapps 0.2.2.pre → 0.2.3.pre

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: 0194802ba23cd3d4a89d196bd343fec80fa2dfae
4
- data.tar.gz: c62d94d48533c3f268b562fa5314aa6f173727da
3
+ metadata.gz: 50ed13a5c50feed3bf70ef189b5d9ef7b2a13787
4
+ data.tar.gz: c9239faec0a0fec29892e4f5853160c754756b19
5
5
  SHA512:
6
- metadata.gz: b7e58b279bb9ffd5ee8b87ad129aab6d0929e5d4f4fcdb2ffb01f0851ac402892efb4bd3f9c67efc9ae6f68b4e8b6a8640510938946f0d1c0be4b1ad174a3b81
7
- data.tar.gz: 8e0e1054dd2f957dda1c06cae169068bd20879044b34e87336fe6e849255d3b52bb1c92d2e6474ec64277e1d6f59337960c81f07336cb10239a1f105cb5a0628
6
+ metadata.gz: 79f821c0440007724afc2fa3a57f970e552cd26536c8de223ba2f626035b7bd612e0233dad9071658e777078372d029a2e14bee9418b9df6d301bd916e7c6e25
7
+ data.tar.gz: 3130db23dbfde3729218a0f239c26efc80dd72ab9691053cbcb9f00723d99a513728f5ccad8705d313faada6dcd2a2428384fbccca3b49daf2f9a0272845d1d2
@@ -102,7 +102,15 @@ module FinApps
102
102
  def initialize(hash)
103
103
  super
104
104
  @accounts ||= []
105
- hash[:accounts].each { |a| @accounts << FinApps::REST::Account.new(a) } if hash[:accounts].respond_to?(:each)
105
+
106
+ logger.debug "##{__method__.to_s} => Parsing accounts array"
107
+ if hash[:accounts].present? && hash[:accounts].respond_to?(:each)
108
+ logger.debug hash[:accounts].pretty_print
109
+ hash[:accounts].each do |a|
110
+ logger.debug a.pretty_print
111
+ @accounts << FinApps::REST::Account.new(a)
112
+ end
113
+ end
106
114
  end
107
115
  end
108
116
 
@@ -1,3 +1,3 @@
1
1
  module FinApps
2
- VERSION = '0.2.2.pre'
2
+ VERSION = '0.2.3.pre'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.pre
4
+ version: 0.2.3.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero