RubyGems
npm
Organizations
Log in
Sign up
RubyGems
quandl_client
Versions diffs
0.1.11 → 0.1.12
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.
Files changed (5)
hide
show
data/UPGRADE.md
+4
-0
data/lib/quandl/client/concerns/properties.rb
+1
-1
data/lib/quandl/client/version.rb
+1
-1
data/spec/quandl/client/models/dataset/persistence_spec.rb
+1
-0
metadata
+1
-1
data/UPGRADE.md
CHANGED
Viewed
@@ -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
data/lib/quandl/client/concerns/properties.rb
CHANGED
Viewed
@@ -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
data/lib/quandl/client/version.rb
CHANGED
Viewed
@@ -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
data/spec/quandl/client/models/dataset/persistence_spec.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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: