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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e39c071006f52163ab4dbe97f5f202d9982da308
4
- data.tar.gz: c717ccdd1a6322cab4d0e0be00e3e117eba0ff08
3
+ metadata.gz: 7676e4d4ab13c2000e38d708ce97b4a8ca852bf2
4
+ data.tar.gz: 1187eced643aacc05ad7170d3c7deb557f84b003
5
5
  SHA512:
6
- metadata.gz: '03930c3fc8d856960a40ab88cd7c083f75f4dc1336b67f469b013356c9c42b6c3281e09ce73438ce3be85d3aa6cdbab0ab6831dbd402bce93e0cba7610d359d4'
7
- data.tar.gz: 89ab0bf5227db8723c980bf350cea08fff2c235f01c326b34e9d4432c468c028f34e871f6b074fc3b5d8cb35c87e400e1d5a052b27545b5e28014521f2b3fe37
6
+ metadata.gz: db8771638a6d0aac763e37b605fc8f7460aa90bd93357d8246b6adedc755bb714f119ec64b015750d4a419bad3cc1403795f5a4544bd9ca10b528937366436e0
7
+ data.tar.gz: cf99c30895d6a45bfb5bbbcf7cd9f2c801dd8d585a67dc076bd87f9a426b382bd525a57f24d22096829c9e45e0048d445162f408725f0375fabdb4e1e6666034
@@ -1,3 +1,3 @@
1
1
  module LoadRemoteDb
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -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.5
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: