zfs-mysql-backup 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
@@ -70,7 +70,7 @@ class ZfsMysqlBackup < Thor
70
70
  end
71
71
 
72
72
  def push_to_s3
73
- logger.info("[MySQL Backup] Pushing to S3 at #{path_to_backup} in #{@s3_bucket}.")
73
+ logger.info("[MySQL Backup] Pushing to S3 at #{s3_object_name} in #{@s3_bucket}.")
74
74
  begin
75
75
  AWS::S3::Base.establish_connection! :access_key_id => ENV['AWS_ACCESS_KEY_ID'],
76
76
  :secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']
@@ -85,7 +85,7 @@ class ZfsMysqlBackup < Thor
85
85
 
86
86
  def s3_object_name
87
87
  hostname = `hostname`
88
- "mysqlbackups/#{hostname}-#{date}.gz"
88
+ "mysqlbackups/#{hostname}.#{date}.gz"
89
89
  end
90
90
 
91
91
  def success?
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zfs-mysql-backup}
8
- s.version = "0.0.8"
8
+ s.version = "0.0.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Golick"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zfs-mysql-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick