backup 2.4.5.1 → 3.0.0.build.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/.gitignore +2 -0
  2. data/.infinity_test +7 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +17 -0
  5. data/Gemfile.lock +88 -0
  6. data/LICENSE.md +24 -0
  7. data/README.md +189 -75
  8. data/backup.gemspec +41 -0
  9. data/bin/backup +161 -90
  10. data/lib/backup.rb +133 -117
  11. data/lib/backup/archive.rb +54 -0
  12. data/lib/backup/cli.rb +50 -0
  13. data/lib/backup/compressor/base.rb +17 -0
  14. data/lib/backup/compressor/gzip.rb +61 -0
  15. data/lib/backup/configuration/base.rb +7 -67
  16. data/lib/backup/configuration/compressor/base.rb +10 -0
  17. data/lib/backup/configuration/compressor/gzip.rb +23 -0
  18. data/lib/backup/configuration/database/base.rb +18 -0
  19. data/lib/backup/configuration/database/mongodb.rb +37 -0
  20. data/lib/backup/configuration/database/mysql.rb +37 -0
  21. data/lib/backup/configuration/database/postgresql.rb +37 -0
  22. data/lib/backup/configuration/database/redis.rb +35 -0
  23. data/lib/backup/configuration/encryptor/base.rb +10 -0
  24. data/lib/backup/configuration/encryptor/gpg.rb +17 -0
  25. data/lib/backup/configuration/encryptor/open_ssl.rb +26 -0
  26. data/lib/backup/configuration/helpers.rb +47 -17
  27. data/lib/backup/configuration/notifier/base.rb +39 -0
  28. data/lib/backup/configuration/notifier/mail.rb +52 -0
  29. data/lib/backup/configuration/storage/base.rb +18 -0
  30. data/lib/backup/configuration/storage/cloudfiles.rb +21 -0
  31. data/lib/backup/configuration/storage/dropbox.rb +25 -0
  32. data/lib/backup/configuration/storage/ftp.rb +25 -0
  33. data/lib/backup/configuration/storage/rsync.rb +25 -0
  34. data/lib/backup/configuration/storage/s3.rb +25 -0
  35. data/lib/backup/configuration/storage/scp.rb +25 -0
  36. data/lib/backup/configuration/storage/sftp.rb +25 -0
  37. data/lib/backup/database/base.rb +33 -0
  38. data/lib/backup/database/mongodb.rb +137 -0
  39. data/lib/backup/database/mysql.rb +104 -0
  40. data/lib/backup/database/postgresql.rb +111 -0
  41. data/lib/backup/database/redis.rb +105 -0
  42. data/lib/backup/encryptor/base.rb +17 -0
  43. data/lib/backup/encryptor/gpg.rb +78 -0
  44. data/lib/backup/encryptor/open_ssl.rb +67 -0
  45. data/lib/backup/finder.rb +39 -0
  46. data/lib/backup/logger.rb +80 -0
  47. data/lib/backup/model.rb +249 -0
  48. data/lib/backup/notifier/base.rb +29 -0
  49. data/lib/backup/notifier/binder.rb +32 -0
  50. data/lib/backup/notifier/mail.rb +141 -0
  51. data/lib/backup/notifier/templates/notify_failure.erb +31 -0
  52. data/lib/backup/notifier/templates/notify_success.erb +16 -0
  53. data/lib/backup/storage/base.rb +60 -3
  54. data/lib/backup/storage/cloudfiles.rb +85 -6
  55. data/lib/backup/storage/dropbox.rb +74 -4
  56. data/lib/backup/storage/ftp.rb +103 -27
  57. data/lib/backup/storage/object.rb +45 -0
  58. data/lib/backup/storage/rsync.rb +100 -0
  59. data/lib/backup/storage/s3.rb +100 -7
  60. data/lib/backup/storage/scp.rb +94 -19
  61. data/lib/backup/storage/sftp.rb +94 -19
  62. data/lib/backup/version.rb +70 -1
  63. data/lib/templates/archive +4 -0
  64. data/lib/templates/compressor/gzip +4 -0
  65. data/lib/templates/database/mongodb +10 -0
  66. data/lib/templates/database/mysql +11 -0
  67. data/lib/templates/database/postgresql +11 -0
  68. data/lib/templates/database/redis +10 -0
  69. data/lib/templates/encryptor/gpg +9 -0
  70. data/lib/templates/encryptor/openssl +5 -0
  71. data/lib/templates/notifier/mail +14 -0
  72. data/lib/templates/readme +15 -0
  73. data/lib/templates/storage/cloudfiles +7 -0
  74. data/lib/templates/storage/dropbox +8 -0
  75. data/lib/templates/storage/ftp +8 -0
  76. data/lib/templates/storage/rsync +7 -0
  77. data/lib/templates/storage/s3 +8 -0
  78. data/lib/templates/storage/scp +8 -0
  79. data/lib/templates/storage/sftp +8 -0
  80. data/spec/archive_spec.rb +53 -0
  81. data/spec/backup_spec.rb +11 -0
  82. data/spec/compressor/gzip_spec.rb +59 -0
  83. data/spec/configuration/base_spec.rb +35 -0
  84. data/spec/configuration/compressor/gzip_spec.rb +28 -0
  85. data/spec/configuration/database/base_spec.rb +16 -0
  86. data/spec/configuration/database/mongodb_spec.rb +30 -0
  87. data/spec/configuration/database/mysql_spec.rb +32 -0
  88. data/spec/configuration/database/postgresql_spec.rb +32 -0
  89. data/spec/configuration/database/redis_spec.rb +30 -0
  90. data/spec/configuration/encryptor/gpg_spec.rb +25 -0
  91. data/spec/configuration/encryptor/open_ssl_spec.rb +31 -0
  92. data/spec/configuration/notifier/mail_spec.rb +32 -0
  93. data/spec/configuration/storage/cloudfiles_spec.rb +34 -0
  94. data/spec/configuration/storage/dropbox_spec.rb +40 -0
  95. data/spec/configuration/storage/ftp_spec.rb +40 -0
  96. data/spec/configuration/storage/rsync_spec.rb +37 -0
  97. data/spec/configuration/storage/s3_spec.rb +37 -0
  98. data/spec/configuration/storage/scp_spec.rb +40 -0
  99. data/spec/configuration/storage/sftp_spec.rb +40 -0
  100. data/spec/database/base_spec.rb +30 -0
  101. data/spec/database/mongodb_spec.rb +144 -0
  102. data/spec/database/mysql_spec.rb +150 -0
  103. data/spec/database/postgresql_spec.rb +164 -0
  104. data/spec/database/redis_spec.rb +122 -0
  105. data/spec/encryptor/gpg_spec.rb +57 -0
  106. data/spec/encryptor/open_ssl_spec.rb +102 -0
  107. data/spec/logger_spec.rb +37 -0
  108. data/spec/model_spec.rb +236 -0
  109. data/spec/notifier/mail_spec.rb +97 -0
  110. data/spec/spec_helper.rb +21 -0
  111. data/spec/storage/base_spec.rb +33 -0
  112. data/spec/storage/cloudfiles_spec.rb +102 -0
  113. data/spec/storage/dropbox_spec.rb +89 -0
  114. data/spec/storage/ftp_spec.rb +133 -0
  115. data/spec/storage/object_spec.rb +74 -0
  116. data/spec/storage/rsync_spec.rb +115 -0
  117. data/spec/storage/s3_spec.rb +110 -0
  118. data/spec/storage/scp_spec.rb +129 -0
  119. data/spec/storage/sftp_spec.rb +125 -0
  120. data/spec/version_spec.rb +32 -0
  121. metadata +139 -123
  122. data/CHANGELOG +0 -131
  123. data/LICENSE +0 -20
  124. data/generators/backup/backup_generator.rb +0 -69
  125. data/generators/backup/templates/backup.rake +0 -56
  126. data/generators/backup/templates/backup.rb +0 -253
  127. data/generators/backup/templates/create_backup_tables.rb +0 -18
  128. data/generators/backup_update/backup_update_generator.rb +0 -50
  129. data/generators/backup_update/templates/migrations/update_backup_tables.rb +0 -27
  130. data/lib/backup/adapters/archive.rb +0 -34
  131. data/lib/backup/adapters/base.rb +0 -167
  132. data/lib/backup/adapters/custom.rb +0 -41
  133. data/lib/backup/adapters/mongo_db.rb +0 -139
  134. data/lib/backup/adapters/mysql.rb +0 -60
  135. data/lib/backup/adapters/postgresql.rb +0 -60
  136. data/lib/backup/adapters/sqlite.rb +0 -25
  137. data/lib/backup/command_helper.rb +0 -14
  138. data/lib/backup/configuration/adapter.rb +0 -21
  139. data/lib/backup/configuration/adapter_options.rb +0 -8
  140. data/lib/backup/configuration/attributes.rb +0 -19
  141. data/lib/backup/configuration/mail.rb +0 -20
  142. data/lib/backup/configuration/smtp.rb +0 -8
  143. data/lib/backup/configuration/storage.rb +0 -8
  144. data/lib/backup/connection/cloudfiles.rb +0 -75
  145. data/lib/backup/connection/dropbox.rb +0 -63
  146. data/lib/backup/connection/s3.rb +0 -88
  147. data/lib/backup/core_ext/object.rb +0 -5
  148. data/lib/backup/environment/base.rb +0 -12
  149. data/lib/backup/environment/rails_configuration.rb +0 -15
  150. data/lib/backup/environment/unix_configuration.rb +0 -109
  151. data/lib/backup/mail/base.rb +0 -97
  152. data/lib/backup/mail/mail.txt +0 -7
  153. data/lib/backup/record/base.rb +0 -65
  154. data/lib/backup/record/cloudfiles.rb +0 -28
  155. data/lib/backup/record/dropbox.rb +0 -27
  156. data/lib/backup/record/ftp.rb +0 -39
  157. data/lib/backup/record/local.rb +0 -26
  158. data/lib/backup/record/s3.rb +0 -25
  159. data/lib/backup/record/scp.rb +0 -33
  160. data/lib/backup/record/sftp.rb +0 -38
  161. data/lib/backup/storage/local.rb +0 -22
  162. data/lib/generators/backup/USAGE +0 -10
  163. data/lib/generators/backup/backup_generator.rb +0 -47
  164. data/lib/generators/backup/templates/backup.rake +0 -56
  165. data/lib/generators/backup/templates/backup.rb +0 -236
  166. data/lib/generators/backup/templates/create_backup_tables.rb +0 -18
  167. data/setup/backup.rb +0 -257
  168. data/setup/backup.sqlite3 +0 -0
@@ -0,0 +1,32 @@
1
+ # encoding: utf-8
2
+
3
+ require File.dirname(__FILE__) + '/spec_helper'
4
+
5
+ def set_version(major, minor, patch, build)
6
+ Backup::Version.stubs(:major).returns(major)
7
+ Backup::Version.stubs(:minor).returns(minor)
8
+ Backup::Version.stubs(:patch).returns(patch)
9
+ Backup::Version.stubs(:build).returns(build)
10
+ end
11
+
12
+ describe Backup::Version do
13
+ it 'should return a valid gemspec version' do
14
+ set_version(1,2,3,false)
15
+ Backup::Version.gemspec.should == '1.2.3'
16
+ end
17
+
18
+ it 'should return a valid gemspec version with a build' do
19
+ set_version(4,5,6,615)
20
+ Backup::Version.gemspec.should == '4.5.6.build.615'
21
+ end
22
+
23
+ it 'should return a nicer gemspec output' do
24
+ set_version(1,2,3,false)
25
+ Backup::Version.current.should == '1.2.3 / build 0'
26
+ end
27
+
28
+ it 'should return a nicer gemspec output with build' do
29
+ set_version(4,5,6,615)
30
+ Backup::Version.current.should == '4.5.6 / build 615'
31
+ end
32
+ end
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: 2.4.5.1
4
+ prerelease: 6
5
+ version: 3.0.0.build.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael van Rooijen
@@ -10,125 +10,81 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-09 00:00:00 +01:00
13
+ date: 2011-03-10 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: json_pure
17
+ name: thor
18
18
  prerelease: false
19
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: 1.4.6
24
+ version: 0.14.6
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
28
- name: net-ssh
28
+ name: fog
29
29
  prerelease: false
30
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
- - - ">="
33
+ - - ~>
34
34
  - !ruby/object:Gem::Version
35
- version: 2.0.15
35
+ version: 0.5.3
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
39
- name: net-scp
39
+ name: dropbox
40
40
  prerelease: false
41
41
  requirement: &id003 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - ">="
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: 1.0.2
46
+ version: 1.2.3
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  - !ruby/object:Gem::Dependency
50
- name: net-sftp
50
+ name: mail
51
51
  prerelease: false
52
52
  requirement: &id004 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
- - - ">="
55
+ - - ~>
56
56
  - !ruby/object:Gem::Version
57
- version: 2.0.4
57
+ version: 2.2.15
58
58
  type: :runtime
59
59
  version_requirements: *id004
60
60
  - !ruby/object:Gem::Dependency
61
- name: activerecord
61
+ name: net-sftp
62
62
  prerelease: false
63
63
  requirement: &id005 !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements:
66
- - - ">="
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 2.3.5
68
+ version: 2.0.5
69
69
  type: :runtime
70
70
  version_requirements: *id005
71
71
  - !ruby/object:Gem::Dependency
72
- name: hirb
72
+ name: net-scp
73
73
  prerelease: false
74
74
  requirement: &id006 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 0.2.9
80
- type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: pony
84
- prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0.5"
91
- type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: cloudfiles
95
- prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: 1.4.7
102
- type: :runtime
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: dropbox
106
- prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
108
- none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.1.2
113
- type: :runtime
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: fog
117
- prerelease: false
118
- requirement: &id010 !ruby/object:Gem::Requirement
119
75
  none: false
120
76
  requirements:
121
77
  - - ~>
122
78
  - !ruby/object:Gem::Version
123
- version: 0.3.5
79
+ version: 1.0.4
124
80
  type: :runtime
125
- version_requirements: *id010
81
+ version_requirements: *id006
126
82
  description: |-
127
- Backup is a Ruby Gem written for Unix and Ruby on Rails (2 and 3) environments. It can be used both with
128
- and without the Ruby on Rails framework! This gem offers a quick and simple solution to backing up databases
129
- such as MySQL/PostgreSQL/SQLite and Files/Folders. All backups can be transferred to Amazon S3, Rackspace Cloud Files,
130
- Dropbox Web Service, any remote server you have access to (using either SCP, SFTP or regular FTP), or a Local server.
131
- Backup handles Compression, Archiving, Encryption (OpenSSL or GPG), Backup Cleaning (Cycling) and supports Email Notifications.
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 various databases (MySQL, PostgreSQL, MongoDB and Redis), it supports various storage locations
85
+ (Amazon S3, Rackspace Cloud Files, Dropbox, any remote server through FTP, SFTP, SCP and RSync), it can archive files and folders,
86
+ it can cycle backups, it can do incremental backups, it can compress backups, it can encrypt backups (OpenSSL or GPG),
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.
132
88
  email: meskyanichi@gmail.com
133
89
  executables:
134
90
  - backup
@@ -137,68 +93,128 @@ extensions: []
137
93
  extra_rdoc_files: []
138
94
 
139
95
  files:
96
+ - .gitignore
97
+ - .infinity_test
98
+ - .rspec
99
+ - Gemfile
100
+ - Gemfile.lock
101
+ - LICENSE.md
140
102
  - README.md
141
- - CHANGELOG
142
- - LICENSE
143
- - lib/backup/adapters/archive.rb
144
- - lib/backup/adapters/base.rb
145
- - lib/backup/adapters/custom.rb
146
- - lib/backup/adapters/mongo_db.rb
147
- - lib/backup/adapters/mysql.rb
148
- - lib/backup/adapters/postgresql.rb
149
- - lib/backup/adapters/sqlite.rb
150
- - lib/backup/command_helper.rb
151
- - lib/backup/configuration/adapter.rb
152
- - lib/backup/configuration/adapter_options.rb
153
- - lib/backup/configuration/attributes.rb
103
+ - backup.gemspec
104
+ - bin/backup
105
+ - lib/backup.rb
106
+ - lib/backup/archive.rb
107
+ - lib/backup/cli.rb
108
+ - lib/backup/compressor/base.rb
109
+ - lib/backup/compressor/gzip.rb
154
110
  - lib/backup/configuration/base.rb
111
+ - lib/backup/configuration/compressor/base.rb
112
+ - lib/backup/configuration/compressor/gzip.rb
113
+ - lib/backup/configuration/database/base.rb
114
+ - lib/backup/configuration/database/mongodb.rb
115
+ - lib/backup/configuration/database/mysql.rb
116
+ - lib/backup/configuration/database/postgresql.rb
117
+ - lib/backup/configuration/database/redis.rb
118
+ - lib/backup/configuration/encryptor/base.rb
119
+ - lib/backup/configuration/encryptor/gpg.rb
120
+ - lib/backup/configuration/encryptor/open_ssl.rb
155
121
  - lib/backup/configuration/helpers.rb
156
- - lib/backup/configuration/mail.rb
157
- - lib/backup/configuration/smtp.rb
158
- - lib/backup/configuration/storage.rb
159
- - lib/backup/connection/cloudfiles.rb
160
- - lib/backup/connection/dropbox.rb
161
- - lib/backup/connection/s3.rb
162
- - lib/backup/core_ext/object.rb
163
- - lib/backup/environment/base.rb
164
- - lib/backup/environment/rails_configuration.rb
165
- - lib/backup/environment/unix_configuration.rb
166
- - lib/backup/mail/base.rb
167
- - lib/backup/mail/mail.txt
168
- - lib/backup/record/base.rb
169
- - lib/backup/record/cloudfiles.rb
170
- - lib/backup/record/dropbox.rb
171
- - lib/backup/record/ftp.rb
172
- - lib/backup/record/local.rb
173
- - lib/backup/record/s3.rb
174
- - lib/backup/record/scp.rb
175
- - lib/backup/record/sftp.rb
122
+ - lib/backup/configuration/notifier/base.rb
123
+ - lib/backup/configuration/notifier/mail.rb
124
+ - lib/backup/configuration/storage/base.rb
125
+ - lib/backup/configuration/storage/cloudfiles.rb
126
+ - lib/backup/configuration/storage/dropbox.rb
127
+ - lib/backup/configuration/storage/ftp.rb
128
+ - lib/backup/configuration/storage/rsync.rb
129
+ - lib/backup/configuration/storage/s3.rb
130
+ - lib/backup/configuration/storage/scp.rb
131
+ - lib/backup/configuration/storage/sftp.rb
132
+ - lib/backup/database/base.rb
133
+ - lib/backup/database/mongodb.rb
134
+ - lib/backup/database/mysql.rb
135
+ - lib/backup/database/postgresql.rb
136
+ - lib/backup/database/redis.rb
137
+ - lib/backup/encryptor/base.rb
138
+ - lib/backup/encryptor/gpg.rb
139
+ - lib/backup/encryptor/open_ssl.rb
140
+ - lib/backup/finder.rb
141
+ - lib/backup/logger.rb
142
+ - lib/backup/model.rb
143
+ - lib/backup/notifier/base.rb
144
+ - lib/backup/notifier/binder.rb
145
+ - lib/backup/notifier/mail.rb
146
+ - lib/backup/notifier/templates/notify_failure.erb
147
+ - lib/backup/notifier/templates/notify_success.erb
176
148
  - lib/backup/storage/base.rb
177
149
  - lib/backup/storage/cloudfiles.rb
178
150
  - lib/backup/storage/dropbox.rb
179
151
  - lib/backup/storage/ftp.rb
180
- - lib/backup/storage/local.rb
152
+ - lib/backup/storage/object.rb
153
+ - lib/backup/storage/rsync.rb
181
154
  - lib/backup/storage/s3.rb
182
155
  - lib/backup/storage/scp.rb
183
156
  - lib/backup/storage/sftp.rb
184
157
  - lib/backup/version.rb
185
- - lib/backup.rb
186
- - lib/generators/backup/backup_generator.rb
187
- - lib/generators/backup/templates/backup.rake
188
- - lib/generators/backup/templates/backup.rb
189
- - lib/generators/backup/templates/create_backup_tables.rb
190
- - lib/generators/backup/USAGE
191
- - bin/backup
192
- - generators/backup/backup_generator.rb
193
- - generators/backup/templates/backup.rake
194
- - generators/backup/templates/backup.rb
195
- - generators/backup/templates/create_backup_tables.rb
196
- - generators/backup_update/backup_update_generator.rb
197
- - generators/backup_update/templates/migrations/update_backup_tables.rb
198
- - setup/backup.rb
199
- - setup/backup.sqlite3
158
+ - lib/templates/archive
159
+ - lib/templates/compressor/gzip
160
+ - lib/templates/database/mongodb
161
+ - lib/templates/database/mysql
162
+ - lib/templates/database/postgresql
163
+ - lib/templates/database/redis
164
+ - lib/templates/encryptor/gpg
165
+ - lib/templates/encryptor/openssl
166
+ - lib/templates/notifier/mail
167
+ - lib/templates/readme
168
+ - lib/templates/storage/cloudfiles
169
+ - lib/templates/storage/dropbox
170
+ - lib/templates/storage/ftp
171
+ - lib/templates/storage/rsync
172
+ - lib/templates/storage/s3
173
+ - lib/templates/storage/scp
174
+ - lib/templates/storage/sftp
175
+ - spec/archive_spec.rb
176
+ - spec/backup_spec.rb
177
+ - spec/compressor/gzip_spec.rb
178
+ - spec/configuration/base_spec.rb
179
+ - spec/configuration/compressor/gzip_spec.rb
180
+ - spec/configuration/database/base_spec.rb
181
+ - spec/configuration/database/mongodb_spec.rb
182
+ - spec/configuration/database/mysql_spec.rb
183
+ - spec/configuration/database/postgresql_spec.rb
184
+ - spec/configuration/database/redis_spec.rb
185
+ - spec/configuration/encryptor/gpg_spec.rb
186
+ - spec/configuration/encryptor/open_ssl_spec.rb
187
+ - spec/configuration/notifier/mail_spec.rb
188
+ - spec/configuration/storage/cloudfiles_spec.rb
189
+ - spec/configuration/storage/dropbox_spec.rb
190
+ - spec/configuration/storage/ftp_spec.rb
191
+ - spec/configuration/storage/rsync_spec.rb
192
+ - spec/configuration/storage/s3_spec.rb
193
+ - spec/configuration/storage/scp_spec.rb
194
+ - spec/configuration/storage/sftp_spec.rb
195
+ - spec/database/base_spec.rb
196
+ - spec/database/mongodb_spec.rb
197
+ - spec/database/mysql_spec.rb
198
+ - spec/database/postgresql_spec.rb
199
+ - spec/database/redis_spec.rb
200
+ - spec/encryptor/gpg_spec.rb
201
+ - spec/encryptor/open_ssl_spec.rb
202
+ - spec/logger_spec.rb
203
+ - spec/model_spec.rb
204
+ - spec/notifier/mail_spec.rb
205
+ - spec/spec_helper.rb
206
+ - spec/storage/base_spec.rb
207
+ - spec/storage/cloudfiles_spec.rb
208
+ - spec/storage/dropbox_spec.rb
209
+ - spec/storage/ftp_spec.rb
210
+ - spec/storage/object_spec.rb
211
+ - spec/storage/rsync_spec.rb
212
+ - spec/storage/s3_spec.rb
213
+ - spec/storage/scp_spec.rb
214
+ - spec/storage/sftp_spec.rb
215
+ - spec/version_spec.rb
200
216
  has_rdoc: true
201
- homepage: http://github.com/meskyanichi/backup
217
+ homepage: http://rubygems.org/gems/backup
202
218
  licenses: []
203
219
 
204
220
  post_install_message:
@@ -215,15 +231,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
231
  required_rubygems_version: !ruby/object:Gem::Requirement
216
232
  none: false
217
233
  requirements:
218
- - - ">="
234
+ - - ">"
219
235
  - !ruby/object:Gem::Version
220
- version: "0"
236
+ version: 1.3.1
221
237
  requirements: []
222
238
 
223
239
  rubyforge_project:
224
- rubygems_version: 1.5.0
240
+ rubygems_version: 1.6.1
225
241
  signing_key:
226
242
  specification_version: 3
227
- summary: Backup is a Ruby Gem that simplifies making backups for databases, files and folders.
243
+ 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."
228
244
  test_files: []
229
245
 
data/CHANGELOG DELETED
@@ -1,131 +0,0 @@
1
- UPDATE
2
- === 2.4.1 ======================================
3
-
4
- Dropbox storage added.
5
-
6
-
7
- BIG UPDATE
8
- === 2.4.0 =======================================
9
-
10
- Ruby on Rails 3 support
11
-
12
-
13
- PATCH
14
- === 2.3.3.1 =====================================
15
-
16
- Fixes an issue when trying to use S3. It would try to create a bucket
17
- when one already exists and this raises an error.
18
-
19
-
20
- UPDATE
21
- === 2.3.3 =======================================
22
-
23
- Set final_file to encrypted_file only when encryption is used.
24
-
25
-
26
- UPDATE
27
- === 2.3.2 =======================================
28
-
29
- - Only load 'pony' and 'optparse' when they need to be utilized.
30
- - Only uses 'sudo' if BACKUP_PATH is not writable by current user.
31
- - With Cloud Files storage, it will automatically create the bucket if it does not yet exist.
32
- - Backup's logger will now display the current time when logging. Now also indicates what S3 bucket it
33
- is being backed up to, as well as what the filename is.
34
- - Backup now supports GPG public key encryption which is a new and more safe way to encrypt your data.
35
-
36
-
37
- MINOR UPDATE
38
- === 2.3.2.pre3 ==================================
39
-
40
- - Added support for Rackspace Cloud Files. Backups can now also be stored in Rackspace Cloud Files.
41
-
42
-
43
- MINOR UPDATE
44
- === 2.3.2.pre2 ==================================
45
-
46
- - Added support for Amazon S3 EEUU and European buckets.
47
-
48
-
49
- BIG UPDATE
50
- === 2.3.2.pre ==================================
51
-
52
- - Added Storage Method: Local
53
- - Added Adapter: SQLite
54
- - exclude option added for Archive Adapter
55
- - Internal cleanup
56
- - Will try to automatically determine the path to mysqldump and pg_dump utilities
57
- - Option to specify which tables to include for the backup
58
- - The ability to specify a custom backup (unix environment) installation folder with ENV['BACKUP_PATH']
59
- - Fixed dependency issue with SQLite3 Ruby Driver (must be 1.2.5)
60
- - Removed Jeweler from Backup, the Gemspec should be manually updated from now on.
61
- - Added spec/tests
62
-
63
-
64
- MINOR UPDATE
65
- === 2.3.1 ======================================
66
-
67
- - Added Feature: Email notifications
68
-
69
-
70
- PATCH
71
- === 2.3.0.3 ====================================
72
-
73
- - Small bug was patched. Error would occur when a list of triggers should be shown
74
-
75
-
76
- BIG UPDATE
77
- === 2.3.0 ====================================
78
-
79
- - Backup became independent of Ruby on Rails
80
- - Backup now supports multiple environments: Rails and Unix
81
- - Backup is now executable through the command-line when using the Unix environment
82
-
83
-
84
- SMALL FEATURE UPDATE
85
- === 2.2.1 ====================================
86
-
87
- - use_ssl option added for S3 Storage Method
88
- - additional_options option added for MySQL and PostgreSQL Adapters
89
-
90
-
91
- PRETTY BIG UPDATE
92
- === 2.2.0 ====================================
93
-
94
- - Added Storage Methods: FTP and SFTP
95
- - Added Adapters: PostgreSQL and Custom
96
- - Added more options to the MySQL Adapter
97
- - A couple of bug fixes
98
-
99
-
100
- MINOR UPDATE
101
- === 2.1.2 ====================================
102
-
103
- - The backup generator will now provide you with a step-by-step guide to getting up and running
104
- - Updated the generator itself
105
- - Removed SQLite3 dependencies
106
-
107
-
108
- 2 TABLES 2 1
109
- === 2.1.1 ====================================
110
-
111
- - Backup will from now on only utilize one table, instead of one for each storage method
112
- - Still backwards compatible to 2.1.0
113
-
114
-
115
- FIXED A CRUCIAL BUG
116
- === 2.1.0 ====================================
117
-
118
- - Problem with Backup::Record. It tried to connect to the SQLite3 database.
119
-
120
-
121
- MAJOR RELEASE
122
- === 2.0.0 ====================================
123
-
124
- - Should be a lot more backwards compatible with every update I do.
125
- - Does not depend on the separate local SQLite3 file any longer.
126
- - Will provide a db migration file for your Rails Application to store backup record data in.
127
- - Does not use YAML files to do configuration any longer.
128
- - Uses a SINGLE ruby file for "all" configuration (config/backup.rb) using elegant block notations!
129
- - Uses a SINGLE rake task to handle the initialization of any backup setting.
130
- - Can now configure an unlimited amount of customizable backup settings and run them each "individually"!
131
- - HIGHLY IMPROVED USABILITY!