hamlit 2.8.0 → 2.8.1
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/ext/hamlit/hamlit.c +3 -0
- data/lib/hamlit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45c9c817fb445372b286dad6f6d91cb2d34ac599
|
|
4
|
+
data.tar.gz: 65dd7e5a3e4779e50c6832ebcb6713abcb523b7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46e30855eb79ed33bf267c8063220b86174efcb9a9f9639db5615b04c0d3e7b4f2167f2893cfb1673577e97f50511a00617d431347e527b71a664cdd51735f1f
|
|
7
|
+
data.tar.gz: d656ca8590ac92d82ff795656c39a9880bb57eb054b526b8c820f74e0547095ee41c83661dbb1f270eb3ad1c167c249e3e729c9cef0df977932752aee510e5d8
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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.8.1](https://github.com/k0kubun/hamlit/compare/v2.8.0...v2.8.1) - 2017-04-03
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Fix SEGV caused by nil in old attributes
|
|
12
|
+
[#101](https://github.com/k0kubun/hamlit/issues/101). *Thanks to @FND*
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
7
16
|
## [2.8.0](https://github.com/k0kubun/hamlit/compare/v2.7.5...v2.8.0) - 2017-02-12
|
|
8
17
|
|
|
9
18
|
### Changed
|
data/ext/hamlit/hamlit.c
CHANGED
|
@@ -325,6 +325,9 @@ merge_all_attrs(VALUE hashes)
|
|
|
325
325
|
|
|
326
326
|
for (i = 0; i < RARRAY_LEN(hashes); i++) {
|
|
327
327
|
hash = rb_ary_entry(hashes, i);
|
|
328
|
+
if (!RB_TYPE_P(hash, T_HASH)) {
|
|
329
|
+
rb_raise(rb_eArgError, "Non-hash object is given to attributes!");
|
|
330
|
+
}
|
|
328
331
|
rb_hash_foreach(hash, merge_all_attrs_i, merged);
|
|
329
332
|
}
|
|
330
333
|
return merged;
|
data/lib/hamlit/version.rb
CHANGED
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.8.
|
|
4
|
+
version: 2.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takashi Kokubun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: temple
|
|
@@ -368,7 +368,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
368
368
|
version: '0'
|
|
369
369
|
requirements: []
|
|
370
370
|
rubyforge_project:
|
|
371
|
-
rubygems_version: 2.5.
|
|
371
|
+
rubygems_version: 2.5.2
|
|
372
372
|
signing_key:
|
|
373
373
|
specification_version: 4
|
|
374
374
|
summary: High Performance Haml Implementation
|