autobuild 1.5.38 → 1.5.39

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.
@@ -1,3 +1,6 @@
1
+ == Version 1.5.39
2
+ * fix compatibility with rake 0.9.0
3
+
1
4
  == Version 1.5.38
2
5
  * add the 'revision' option for the SVN importer. It allows to pick a particular
3
6
  revision number, as usually specified by the -r option to svn co and svn up
@@ -1,3 +1,9 @@
1
+ require 'rake'
2
+
3
+ if defined? Rake::DSL
4
+ include Rake::DSL
5
+ end
6
+
1
7
  require 'autobuild/version'
2
8
  require 'autobuild/config'
3
9
  require 'autobuild/configurable'
@@ -333,7 +333,7 @@ module Autobuild
333
333
  end
334
334
 
335
335
  Subprocess.run(package, :import,
336
- Autobuild.tool('git'), 'clone', '-o', 'autobuild', repository, package.srcdir)
336
+ Autobuild.tool('git'), 'clone', '-o', 'autobuild', '--recursive', repository, package.srcdir)
337
337
 
338
338
  Dir.chdir(package.srcdir) do
339
339
  if push_to
@@ -127,8 +127,7 @@ class Importer
127
127
  fallback_importer = handler.call(package, self)
128
128
  if fallback_importer.kind_of?(Importer)
129
129
  begin
130
- fallback_importer.send(*args, &block)
131
- return
130
+ return fallback_importer.send(*args, &block)
132
131
  rescue Exception
133
132
  raise error
134
133
  end
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.38" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.39" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 79
4
+ hash: 77
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 38
10
- version: 1.5.38
9
+ - 39
10
+ version: 1.5.39
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-13 00:00:00 Z
18
+ date: 2011-05-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake