whimsy-asf 0.0.33 → 0.0.34

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75abc3f4786d533e673a2f112936ab72e3cddf20
4
- data.tar.gz: aee86436db45ba682e7ce86ce5d2cc2b94eb0207
3
+ metadata.gz: 6cbd325217a68c61f4fda934cd84cc6f66d1cc96
4
+ data.tar.gz: c6e3d75c867f89198bbf680f181626346ec6aa47
5
5
  SHA512:
6
- metadata.gz: 3befc4c792376cd250fe681c9e0c414819ac19c8318c7cf5bca70d0b5ea3594ec2bff610f0fa233a312b0276c714e1bbc8ab00eeb071a2e0a94f6f6f4a3faba6
7
- data.tar.gz: c798cbfe15f0d1f2e318facd5b1e923d142fb50260add0a33be8941f9af80f04fd5998c3db581f7475e07e194759677cbef2fc03c07ce468800b1ae042ca5773
6
+ metadata.gz: 50ec59e91626051b89e266839e5931c8303b43aa34ed79fa0becd243f6be41be493b5d396e50138a8300fb9cd53c9c116c1b400c6954811e7c75dbd32ac71e90
7
+ data.tar.gz: dd803fde6ed23136465c0389f4d13b2e502a795811ba26cd0cce872ba227d52727ed539ea6de1baf4db3369ecee113a2c4d0ffcb6fbfb6651f3e06d146578ef6
data/asf.version CHANGED
@@ -1 +1 @@
1
- 0.0.33
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
- 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
- rescue
42
- end
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"
@@ -74,8 +74,16 @@ module ASF
74
74
 
75
75
  class Committee
76
76
  def mail_list
77
- return 'hc' if name.downcase == 'httpcomponents'
78
- name
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.33
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-07 00:00:00.000000000 Z
11
+ date: 2015-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri