whimsy-asf 0.0.52 → 0.0.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/asf.version +1 -1
- data/lib/whimsy/asf/icla.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49d3653c79415268127d2615191b03d892c8fe4a
|
4
|
+
data.tar.gz: 17cc39f221ff63497bb542a7657fe246b268c633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f6f52ebd3aed3a891ecc5a96893e5520e8192f421f8428c43614be67db952f9791e654ac43ff533680ef1558a176743730f8d1310fe280e323cad20705b64e3
|
7
|
+
data.tar.gz: 7a4180c5e89a35c70e7ccb48e8bb3cc6f8aaa0a091a41c8e982116df1b4cd12bf90c54140262fdfee8ef43551d342bd866cdf4ccb86e0fadef45bc13d15afb6b
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.53
|
data/lib/whimsy/asf/icla.rb
CHANGED
@@ -148,13 +148,14 @@ module ASF
|
|
148
148
|
|
149
149
|
# rearrange line in an order suitable for sorting
|
150
150
|
def self.lname(line)
|
151
|
+
return '' if line.start_with? '#'
|
151
152
|
id, name, rest = line.split(':',3)
|
152
153
|
return '' unless name
|
153
154
|
|
154
155
|
# Drop trailing (comment string) or /* comment */
|
155
156
|
name.sub! /\(.+\)$/,''
|
156
157
|
name.sub! /\/\*.+\*\/$/,''
|
157
|
-
return '' if name.empty?
|
158
|
+
return '' if name.strip.empty?
|
158
159
|
|
159
160
|
name = name.split.reverse
|
160
161
|
suffix = (name.shift if name.first =~ SUFFIXES)
|