quandl_client 0.1.11 → 0.1.12

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
+ ## 0.1.12
2
+
3
+ * fix undefined error method
4
+
1
5
  ## 0.1.11
2
6
 
3
7
  * add spec for Dataset#availability_delay
@@ -61,7 +61,7 @@ module Properties
61
61
 
62
62
  def errors_server
63
63
  messages = self.attributes[:errors] || {}
64
- messages[:message] = self.error if self.error.present?
64
+ messages[:message] = self.error if self.respond_to?(:error) && self.error.present?
65
65
  messages
66
66
  end
67
67
 
@@ -1,6 +1,6 @@
1
1
  module Quandl
2
2
  module Client
3
- VERSION = '0.1.11'
3
+ VERSION = '0.1.12'
4
4
  API_VERSION = 'v1'
5
5
 
6
6
  class << self
@@ -4,6 +4,7 @@ require 'spec_helper'
4
4
  describe Dataset do
5
5
  context "when built" do
6
6
  subject{ build(:dataset) }
7
+ its(:saved?){ should be_false }
7
8
  its(:valid?){ should be_true }
8
9
  end
9
10
 
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: 0.1.11
4
+ version: 0.1.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: