md_edit 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/md_edit.rb +2 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c9699e0321fd92c07f4720867075d0ac6585503
|
4
|
+
data.tar.gz: 7cc2d79abe6b63a7282698b08d7b35c30a9d4016
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85037ea96652ceccbe258c5cd796608dc3a0b1d324dd7f5a0b1f61e019dec4939a06b0097c1b43f72e3103be698b3257f88b4bb0beb8507fd6ca2e1ffb7505cd
|
7
|
+
data.tar.gz: e36b02b4ec92e71792018aa5701bb4bd6c8571ec8ecae674a832efd4d7da996b6bae0e07760688cde90e94cf484f4a38f67c343fb6a9d960a47c31d83794cf5f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/md_edit.rb
CHANGED
@@ -94,7 +94,8 @@ class MdEdit
|
|
94
94
|
|
95
95
|
def find(s, heading: true)
|
96
96
|
|
97
|
-
key = @sections.keys
|
97
|
+
key = @sections.keys\
|
98
|
+
.grep(/#{s.downcase.gsub('(','\(').gsub(')','\)')}/i).first
|
98
99
|
return unless key
|
99
100
|
|
100
101
|
headings = key.lines.first.split(/ > /)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md_edit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
R5r1JjTBaaHOaqI14bIkwUSY5q1cO4Wl7HWly80kX2AD8o/tPHvyF9Tx3pBvaboU
|
32
32
|
etnSPHbQwmBvFQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2017-12-
|
34
|
+
date: 2017-12-28 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: line-tree
|
metadata.gz.sig
CHANGED
Binary file
|