hamlit-block 0.5.0 → 0.6.0

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
2
  SHA1:
3
- metadata.gz: d9ef99e0052a2b7b0552ae36396d0a8d7067cfc2
4
- data.tar.gz: 17b0eea2f4914d8db52bf142dfb8326588f22b4e
3
+ metadata.gz: ac4adbf919b383079984c355adfc688f3ecc0e1e
4
+ data.tar.gz: dc399ddf0c73c29f8c0a265cc3ed0ef1881a9830
5
5
  SHA512:
6
- metadata.gz: c5edbe534a008bab31c1270fedb77d94991322f0c6068a923a3e5b5f9b4e957f3a1d507c2bca411edf69fe6ad8a98ed79c4ca250f21a0a1a7ad670c268940163
7
- data.tar.gz: ec0341af6ef5ea8e0170b9b87c42483f6bc5bc94c5fe0bb7f497464ae69efe0988afdd1c2d3c54bee9b4c970e114c9682f9861fa6ab922cf9852ae4a35e39376
6
+ metadata.gz: 2c95ade00f3eeccfc630d803625c1439b093e319e7bfe748ee67a6082b6712079a2d002b753830b76673caa87134e9c31f94d8678645a2f50989b8e3b749e612
7
+ data.tar.gz: 63b9e1f3bb1f2050546ab5160ced9e433a41572738c2fd5c10a64f55d7b65517a3271c1cba681c696e817acb9a3105d7ba4841c23788268d5f5ecd57e9d413e4
data/README.md CHANGED
@@ -20,6 +20,14 @@ Use `Hamlit::Block::Engine` instead of `Hamlit::Engine`. Contents inside script
20
20
 
21
21
  See [spec](spec/hamlit/block_spec.rb) for detail.
22
22
 
23
+ ### For Tilt
24
+
25
+ ```rb
26
+ require 'hamlit/block'
27
+ ```
28
+
29
+ would be enough. It will override :haml registration of Tilt with `Hamlit::Block::Template` automatically.
30
+
23
31
  ## License
24
32
 
25
33
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "hamlit", ">= 2"
22
+ spec.add_dependency "hamlit", ">= 2.8.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.11"
25
25
  spec.add_development_dependency "pry"
@@ -21,7 +21,7 @@ module Hamlit
21
21
  use Hamlit::Block::Compiler
22
22
  use Hamlit::HTML
23
23
  use Hamlit::StringSplitter
24
- use Hamlit::StaticAnalyzer
24
+ filter :StaticAnalyzer
25
25
  use Hamlit::Escapable
26
26
  use Hamlit::ForceEscapable
27
27
  filter :ControlFlow
@@ -1,6 +1,6 @@
1
1
  module Hamlit
2
2
  module Block
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
 
5
5
  begin
6
6
  require 'cell/hamlit/version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamlit-block
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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: 2017-02-08 00:00:00.000000000 Z
11
+ date: 2017-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hamlit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2'
19
+ version: 2.8.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2'
26
+ version: 2.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.5.2
141
+ rubygems_version: 2.5.1
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Hamlit extension to support capturing via yield