backup 5.0.0.beta.2 → 5.0.0.beta.3

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
- SHA1:
3
- metadata.gz: a3bf58f502eeadb10b8248b94df2c9701501d8d2
4
- data.tar.gz: fe69e3bc3ac25c9e40c039dc2de591e6bb43d6ec
2
+ SHA256:
3
+ metadata.gz: be84fcf585977ffff359b7f8b1052b87d6fd505fdf7b2324a7f309ec41bf8007
4
+ data.tar.gz: f46f2e94686a50cab3ee91ef64320aab6a5a7f249069906f52c9f37bc9fa371c
5
5
  SHA512:
6
- metadata.gz: '0863ce113a5dfc7b7116eea414ec918e107507c3c9b1576c77443e5666505bdd8abd04862e42b02de54ed3859ca58c9faa48c2113be6a1f58773cd292694aab8'
7
- data.tar.gz: 856787094b351b5d315b1c13beb369ddaca8d426a937a7ec80ebbe6a175cb75b2c75a1e4ae5168faa4ed138e284e653bcaa8e358170fb4405e1b60cc483707aa
6
+ metadata.gz: 1fcf15d44034f42fdbc319e1754c2df3a8b9b61f3658a753d0bc576fc000b185ebfb897cb77543dae86a785a0ae192b996eba05e6ca6043cdd4028db9ec77a6d
7
+ data.tar.gz: 103d3d83c801d70ac6f249e4a9bb1720aa0decb4475d37f722f6628ee16c5b38d9940048c30880c5c8f9555eb3c9e9c575e5a464c4d7e0509987aa027ac63c56
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Backup
2
2
  ======
3
3
 
4
- [![Code Climate](https://codeclimate.com/github/backup/backup.png)](https://codeclimate.com/github/backup/backup)
4
+ [![Code Climate](https://codeclimate.com/github/backup/backup.svg)](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
 
@@ -0,0 +1,24 @@
1
+ #!/bin/bash
2
+ set -eu
3
+
4
+ export BUNDLE_PATH=/tmp/docker/bundle
5
+ export BUNDLE_JOBS=4
6
+
7
+ case "${1-}" in
8
+ prepare)
9
+ bundle check || bundle install
10
+ ;;
11
+ rspec)
12
+ bundle exec rspec spec
13
+ ;;
14
+ integration)
15
+ bundle exec rspec integration/acceptance/
16
+ ;;
17
+ console)
18
+ bash
19
+ ;;
20
+ *)
21
+ echo "Task not found"
22
+ exit 1
23
+ ;;
24
+ esac
@@ -50,6 +50,12 @@ module Backup
50
50
  Net::FTP.send(:remove_const, :FTP_PORT)
51
51
  end; Net::FTP.send(:const_set, :FTP_PORT, port)
52
52
 
53
+ # Ensure default passive mode to false.
54
+ # Note: The default passive setting changed between Ruby 2.2 and 2.3
55
+ if Net::FTP.respond_to?(:default_passive=)
56
+ Net::FTP.default_passive = false
57
+ end
58
+
53
59
  Net::FTP.open(ip, username, password) do |ftp|
54
60
  if timeout
55
61
  ftp.open_timeout = timeout
@@ -1,3 +1,3 @@
1
1
  module Backup
2
- VERSION = "5.0.0.beta.2"
2
+ VERSION = "5.0.0.beta.3"
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.2
4
+ version: 5.0.0.beta.3
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-08-27 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '1.28'
53
+ version: '1.42'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '1.28'
60
+ version: '1.42'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: excon
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.44'
67
+ version: '0.71'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.44'
74
+ version: '0.71'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: unf
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,28 +106,28 @@ dependencies:
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 3.2.0
109
+ version: 5.2.0
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 3.2.0
116
+ version: 5.2.0
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: net-scp
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - '='
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: 1.2.1
123
+ version: 2.0.0
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - '='
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: 1.2.1
130
+ version: 2.0.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: net-sftp
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -182,14 +182,14 @@ dependencies:
182
182
  requirements:
183
183
  - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '5.5'
185
+ version: '6.0'
186
186
  type: :runtime
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: '5.5'
192
+ version: '6.0'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: hipchat
195
195
  requirement: !ruby/object:Gem::Requirement
@@ -224,14 +224,14 @@ dependencies:
224
224
  requirements:
225
225
  - - '='
226
226
  - !ruby/object:Gem::Version
227
- version: 1.11.0
227
+ version: 1.40.0
228
228
  type: :runtime
229
229
  prerelease: false
230
230
  version_requirements: !ruby/object:Gem::Requirement
231
231
  requirements:
232
232
  - - '='
233
233
  - !ruby/object:Gem::Version
234
- version: 1.11.0
234
+ version: 1.40.0
235
235
  - !ruby/object:Gem::Dependency
236
236
  name: aws-sdk
237
237
  requirement: !ruby/object:Gem::Requirement
@@ -266,20 +266,20 @@ dependencies:
266
266
  requirements:
267
267
  - - "~>"
268
268
  - !ruby/object:Gem::Version
269
- version: '1.7'
269
+ version: '1.10'
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
- version: 1.7.2
272
+ version: 1.10.9
273
273
  type: :runtime
274
274
  prerelease: false
275
275
  version_requirements: !ruby/object:Gem::Requirement
276
276
  requirements:
277
277
  - - "~>"
278
278
  - !ruby/object:Gem::Version
279
- version: '1.7'
279
+ version: '1.10'
280
280
  - - ">="
281
281
  - !ruby/object:Gem::Version
282
- version: 1.7.2
282
+ version: 1.10.9
283
283
  - !ruby/object:Gem::Dependency
284
284
  name: rubocop
285
285
  requirement: !ruby/object:Gem::Requirement
@@ -314,42 +314,28 @@ dependencies:
314
314
  requirements:
315
315
  - - '='
316
316
  - !ruby/object:Gem::Version
317
- version: 3.5.0
318
- type: :development
319
- prerelease: false
320
- version_requirements: !ruby/object:Gem::Requirement
321
- requirements:
322
- - - '='
323
- - !ruby/object:Gem::Version
324
- version: 3.5.0
325
- - !ruby/object:Gem::Dependency
326
- name: mocha
327
- requirement: !ruby/object:Gem::Requirement
328
- requirements:
329
- - - '='
330
- - !ruby/object:Gem::Version
331
- version: 0.14.0
317
+ version: 3.8.0
332
318
  type: :development
333
319
  prerelease: false
334
320
  version_requirements: !ruby/object:Gem::Requirement
335
321
  requirements:
336
322
  - - '='
337
323
  - !ruby/object:Gem::Version
338
- version: 0.14.0
324
+ version: 3.8.0
339
325
  - !ruby/object:Gem::Dependency
340
326
  name: timecop
341
327
  requirement: !ruby/object:Gem::Requirement
342
328
  requirements:
343
329
  - - '='
344
330
  - !ruby/object:Gem::Version
345
- version: 0.7.1
331
+ version: 0.9.1
346
332
  type: :development
347
333
  prerelease: false
348
334
  version_requirements: !ruby/object:Gem::Requirement
349
335
  requirements:
350
336
  - - '='
351
337
  - !ruby/object:Gem::Version
352
- version: 0.7.1
338
+ version: 0.9.1
353
339
  description: Backup is a RubyGem, written for UNIX-like operating systems, that allows
354
340
  you to easily perform backup operations on both your remote and local environments.
355
341
  It provides you with an elegant DSL in Ruby for modeling your backups. Backup has
@@ -365,6 +351,7 @@ files:
365
351
  - LICENSE
366
352
  - README.md
367
353
  - bin/backup
354
+ - bin/docker_test
368
355
  - lib/backup.rb
369
356
  - lib/backup/archive.rb
370
357
  - lib/backup/binder.rb
@@ -513,10 +500,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
513
500
  - !ruby/object:Gem::Version
514
501
  version: 1.3.1
515
502
  requirements: []
516
- rubyforge_project:
517
- rubygems_version: 2.6.12
503
+ rubygems_version: 3.0.3
518
504
  signing_key:
519
505
  specification_version: 4
520
506
  summary: Provides an elegant DSL in Ruby for performing backups on UNIX-like systems.
521
507
  test_files: []
522
- has_rdoc: