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.
@@ -28,6 +28,9 @@ end
28
28
 
29
29
  module Autobuild
30
30
  class Package
31
+ # The Autoproj::PackageManifest object that describes this package
32
+ attr_accessor :description
33
+
31
34
  def autoproj_name # :nodoc:
32
35
  srcdir.gsub /^#{Regexp.quote(Autoproj.root_dir)}\//, ''
33
36
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.7.2"
2
+ VERSION = "1.7.3.b1"
3
3
  end
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: 15
5
- prerelease: false
4
+ hash: 6629755
5
+ prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 2
10
- version: 1.7.2
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-13 00:00:00 +01:00
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: 3
245
+ hash: 25
245
246
  segments:
246
- - 0
247
- version: "0"
247
+ - 1
248
+ - 3
249
+ - 1
250
+ version: 1.3.1
248
251
  requirements: []
249
252
 
250
253
  rubyforge_project: autobuild