autoproj 1.7.16 → 1.7.17.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/autoproj/manifest.rb +4 -4
- data/lib/autoproj/version.rb +1 -1
- metadata +13 -9
data/lib/autoproj/manifest.rb
CHANGED
|
@@ -2189,14 +2189,14 @@ module Autoproj
|
|
|
2189
2189
|
def tags
|
|
2190
2190
|
result = []
|
|
2191
2191
|
xml.elements.each('package/tags') do |node|
|
|
2192
|
-
result.concat(node.text.strip.split(','))
|
|
2192
|
+
result.concat((node.text || "").strip.split(','))
|
|
2193
2193
|
end
|
|
2194
2194
|
result
|
|
2195
2195
|
end
|
|
2196
2196
|
|
|
2197
2197
|
def documentation
|
|
2198
2198
|
xml.elements.each('package/description') do |node|
|
|
2199
|
-
doc = node.text.strip
|
|
2199
|
+
doc = (node.text || "").strip
|
|
2200
2200
|
if !doc.empty?
|
|
2201
2201
|
return doc
|
|
2202
2202
|
end
|
|
@@ -2272,7 +2272,7 @@ module Autoproj
|
|
|
2272
2272
|
end
|
|
2273
2273
|
|
|
2274
2274
|
xml.elements.each('package/author') do |author|
|
|
2275
|
-
author.text.strip.split(',').each do |str|
|
|
2275
|
+
(author.text || "").strip.split(',').each do |str|
|
|
2276
2276
|
name, email = str.split('/').map(&:strip)
|
|
2277
2277
|
email = nil if email && email.empty?
|
|
2278
2278
|
yield(name, email)
|
|
@@ -2285,7 +2285,7 @@ module Autoproj
|
|
|
2285
2285
|
# content is empty, returns nil
|
|
2286
2286
|
def text_node(name)
|
|
2287
2287
|
xml.elements.each(name) do |str|
|
|
2288
|
-
str = str.text.strip
|
|
2288
|
+
str = (str.text || "").strip
|
|
2289
2289
|
if !str.empty?
|
|
2290
2290
|
return str
|
|
2291
2291
|
end
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autoproj
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15424207
|
|
5
|
+
prerelease: 7
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 7
|
|
9
|
-
-
|
|
10
|
-
|
|
9
|
+
- 17
|
|
10
|
+
- rc
|
|
11
|
+
- 1
|
|
12
|
+
version: 1.7.17.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: 2012-01-
|
|
20
|
+
date: 2012-01-17 00:00:00 Z
|
|
19
21
|
dependencies:
|
|
20
22
|
- !ruby/object:Gem::Dependency
|
|
21
23
|
name: autobuild
|
|
@@ -184,12 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
184
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
187
|
none: false
|
|
186
188
|
requirements:
|
|
187
|
-
- - "
|
|
189
|
+
- - ">"
|
|
188
190
|
- !ruby/object:Gem::Version
|
|
189
|
-
hash:
|
|
191
|
+
hash: 25
|
|
190
192
|
segments:
|
|
191
|
-
-
|
|
192
|
-
|
|
193
|
+
- 1
|
|
194
|
+
- 3
|
|
195
|
+
- 1
|
|
196
|
+
version: 1.3.1
|
|
193
197
|
requirements: []
|
|
194
198
|
|
|
195
199
|
rubyforge_project: autobuild
|