backup 5.0.0.beta.1 → 5.0.0.beta.2

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: 3e90aa060ddb761e49388d59c63e4a347ff31b10
4
- data.tar.gz: 6daf2c1c7fc2522c806f8cee757d8dbbf024c099
3
+ metadata.gz: a3bf58f502eeadb10b8248b94df2c9701501d8d2
4
+ data.tar.gz: fe69e3bc3ac25c9e40c039dc2de591e6bb43d6ec
5
5
  SHA512:
6
- metadata.gz: fec34c486f7f34829928cca1342ca9986dfd072dae3c3dffa05cfc247547dff113c72d53c9d354d9157d68bf20945b11f07787e02584cda4d28cb554e397cd0d
7
- data.tar.gz: 37a71a5c1603c4a280874f07ebc5156daef997ebb0e931a031224d0a79c4af6d502ddc4b4512fb64f38b2624458135300adcf2579c77b9d9e6e284ebcf7203cc
6
+ metadata.gz: '0863ce113a5dfc7b7116eea414ec918e107507c3c9b1576c77443e5666505bdd8abd04862e42b02de54ed3859ca58c9faa48c2113be6a1f58773cd292694aab8'
7
+ data.tar.gz: 856787094b351b5d315b1c13beb369ddaca8d426a937a7ec80ebbe6a175cb75b2c75a1e4ae5168faa4ed138e284e653bcaa8e358170fb4405e1b60cc483707aa
data/README.md CHANGED
@@ -1,20 +1,24 @@
1
- Backup v4.x
2
- ===========
1
+ Backup
2
+ ======
3
3
 
4
4
  [![Code Climate](https://codeclimate.com/github/backup/backup.png)](https://codeclimate.com/github/backup/backup)
5
5
  [![Build Status](https://travis-ci.org/backup/backup.svg?branch=master)](https://travis-ci.org/backup/backup)
6
6
  [![Join the chat at https://gitter.im/backup/backup](https://badges.gitter.im/Join%20Chat.svg)][Gitter]
7
7
 
8
+ > This project is now in maintenance. No new features are planned.
9
+
8
10
  Backup is a system utility for Linux and Mac OS X, distributed as a RubyGem, that allows you to easily perform backup
9
11
  operations. It provides an elegant DSL in Ruby for _modeling_ your backups. Backup has built-in support for various
10
12
  databases, storage protocols/services, syncers, compressors, encryptors and notifiers which you can mix and match. It
11
13
  was built with modularity, extensibility and simplicity in mind.
12
14
 
13
- [Installation][] · [Release Notes][] · [Documentation][] · [Issues][] · [Features][] · [Chat][Gitter]
15
+ [Installation][] · [Release Notes][] · [Documentation][] · [Issues][] · [Chat][Gitter]
16
+
17
+ ## Project Status: Maintenance-Only ##
18
+
19
+ This project is not under active development, although we will continue to provide support for current users, and at least one more maintenance release: version 5.0. The version 5.0 release will include support for Ruby 2.4, and various other fixes. Future releases of Backup will only include bug fixes.
14
20
 
15
- Please use the Backup features [issue tracker][Features] to suggest new features.
16
- Only use the Backup gem [issue tracker][Issues] for bugs and other issues.
17
- We're also available on [Gitter] for questions and problems.
21
+ If you use this project and would like to develop it further, please introduce yourself on the [maintainers wanted][Maintainers wanted] ticket.
18
22
 
19
23
  **Copyright (c) 2009-2017 [Michael van Rooijen][] ( [@mrrooijen] )**
20
24
  Released under the **MIT** [LICENSE](LICENSE).
@@ -23,7 +27,7 @@ Released under the **MIT** [LICENSE](LICENSE).
23
27
  [Release Notes]: http://backup.github.io/backup/v4/release-notes
24
28
  [Documentation]: http://backup.github.io/backup/v4
25
29
  [Issues]: https://github.com/backup/backup/issues
26
- [Features]: https://github.com/backup/backup-features/issues
27
30
  [Gitter]: https://gitter.im/backup/backup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
31
+ [Maintainers wanted]: https://github.com/backup/backup/issues/803
28
32
  [Michael van Rooijen]: http://github.com/mrrooijen
29
33
  [@mrrooijen]: http://twitter.com/mrrooijen
@@ -3,18 +3,6 @@ module Backup
3
3
  class Error < Backup::Error; end
4
4
  class FatalError < Backup::FatalError; end
5
5
 
6
- DEPRECATED_MODULES = %w[
7
- Campfire
8
- CloudFiles
9
- FTP
10
- Nagios
11
- OpenLDAP
12
- Prowl
13
- Riak
14
- Twitter
15
- Zabbix
16
- ].freeze
17
-
18
6
  class << self
19
7
  ##
20
8
  # The Backup::Model.all class method keeps track of all the models
@@ -152,12 +140,6 @@ module Backup
152
140
  ##
153
141
  # Adds an Database. Multiple Databases may be added to the model.
154
142
  def database(name, database_id = nil, &block)
155
- dsl_name = dsl_const_name(name)
156
- if deprecated_module? dsl_name
157
- Logger.warn "The Backup database \"#{dsl_name}\" is " \
158
- "scheduled to be deprecated. If you're using this feature, " \
159
- "please see: https://github.com/backup/backup/issues/851"
160
- end
161
143
  @databases << get_class_from_scope(Database, name)
162
144
  .new(self, database_id, &block)
163
145
  end
@@ -165,12 +147,6 @@ module Backup
165
147
  ##
166
148
  # Adds an Storage. Multiple Storages may be added to the model.
167
149
  def store_with(name, storage_id = nil, &block)
168
- dsl_name = dsl_const_name(name)
169
- if deprecated_module? dsl_name
170
- Logger.warn "The Backup storage \"#{dsl_name}\" is " \
171
- "scheduled to be deprecated. If you're using this feature, " \
172
- "please see: https://github.com/backup/backup/issues/851"
173
- end
174
150
  @storages << get_class_from_scope(Storage, name)
175
151
  .new(self, storage_id, &block)
176
152
  end
@@ -178,22 +154,12 @@ module Backup
178
154
  ##
179
155
  # Adds an Syncer. Multiple Syncers may be added to the model.
180
156
  def sync_with(name, syncer_id = nil, &block)
181
- dsl_name = dsl_const_name(name)
182
- Logger.warn "The Backup syncer \"#{dsl_name}\" is " \
183
- "scheduled to be deprecated. If you're using this feature, " \
184
- "please see: https://github.com/backup/backup/issues/851"
185
157
  @syncers << get_class_from_scope(Syncer, name).new(syncer_id, &block)
186
158
  end
187
159
 
188
160
  ##
189
161
  # Adds an Notifier. Multiple Notifiers may be added to the model.
190
162
  def notify_by(name, &block)
191
- dsl_name = dsl_const_name(name)
192
- if deprecated_module? dsl_name
193
- Logger.warn "The Backup notifier \"#{dsl_name}\" is " \
194
- "scheduled to be deprecated. If you're using this feature, " \
195
- "please see: https://github.com/backup/backup/issues/851"
196
- end
197
163
  @notifiers << get_class_from_scope(Notifier, name).new(self, &block)
198
164
  end
199
165
 
@@ -325,14 +291,6 @@ module Backup
325
291
 
326
292
  private
327
293
 
328
- def dsl_const_name(name)
329
- name.to_s.sub "Backup::Config::DSL::", ""
330
- end
331
-
332
- def deprecated_module?(name)
333
- DEPRECATED_MODULES.include? name
334
- end
335
-
336
294
  ##
337
295
  # Returns an array of procedures that will be performed if any
338
296
  # Archives or Databases are configured for the model.
@@ -230,17 +230,3 @@ module Backup
230
230
  end
231
231
  end
232
232
  end
233
-
234
- # Patch mail v2.5.4 Exim delivery method
235
- # https://github.com/backup/backup/issues/446
236
- # https://github.com/mikel/mail/pull/546
237
- module Mail
238
- class Exim
239
- def self.call(path, arguments, _destinations, encoded_message)
240
- popen "#{path} #{arguments}" do |io|
241
- io.puts ::Mail::Utilities.to_lf(encoded_message)
242
- io.flush
243
- end
244
- end
245
- end
246
- end
@@ -149,10 +149,6 @@ module Backup
149
149
  command.shift while command[0].to_s.include?("=")
150
150
  parts << command.shift.split("/")[-1]
151
151
  if parts[0] == "sudo"
152
- Logger.warn "The Backup option \"sudo\" is " \
153
- "scheduled to be deprecated. If you're using this feature, " \
154
- "please see: https://github.com/backup/backup/issues/851"
155
-
156
152
  until command.empty?
157
153
  part = command.shift
158
154
  if part.include?("/")
@@ -1,3 +1,3 @@
1
1
  module Backup
2
- VERSION = "5.0.0.beta.1"
2
+ VERSION = "5.0.0.beta.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.beta.1
4
+ version: 5.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van Rooijen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-13 00:00:00.000000000 Z
11
+ date: 2017-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -146,16 +146,22 @@ dependencies:
146
146
  name: mail
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - '='
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '2.6'
152
+ - - ">="
150
153
  - !ruby/object:Gem::Version
151
- version: 2.6.5
154
+ version: 2.6.6
152
155
  type: :runtime
153
156
  prerelease: false
154
157
  version_requirements: !ruby/object:Gem::Requirement
155
158
  requirements:
156
- - - '='
159
+ - - "~>"
160
+ - !ruby/object:Gem::Version
161
+ version: '2.6'
162
+ - - ">="
157
163
  - !ruby/object:Gem::Version
158
- version: 2.6.5
164
+ version: 2.6.6
159
165
  - !ruby/object:Gem::Dependency
160
166
  name: pagerduty
161
167
  requirement: !ruby/object:Gem::Requirement
@@ -263,7 +269,7 @@ dependencies:
263
269
  version: '1.7'
264
270
  - - ">="
265
271
  - !ruby/object:Gem::Version
266
- version: 1.7.1
272
+ version: 1.7.2
267
273
  type: :runtime
268
274
  prerelease: false
269
275
  version_requirements: !ruby/object:Gem::Requirement
@@ -273,7 +279,7 @@ dependencies:
273
279
  version: '1.7'
274
280
  - - ">="
275
281
  - !ruby/object:Gem::Version
276
- version: 1.7.1
282
+ version: 1.7.2
277
283
  - !ruby/object:Gem::Dependency
278
284
  name: rubocop
279
285
  requirement: !ruby/object:Gem::Requirement