hamlit 2.4.2 → 2.5.0

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: 75bbaf8a560601a913c28b186797c6824914765e
4
- data.tar.gz: e4d255684eb75fdfa4d3dac23628ba1515cc95ff
3
+ metadata.gz: a4c110b4d613b181e5b4265b38bb5e9be5462536
4
+ data.tar.gz: 4078a4b2b491555689955e4c89d42e37e20bcd20
5
5
  SHA512:
6
- metadata.gz: e854cb4ac85a81d87badd44f79311408fe65eb6cc9c354a2a23f623c0b3e0653239a83e7abd8616e7c98c1979387b53a712802c03ca641496f0f4f744db1cfad
7
- data.tar.gz: aefbae2ce306c8d6586b87826dc7e8db68213fcc67291f13ce97ed30bed3336a3d3016aac04122d42422311efee3a0c3533957b3f902ef0400c3860755bd339a
6
+ metadata.gz: 1e594931f0a2095ab3a179d9fd11faa431497cda613ea5ecefad9f0c408608bf97a6f9f8ea091c2c9b8304f987ef522059e9a676b9e504e3a8c1db8ad8766fe8
7
+ data.tar.gz: 7c45353f42bad632bd45cda5384271543b73b29aee44a171e8e8fdb60789a1e15d3d7521d5ba52e99465b141359e35d35c625b95a037743c530197bf11baf9b1
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This
4
4
  project adheres to [Semantic Versioning](http://semver.org/). This change log is based upon
5
5
  [keep-a-changelog](https://github.com/olivierlacan/keep-a-changelog).
6
6
 
7
+ ## [2.5.0](https://github.com/k0kubun/hamlit/compare/v2.4.2...v2.5.0) - 2016-06-04
8
+
9
+ ### Changed
10
+
11
+ - Don't escape the result of `preserve` helper in Rails
12
+
7
13
  ## [2.4.2](https://github.com/k0kubun/hamlit/compare/v2.4.1...v2.4.2) - 2016-06-04
8
14
 
9
15
  ### Fixed
@@ -15,6 +21,7 @@ project adheres to [Semantic Versioning](http://semver.org/). This change log is
15
21
  ### Fixed
16
22
 
17
23
  - Fix C extension builder to work with Ruby 2.3 on Windows
24
+ [#69](https://github.com/k0kubun/hamlit/issues/69). *Thanks to @francesco-loreti*
18
25
 
19
26
  ## [2.4.0](https://github.com/k0kubun/hamlit/compare/v2.3.1...v2.4.0) - 2016-05-13
20
27
 
@@ -26,7 +26,7 @@ module Hamlit
26
26
 
27
27
  def preserve(input = nil, &block)
28
28
  return preserve(capture_haml(&block)) if block
29
- super
29
+ super.html_safe
30
30
  end
31
31
 
32
32
  def surround(front, back = front, &block)
@@ -1,3 +1,3 @@
1
1
  module Hamlit
2
- VERSION = '2.4.2'
2
+ VERSION = '2.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamlit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2016-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: temple