quandl_operation 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ class Parse
12
12
  t1 = Time.now
13
13
  data = csv(data)
14
14
  data = unknown_date_format_to_julian(data)
15
- data = sort(data)
15
+ # data = sort(data)
16
16
  Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)"
17
17
  data
18
18
  end
@@ -104,6 +104,7 @@ class Transform
104
104
  #delete the first date in datapac (because there is no diff for that)
105
105
  data.delete_at(0)
106
106
  else
107
+ data = Parse.sort( data, :desc )
107
108
  cumulsum = Array.new(numcols,0)
108
109
  sumstarted = Array.new(numcols,false)
109
110
  #now build temparr
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Operation
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-18 00:00:00.000000000 Z
12
+ date: 2013-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake