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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/quandl/config.rb +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3c242cb6777c5f912d2158e0d84f9cdee14523e
4
- data.tar.gz: 9219e301bd41527772c10d3c95b8c92707724997
3
+ metadata.gz: 2a3cca55c40f62a3eca8df8738f83c8b6ead5ce0
4
+ data.tar.gz: 63430d6469186f7d55b3ee506a8ad1d57348bfa3
5
5
  SHA512:
6
- metadata.gz: b8cb23bffe218861a9c9fff371fb117d7ab7fd3865c0957e2e4b7ac49160aec4c63f1cea72d5b2cf0c781e87a1a8b6a849735f69c6beb0f819326a0b1b4af566
7
- data.tar.gz: 7325ce38a989e6e7bd98fdee4b8a4dc12b55c65234fdbf0db2c8f3568a9a59a96b65bab15d6db050eb59b952589cb794118c0819514556f286f837a20fddfd0f
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.2'
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('RAKE_ENV') || 'default')
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.2
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: 2014-12-18 00:00:00.000000000 Z
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.2.2
197
+ rubygems_version: 2.4.5
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: Openstruct-based per-class configuration.