text_extractor 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/text_extractor/guard.rb +2 -0
- data/lib/text_extractor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 536459e92aed84134a79cc83b43582806dc241b7c6e1f634da83f33cbc204fb9
|
4
|
+
data.tar.gz: 7840132fc524f8c6a5ec564e5e99a53adb58854e18fc292265f12a149dfd0c44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba4320ef35cef8e1a313c37cb800c9ea2dd716564f0105f94839f48d03ca17e02a53a96cadc40aa9475113cb48e87f866f9f56c7a75e7bed84b94db15e9c741
|
7
|
+
data.tar.gz: acebe63b3cedf8c1c1e4acca41030ffb86d1782fc71612e6f4200a18d6e953b3e3d7f41f28da269a1fb579e9e93e11b406b32e51a9d211d057156d2b2ecd5884
|
data/lib/text_extractor/guard.rb
CHANGED
@@ -15,6 +15,7 @@ class TextExtractor
|
|
15
15
|
|
16
16
|
INDENTED = {
|
17
17
|
description: 'indented line',
|
18
|
+
factory: ->(e) { e },
|
18
19
|
block: proc {
|
19
20
|
/
|
20
21
|
^[^\n\S]+[^\n]*$
|
@@ -24,6 +25,7 @@ class TextExtractor
|
|
24
25
|
|
25
26
|
UNINDENTED = {
|
26
27
|
description: 'unindented line',
|
28
|
+
factory: ->(e) { e },
|
27
29
|
block: proc {
|
28
30
|
/
|
29
31
|
^\S+[^\n]*$
|