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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed09a3cafb596362202df4f48741906cbddec749
4
- data.tar.gz: 0a90da5fabf39ea40b4b17e24a6e8bc93d519d0e
3
+ metadata.gz: 242bfcd82535771e780626e0048175703253a275
4
+ data.tar.gz: 18c154d812f86fce780416c6cc95f99f54dffee9
5
5
  SHA512:
6
- metadata.gz: 095086033d1f0df077e8ce8b8b0bdc88bcaa3752a24319015fb1103f48836b5835b7370c2cd341647091d050afaec9fc80686bc92e97ba5b1c423ea4e9a29090
7
- data.tar.gz: 7cb7bc609c2c35d52b1060b7a0ace74889fad705916000719fbc076befdbdb0608bac15b295faedfb6b9cf9020b4bf8c35a67ffa338e1c1fe9c130815fb0c1af
6
+ metadata.gz: 99699f569f1419c98cb332f286f90a4b5453b30c07d6446bafaa26e5fe58c6c9bc1bac16c852e9d36bb7190935bc6a4794e5cab495533f6fdfd36202a4ec5075
7
+ data.tar.gz: ec10b6433bd686c79ccba4f98f231449cfdcac9bc3c92b2a8686df793ad05e7adc12fc09045619896ef8d9fe9d1d63b2b78008a7bef31192c1b23d843e0c843d
data/History.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.2.1 / 2015-03-22
2
+
3
+ * Use `has_key?` (#6)
4
+
1
5
  ## 1.2.0 / 2015-03-21
2
6
 
3
7
  ### Minor Enhancements
@@ -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[gist_id]
8
+ if context.has_key?(gist_id)
9
9
  gist_id = context[gist_id]
10
10
  end
11
- if context[filename]
11
+ if context.has_key?(filename)
12
12
  filename = context[filename]
13
13
  end
14
14
  gist_script_tag(gist_id, filename)
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Gist
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-gist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parker Moore