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 +4 -4
- data/README.md +8 -0
- data/hamlit-block.gemspec +1 -1
- data/lib/hamlit/block/engine.rb +1 -1
- data/lib/hamlit/block/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac4adbf919b383079984c355adfc688f3ecc0e1e
|
4
|
+
data.tar.gz: dc399ddf0c73c29f8c0a265cc3ed0ef1881a9830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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).
|
data/hamlit-block.gemspec
CHANGED
@@ -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"
|
data/lib/hamlit/block/engine.rb
CHANGED
data/lib/hamlit/block/version.rb
CHANGED
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.
|
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-
|
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:
|
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:
|
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.
|
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
|