quandl-config 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quandl/config.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a3cca55c40f62a3eca8df8738f83c8b6ead5ce0
|
4
|
+
data.tar.gz: 63430d6469186f7d55b3ee506a8ad1d57348bfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 208100692c3dca50c45a3c65e216c35b7fd90674f7dd24370329879c123d8504bf3c55d260a66430c9ef9ea5463d0c7c92b562fb7fb0cd69d36724b4839cb97d
|
7
|
+
data.tar.gz: ecf124e2b1c73f190a84473ad27d1156f9f90a0a37409f5bb7c1e2ad2125aca67eca703ac9fb3dc32deeec2d67db1e97c52ddf913c8e30b9467db42698225a3e
|
data/lib/quandl/config.rb
CHANGED
@@ -4,7 +4,7 @@ require 'quandl/project_root'
|
|
4
4
|
|
5
5
|
module Quandl
|
6
6
|
class Config < ::OpenStruct
|
7
|
-
VERSION = '0.0.
|
7
|
+
VERSION = '0.0.3'
|
8
8
|
|
9
9
|
def initialize(file_name)
|
10
10
|
raw_config = File.read(project_root.join('config', "#{file_name}.yml"))
|
@@ -27,7 +27,7 @@ module Quandl
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def project_environment
|
30
|
-
defined?(Rails) ? ::Rails.env : (ENV['RAILS_ENV'] || ENV
|
30
|
+
defined?(Rails) ? ::Rails.env : (ENV['RAILS_ENV'] || ENV['RAKE_ENV'] || ENV['QUANDL_ENV'] || 'default')
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quandl-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Najwa Azer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
196
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
197
|
+
rubygems_version: 2.4.5
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: Openstruct-based per-class configuration.
|