github-to-canvas 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49af565aafcbebe3151fdf8546a6153600e6425afcf1af8034fdc914d4003b51
|
4
|
+
data.tar.gz: 01a5ac504f7d905394f1eb42f2cec5b89237f1e2af7f7e42fad3bacd6001b0de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 535eeae8522d06b60b35a5f26a7a427fecd28cfa4c89f8d359b472e290a34ef58b5a7532f79c28219a20a8333bdd643052b497052b853749ecfc9ff0ba91c174
|
7
|
+
data.tar.gz: c7dc94133876c712d5e3f0fc1003553d2ea3f21b967d8ffa742fa98be1147f09f7024f0f0baa5ffc6f286a64dc9bbb6f7ab90b480da59449956fba0faf69aec5
|
data/README.md
CHANGED
@@ -5,13 +5,14 @@ class RepositoryConverter
|
|
5
5
|
if remove_header_and_footer
|
6
6
|
readme = self.remove_header(readme)
|
7
7
|
readme = self.remove_footer(readme)
|
8
|
+
p readme
|
8
9
|
end
|
9
10
|
self.fix_local_images(filepath, readme, branch)
|
10
11
|
self.convert_to_html(filepath, readme)
|
11
12
|
end
|
12
13
|
|
13
14
|
def self.remove_header(readme)
|
14
|
-
readme.gsub(/^#
|
15
|
+
readme.gsub(/^# .+?\n\n/,"")
|
15
16
|
end
|
16
17
|
|
17
18
|
def self.remove_footer(readme)
|