hamlit 2.2.3 → 2.2.4

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
- SHA1:
3
- metadata.gz: 6ac83342b7ce50f0eaff97d4135ee6bf607b0f63
4
- data.tar.gz: 24c61aab36fff37a52c164317bbe0097514c58db
2
+ SHA256:
3
+ metadata.gz: b2a2760ea6428a499759735a80f47ea7967665779963b20080c72cb4b8db71b6
4
+ data.tar.gz: 2193a9f3baadb7d00049d1253821d0c87de39faf5546f3bf7e69556802282486
5
5
  SHA512:
6
- metadata.gz: 1dc0bd5b4e3f0225fe13daa88b743bfbff1cab932c310ee36ada305d4e86bb9970f8cfde7bafa6709769fc80421e32a8e94a4e52a03f20ab5888bfd52277028c
7
- data.tar.gz: 21288f855fa30998dec970a2926004ac50d4384d9400b45074cb675954f7887b40928294fa89276e780119957d43707d9f3fc4b60c97cb3f31e63508462decfc
6
+ metadata.gz: d49a7a49412b9b581c33da71241763935f3f517503390a29a7dc80e68f5d87824f715fdff3db896f18a5403988a68970756c803046f106bdbfacf0256ea4cebf
7
+ data.tar.gz: a5b11211d8b4c9b90be1e3b9bb709da4ea45744bb7eefdfee30d60da0b050c0b1425d4c18a2d9222fdb15acc35dd45241c85224a425ef210b70e4bbcb14e8244
@@ -17,7 +17,7 @@ module Hamlit
17
17
  tokens = Ripper.lex(exp)[1..-2] || []
18
18
  each_attr(tokens) do |attr_tokens|
19
19
  key = parse_key!(attr_tokens)
20
- hash[key] = attr_tokens.map(&:last).join.strip
20
+ hash[key] = attr_tokens.map { |t| t[2] }.join.strip
21
21
  end
22
22
  hash
23
23
  rescue ParseSkip
@@ -1,3 +1,3 @@
1
1
  module Hamlit
2
- VERSION = '2.2.3'
2
+ VERSION = '2.2.4'
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.2.3
4
+ version: 2.2.4
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-03-10 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: temple
@@ -386,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
386
386
  version: '0'
387
387
  requirements: []
388
388
  rubyforge_project:
389
- rubygems_version: 2.5.1
389
+ rubygems_version: 2.7.3
390
390
  signing_key:
391
391
  specification_version: 4
392
392
  summary: High Performance Haml Implementation