whimsy-asf 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 868392978159f057e352581dee9a1846e28bf05d
4
- data.tar.gz: 8ae0c076a99b9b6460016d71db2743ea9c77ad4a
3
+ metadata.gz: 1ac081e9fe5b3016df52282994b8f68da8518890
4
+ data.tar.gz: d6481a28efbc25377e27205d9a85d54235f670a0
5
5
  SHA512:
6
- metadata.gz: acf36e9711236af94e1c035f262926b2203c1f816fce2af53b024725e47d8bd83dd458863f9433d44d07f12580521b5d5a15dd618b39d57c1df3f81c9d275a48
7
- data.tar.gz: 522409fd25ad0a6d9f5086434917ac82745f0ed166511f1c4ed265e8c6c47e4fdc46203c7f556e0f216763a42c72baae97636be449b3fedbabfbfe075dacbaf8
6
+ metadata.gz: 1508584a25f70789f35b9e19048b76290d7814e20182f5057cdfaeaf06be208a69287a4783ee32f2a67b74ea496795979bc6b84ef00996af36adf27e8edf38f4
7
+ data.tar.gz: 38f18f90879e409b741132b8dd731d7de0dc842709f184efcb6165fa38248522bb2731c846d81f6ebfb0a66a89816b3976414124913aab7466ae0691325f3804
data/asf.version CHANGED
@@ -1 +1 @@
1
- 0.0.37
1
+ 0.0.38
@@ -82,19 +82,27 @@ class ASF::Board::Agenda
82
82
  people << [name2, id]
83
83
  end
84
84
  end
85
+
86
+ if people.length < 2
87
+ attrs['warnings'] ||= ['Unable to match expected number of names']
88
+ end
85
89
  end
86
90
  else
87
91
  if title =~ /Establish (.*)/
88
92
  name = $1
89
93
  attrs['prior_reports'] =
90
94
  "#{whimsy}/board/minutes/#{name.gsub(/\W/,'_')}"
91
- if text =~ /FURTHER RESOLVED, that ([^,]*?),?\s+be\b/
95
+ if text =~ /FURTHER RESOLVED, that\s+([^,]*?),?\s+be\b/
92
96
  chairname = $1.gsub(/\s+/, ' ').strip
93
97
  chair = people.find {|person| person.first == chairname}
94
98
  attrs['chair'] = (chair ? chair.last : nil)
99
+ unless chair and chair.last
100
+ attrs['warnings'] ||= ['Chair not found in resolution']
101
+ end
102
+ else
103
+ attrs['warnings'] ||= ['Chair not found in resolution']
95
104
  end
96
105
  end
97
-
98
106
  end
99
107
 
100
108
  people.map! do |name, id|
@@ -75,6 +75,8 @@ module ASF
75
75
  class Committee
76
76
  def mail_list
77
77
  case name.downcase
78
+ when 'comdev'
79
+ 'community'
78
80
  when 'httpcomponents'
79
81
  'hc'
80
82
  when 'tac'
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.37
4
+ version: 0.0.38
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-19 00:00:00.000000000 Z
11
+ date: 2015-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri