quandl_format 0.2.5 → 0.2.6

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: 2896ad47179253dfb76d2d439c2e29aa5815c697
4
- data.tar.gz: f08dd7aea8c503df1bdd36b14de37db78c56922b
3
+ metadata.gz: 0fc7fae63862854552a654f3568be40f8c1be461
4
+ data.tar.gz: 6b342928745acfc00e449306c64d228817c8f711
5
5
  SHA512:
6
- metadata.gz: 2af4b6f398840391dc327f18f7f0a5ec960dc40b43bc853cae02ad2429ca7c0c9c56d16d00e409d1ee407435d43de6033200c41563a74e98cc62f8e326eba3f9
7
- data.tar.gz: b791b0af1ce405be676da45c786708840d1eb0d6749af38d9d2d2edaf8f82c994e3c7dd79ae09c33fa6cdb5db14549a5b51aff81c744b0ca606599e1030de7a7
6
+ metadata.gz: a11c4177bf988259c1665d8ce19f5392ac2d53a4c1425318c60608ab132e3827b5f3379c70539a44c125d46d6bd3f7840fcdca2a3df8a14b0e7d4e719c15dad1
7
+ data.tar.gz: 292c58d5d3ce743a83807a45e9b33e32717b01dd771cd098474fe1550d8d501a792bcd9ecc43d7138fc2b45955d7b7f43a9a72ee2d1edc30099ab21184dcf0c1
data/UPGRADE.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.2.6
2
+
3
+ * require yaml
4
+ * dont assign data if data is not present
5
+
6
+
1
7
  ## 0.2.5
2
8
 
3
9
  * QUGC-40 respond with error status if errors are blank
data/lib/quandl/format.rb CHANGED
@@ -3,9 +3,9 @@ require 'quandl/logger'
3
3
  require "quandl/format/version"
4
4
 
5
5
  require 'csv'
6
+ require 'yaml'
6
7
 
7
8
  require 'quandl/client'
8
- require 'quandl/babelfish'
9
9
 
10
10
  require "active_support"
11
11
  require "active_support/inflector"
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Format
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
@@ -16,7 +16,9 @@ Gem::Specification.new do |s|
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
-
19
+
20
+ s.add_runtime_dependency "quandl_client", "~> 2.4"
21
+
20
22
  s.add_development_dependency "rake", "~> 10.0"
21
23
  s.add_development_dependency "rspec", "~> 2.13"
22
24
  s.add_development_dependency "fivemat", "~> 1.2"
@@ -24,7 +26,4 @@ Gem::Specification.new do |s|
24
26
  s.add_development_dependency "simplecov"
25
27
  s.add_development_dependency "guard"
26
28
  s.add_development_dependency "guard-rspec"
27
-
28
- s.add_runtime_dependency "quandl_client", "~> 2.4"
29
-
30
29
  end
@@ -18,7 +18,7 @@ describe Quandl::Client::Dataset do
18
18
  subject{ Quandl::Client::Dataset.new( attributes ) }
19
19
 
20
20
  it{ should respond_to :to_qdf }
21
-
21
+
22
22
  its(:to_qdf){ should eq Quandl::Format::Dataset.new(attributes).to_qdf }
23
23
 
24
24
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
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-01-28 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: quandl_client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '2.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '2.4'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,20 +122,6 @@ dependencies:
108
122
  - - '>='
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: quandl_client
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '2.4'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ~>
123
- - !ruby/object:Gem::Version
124
- version: '2.4'
125
125
  description: Data will be loaded and dumped.
126
126
  email:
127
127
  - blake@hilscher.ca