jekyll-haml 0.1.2 → 0.1.3

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: 48922188430e6873a1210e600e44c45d7f95516e
4
- data.tar.gz: 8bd4d0d407fbb088bc9caf0161c4b51eb0783e6f
3
+ metadata.gz: 646edf7909cfb7adeeec5b2f9dd308cfcea45948
4
+ data.tar.gz: 5d1392a2a3154915062304f4218987633099897d
5
5
  SHA512:
6
- metadata.gz: 96d9dc331d640a78dc9478061801525e1f664d6e861c25c1d72fbfce24d004eb89da603af94d999a9c9938d2b888d3b64d560e3be3c60e66210acdb758529cde
7
- data.tar.gz: 2c13a580da2c9c748feaa2a99ca7aa1c6ab516f23c544af685f196b4b17269d03111cabecc859412871467d8032fc658220bbd7fcff33edd78ac161dfb946bdd
6
+ metadata.gz: f58b9535bc4bd2707918c3c2670f9f3b320f42e8e24bffab991b800331aae6cdbbd56a9a94962f7515da392437855b53dfda7ddf57c4e8856cf04b7048195679
7
+ data.tar.gz: f07c2459d92de2d4e81744cd369201c80369e0f2cfcc3b869d7b12fcdf4304dc1e567242f93346faae18eedd0c5ada538ff522af0ce0d138557351a58de55b6d
@@ -1,3 +1,7 @@
1
+ ## 0.1.3 2015-12-08
2
+ ### minor enhancements
3
+ * Fixed an error with Jekyll 2.3.0 (and probably with prior versions) that crashes when building the site - ([@kalvinarts][])
4
+
1
5
  ## 0.1.2 2015-04-28
2
6
  ### minor enhancements
3
7
  * Follow Jekyll 2.3.0 internal API change - ([@yaegashi][])
@@ -1,18 +1,12 @@
1
1
  # Re-open Layout class to convert our HAML Layout content.
2
- # This solution risks Jekyll API updates, and potential
3
- # interference from other included plugins.
2
+ # This solution redeclares the Layout class in a way that
3
+ # don't risks Jekyll API updates anymore.
4
4
 
5
5
  module Jekyll
6
- class Layout
7
- def initialize(site, base, name)
8
- @site = site
9
- @base = base
10
- @name = name
11
-
12
- self.data = {}
13
-
14
- self.process(name)
15
- self.read_yaml(base, name)
6
+ class << Layout
7
+ alias old_initialize initialize
8
+ def initialize(*args)
9
+ old_initialize(*args)
16
10
  self.content = self.transform
17
11
  end
18
12
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Haml
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Vincent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-28 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll