jekyll-haml 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76c8f4b342f2983cca116706d6b345cba5dc978d
4
- data.tar.gz: cf711cf86cf8b85b62303be1237950cffdff0f10
3
+ metadata.gz: b1316d16bb34f14ceb5f24a52f8a3514fe03378f
4
+ data.tar.gz: 31d9cc50546a20d61f6379cffb08eb76513cd35e
5
5
  SHA512:
6
- metadata.gz: ae4f18d98d23ef3ef5e27e9dbce229fe9beca3f73ac80b618a94640977444f70cac5d9acef44802b69edd2e6b32409933aacbb5a41440641d3eb14f6b4b84c19
7
- data.tar.gz: 0e672c7062712676d21be4ee5517ae34f9975a7d7c7095a7da4748b22d7e8a0f8ed10040d5a212e2c4f0a40c425e79355800e5a0c2130dd6ece8668f0c471d15
6
+ metadata.gz: 9ceed8b61c78430f298cfb7ab6ea783106aaa92044669be0f17ea9f306e2c000924d67883ca72222a9d0229d20d3fad85cd6429203e7fa92abd92c434e46587f
7
+ data.tar.gz: 842516830a14d8d31c7fa51b4e0ccef5b68ea26039a41aec53eeae310a5536a4319f9434853832909b6b50769959b0fa8909188d76799e98d29d9f84fe236933
@@ -1,3 +1,7 @@
1
+ ## 0.1.6 2017-11-10
2
+ ### minor enhancements
3
+ * removes newlines from `{% haml %}` includes - ([@pedrozath][])
4
+
1
5
  ## 0.1.5 2016-12-30
2
6
  ### minor enhancements
3
7
  * Fixed an error with Jekyll 3.3.0 and later https://github.com/samvincent/jekyll-haml/issues/19
@@ -25,12 +25,13 @@ module Jekyll
25
25
  choices = Dir['**/*'].reject { |x| File.symlink?(x) }
26
26
  if choices.include?(@file)
27
27
  source = File.read(@file)
28
- conversion = ::Haml::Engine.new(source).render
28
+ conversion = ::Haml::Engine.new(source).render.delete("\n")
29
29
  partial = Liquid::Template.parse(conversion)
30
30
  begin
31
31
  return partial.render!(context)
32
32
  rescue => e
33
- puts "Liquid Exception: #{e.message} in #{self.data["layout"]}"
33
+ print "Liquid Exception: #{e.message}"
34
+ print "in #{self.data["layout"]}"
34
35
  e.backtrace.each do |backtrace|
35
36
  puts backtrace
36
37
  end
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Haml
3
- VERSION = '0.1.5'.freeze
3
+ VERSION = '0.1.6'.freeze
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Vincent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-04 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.4.6
78
+ rubygems_version: 2.6.12
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Convert HAML files to standard HTML files as part of your Jekyll build.