whimsy-asf 0.0.65 → 0.0.66
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/mail.rb +13 -2
- data/lib/whimsy/asf/site.rb +45 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd1def8561fa771b28aed10ddf178ba527515766
|
4
|
+
data.tar.gz: 6594207b7363a477fa9187aee4d62cdda818ff02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42fdfdf8df250aefc38dfb2a78a9bccda5f1e1ae5652654847b64d7bae1b8c741905b92619af9d8dae7cc40db3f6beb3fe6373ca0db2170948317265ddb9c24f
|
7
|
+
data.tar.gz: c0bbec72b05874f135b9e975a23d199abd5600456e183251131058ea6746561aa409ac0a34c3a9f7aa252b36709ac0c77a93c0245ad80f61f0d65fc16a6eb820
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.66
|
data/lib/whimsy/asf/mail.rb
CHANGED
@@ -80,10 +80,21 @@ module ASF
|
|
80
80
|
'community'
|
81
81
|
when 'httpcomponents'
|
82
82
|
'hc'
|
83
|
-
when 'tac'
|
84
|
-
'travel-assistance'
|
85
83
|
when 'whimsy'
|
86
84
|
'whimsical'
|
85
|
+
|
86
|
+
when 'brand management'
|
87
|
+
'trademarks@apache.org'
|
88
|
+
when 'executive assistant'
|
89
|
+
'ea@apache.org'
|
90
|
+
when 'legal affairs'
|
91
|
+
'legal-discuss@apache.org'
|
92
|
+
when 'marketing and publicity'
|
93
|
+
'press@apache.org'
|
94
|
+
when 'tac'
|
95
|
+
'travel-assistance@apache.org'
|
96
|
+
when 'w3c relations'
|
97
|
+
'w3c@apache.org'
|
87
98
|
else
|
88
99
|
name
|
89
100
|
end
|
data/lib/whimsy/asf/site.rb
CHANGED
@@ -4,6 +4,49 @@ require 'nokogiri'
|
|
4
4
|
module ASF
|
5
5
|
|
6
6
|
class Site
|
7
|
+
# add entries that are not currently defined in index.html (or elsewhere)
|
8
|
+
@@default = {
|
9
|
+
"brand management" => {
|
10
|
+
link: "http://www.apache.org/foundation/marks/pmcs",
|
11
|
+
text: "define how Apache projects should refer to trademarks and display their brand"
|
12
|
+
},
|
13
|
+
"comdev" => {
|
14
|
+
link: "https://community.apache.org/",
|
15
|
+
text: "Resources to help people become involved with Apache projects"
|
16
|
+
},
|
17
|
+
"executive assistant" => {
|
18
|
+
link: "http://www.apache.org/foundation/ASF-EA.html",
|
19
|
+
text: "Executive Assistant"
|
20
|
+
},
|
21
|
+
"fundraising" => {
|
22
|
+
link: "http://www.apache.org/foundation/contributing.html",
|
23
|
+
text: "Fund Raising"
|
24
|
+
},
|
25
|
+
"infrastructure" => {
|
26
|
+
link: "http://www.apache.org/dev/infrastructure.html",
|
27
|
+
text: "Infrastructure Team"
|
28
|
+
},
|
29
|
+
"legal affairs" => {
|
30
|
+
link: "http://www.apache.org/legal/",
|
31
|
+
text: "Establishing and managing legal policies"
|
32
|
+
},
|
33
|
+
"marketing and publicity" => {
|
34
|
+
link: "http://www.apache.org/press/",
|
35
|
+
text: "public relations and for the press-related issues"
|
36
|
+
},
|
37
|
+
"security" => {
|
38
|
+
link: "http://www.apache.org/security/",
|
39
|
+
text: "Security Team"
|
40
|
+
},
|
41
|
+
"tac" => {
|
42
|
+
link: "http://www.apache.org/travel/",
|
43
|
+
text: "Travel Assistance Committee"
|
44
|
+
},
|
45
|
+
"w3c relations" => {
|
46
|
+
link: "http://www.apache.org/foundation/foundation-projects.html#w3c",
|
47
|
+
text: "Liaison between the ASF and the World Wide Web Consortium"
|
48
|
+
},
|
49
|
+
}
|
7
50
|
@@list = {}
|
8
51
|
|
9
52
|
def self.list
|
@@ -12,6 +55,8 @@ module ASF
|
|
12
55
|
return @@list if not @@list.empty? and File.mtime(file) == @@mtime
|
13
56
|
@@mtime = File.mtime(file)
|
14
57
|
|
58
|
+
@@list = @@default
|
59
|
+
|
15
60
|
Committee.load_committee_info
|
16
61
|
doc = Nokogiri::HTML.parse(File.read(file))
|
17
62
|
list = doc.at("#by_name")
|
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.66
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -104,8 +104,6 @@ extra_rdoc_files: []
|
|
104
104
|
files:
|
105
105
|
- asf.gemspec
|
106
106
|
- asf.version
|
107
|
-
- lib/whimsy/asf.rb
|
108
|
-
- lib/whimsy/asf/agenda.rb
|
109
107
|
- lib/whimsy/asf/agenda/attachments.rb
|
110
108
|
- lib/whimsy/asf/agenda/back.rb
|
111
109
|
- lib/whimsy/asf/agenda/committee.rb
|
@@ -113,6 +111,7 @@ files:
|
|
113
111
|
- lib/whimsy/asf/agenda/front.rb
|
114
112
|
- lib/whimsy/asf/agenda/minutes.rb
|
115
113
|
- lib/whimsy/asf/agenda/special.rb
|
114
|
+
- lib/whimsy/asf/agenda.rb
|
116
115
|
- lib/whimsy/asf/auth.rb
|
117
116
|
- lib/whimsy/asf/committee.rb
|
118
117
|
- lib/whimsy/asf/config.rb
|
@@ -126,6 +125,7 @@ files:
|
|
126
125
|
- lib/whimsy/asf/site.rb
|
127
126
|
- lib/whimsy/asf/svn.rb
|
128
127
|
- lib/whimsy/asf/watch.rb
|
128
|
+
- lib/whimsy/asf.rb
|
129
129
|
homepage: https://whimsy.apache.org/
|
130
130
|
licenses:
|
131
131
|
- Apache License, Version 2.0
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
148
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
149
|
+
rubygems_version: 2.0.14
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Whimsy 'model' of the ASF
|