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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20f3470c0d8d4684b5896c9bc59e5ecfdd23f312
4
- data.tar.gz: 5db92318a62c0bfb733bac7b16686e7ac3772817
3
+ metadata.gz: ce05db10419185c9824dcbc192c75e59baaadc4f
4
+ data.tar.gz: b45a9ce248cd8e64461e6a5d1064644d15a1e0fa
5
5
  SHA512:
6
- metadata.gz: e3f8702292be83729ffdbac118a8eeb8b3b4797634ed5f4f09192427b09e2ee9d8970f3e028763a4be96e13fb2796d859851635619da86d11f0c1144bf4d9ffe
7
- data.tar.gz: 54a6b6625fe582efaedd81a4e3ff4f68a438f931814562b577b34e3a31f3d5cf52df104c7f050dd5de8253cf5c7efcb6ad4dd0fbcc873c2d273d9945f427da9e
6
+ metadata.gz: 63bf15c7c77e9cd59bdc7a59d1882798020382d0e7812fc29f32e9727e3cdc8b88d67c298ddf7f10a6806c85cd6ed8ab0cc933ef3db04d5e66472421be22386e
7
+ data.tar.gz: 50c8518bc2c60a738de278b3822ca55690790d49bbc76cc18a01c0fbfbcde63655fc1cd376d1459971bb4a39e0996448faea8faa713d2f7dc6aefe6d05bed917
@@ -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 = "dump_#{time_str}.sql"
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)
@@ -1,3 +1,3 @@
1
1
  module MorseSqlDump
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_sql_dump
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - fred mcgroarty