autobuild 1.5.35 → 1.5.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == Version 1.5.36
2
+ * fix wrong caching behaviour in the orogen handler, which was leading to having
3
+ failures in the orogen package handler
4
+
1
5
  == Version 1.5.35
2
6
  * fix some bad behaviour when using fallback importers
3
7
  - git does not update the git configuration with the bad URLs anymore
@@ -70,14 +70,14 @@ module Autobuild
70
70
  @transports = %w{corba typelib}
71
71
 
72
72
  # Path to the orogen tool
73
- def self.orogen_bin
73
+ def self.orogen_bin(full_path = false)
74
74
  if @orogen_bin
75
75
  @orogen_bin
76
76
  else
77
77
  program_name = Autobuild.tool('orogen')
78
78
  if orogen_path = ENV['PATH'].split(':').find { |p| File.file?(File.join(p, program_name)) }
79
79
  @orogen_bin = File.join(orogen_path, program_name)
80
- else
80
+ elsif !full_path
81
81
  program_name
82
82
  end
83
83
  end
@@ -87,8 +87,8 @@ module Autobuild
87
87
  def self.orogen_root
88
88
  if @orogen_root
89
89
  @orogen_root
90
- elsif orogen_bin = self.orogen_bin
91
- @orogen_root = File.expand_path('../lib', File.dirname(orogen_bin))
90
+ elsif orogen_bin = self.orogen_bin(true)
91
+ @orogen_root = File.expand_path('../lib', File.dirname(@orogen_bin))
92
92
  end
93
93
  end
94
94
 
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.35" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.36" 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: 69
4
+ hash: 75
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 35
10
- version: 1.5.35
9
+ - 36
10
+ version: 1.5.36
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux