backup 3.0.0 → 3.0.1.build.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/backup.gemspec +1 -1
- data/lib/backup/storage/cloudfiles.rb +1 -1
- data/lib/backup/storage/s3.rb +1 -1
- data/lib/backup/version.rb +1 -1
- metadata +5 -5
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Backup 3
|
2
2
|
========
|
3
3
|
|
4
|
-
Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL. It supports various
|
4
|
+
Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL. It supports various databases (MySQL, PostgreSQL, MongoDB and Redis), it supports various storage locations (Amazon S3, Rackspace Cloud Files, Dropbox, any remote server through FTP, SFTP, SCP and RSync), it can archive files and folders, it can cycle backups, it can do incremental backups, it can compress backups, it can encrypt backups (OpenSSL or GPG), it can notify you about successful and/or failed backups. It is very extensible and easy to add new functionality to. It's easy to use.
|
5
5
|
|
6
6
|
Author
|
7
7
|
------
|
data/backup.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.homepage = 'http://rubygems.org/gems/backup'
|
15
15
|
gem.summary = 'Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL.'
|
16
16
|
gem.description = 'Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL.
|
17
|
-
It supports various
|
17
|
+
It supports various databases (MySQL, PostgreSQL, MongoDB and Redis), it supports various storage locations
|
18
18
|
(Amazon S3, Rackspace Cloud Files, Dropbox, any remote server through FTP, SFTP, SCP and RSync), it can archive files and folders,
|
19
19
|
it can cycle backups, it can do incremental backups, it can compress backups, it can encrypt backups (OpenSSL or GPG),
|
20
20
|
it can notify you about successful and/or failed backups. It is very extensible and easy to add new functionality to. It\'s easy to use.'
|
@@ -73,7 +73,7 @@ module Backup
|
|
73
73
|
connection.put_object(
|
74
74
|
container,
|
75
75
|
File.join(remote_path, remote_file),
|
76
|
-
File.
|
76
|
+
File.open(File.join(local_path, local_file))
|
77
77
|
)
|
78
78
|
rescue Excon::Errors::SocketError => e
|
79
79
|
puts "\nAn error occurred while trying to transfer the backup."
|
data/lib/backup/storage/s3.rb
CHANGED
@@ -83,7 +83,7 @@ module Backup
|
|
83
83
|
connection.put_object(
|
84
84
|
bucket,
|
85
85
|
File.join(remote_path, remote_file),
|
86
|
-
File.
|
86
|
+
File.open(File.join(local_path, local_file))
|
87
87
|
)
|
88
88
|
rescue Excon::Errors::SocketError
|
89
89
|
puts "\nAn error occurred while trying to transfer the backup."
|
data/lib/backup/version.rb
CHANGED
@@ -22,7 +22,7 @@ module Backup
|
|
22
22
|
# Defines the patch version
|
23
23
|
# BUILD:
|
24
24
|
# Defines the build version ( use 'false' if no build )
|
25
|
-
MAJOR, MINOR, PATCH, BUILD = 3, 0,
|
25
|
+
MAJOR, MINOR, PATCH, BUILD = 3, 0, 1, 0
|
26
26
|
|
27
27
|
# ========================================================= #
|
28
28
|
# ADJUST THE CONSTANTS ABOVE TO CHANGE THE BACKUP VERSION #
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 3.0.0
|
4
|
+
prerelease: 6
|
5
|
+
version: 3.0.1.build.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael van Rooijen
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
version_requirements: *id006
|
82
82
|
description: |-
|
83
83
|
Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL.
|
84
|
-
It supports various
|
84
|
+
It supports various databases (MySQL, PostgreSQL, MongoDB and Redis), it supports various storage locations
|
85
85
|
(Amazon S3, Rackspace Cloud Files, Dropbox, any remote server through FTP, SFTP, SCP and RSync), it can archive files and folders,
|
86
86
|
it can cycle backups, it can do incremental backups, it can compress backups, it can encrypt backups (OpenSSL or GPG),
|
87
87
|
it can notify you about successful and/or failed backups. It is very extensible and easy to add new functionality to. It's easy to use.
|
@@ -231,9 +231,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
232
|
none: false
|
233
233
|
requirements:
|
234
|
-
- - "
|
234
|
+
- - ">"
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
236
|
+
version: 1.3.1
|
237
237
|
requirements: []
|
238
238
|
|
239
239
|
rubyforge_project:
|