svn_command_helper 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/svn_command_helper/version.rb +1 -1
- data/lib/svn_command_helper.rb +4 -3
- 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: 3bd87982f559e1473b9142676e7db6c370d61c60
|
4
|
+
data.tar.gz: b0eba9df0dddaeed5712854e73c59b5118a708f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cbce97b48f515cb6c359d23029c4d0d5846a2bfe8a6860eb233f58f411ca4949a993a4848775a8043ebe18afb8b885534858c8d6881508dcea6677cd7336a64
|
7
|
+
data.tar.gz: 7e73ec9d8fd639720af21196b8ad8e0f2c86199016180e7aa90b711df9e3dbc55d51bf7070db50340195a4f4603e6869d21463fe3e4f5b4c1ca785e1b4692c92
|
data/lib/svn_command_helper.rb
CHANGED
@@ -115,8 +115,9 @@ module SvnCommandHelper
|
|
115
115
|
|
116
116
|
# svn update to deep path recursive
|
117
117
|
# @param [path string like] path target path
|
118
|
-
# @param [
|
119
|
-
|
118
|
+
# @param [Integer] depth --set-depth for only new updated dirs
|
119
|
+
# @param [Boolean] exist_path_update middle path update flag
|
120
|
+
def update_deep(path, depth = nil, exist_path_update = true)
|
120
121
|
exist_path = path
|
121
122
|
until File.exist?(exist_path)
|
122
123
|
exist_path = File.dirname(exist_path)
|
@@ -129,7 +130,7 @@ module SvnCommandHelper
|
|
129
130
|
end
|
130
131
|
parents.each do |dir|
|
131
132
|
if dir.exist?
|
132
|
-
sys "svn update #{dir}"
|
133
|
+
sys "svn update #{dir}" if exist_path_update
|
133
134
|
else
|
134
135
|
sys "svn update #{depth ? "--set-depth #{depth}" : ""} #{dir}"
|
135
136
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svn_command_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Narazaka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: system_command_helper
|