slurper 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/slurper/engine.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e976a68f21248ec4c2237a6642e86d6ff89326f72c0b292cf1cd373c7798c8f
|
4
|
+
data.tar.gz: ba67bb8991f5aeab1540aee68b3458e87752fd12f12d83aa579cdacde986b1b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deb08cbf16a1cd45b50280a9a6ef2b84d8a9d336777a6d844da49a0665f4e2c6a6b3d8f9a14e8927e335cbecbd80319942a9323887d60a975e5647d8af46f495
|
7
|
+
data.tar.gz: cca9fac7f92e025b929a01ae076edefad39e4c65786d7db70d7279123d6d277b1a1166595255eaab9299175c661a8c6c2d08214d9f33f08c62e7588f3b67da5b
|
data/lib/slurper/engine.rb
CHANGED
@@ -23,12 +23,12 @@ module Slurper
|
|
23
23
|
|
24
24
|
def yamlize_story_file
|
25
25
|
IO.read(story_file)
|
26
|
-
.
|
27
|
-
.
|
28
|
-
.
|
29
|
-
.
|
30
|
-
.
|
31
|
-
.
|
26
|
+
.yield_self {|x| x.strip}
|
27
|
+
.yield_self {|x| x.gsub(/^ \b/, " ") }
|
28
|
+
.yield_self {|x| x.gsub(/^/, " ") }
|
29
|
+
.yield_self {|x| x.gsub(/ $/, "") }
|
30
|
+
.yield_self {|x| x.gsub(/ ==.*/, "-") }
|
31
|
+
.yield_self {|x| x.gsub(/ description:$/, " description: |") }
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slurper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Lowe
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-02-
|
14
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|