hamlit-block 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +7 -0
- data/hamlit-block.gemspec +1 -1
- data/lib/hamlit/block/version.rb +1 -1
- data/lib/hamlit/block.rb +14 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5462c9357f136c9ea4be6eec687f9742f9f523a8c89fa94dd71fbe32668829cb
|
4
|
+
data.tar.gz: 66f71422247b2be14b4853ae8ca12c8af9a30314b1554ebbfa6f94ead177e780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 968cbfdcdcb45f43f2067a074886a892eb911237867d5673bd34404bee7fac2e7f6ec0f89116683ffc9e14082fd61959d86d9cfe8faae753a912a0ab6b0ecc7e
|
7
|
+
data.tar.gz: a4873b7dae97177dde0b27fd3ad263d9ba1fc02df5923d31120b3651d9bb97af9c4d879a10bd7f9a6251a7e6a9f05731ec5c32c679fd126bcc5bfed48abe0660
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/hamlit-block.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_dependency "hamlit", ">= 2.10.0"
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler"
|
24
|
+
spec.add_development_dependency "bundler"
|
25
25
|
spec.add_development_dependency "pry"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
data/lib/hamlit/block/version.rb
CHANGED
data/lib/hamlit/block.rb
CHANGED
@@ -1,4 +1,15 @@
|
|
1
1
|
require "hamlit"
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
# In Hamlit 2.16.1+, ScriptCompiler#initialize takes the second argument
|
3
|
+
# and the following code stops working.
|
4
|
+
#
|
5
|
+
# Two ways to fix it:
|
6
|
+
# * [Recommended] Use Hamlit 3+. Its Tilt integration works like hamlit-block by default.
|
7
|
+
# * Keep using Hamlit 2.16.1~2.16.2 and configure `disable_capture: false`
|
8
|
+
#
|
9
|
+
# Obviously, you should also uninstall hamlit-block.gem if you use Hamlit 2.16.1+
|
10
|
+
# now that it's ignored here.
|
11
|
+
if Gem::Version.new(Hamlit::VERSION) <= "2.16.0"
|
12
|
+
require "hamlit/block/engine"
|
13
|
+
require "hamlit/block/version"
|
14
|
+
require "hamlit/block/template"
|
15
|
+
end
|
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.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hamlit
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: pry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ homepage: https://github.com/hamlit/hamlit-block
|
|
123
123
|
licenses:
|
124
124
|
- MIT
|
125
125
|
metadata: {}
|
126
|
-
post_install_message:
|
126
|
+
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
129
129
|
- lib
|
@@ -138,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
142
|
-
signing_key:
|
141
|
+
rubygems_version: 3.3.7
|
142
|
+
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Hamlit extension to support capturing via yield
|
145
145
|
test_files: []
|