autobuild 1.5.45 → 1.5.46.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- options = Kernel.validate_options options,
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 = [*options[:svnup]]
21
- @options_co = [*options[:svnco]]
22
- if rev = options[:revision]
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(options)
26
+ super(common)
27
27
  end
28
28
 
29
29
  # Returns a string that identifies the remote repository uniquely
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.45" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.46.rc1" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
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: 89
5
- prerelease:
4
+ hash: 15424279
5
+ prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 45
10
- version: 1.5.45
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: 3
192
+ hash: 25
191
193
  segments:
192
- - 0
193
- version: "0"
194
+ - 1
195
+ - 3
196
+ - 1
197
+ version: 1.3.1
194
198
  requirements: []
195
199
 
196
200
  rubyforge_project: autobuild