jekyll-gist 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.markdown +4 -0
- data/lib/jekyll-gist/gist_tag.rb +2 -2
- data/lib/jekyll-gist/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 242bfcd82535771e780626e0048175703253a275
|
4
|
+
data.tar.gz: 18c154d812f86fce780416c6cc95f99f54dffee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99699f569f1419c98cb332f286f90a4b5453b30c07d6446bafaa26e5fe58c6c9bc1bac16c852e9d36bb7190935bc6a4794e5cab495533f6fdfd36202a4ec5075
|
7
|
+
data.tar.gz: ec10b6433bd686c79ccba4f98f231449cfdcac9bc3c92b2a8686df793ad05e7adc12fc09045619896ef8d9fe9d1d63b2b78008a7bef31192c1b23d843e0c843d
|
data/History.markdown
CHANGED
data/lib/jekyll-gist/gist_tag.rb
CHANGED
@@ -5,10 +5,10 @@ module Jekyll
|
|
5
5
|
def render(context)
|
6
6
|
if tag_contents = determine_arguments(@markup.strip)
|
7
7
|
gist_id, filename = tag_contents[0], tag_contents[1]
|
8
|
-
if context
|
8
|
+
if context.has_key?(gist_id)
|
9
9
|
gist_id = context[gist_id]
|
10
10
|
end
|
11
|
-
if context
|
11
|
+
if context.has_key?(filename)
|
12
12
|
filename = context[filename]
|
13
13
|
end
|
14
14
|
gist_script_tag(gist_id, filename)
|
data/lib/jekyll-gist/version.rb
CHANGED