autoproj 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ = Version 1.7.2
2
+ == Quickfix release
3
+ * fix layouts that use subdirectories
4
+ * load overrides.rb being loaded *before* the optiona dependencies are resolved
5
+
1
6
  = Version 1.7.1
2
7
  == Quickfix release
3
8
  * autoproj update was not installing osdeps even if the osdeps mode was not
@@ -279,9 +279,6 @@ module Autoproj
279
279
  end
280
280
  end
281
281
 
282
- # Resolve optional dependencies
283
- manifest.resolve_optional_dependencies
284
-
285
282
  # Load the package's override files. each_source must not load the
286
283
  # source.yml file, as init.rb may define configuration options that are used
287
284
  # there
@@ -289,6 +286,9 @@ module Autoproj
289
286
  Autoproj.load_if_present(source, source.local_dir, "overrides.rb")
290
287
  end
291
288
 
289
+ # Resolve optional dependencies
290
+ manifest.resolve_optional_dependencies
291
+
292
292
  # We now have processed the process setup blocks. All configuration
293
293
  # should be done and we can save the configuration data.
294
294
  Autoproj.save_config
@@ -1376,7 +1376,7 @@ module Autoproj
1376
1376
  names.to_set
1377
1377
  end
1378
1378
 
1379
- def normalized_layout(result = Hash.new { '/' }, layout_level = '/', layout_data = (data['layout'] || Hash.new))
1379
+ def normalized_layout(result = Hash.new, layout_level = '/', layout_data = (data['layout'] || Hash.new))
1380
1380
  layout_data.each do |value|
1381
1381
  if value.kind_of?(Hash)
1382
1382
  subname, subdef = value.find { true }
@@ -1393,7 +1393,7 @@ module Autoproj
1393
1393
  Autoproj.in_file(self.file) do
1394
1394
  set_name = definition_source(package_name).name
1395
1395
  actual_layout = normalized_layout
1396
- return actual_layout[package_name] || actual_layout[set_name]
1396
+ return actual_layout[package_name] || actual_layout[set_name] || '/'
1397
1397
  end
1398
1398
  end
1399
1399
 
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.7.1"
2
+ VERSION = "1.7.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 1
10
- version: 1.7.1
9
+ - 2
10
+ version: 1.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-08 00:00:00 +01:00
18
+ date: 2010-12-13 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -98,26 +98,10 @@ dependencies:
98
98
  version: 1.5.0
99
99
  type: :runtime
100
100
  version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: rubyforge
103
- prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 7
110
- segments:
111
- - 2
112
- - 0
113
- - 4
114
- version: 2.0.4
115
- type: :development
116
- version_requirements: *id006
117
101
  - !ruby/object:Gem::Dependency
118
102
  name: webgen
119
103
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ requirement: &id006 !ruby/object:Gem::Requirement
121
105
  none: false
122
106
  requirements:
123
107
  - - ">="
@@ -129,11 +113,11 @@ dependencies:
129
113
  - 9
130
114
  version: 0.5.9
131
115
  type: :development
132
- version_requirements: *id007
116
+ version_requirements: *id006
133
117
  - !ruby/object:Gem::Dependency
134
118
  name: rdoc
135
119
  prerelease: false
136
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ requirement: &id007 !ruby/object:Gem::Requirement
137
121
  none: false
138
122
  requirements:
139
123
  - - ">="
@@ -145,23 +129,23 @@ dependencies:
145
129
  - 0
146
130
  version: 2.4.0
147
131
  type: :development
148
- version_requirements: *id008
132
+ version_requirements: *id007
149
133
  - !ruby/object:Gem::Dependency
150
134
  name: hoe
151
135
  prerelease: false
152
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ requirement: &id008 !ruby/object:Gem::Requirement
153
137
  none: false
154
138
  requirements:
155
139
  - - ">="
156
140
  - !ruby/object:Gem::Version
157
- hash: 19
141
+ hash: 47
158
142
  segments:
159
143
  - 2
160
- - 7
144
+ - 8
161
145
  - 0
162
- version: 2.7.0
146
+ version: 2.8.0
163
147
  type: :development
164
- version_requirements: *id009
148
+ version_requirements: *id008
165
149
  description: |-
166
150
  What is Autoproj
167
151
  ----------------