load_remote_db 0.1.13 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/load_remote_db/version.rb +1 -1
- data/lib/tasks/load_remote_db.rake +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f8b499f7364aaecaa15d281aa628c3617f068995
|
4
|
+
data.tar.gz: 5285759b634de24b60a18b5aade5f4c3de8be4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6de3cff8e4d6eae206a0f5500ca031ed4a15919bd26690f5ee9a1782fe4900a43812f5ee5b3d83759ca3ab6a055af83ceee247f24c213bcbbe09947a9bd540d5
|
7
|
+
data.tar.gz: 5b683587bf07005fa8658521e1696389357602f01370ec13abb3ea4a2b3a15a5b1de6b66e830d093e7a082901338c893986d6a8672ee3fe98afa8acfd0212bb9
|
@@ -18,12 +18,12 @@ class RemoteDbLoader
|
|
18
18
|
|
19
19
|
database_yml =
|
20
20
|
"#{Rails.root}/config/database.yml"
|
21
|
-
development_db = YAML.load_file(database_yml)['development']
|
21
|
+
development_db = YAML.load_file(database_yml)[ENV['RAILS_ENV'] || 'development']
|
22
22
|
|
23
23
|
username = development_db['username'] || 'root'
|
24
24
|
password = development_db['password']
|
25
25
|
database = development_db['database']
|
26
|
-
host = development_db['host']
|
26
|
+
host = development_db['host'] || 'localhost'
|
27
27
|
|
28
28
|
begin
|
29
29
|
eval File.read("#{Rails.root}/config/deploy.rb")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: load_remote_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Huynh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.
|
80
|
+
rubygems_version: 2.6.11
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Load MySQL Remote DB for Mina/Capistrano
|