quandl_client 2.4.7 → 2.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quandl/client/version.rb +1 -1
- data/lib/quandl/client.rb +10 -6
- data/quandl_client.gemspec +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cb3f02a019d41dd97302dc06453ea8aa4c5dfa8
|
4
|
+
data.tar.gz: 384b2645b0944cae0f1d804af8eb5a9736b80524
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67fff4010fc9e1313383dc1c511dc7f3a65deeb1e8eca58659da2d38b4ea1131cd0fe265c09c3eb3760a01455d106585944869296c6e95fb58f6eb3222f7c701
|
7
|
+
data.tar.gz: 009d9e6f9be076621f7efed9f84467c34b2174aed63c390f786c25d19407bb5b727c3e4af4368ea1c1649c3ad30e59b914d238c174ba2b93e912d8372f857a65
|
data/lib/quandl/client.rb
CHANGED
@@ -19,14 +19,18 @@ require 'quandl/client/models/user'
|
|
19
19
|
module Quandl
|
20
20
|
module Client
|
21
21
|
|
22
|
-
|
22
|
+
class << self
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
attr_accessor :request_source, :request_version
|
25
|
+
|
26
|
+
def request_source
|
27
|
+
@request_source ||= "quandl_client"
|
28
|
+
end
|
29
|
+
|
30
|
+
def request_version
|
31
|
+
@request_version ||= Quandl::Client::VERSION
|
32
|
+
end
|
27
33
|
|
28
|
-
def request_version
|
29
|
-
@request_version ||= Quandl::Client::VERSION
|
30
34
|
end
|
31
35
|
|
32
36
|
def self.use(url)
|
data/quandl_client.gemspec
CHANGED
@@ -26,7 +26,6 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_development_dependency "guard-rspec"
|
27
27
|
|
28
28
|
s.add_runtime_dependency "quandl_data", "~> 1.3"
|
29
|
-
|
30
29
|
s.add_runtime_dependency "activesupport", ">= 3.0.0"
|
31
30
|
s.add_runtime_dependency "her", "~> 0.6"
|
32
31
|
s.add_runtime_dependency "yajl-ruby", "~> 1.1.0"
|