whimsy-asf 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/asf.version +1 -1
- data/lib/whimsy/asf/agenda.rb +3 -0
- metadata +2 -2
data/asf.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.20
|
data/lib/whimsy/asf/agenda.rb
CHANGED
@@ -33,6 +33,9 @@ class ASF::Board::Agenda
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def scan(text, pattern, &block)
|
36
|
+
# convert tabs to spaces
|
37
|
+
text.gsub!(/^(\t+)/) {|tabs| ' ' * (8*tabs.length)}
|
38
|
+
|
36
39
|
text.scan(pattern).each do |matches|
|
37
40
|
hash = Hash[pattern.names.zip(matches)]
|
38
41
|
yield hash if block
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: whimsy-asf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.20
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sam Ruby
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|