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 +4 -4
- data/lib/cocoapods-repo-rsync.rb +1 -1
- data/lib/pod/command/repo_rsync/add.rb +1 -1
- data/lib/pod/command/repo_rsync/update.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ed4decdd65038d710052acc7658baa819f18b83
|
4
|
+
data.tar.gz: eea70b6917ef65bb65990f3e3a83e1948a046ab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c5cfdec6404239af086b9cbc65cbd22796e9c817b5c8eea901a7cbdb386e91ce7449254eca6eae79b26043ed6b671151176d3a075ac98d5fdfe0703b1908e6
|
7
|
+
data.tar.gz: 19aa165b75ec9fda75ef33dbe45ee942d2b35a699faf2d36317fa587623a5de0161c3bad933f4b4cef25a6ee99adce39a43fd57c6b3a9d38ea02f52c252d2a99
|
data/lib/cocoapods-repo-rsync.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2016-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|