load_remote_db 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/load_remote_db/version.rb +1 -1
- data/lib/tasks/load_remote_db.rake +3 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7676e4d4ab13c2000e38d708ce97b4a8ca852bf2
|
4
|
+
data.tar.gz: 1187eced643aacc05ad7170d3c7deb557f84b003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8771638a6d0aac763e37b605fc8f7460aa90bd93357d8246b6adedc755bb714f119ec64b015750d4a419bad3cc1403795f5a4544bd9ca10b528937366436e0
|
7
|
+
data.tar.gz: cf99c30895d6a45bfb5bbbcf7cd9f2c801dd8d585a67dc076bd87f9a426b382bd525a57f24d22096829c9e45e0048d445162f408725f0375fabdb4e1e6666034
|
@@ -83,6 +83,9 @@ class RemoteDbLoader
|
|
83
83
|
puts 'backup.sql file is now stored at your Rails root folder!'
|
84
84
|
`open .`
|
85
85
|
else
|
86
|
+
# run db create in case the db does not exist
|
87
|
+
%(bundle exec rake db:create)
|
88
|
+
|
86
89
|
if password == nil
|
87
90
|
import_db_cmd =
|
88
91
|
%(mysql -u #{username} #{database} < backup.sql)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Huynh
|
@@ -82,3 +82,4 @@ signing_key:
|
|
82
82
|
specification_version: 4
|
83
83
|
summary: Load MySQL Remote DB for Mina/Capistrano
|
84
84
|
test_files: []
|
85
|
+
has_rdoc:
|