database_fork 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/database_fork.gemspec +1 -1
- data/lib/database_fork.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02395bcab269066b8b7cc5b5a106c3bb27fed5cb
|
4
|
+
data.tar.gz: b5566ba02e4fac55af6050358dc2819f4e47657f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d8786f2fa1b4e2271bb17018db9f534e0e4363192796a23e10f1648cd1e9bf87230a0412602c3f520dd2c62ab9561766750d32e55e08cc6c3f30a2b589464c
|
7
|
+
data.tar.gz: f75dcd966a0439a43018250b6c36086057f3ec5828f58b478ad6db8cd8731647f0ad46c5b220893ab19707943d0646b7418ee7d6ebe8aa7157b3e79b9dc06cff
|
data/database_fork.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "database_fork"
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.3'
|
8
8
|
spec.authors = ["the-architect"]
|
9
9
|
spec.email = ["marcel.scherf@epicteams.com"]
|
10
10
|
spec.summary = %q{Fork your database}
|
data/lib/database_fork.rb
CHANGED
@@ -154,7 +154,7 @@ class DatabaseFork
|
|
154
154
|
end
|
155
155
|
|
156
156
|
def app_connection
|
157
|
-
@app_connection ||= YAML.load(ERB.new(open(File.join(@root_dir, '
|
157
|
+
@app_connection ||= YAML.load(ERB.new(open(File.join(@root_dir, 'config', 'database.yml')).read).result)
|
158
158
|
end
|
159
159
|
|
160
160
|
def current_branch
|