cocoapods-repo-rsync 1.0.0.3 → 1.0.0.4

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: c013a09c55fbd315e76d6a0014df1c123693a15f
4
- data.tar.gz: b6586c230eb7e1606c4fd495af118dc658f95d30
3
+ metadata.gz: 2ed4decdd65038d710052acc7658baa819f18b83
4
+ data.tar.gz: eea70b6917ef65bb65990f3e3a83e1948a046ab7
5
5
  SHA512:
6
- metadata.gz: a20493c6de981cdfce96e5ead31f1c84988b3b67dd1f206eaaf8b474732d86f4da5fba1537985016cff6e58cf8b3a9bcd32d94069dd8cfcfd029681c2ed65e29
7
- data.tar.gz: 02894bbfc3a30257c3446a46b966a8054c25c6b6b1bea48cded8532fa5e96c377d025d4917fe020e7472bf6ff800f28d3c904aaeeafcc7fdd6b6ff6b1522ae7f
6
+ metadata.gz: 99c5cfdec6404239af086b9cbc65cbd22796e9c817b5c8eea901a7cbdb386e91ce7449254eca6eae79b26043ed6b671151176d3a075ac98d5fdfe0703b1908e6
7
+ data.tar.gz: 19aa165b75ec9fda75ef33dbe45ee942d2b35a699faf2d36317fa587623a5de0161c3bad933f4b4cef25a6ee99adce39a43fd57c6b3a9d38ea02f52c252d2a99
@@ -2,5 +2,5 @@
2
2
  # The namespace of the Cocoapods repo rsync plugin.
3
3
  #
4
4
  module CocoapodsRepoRsync
5
- VERSION = '1.0.0.3'
5
+ VERSION = '1.0.0.4'
6
6
  end
@@ -35,7 +35,7 @@ module Pod
35
35
  config.repos_dir.mkpath
36
36
  dir=config.repos_dir+@name
37
37
  Dir.chdir(config.repos_dir) do
38
- cmd = "rsync #{@ssh_argv || ""} -rtlz#{config.verbose? ? "v" : ""} --exclude=.rsync_config \"#{@url}\" \"#{dir}\""
38
+ cmd = "rsync #{@ssh_argv || ""} -rtlz#{config.verbose? ? "v" : ""} --exclude=.rsync_config --force-delete \"#{@url}\" \"#{dir}\""
39
39
  UI.puts cmd if config.verbose?
40
40
  system(cmd)
41
41
  if $?.success?
@@ -59,7 +59,7 @@ module Pod
59
59
  UI.section "Updating spec repo `#{source.name}`" do
60
60
  Dir.chdir(source.repo) do
61
61
  begin
62
- cmd = "rsync #{argv || source.argv || ""} -rtl#{config.verbose? ? "v" : ""} --exclude=.rsync_config \"#{source.url}\" \"#{source.repo}\""
62
+ cmd = "rsync #{argv || source.argv || ""} -rtl#{config.verbose? ? "v" : ""} --exclude=.rsync_config --force-delete \"#{source.url}\" \"#{source.repo}\""
63
63
  UI.puts cmd if config.verbose?
64
64
  system(cmd)
65
65
  rescue Informative => e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-repo-rsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.3
4
+ version: 1.0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whirlwind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-20 00:00:00.000000000 Z
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler