autobuild 1.5.5 → 1.5.6

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,7 @@
1
+ == Version 1.5.6
2
+ * fix the directory in error message when a git importer detects a non-git
3
+ repository
4
+
1
5
  == Version 1.5.5
2
6
  * small API additions
3
7
 
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.5" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.6" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
  require 'autobuild/config'
@@ -74,7 +74,7 @@ module Autobuild
74
74
  # repository
75
75
  def validate_srcdir(package)
76
76
  if !File.directory?(File.join(package.srcdir, '.git'))
77
- raise ConfigException, "while importing #{package.name}, #{Dir.pwd} is not a git repository"
77
+ raise ConfigException, "while importing #{package.name}, #{package.srcdir} is not a git repository"
78
78
  end
79
79
  end
80
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-02 00:00:00 +01:00
12
+ date: 2010-03-03 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency