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 +4 -4
- data/lib/conjoin/tasks/migrate.rb +7 -3
- data/lib/conjoin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ef3cc70b274675d5f697f6e5ed96ce4e60bd4b7
|
4
|
+
data.tar.gz: c56eb505f1fda1ecd54e9870d694419b14066206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
11
|
-
|
12
|
-
|
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'
|
data/lib/conjoin/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cuba
|