quandl 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzhlMjUzZDNiOGE3Njg4YTQ5MmQ3M2RjMmYzMmRhYmNmYzdiYzc2NQ==
4
+ YTJiYTE0YzJhNjlmOGU5M2YwYjYxZGE5MDNkNjhiM2I3NTZjODc3Mg==
5
5
  data.tar.gz: !binary |-
6
- ZTA0MWM5Zjg1YmMxN2JmMTU5NzI5MGM4YmY0Y2ZkYzM3ZjEzMTczZg==
6
+ NGQyM2ExZjY4NWNlNGRhYzc4MzMzNDQ1Y2YzNzU0YjEwOTU1ZGJiOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWRkMWE0NTI5NzhhMzQxMTYwMWMwMGRkNzJjYjVhZGEzZDQ0ODY3ZjA4YmZl
10
- NjAyZDg1ZTBjOWFkZjI3NmU0NmQwOTA4MTAzN2M5NDFkZWE4ZTAxMDQyMDAx
11
- NmFiYmUyOWFhMzY2MDk0OWMzMTU2MTE5NGVkNGNmNGQ5NDJjNWE=
9
+ MDRkZDhlMzBmMGQ1ZDkyOGY2NmY2OTgzMTE2NTg0YzhhMTRiNGVhMGFlMjVj
10
+ MDU0OTg2NDkwZDFjYzJjNmYxNzNlM2I1ZjZiNWNlZmNkODM0OGQ3NWQ4YmFh
11
+ Yjk1Mjk4NWJkMjBmMTJmNDI2NTNhZDQ4YWExNmQzY2IxZGE4ZTU=
12
12
  data.tar.gz: !binary |-
13
- MmRmN2Q5ODY2YTRmZGJiZjY3M2MxYzhkMTNmNjVjOTJmZDUzMDE3ZGQ2NGU1
14
- NmEzMjU0OWJiZmY1Yjg4YmIwYTRjYzE3ZWIxYzRiY2YyZjZiYWJhYjU3Yjll
15
- ZjlkYjUzZDMwZTc1NmFlNWE3MTlhOTY5OGRmYTIzODc3OWVmNzk=
13
+ ZDRmNTdjOTllNmU5ZTkwODMyOWQyNmI3MDEyNjYxZjJkNWE5ZDk5ZjJhNDI2
14
+ ZWMyMDkxOTAyNDI5ZDMzMTRhNjI5MTlkMTdiNWJiY2ZhNDM3ODY2MjQ4ZjNl
15
+ NzM3YzQwMWVlNjQyODg1MGVlMDM4OTYwNGFiNTVhYTlmYzg5N2E=
data/UPGRADE.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.4.3
2
+
3
+
4
+
5
+
6
+
1
7
  ## 0.4.2
2
8
 
3
9
  * fix threading issue with silently failing threads
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -106,7 +106,7 @@ module Threading
106
106
  end
107
107
 
108
108
  def force_load_json_support
109
- { force_load: true }.to_json
109
+ { force_load: true }.to_json rescue nil
110
110
  end
111
111
 
112
112
  protected
@@ -32,16 +32,17 @@ class Quandl::Command::Tasks::Upload < Quandl::Command::Task
32
32
  # datasets from file_path if given
33
33
  interface = file_path.present? ? File.open(file_path, "r") : $stdin
34
34
  # for each dataset streamed from interface
35
+ t1 = Time.now
35
36
  Quandl::Format::Dataset.each_line(interface) do |dataset, error|
36
37
  # present error if given
37
38
  next present( error ) unless error.nil?
38
39
  # process in background using thread key
39
40
  background_job do
40
41
  # upload
41
- t1 = Time.now
42
42
  upload( dataset )
43
- debug("#{dataset.full_code.to_s.ljust(20)} #{t1.elapsed_ms}") if dataset.respond_to?(:full_code)
43
+ debug("#{dataset.full_code.to_s.ljust(20)} TOTAL: #{t1.elapsed_ms.ljust(20)} BREAKDOWN: #{dataset.client.human_benchmarks}") if dataset.respond_to?(:full_code)
44
44
  end
45
+ t1 = Time.now
45
46
  end
46
47
  end
47
48
 
@@ -56,4 +57,4 @@ class Quandl::Command::Tasks::Upload < Quandl::Command::Task
56
57
  args.first
57
58
  end
58
59
 
59
- end
60
+ end
data/quandl.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.add_runtime_dependency "commander", '4.1.5'
21
21
 
22
22
  s.add_runtime_dependency "quandl_format", "0.5.0"
23
- s.add_runtime_dependency "quandl_client", '2.10.0'
23
+ s.add_runtime_dependency "quandl_client", '2.10.1'
24
24
  s.add_runtime_dependency "quandl_data", '1.5.1'
25
25
  s.add_runtime_dependency "quandl_operation", '0.4.1'
26
26
  s.add_runtime_dependency "quandl_babelfish", '0.0.11'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.10.0
47
+ version: 2.10.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.10.0
54
+ version: 2.10.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: quandl_data
57
57
  requirement: !ruby/object:Gem::Requirement