env-conf 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58250c277c52d0684b972ee12a313a9eab33616e
4
- data.tar.gz: 1ca6d546f1b641923f7bb668ab54f151c13c2063
3
+ metadata.gz: d65d6c79532e7e63b9cb9d15c21ffd286ece2b45
4
+ data.tar.gz: 0cdff989113e9acdc74a8d7da124fc2b5ea97c66
5
5
  SHA512:
6
- metadata.gz: 401a87ec96c25822767ef11af6b9133c782d2533b8bd244d983b17d611fe6941f83c4bb221462a348a094581f9d96d9bf4d43399f6e7cef838a26f4d4dc370b3
7
- data.tar.gz: 673bccc57ac6aa66b0fdb113c4682fbae897e469d89148a63cdc3054d4ff215db07ad531eb6e63bd187615f8014177baae7f4f83d2cc11678e9c8bb6561b4648
6
+ metadata.gz: 49577599914ac3a3b92cc7a404ff735a9930b08317ad3425500969b004c107d883687d769b48bdc4dec2ee14fd9436d6867f0e9e2aae7820a581115743a93101
7
+ data.tar.gz: ee100f7003c5cfd5bd238c35c9a4bf8259204f36c0c8b6885caa75e6f8b5d979380738359f63b1cb106e909803f4aa1c4e1c70815c200e1ff89cc63aa79f80d6
data/lib/env-conf.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require_relative './env-conf/version'
2
+ require 'uri'
2
3
 
3
4
  module Config
4
5
  @@defaults = {}
@@ -183,7 +184,7 @@ module Config
183
184
 
184
185
  # Loads a ".env" file, using Dotenv to parse but not fuck up the ENV
185
186
  def self.dotenv!
186
- return if Config.production?
187
+ return if Config.production?
187
188
  require 'dotenv'
188
189
  ['.env','.env.local',".env.#{Config[:rack_env]}"].each do |filename|
189
190
  if File.exists?(filename)
@@ -2,5 +2,5 @@
2
2
  Object.send(:remove_const, :Config) if defined?(Config)
3
3
 
4
4
  module Config
5
- VERSION = '0.0.3'
5
+ VERSION = '0.0.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env-conf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Continanza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-24 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv