jls-grok 0.10.8 → 0.10.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/grok/pure/match.rb +1 -3
- metadata +2 -2
data/lib/grok/pure/match.rb
CHANGED
@@ -19,9 +19,7 @@ class Grok::Match
|
|
19
19
|
#p :expanded => @grok.expanded_pattern
|
20
20
|
#p :map => @grok.capture_map
|
21
21
|
@match.names.zip(@match.captures).each do |id, value|
|
22
|
-
|
23
|
-
name = @grok.capture_name(id)
|
24
|
-
#next if value == nil
|
22
|
+
name = @grok.capture_name(id) || id
|
25
23
|
yield name, value
|
26
24
|
end
|
27
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jls-grok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-11-
|
13
|
+
date: 2012-11-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cabin
|