github-markup 1.7.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/lib/github-markup.rb +1 -1
- data/lib/github/markup.rb +1 -4
- 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: 6423a7a97b33e1815d4d3c2ef23e4d6894976519fc11728e0bfc1af3b92211b6
|
4
|
+
data.tar.gz: 2bc8c3126dc0ea69a0f0a635e942d62c16bb74e4f7b8bbb2577066c2ff1eb594
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d46acb68a6f40e220ad7cfc6665bfd93b135cb3ae2fd74691f24904b4ebd310c0c5537e7cf810e83aa311e86b4cb62201ed5cc7bcb10c7039931dce6b16a42c
|
7
|
+
data.tar.gz: 4579ebaf481ad05805ad07f3b6be0b1bb75bfc7d5a279a61cd36304f9a90a910e49e100319b1cd3819d0801c3e89979df50a00b0cc475f7ef7ff15b0bcf51667
|
data/HISTORY.md
CHANGED
data/lib/github-markup.rb
CHANGED
data/lib/github/markup.rb
CHANGED
@@ -40,10 +40,7 @@ module GitHub
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
def render(filename, content
|
44
|
-
content ||= File.read(filename)
|
45
|
-
symlink = (File.symlink?(filename) rescue false) if symlink.nil?
|
46
|
-
|
43
|
+
def render(filename, content, symlink = false)
|
47
44
|
if impl = renderer(filename, content, symlink)
|
48
45
|
impl.render(filename, content)
|
49
46
|
else
|