autoproj 1.9.7.rc12 → 1.9.7.rc13

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.
@@ -2111,6 +2111,17 @@ module Autoproj
2111
2111
  File.join(root_dir, "autoproj")
2112
2112
  end
2113
2113
 
2114
+ # @deprecated use Autobuild.find_in_path instead
2115
+ #
2116
+ # Warning: the autobuild method returns nil (instead of raising) if the
2117
+ # argument cannot be found
2118
+ def self.find_in_path(name)
2119
+ if path = Autobuild.find_in_path(name)
2120
+ return path
2121
+ else raise ArgumentError, "cannot find #{name} in PATH (#{ENV['PATH']})"
2122
+ end
2123
+ end
2124
+
2114
2125
  class << self
2115
2126
  # The directory in which packages will be installed.
2116
2127
  #
@@ -63,6 +63,17 @@ module Autoproj
63
63
  File.join(root_dir, "autoproj")
64
64
  end
65
65
 
66
+ # @deprecated use Autobuild.find_in_path instead
67
+ #
68
+ # Warning: the autobuild method returns nil (instead of raising) if the
69
+ # argument cannot be found
70
+ def self.find_in_path(name)
71
+ if path = Autobuild.find_in_path(name)
72
+ return path
73
+ else raise ArgumentError, "cannot find #{name} in PATH (#{ENV['PATH']})"
74
+ end
75
+ end
76
+
66
77
  class << self
67
78
  # The directory in which packages will be installed.
68
79
  #
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.9.7.rc12"
2
+ VERSION = "1.9.7.rc13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.7.rc12
4
+ version: 1.9.7.rc13
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-23 00:00:00.000000000 Z
12
+ date: 2014-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild