quandl_client 2.4.3 → 2.4.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: fc1ad111e19d5822e06a770af9f3e8c7757589f4
4
- data.tar.gz: 877391451126f592f8cd3832a1a4f01de0314dbd
3
+ metadata.gz: ad925197e4d222a17552a4e4bc06fe5f1371bdc7
4
+ data.tar.gz: f1d89d66da1cdecdb3511ecb6d4d25b96fdc1d37
5
5
  SHA512:
6
- metadata.gz: 5915a626546c4027f5c4b1870ac1d373318b11a943469556b9146860670340b3bf6a263e4ce89c8736c056b5094533f77a1fb63e4acc1936592b84f0c5ec2025
7
- data.tar.gz: cde93b2f4d0c808c1fbef7932de8d25f6cc5cb65e139b788a801da6eeb7140b7e69e6615efe9f05e6ca203bb4796ecb4256ac67144f1a04a488526cb682124b2
6
+ metadata.gz: 0ee1c3f4830d012faffce633af7026114e9ccf8f5eb43ec244d73c5151a33a56f840ea164373d688536d104b8543a122b4558a67549e288b31ee9da8f23f49a0
7
+ data.tar.gz: 1c6de22b70669757693e9eb91fe3536ee5e5303b4b5f643ceafe62c2165ac93e597c509b4b4385ef15e323e5b708e4c31880626408526104965c0394399668f0
data/UPGRADE.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 2.4.4
2
+
3
+ * Dataset#data to_table assigns column_names to headers
4
+ * add skip_browse to Sheet
5
+
6
+
1
7
  # 2.4.3
2
8
 
3
9
  * hotfix for full_code pattern matching ... code can be as short as two characters
@@ -28,10 +28,14 @@ class Quandl::Client::Dataset::Data < Quandl::Client::Base
28
28
  end
29
29
  }
30
30
 
31
- scope_helper :to_table, -> { fetch_once.data }
31
+ scope_helper :to_table, -> {
32
+ data = fetch_once.data
33
+ data.headers = fetch_once.column_names
34
+ data
35
+ }
32
36
 
33
37
  attributes :id, :limit, :collapse, :transformation, :trim_start, :trim_end,
34
- :rows, :row, :frequency, :data, :from_date, :to_date
38
+ :rows, :row, :frequency, :data, :from_date, :to_date, :column_names
35
39
 
36
40
  def data
37
41
  read_data
@@ -34,7 +34,7 @@ class Sheet < Quandl::Client::Base
34
34
  # PROPERTIES #
35
35
  ##############
36
36
 
37
- attributes :title, :content, :url_title, :full_url_title, :description
37
+ attributes :title, :content, :url_title, :full_url_title, :description, :skip_browse
38
38
 
39
39
  def html
40
40
  @html ||= self.attributes[:html] || Quandl::Client::Sheet.find(full_url_title).attributes[:html]
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '2.4.3'
3
+ VERSION = '2.4.4'
4
4
  API_VERSION = 'v2'
5
5
 
6
6
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Hilscher