quandl_client 2.7.7 → 2.7.8
Sign up to get free protection for your applications and to get access to all the features.
- data/UPGRADE.md +6 -0
- data/VERSION +1 -1
- data/lib/quandl/client/models/dataset.rb +9 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.8
|
@@ -110,8 +110,16 @@ class Quandl::Client::Dataset < Quandl::Client::Base
|
|
110
110
|
@data.is_a?(Quandl::Data)
|
111
111
|
end
|
112
112
|
|
113
|
+
def code=(v)
|
114
|
+
write_attribute(:code, sanitize_code(v) )
|
115
|
+
end
|
116
|
+
|
113
117
|
def source_code=(v)
|
114
|
-
write_attribute(:source_code, v
|
118
|
+
write_attribute(:source_code, sanitize_code(v) )
|
119
|
+
end
|
120
|
+
|
121
|
+
def sanitize_code(code)
|
122
|
+
code.to_s.upcase.gsub(',','')
|
115
123
|
end
|
116
124
|
|
117
125
|
def delete_data
|
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.7.
|
4
|
+
version: 2.7.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: quandl_data
|
@@ -296,7 +296,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
296
296
|
version: '0'
|
297
297
|
segments:
|
298
298
|
- 0
|
299
|
-
hash:
|
299
|
+
hash: 245737083235874594
|
300
300
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
301
301
|
none: false
|
302
302
|
requirements:
|
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
305
|
version: '0'
|
306
306
|
segments:
|
307
307
|
- 0
|
308
|
-
hash:
|
308
|
+
hash: 245737083235874594
|
309
309
|
requirements: []
|
310
310
|
rubyforge_project:
|
311
311
|
rubygems_version: 1.8.23
|