autobuild 1.5.12 → 1.5.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Changes.txt +4 -0
- data/lib/autobuild.rb +1 -1
- data/lib/autobuild/packages/orogen.rb +15 -1
- metadata +3 -3
data/Changes.txt
CHANGED
data/lib/autobuild.rb
CHANGED
@@ -68,7 +68,21 @@ module Autobuild
|
|
68
68
|
def load(file)
|
69
69
|
@orogen_file = file
|
70
70
|
@base_dir = File.dirname(file)
|
71
|
-
|
71
|
+
|
72
|
+
begin
|
73
|
+
Kernel.eval(File.read(file), binding, file, 0)
|
74
|
+
rescue ::Exception => e
|
75
|
+
backtrace = e.backtrace.dup
|
76
|
+
message = e.message.dup
|
77
|
+
|
78
|
+
backtrace.delete_if { |line| line !~ /(\s|^)#{Regexp.quote(file)}:/ }
|
79
|
+
if message =~ /^(#{Regexp.quote(file)}:\d+): (.*)/m
|
80
|
+
backtrace.unshift $1
|
81
|
+
message = $2
|
82
|
+
end
|
83
|
+
raise e, message, backtrace
|
84
|
+
end
|
85
|
+
|
72
86
|
self
|
73
87
|
end
|
74
88
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 1.5.
|
8
|
+
- 13
|
9
|
+
version: 1.5.13
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sylvain Joyeux
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-11 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|