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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f94b6b1ff11a3d214e4642857696201d4b91feb
4
- data.tar.gz: 90186cb400a00f0a29e7ac49c14b186b688a85b2
3
+ metadata.gz: b4a53ceaa8a26b672d4a9ac195a359e4fbc0d4dd
4
+ data.tar.gz: 04e3327cce1d720967976ef40065df1f7394c931
5
5
  SHA512:
6
- metadata.gz: d94c746e3f4d3e2d4fdddc8206c048aa3f47f0584fa2eb2b7ab2f98ff564f69418b93de0db3ab87bab57b85d1ae585c286763cfa47d15672d854a660a59d9e2e
7
- data.tar.gz: 726d104768779fe23b1474a39f65655aa9a6689791dd8a09bbb17194984768909774b5fd221e00e9918cfd0b67bb27ee3b0e6eb83933aefc674a798d14e57727
6
+ metadata.gz: ea7ba30829211d6142691c1a70ea35b2e94fc96bc3ae3087bb93f21d7d3fa6248866553ce33d200ea9683d2ca2505df34ac0854e6393ebe53843d034ae9c77c5
7
+ data.tar.gz: 0ab70f45485cf72346bd16f276a472d87db2a2cf93bd5b49041af4cd13c5812039801a875698a22e4617247f55e17d2a5486f5b6108208a7095dd4bbdd09fedc
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.2
5
- - 2.2.1
3
+ - 2.2.3
4
+ - 2.3.0
@@ -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 --allow-chown --allow-suid --no-umask --parallel=5"
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
@@ -1,3 +1,3 @@
1
1
  module Photocopier
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
data/photocopier.gemspec CHANGED
@@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "rspec", "~> 3.3"
32
32
  spec.add_development_dependency "simplecov", "~> 0.10"
33
33
  spec.add_development_dependency "pry-byebug", "~> 3.1"
34
+ spec.add_development_dependency "gem-release"
34
35
  end
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.0.0
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: 2015-08-28 00:00:00.000000000 Z
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: