autobuild 1.5.52 → 1.5.53.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/Changes.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == Version 1.5.53
2
+ * remove RMail and Daemons from the dependency list of the gem. autobuild can
3
+ work fine without them, and they are seldom used anyway.
4
+ The RMail dependency is notified to the user if he uses --mail-to.
5
+
1
6
  == Version 1.5.52
2
7
  * fix local in the git importer
3
8
  * in log files, display the command both before and after the environment dump.
data/Rakefile CHANGED
@@ -11,8 +11,6 @@ Utilrb::Rake.hoe do
11
11
 
12
12
  self.extra_deps <<
13
13
  ['rake', '>= 0.7.0'] <<
14
- ['rmail', '>= 1.0'] <<
15
- ['daemons', '>= 0.0'] <<
16
14
  ['utilrb', '>= 1.3.3']
17
15
  end
18
16
  Rake.clear_tasks(/publish_docs/, /default/)
@@ -144,14 +144,14 @@ module Autobuild
144
144
 
145
145
  # Path to the orogen file used for this package
146
146
  #
147
- # If present, it defaults to the package name with '.orogen' appended
147
+ # If not set, the class will look for a .orogen file in the package
148
+ # source directory
148
149
  attr_accessor :orogen_file
149
150
 
150
151
  def initialize(*args, &config)
151
152
  super
152
153
 
153
154
  @orocos_target = nil
154
- @orogen_file ||= "#{File.basename(name)}.orogen"
155
155
  @orogen_options = []
156
156
  end
157
157
 
@@ -201,6 +201,17 @@ module Autobuild
201
201
  end
202
202
 
203
203
  file configurestamp => genstamp
204
+
205
+ if !orogen_file
206
+ Dir.glob(File.join(srcdir, '*.orogen')) do |path|
207
+ @orogen_file = File.basename(path)
208
+ break
209
+ end
210
+ if !orogen_file
211
+ raise ArgumentError, "cannot find an oroGen specification file in #{srcdir}"
212
+ end
213
+ end
214
+
204
215
  file genstamp => File.join(srcdir, orogen_file) do
205
216
  isolate_errors { regen }
206
217
  end
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.52" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.53.rc1" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 107
5
- prerelease:
4
+ hash: 15424463
5
+ prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 52
10
- version: 1.5.52
9
+ - 53
10
+ - rc
11
+ - 1
12
+ version: 1.5.53.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Sylvain Joyeux
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2011-11-03 00:00:00 Z
20
+ date: 2011-12-02 00:00:00 Z
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: rake
@@ -33,40 +35,10 @@ dependencies:
33
35
  version: 0.7.0
34
36
  type: :runtime
35
37
  version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rmail
38
- prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 15
45
- segments:
46
- - 1
47
- - 0
48
- version: "1.0"
49
- type: :runtime
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- name: daemons
53
- prerelease: false
54
- requirement: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 11
60
- segments:
61
- - 0
62
- - 0
63
- version: "0.0"
64
- type: :runtime
65
- version_requirements: *id003
66
38
  - !ruby/object:Gem::Dependency
67
39
  name: utilrb
68
40
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
41
+ requirement: &id002 !ruby/object:Gem::Requirement
70
42
  none: false
71
43
  requirements:
72
44
  - - ">="
@@ -78,11 +50,11 @@ dependencies:
78
50
  - 3
79
51
  version: 1.3.3
80
52
  type: :runtime
81
- version_requirements: *id004
53
+ version_requirements: *id002
82
54
  - !ruby/object:Gem::Dependency
83
55
  name: hoe
84
56
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ requirement: &id003 !ruby/object:Gem::Requirement
86
58
  none: false
87
59
  requirements:
88
60
  - - ~>
@@ -93,7 +65,7 @@ dependencies:
93
65
  - 12
94
66
  version: "2.12"
95
67
  type: :development
96
- version_requirements: *id005
68
+ version_requirements: *id003
97
69
  description: |-
98
70
  This work is licensed under the GPLv2 license. See License.txt for details
99
71
 
@@ -185,12 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
157
  required_rubygems_version: !ruby/object:Gem::Requirement
186
158
  none: false
187
159
  requirements:
188
- - - ">="
160
+ - - ">"
189
161
  - !ruby/object:Gem::Version
190
- hash: 3
162
+ hash: 25
191
163
  segments:
192
- - 0
193
- version: "0"
164
+ - 1
165
+ - 3
166
+ - 1
167
+ version: 1.3.1
194
168
  requirements: []
195
169
 
196
170
  rubyforge_project: autobuild