quandl_operation 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a5e2105bf1f973a787d6d65ac698fd8b17c9403
4
- data.tar.gz: bdadfebd1c4d584d4d85b239afc0750824fd2222
3
+ metadata.gz: 8efa21ecc6d27afc16ca550c8c3e40058e388b0e
4
+ data.tar.gz: 2facd542b1144ed3bf648ea4bc15ae0a958a0adb
5
5
  SHA512:
6
- metadata.gz: bd2f1f42870f9e76b8dd7963896b725708c8e51a3be47bc1c92c93e0ab7293a206064a1ca26a5c7ffbd7dd182aed66cee6257012e2c200010c730c465f857d84
7
- data.tar.gz: d09ce4b0a6139b8c2b9630c2f96bb28338710c962818e2191b46206b89f1f7159cb13ab20f487fed8bc429a65904f07e723eaa5a7ce9b6c2eea765d86287b9b5
6
+ metadata.gz: 3c82f04e9daacd2eb6466187335475937eae8ddd1339af58ec0d2e70b083b7accfecb0dc4ce390b2238eabb64baf6cc260b8b3a6558be2dd6a067e0e57ca16cb
7
+ data.tar.gz: 800d407ed3d320994663694a2e61fbabe707c43e8dc358f2469b19ef6cf1199027f793197227e40807ba31401e8c609a7e37a6b94c2099c0f43579a182734790
@@ -14,7 +14,7 @@ class Guess
14
14
  gap = ensure_positive_gap(gap)
15
15
  # determine the freq from the size of the smallest gap
16
16
  freq = frequency_from_gap(gap)
17
- Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed_ms > 1
17
+ Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
18
18
  freq
19
19
  end
20
20
 
@@ -17,7 +17,7 @@ class Collapse
17
17
  def collapse_and_log(data, frequency)
18
18
  t1 = Time.now
19
19
  r = collapse(data, frequency)
20
- Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{frequency}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed_ms > 1
20
+ Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{frequency}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
21
21
  r
22
22
  end
23
23
 
@@ -13,7 +13,7 @@ class Parse
13
13
  data = csv(data)
14
14
  data = unknown_date_format_to_julian(data)
15
15
  # data = sort(data)
16
- Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed_ms > 1
16
+ Quandl::Logger.debug "#{self.name}.perform (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
17
17
  data
18
18
  end
19
19
 
@@ -14,7 +14,7 @@ class Transform
14
14
  def transform_and_log( data, type)
15
15
  t1 = Time.now
16
16
  r = transform( data, type)
17
- Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{type}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed_ms > 1
17
+ Quandl::Logger.debug "#{self.name}.perform(#{data.try(:count)} rows, #{type}) (#{t1.elapsed.microseconds}ms)" if t1.elapsed.microseconds > 1
18
18
  r
19
19
  end
20
20
 
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Operation
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
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.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher