whimsy-asf 0.0.33 → 0.0.34
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/agenda/attachments.rb +9 -7
- data/lib/whimsy/asf/mail.rb +10 -2
- 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: 6cbd325217a68c61f4fda934cd84cc6f66d1cc96
|
4
|
+
data.tar.gz: c6e3d75c867f89198bbf680f181626346ec6aa47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50ec59e91626051b89e266839e5931c8303b43aa34ed79fa0becd243f6be41be493b5d396e50138a8300fb9cd53c9c116c1b400c6954811e7c75dbd32ac71e90
|
7
|
+
data.tar.gz: dd803fde6ed23136465c0389f4d13b2e502a795811ba26cd0cce872ba227d52727ed539ea6de1baf4db3369ecee113a2c4d0ffcb6fbfb6651f3e06d146578ef6
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.34
|
@@ -33,13 +33,15 @@ class ASF::Board::Agenda
|
|
33
33
|
attrs['missing'] = true if attrs['report'].strip.empty?
|
34
34
|
|
35
35
|
unless @quick
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
36
|
+
begin
|
37
|
+
committee = ASF::Committee.find(attrs['title'])
|
38
|
+
attrs['chair_email'] = committee.chair.mail.first
|
39
|
+
attrs['mail_list'] = committee.mail_list
|
40
|
+
attrs.delete('mail_list') if attrs['mail_list'].include? ' '
|
41
|
+
|
42
|
+
attrs['notes'] = $1 if committee.report =~ /^Next month: (.*)/
|
43
|
+
rescue
|
44
|
+
end
|
43
45
|
end
|
44
46
|
|
45
47
|
if attrs['report'].to_s.include? "\uFFFD"
|
data/lib/whimsy/asf/mail.rb
CHANGED
@@ -74,8 +74,16 @@ module ASF
|
|
74
74
|
|
75
75
|
class Committee
|
76
76
|
def mail_list
|
77
|
-
|
78
|
-
|
77
|
+
case name.downcase
|
78
|
+
when 'httpcomponents'
|
79
|
+
'hc'
|
80
|
+
when 'tac'
|
81
|
+
'travel-assistance'
|
82
|
+
when 'whimsy'
|
83
|
+
'whimsical'
|
84
|
+
else
|
85
|
+
name
|
86
|
+
end
|
79
87
|
end
|
80
88
|
end
|
81
89
|
end
|
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.34
|
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-06-
|
11
|
+
date: 2015-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|