whimsy-asf 0.0.48 → 0.0.49
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 +1 -18
- 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: c6384429a1783106029a0f26188d6c737642cc5e
|
4
|
+
data.tar.gz: 884c52cd5cf424e062dcf1466f9ebccd4abd9e12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1476a3ca4e5c83fdd0e4df091222dc4250111b4f78b053a23461fcebbd200f863a3f38415921ed364d71a6322fb23e93ca75bb9b5e9fc6abce9974b2f54edef3
|
7
|
+
data.tar.gz: d0e968f7931acc078aaceb9ec71b2cb0d39541b8966799a25c0ae80f01bfcb61d3d5b87e64b4323d775cd0cc566195975a4c69b3ac29c719e337e23ee6c0791b
|
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.49
|
@@ -71,26 +71,9 @@ class ASF::Board::Agenda
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
name1 = text[/heretofore\sappointed\s(\w.*?)\s(\(|to)/,1]
|
75
|
-
sname1 = name1.to_s.downcase.gsub('.', ' ').split(/\s+/)
|
76
|
-
name2 = text[/recommend\s(\w.*?)\s(\(|as)/,1]
|
77
|
-
sname2 = name2.to_s.downcase.gsub('.', ' ').split(/\s+/)
|
78
|
-
|
79
74
|
next unless committee.names
|
80
75
|
committee.names.each do |id, name|
|
81
|
-
|
82
|
-
pname = name.downcase.split(/\s+/)
|
83
|
-
if text.include? name
|
84
|
-
people << [name, id]
|
85
|
-
elsif name1 && sname1.all? {|t1| pname.any? {|t2| t2.start_with? t1}}
|
86
|
-
people << [name1, id]
|
87
|
-
elsif name1 && pname.all? {|t1| sname1.any? {|t2| t2.start_with? t1}}
|
88
|
-
people << [name1, id]
|
89
|
-
elsif name2 && sname2.all? {|t1| pname.any? {|t2| t2.start_with? t1}}
|
90
|
-
people << [name2, id]
|
91
|
-
elsif name2 && pname.all? {|t1| sname2.any? {|t2| t2.start_with? t1}}
|
92
|
-
people << [name2, id]
|
93
|
-
end
|
76
|
+
people << [name, id] if text.include? name
|
94
77
|
end
|
95
78
|
|
96
79
|
if people.length < 2
|
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.49
|
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-09-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|