photocopier 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/lib/photocopier/ftp.rb +2 -3
- data/lib/photocopier/version.rb +1 -1
- data/photocopier.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a53ceaa8a26b672d4a9ac195a359e4fbc0d4dd
|
4
|
+
data.tar.gz: 04e3327cce1d720967976ef40065df1f7394c931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7ba30829211d6142691c1a70ea35b2e94fc96bc3ae3087bb93f21d7d3fa6248866553ce33d200ea9683d2ca2505df34ac0854e6393ebe53843d034ae9c77c5
|
7
|
+
data.tar.gz: 0ab70f45485cf72346bd16f276a472d87db2a2cf93bd5b49041af4cd13c5812039801a875698a22e4617247f55e17d2a5486f5b6108208a7095dd4bbdd09fedc
|
data/.travis.yml
CHANGED
data/lib/photocopier/ftp.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
module Photocopier
|
2
2
|
class FTP < Adapter
|
3
|
-
|
4
3
|
def initialize(options = {})
|
5
4
|
@options = options
|
6
5
|
end
|
@@ -69,8 +68,8 @@ module Photocopier
|
|
69
68
|
end
|
70
69
|
|
71
70
|
def lftp_mirror_arguments(reverse, exclude = [])
|
72
|
-
mirror = "mirror --delete --use-cache --verbose --
|
73
|
-
mirror << " --reverse" if reverse
|
71
|
+
mirror = "mirror --delete --use-cache --verbose --no-perms --allow-suid --no-umask --parallel=5"
|
72
|
+
mirror << " --reverse --dereference" if reverse
|
74
73
|
exclude.each do |glob|
|
75
74
|
mirror << " --exclude-glob #{glob}" # NOTE do not use Shellwords.escape here
|
76
75
|
end
|
data/lib/photocopier/version.rb
CHANGED
data/photocopier.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: photocopier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -138,6 +138,20 @@ dependencies:
|
|
138
138
|
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '3.1'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: gem-release
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
141
155
|
description: Photocopier provides FTP/SSH adapters to abstract away file and directory
|
142
156
|
copying.
|
143
157
|
email:
|