whimsy-asf 0.0.64 → 0.0.65
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/committee.rb +2 -1
- data/lib/whimsy/asf/site.rb +11 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eec0d8ee6f7ad0e0bcd8f24d75a335b5ce91ef9
|
4
|
+
data.tar.gz: 37e399a9f67d0039bc8e439b0f77bfa7313923cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f149b209daf762b62b6c8f53897f73a4ff19c6c920fdb9d5e3c342f33861bbc1f1e631173aaf57b2b08fa6ee048df19733515db465e2fe98c968096c3d29e0c
|
7
|
+
data.tar.gz: aaac1f401e602e3d51ebfcae5fab1cea7cdf049d7a6bd33e49888006c09ae1d12a622c445a62a8b7f0e42113822f668057f48abf667b1f1bf587e5bd50475bdf
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.65
|
data/lib/whimsy/asf/committee.rb
CHANGED
@@ -36,7 +36,8 @@ module ASF
|
|
36
36
|
'travel assistance' => 'tac',
|
37
37
|
'traffic server' => 'trafficserver',
|
38
38
|
'web services' => 'ws',
|
39
|
-
'xml graphics' => 'xmlgraphics'
|
39
|
+
'xml graphics' => 'xmlgraphics',
|
40
|
+
'incubating' => 'incubator' # special for index.html
|
40
41
|
|
41
42
|
@@namemap = Proc.new do |name|
|
42
43
|
cname = @@aliases[name.sub(/\s+\(.*?\)/, '').downcase]
|
data/lib/whimsy/asf/site.rb
CHANGED
@@ -14,7 +14,7 @@ module ASF
|
|
14
14
|
|
15
15
|
Committee.load_committee_info
|
16
16
|
doc = Nokogiri::HTML.parse(File.read(file))
|
17
|
-
list = doc.at("#
|
17
|
+
list = doc.at("#by_name")
|
18
18
|
if list
|
19
19
|
list.search('a').each do |a|
|
20
20
|
@@list[Committee.find(a.text).name] =
|
@@ -22,6 +22,16 @@ module ASF
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
+
list = doc.at("#by_category")
|
26
|
+
if list
|
27
|
+
list.search('a').each do |a|
|
28
|
+
if a['title']
|
29
|
+
@@list[Committee.find(a.text).name] =
|
30
|
+
{link: a['href'], text: a['title']}
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
25
35
|
@@list
|
26
36
|
end
|
27
37
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whimsy-asf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|