morse_sql_dump 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/sql_dumper.rb +1 -1
- data/lib/morse_sql_dump/version.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: ce05db10419185c9824dcbc192c75e59baaadc4f
|
4
|
+
data.tar.gz: b45a9ce248cd8e64461e6a5d1064644d15a1e0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63bf15c7c77e9cd59bdc7a59d1882798020382d0e7812fc29f32e9727e3cdc8b88d67c298ddf7f10a6806c85cd6ed8ab0cc933ef3db04d5e66472421be22386e
|
7
|
+
data.tar.gz: 50c8518bc2c60a738de278b3822ca55690790d49bbc76cc18a01c0fbfbcde63655fc1cd376d1459971bb4a39e0996448faea8faa713d2f7dc6aefe6d05bed917
|
data/app/models/sql_dumper.rb
CHANGED
@@ -56,7 +56,7 @@ class SqlDumper
|
|
56
56
|
def prepare_dump_paths
|
57
57
|
time_str = Time.now.strftime('%d.%m.%y_%H.%M.%S')
|
58
58
|
@temp_dir = File.join(rails_root, DUMP_DIR)
|
59
|
-
@dump_file_name = "
|
59
|
+
@dump_file_name = "#{@mysql_database}_#{time_str}.sql"
|
60
60
|
@dump_file = File.join(@temp_dir, @dump_file_name)
|
61
61
|
@archive_file_name = "dump_#{time_str}.tar.gz"
|
62
62
|
@archive_file = File.join(@temp_dir, @archive_file_name)
|