autobuild 1.5.45 → 1.5.46.rc1
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.
- data/lib/autobuild/import/svn.rb +5 -5
- data/lib/autobuild/version.rb +1 -1
- metadata +12 -8
data/lib/autobuild/import/svn.rb
CHANGED
|
@@ -12,18 +12,18 @@ module Autobuild
|
|
|
12
12
|
# to 'svn' and can be configured by doing
|
|
13
13
|
# Autobuild.programs['svn'] = 'my_svn_tool'
|
|
14
14
|
def initialize(source, options = {})
|
|
15
|
-
|
|
15
|
+
svnopts, common = Kernel.filter_options options,
|
|
16
16
|
:svnup => [], :svnco => [], :revision => nil
|
|
17
17
|
|
|
18
18
|
@source = [*source].join("/")
|
|
19
19
|
@program = Autobuild.tool('svn')
|
|
20
|
-
@options_up = [*
|
|
21
|
-
@options_co = [*
|
|
22
|
-
if rev =
|
|
20
|
+
@options_up = [*svnopts[:svnup]]
|
|
21
|
+
@options_co = [*svnopts[:svnco]]
|
|
22
|
+
if rev = svnopts[:revision]
|
|
23
23
|
@options_up << "--revision" << rev
|
|
24
24
|
@options_co << "--revision" << rev
|
|
25
25
|
end
|
|
26
|
-
super(
|
|
26
|
+
super(common)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
# Returns a string that identifies the remote repository uniquely
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autobuild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15424279
|
|
5
|
+
prerelease: 7
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
|
|
9
|
+
- 46
|
|
10
|
+
- rc
|
|
11
|
+
- 1
|
|
12
|
+
version: 1.5.46.rc1
|
|
11
13
|
platform: ruby
|
|
12
14
|
authors:
|
|
13
15
|
- Sylvain Joyeux
|
|
@@ -185,12 +187,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
185
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
188
|
none: false
|
|
187
189
|
requirements:
|
|
188
|
-
- - "
|
|
190
|
+
- - ">"
|
|
189
191
|
- !ruby/object:Gem::Version
|
|
190
|
-
hash:
|
|
192
|
+
hash: 25
|
|
191
193
|
segments:
|
|
192
|
-
-
|
|
193
|
-
|
|
194
|
+
- 1
|
|
195
|
+
- 3
|
|
196
|
+
- 1
|
|
197
|
+
version: 1.3.1
|
|
194
198
|
requirements: []
|
|
195
199
|
|
|
196
200
|
rubyforge_project: autobuild
|