autoproj 1.7.2 → 1.7.3.b1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autoproj/autobuild.rb +3 -0
- data/lib/autoproj/manifest.rb +13 -0
- data/lib/autoproj/version.rb +1 -1
- metadata +12 -9
data/lib/autoproj/autobuild.rb
CHANGED
data/lib/autoproj/manifest.rb
CHANGED
@@ -1423,6 +1423,7 @@ module Autoproj
|
|
1423
1423
|
end
|
1424
1424
|
|
1425
1425
|
manifest = PackageManifest.load(package, manifest_path)
|
1426
|
+
pkg.autobuild.description = manifest
|
1426
1427
|
package_manifests[package.name] = manifest
|
1427
1428
|
|
1428
1429
|
manifest.each_dependency do |name, is_optional|
|
@@ -1585,6 +1586,18 @@ module Autoproj
|
|
1585
1586
|
# The raw XML data as a Nokogiri document
|
1586
1587
|
attr_reader :xml
|
1587
1588
|
|
1589
|
+
# The list of tags defined for this package
|
1590
|
+
#
|
1591
|
+
# Tags are defined as multiple <tags></tags> blocks, each of which can
|
1592
|
+
# contain multiple comma-separated tags
|
1593
|
+
def tags
|
1594
|
+
result = []
|
1595
|
+
xml.xpath('//tags').each do |node|
|
1596
|
+
result.concat(node.content.strip.split(','))
|
1597
|
+
end
|
1598
|
+
result
|
1599
|
+
end
|
1600
|
+
|
1588
1601
|
def documentation
|
1589
1602
|
xml.xpath('//description').each do |node|
|
1590
1603
|
doc = node.content.strip
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 6629755
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
|
9
|
+
- 3
|
10
|
+
- b1
|
11
|
+
version: 1.7.3.b1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Sylvain Joyeux
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-12-
|
19
|
+
date: 2010-12-14 00:00:00 +01:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
@@ -239,12 +240,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
239
240
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
241
|
none: false
|
241
242
|
requirements:
|
242
|
-
- - "
|
243
|
+
- - ">"
|
243
244
|
- !ruby/object:Gem::Version
|
244
|
-
hash:
|
245
|
+
hash: 25
|
245
246
|
segments:
|
246
|
-
-
|
247
|
-
|
247
|
+
- 1
|
248
|
+
- 3
|
249
|
+
- 1
|
250
|
+
version: 1.3.1
|
248
251
|
requirements: []
|
249
252
|
|
250
253
|
rubyforge_project: autobuild
|