conjoin 0.0.64 → 0.0.65

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: 6bcaa31314b8dfbb3b8656d50de06a746ba1d0fd
4
- data.tar.gz: 3c5c6c48a8c725e53160dd7961d554cfef1da177
3
+ metadata.gz: 5ef3cc70b274675d5f697f6e5ed96ce4e60bd4b7
4
+ data.tar.gz: c56eb505f1fda1ecd54e9870d694419b14066206
5
5
  SHA512:
6
- metadata.gz: 7c0c1a4a7266b18973e4fffa3c4b9c22fdf19aff61ac01eed69fef024904b581ff44cec35b738ce87b9de86ae7adac644b8e09862a4542d16ac1288aa71275e1
7
- data.tar.gz: 27c73edc20b1dfc62a0f44baeeef99a3535fb976a824db146bd2ae661b9b2451d252eb93b0a42ca94dfe5590d71d73b38de7746973faa6eaa2f839cd84b36821
6
+ metadata.gz: 34fca8bd4b22397c4bff6a71bd1c6aba160def800054442e6aff70b41f2eb62a923001ee64164f54cb9fc013bd17cd27e9e3ee14bdbb39ec552c00c161ad19c2
7
+ data.tar.gz: 7de2ce33cfdf282e8f81c6db012a7929f9fe39ba5042f6dfeba896e100d87b2da93775f3eae34af8ff66b65969c004a63162f74d3e8005e6f260a47e18fcb7aa
@@ -5,11 +5,15 @@ rack_env = ".#{ENV['RACK_ENV']}#{env}"
5
5
 
6
6
  if File.file? rack_env
7
7
  env = rack_env
8
+ elsif !File.file? env
9
+ env = false
8
10
  end
9
11
 
10
- File.foreach env do |line|
11
- key, value = line.split "="
12
- ENV[key] = value.gsub('\n', '').strip
12
+ if env
13
+ File.foreach env do |line|
14
+ key, value = line.split "="
15
+ ENV[key] = value.gsub('\n', '').strip
16
+ end
13
17
  end
14
18
 
15
19
  require 'active_record'
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.64"
2
+ VERSION = "0.0.65"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.64
4
+ version: 0.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-30 00:00:00.000000000 Z
11
+ date: 2014-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cuba