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 +4 -4
- data/asf.version +1 -1
- data/lib/whimsy/asf/agenda/special.rb +10 -2
- data/lib/whimsy/asf/mail.rb +2 -0
- 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: 1ac081e9fe5b3016df52282994b8f68da8518890
|
4
|
+
data.tar.gz: d6481a28efbc25377e27205d9a85d54235f670a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1508584a25f70789f35b9e19048b76290d7814e20182f5057cdfaeaf06be208a69287a4783ee32f2a67b74ea496795979bc6b84ef00996af36adf27e8edf38f4
|
7
|
+
data.tar.gz: 38f18f90879e409b741132b8dd731d7de0dc842709f184efcb6165fa38248522bb2731c846d81f6ebfb0a66a89816b3976414124913aab7466ae0691325f3804
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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
|
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|
|
data/lib/whimsy/asf/mail.rb
CHANGED
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.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-
|
11
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|