quandl_client 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/UPGRADE.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.1
2
+
3
+ * fully qualified classes to avoid collisions
4
+
1
5
  ## 2.0.0
2
6
 
3
7
  * update client to take advantage of new /api/v2 routes
@@ -16,7 +16,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
16
16
  ###############
17
17
 
18
18
  def source
19
- @source ||= Source.find(self.source_code)
19
+ @source ||= Quandl::Client::Source.find(self.source_code)
20
20
  end
21
21
 
22
22
  ###############
@@ -49,7 +49,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
49
49
  # DATA
50
50
 
51
51
  def data
52
- dataset_data.data? ? dataset_data.data : Dataset::Data.with_id(id)
52
+ dataset_data.data? ? dataset_data.data : Quandl::Client::Dataset::Data.with_id(id)
53
53
  end
54
54
 
55
55
  def data=(value)
@@ -73,7 +73,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
73
73
  end
74
74
 
75
75
  def dataset_data
76
- @dataset_data ||= Dataset::Data.new( id: id )
76
+ @dataset_data ||= Quandl::Client::Dataset::Data.new( id: id )
77
77
  end
78
78
 
79
79
  after_save :save_dataset_data
@@ -15,11 +15,11 @@ class Sheet < Quandl::Client::Base
15
15
  ################
16
16
 
17
17
  def parent
18
- @parent ||= Sheet.find(parent_url_title)
18
+ @parent ||= Quandl::Client::Sheet.find(parent_url_title)
19
19
  end
20
20
 
21
21
  def children
22
- Sheet.parent_url_title(self.full_url_title)
22
+ Quandl::Client::Sheet.parent_url_title(self.full_url_title)
23
23
  end
24
24
 
25
25
 
@@ -37,7 +37,7 @@ class Sheet < Quandl::Client::Base
37
37
  attributes :title, :content, :url_title, :full_url_title, :description
38
38
 
39
39
  def html
40
- @html ||= self.attributes[:html] || Sheet.find(full_url_title).attributes[:html]
40
+ @html ||= self.attributes[:html] || Quandl::Client::Sheet.find(full_url_title).attributes[:html]
41
41
  end
42
42
 
43
43
  def parent_url_title
@@ -17,7 +17,7 @@ class Source < Quandl::Client::Base
17
17
  ###############
18
18
 
19
19
  def datasets
20
- Dataset.source_code(code)
20
+ Quandl::Client::Dataset.source_code(code)
21
21
  end
22
22
 
23
23
 
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
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.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: