hamlit 2.8.5 → 2.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile +3 -0
- data/ext/hamlit/hescape.c +1 -1
- data/lib/hamlit/attribute_parser.rb +1 -1
- data/lib/hamlit/cli.rb +1 -1
- data/lib/hamlit/parser/haml_helpers.rb +1 -1
- data/lib/hamlit/parser/haml_parser.rb +0 -1
- data/lib/hamlit/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a81acbe27600ac91e5a827a8ce114666a78a6d4e6d4928ead844f6d45dd36e3b
|
4
|
+
data.tar.gz: 83021e624060ae3a5bac115e8bb4f0134208bd34b1e3f2deec23d815973cf2e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a5de507de1470d1c615446454ad3f32595ee55ca2ea8183f594d3fc92095f5f0fe78980e0c4f000b221743a3afd5d87b5f94411c5b1f1c532c538e3c6bb47e
|
7
|
+
data.tar.gz: f29126f085e3148e9d79147a6f12b4b4a94d03e4ea64999027bd01474af8b526f8038104698f96c0d2a6cedb5b57ca662cdfdfa559219e4f843604b4d7dd3986
|
data/.travis.yml
CHANGED
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.8.6](https://github.com/k0kubun/hamlit/compare/v2.8.5...v2.8.6) - 2017-12-22
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Fix some unused-variable / method-redefinition warnings
|
12
|
+
|
7
13
|
## [2.8.5](https://github.com/k0kubun/hamlit/compare/v2.8.4...v2.8.5) - 2017-11-06
|
8
14
|
|
9
15
|
### Fixed
|
@@ -150,6 +156,12 @@ project adheres to [Semantic Versioning](http://semver.org/). This change log is
|
|
150
156
|
|
151
157
|
- `:coffeescript` filter's internal class name is changed from `Coffee` to `CoffeeScript`
|
152
158
|
|
159
|
+
## [2.2.4](https://github.com/k0kubun/hamlit/compare/v2.2.3...v2.2.4) - 2017-12-05
|
160
|
+
|
161
|
+
### Fixed
|
162
|
+
|
163
|
+
- Fix to work with Ruby 2.5. This version is usable with both 2.0 and 2.5.
|
164
|
+
|
153
165
|
## [2.2.3](https://github.com/k0kubun/hamlit/compare/v2.2.2...v2.2.3) - 2016-03-10
|
154
166
|
|
155
167
|
### Added
|
data/Gemfile
CHANGED
data/ext/hamlit/hescape.c
CHANGED
@@ -72,7 +72,7 @@ ensure_allocated(char *buf, size_t size, size_t *asize)
|
|
72
72
|
size_t
|
73
73
|
hesc_escape_html(char **dest, const char *buf, size_t size)
|
74
74
|
{
|
75
|
-
size_t asize = 0, esc_i, esize = 0, i = 0, rbuf_end = 0;
|
75
|
+
size_t asize = 0, esc_i = 0, esize = 0, i = 0, rbuf_end = 0;
|
76
76
|
const char *esc;
|
77
77
|
char *rbuf = NULL;
|
78
78
|
|
data/lib/hamlit/cli.rb
CHANGED
@@ -72,7 +72,7 @@ module Hamlit
|
|
72
72
|
handler = Hamlit::RailsTemplate.new
|
73
73
|
template = ActionView::Template.new(template, 'inline template', handler, { locals: [] })
|
74
74
|
code = handler.call(template)
|
75
|
-
|
75
|
+
<<-end_src
|
76
76
|
def _inline_template___2144273726781623612_70327218547300(local_assigns, output_buffer)
|
77
77
|
_old_virtual_path, @virtual_path = @virtual_path, nil;_old_output_buffer = @output_buffer;;#{code}
|
78
78
|
ensure
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'hamlit/parser/haml_error'
|
2
|
-
require 'hamlit/parser/haml_buffer'
|
3
2
|
require 'hamlit/parser/haml_options'
|
4
3
|
require 'hamlit/parser/haml_compiler'
|
5
4
|
require 'hamlit/parser/haml_parser'
|
@@ -724,4 +723,5 @@ class Object
|
|
724
723
|
def is_haml?
|
725
724
|
false
|
726
725
|
end
|
726
|
+
alias :is_haml? :is_haml?
|
727
727
|
end
|
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.6
|
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-12-22 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.
|
371
|
+
rubygems_version: 2.7.3
|
372
372
|
signing_key:
|
373
373
|
specification_version: 4
|
374
374
|
summary: High Performance Haml Implementation
|