dev 2.0.102 → 2.0.103
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/svn.rb +13 -4
- 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: 1f501f40a330f0b34b540df310efe772b0d853aa
|
4
|
+
data.tar.gz: e07a18888d0f5f52a57a55721ea443087e613293
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47ab83d72f2ab74c5d7682f0642718b9679855994fd3459c71d36b36ca6710426ca4f43fea5fb86ce54d792b6a3134841194b0155b4bf2215f3221869733f505
|
7
|
+
data.tar.gz: d8391609823d9303628fe5d8d271b08216907303baa75407403eddecc2227b3375ea1c806a83d82864c24a502232412ddfc0cb4683c4f981f5b991aa3e5dee07
|
data/lib/svn.rb
CHANGED
@@ -68,7 +68,7 @@ class Svn
|
|
68
68
|
# destination is the new subversion path URL
|
69
69
|
# source_glob is a string or array of glob directives to specify files in source_dir to be publish
|
70
70
|
# source_glob defaults to '**/*' to publish all files in the source_dir
|
71
|
-
def self.publish destination, source_dir,
|
71
|
+
def self.publish destination, source_dir, source_filelist=FileList.new('**/*')
|
72
72
|
|
73
73
|
# Support for legacy argument order
|
74
74
|
if(source_dir.include?('svn:') || source_dir.include?('http:') || source_dir.include?('https:'))
|
@@ -89,11 +89,20 @@ class Svn
|
|
89
89
|
raise "failure 'svn mkdir #{destination} --parents --message mkdir_for_publishing'"
|
90
90
|
end
|
91
91
|
|
92
|
-
files=nil
|
93
92
|
Dir.chdir(source_dir) do
|
94
|
-
files=
|
93
|
+
files = source_filelist.to_a
|
95
94
|
end
|
96
|
-
|
95
|
+
files=source_filelist
|
96
|
+
#Dir.chdir(source_dir) do
|
97
|
+
# files=FileList.new(source_glob).to_a
|
98
|
+
#end
|
99
|
+
output = output + "\nfiles: "
|
100
|
+
#Dir.chdir(source_dir) do
|
101
|
+
files.each{|f|
|
102
|
+
output = output + f + " "
|
103
|
+
}
|
104
|
+
#end
|
105
|
+
#output = output + "\nfiles: #{files.to_s}"
|
97
106
|
|
98
107
|
pwd=Dir.pwd
|
99
108
|
Dir.mktmpdir{|dir|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.103
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|