tao_on_rails 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tao_on_rails/components/base.rb +3 -2
- data/lib/tao_on_rails/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ad64fc49a4b54a73034e05b813147c99693707b
|
4
|
+
data.tar.gz: 3f75f7753cf05b4a38bdfdeb20c2a5c17cf1bdc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8ee03b857f25f4751dfec541ebab23c4293650f2383e9d1c9d49a4422ddefa43e4c91c3985946067e204f04ba528bec067a9f8f081f7d641686edce43cb7a37
|
7
|
+
data.tar.gz: 467aaa7e5a3c6693e333df8415974551accf53b653946a4ec45a44c205ebc5baa151e3a1e5514ae34c11214f4688bc1c7f6c18935fabd7e88fe7471f90f026c0
|
@@ -15,8 +15,9 @@ module TaoOnRails
|
|
15
15
|
def render &block
|
16
16
|
if template = find_template
|
17
17
|
if block_given?
|
18
|
-
|
19
|
-
|
18
|
+
block_content = view.capture(&block)
|
19
|
+
template.render(view, {component: self, block_given: true}) do
|
20
|
+
block_content
|
20
21
|
end
|
21
22
|
else
|
22
23
|
template.render(view, {component: self})
|
data/lib/tao_on_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tao_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siyuan Liu
|
@@ -59,20 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
63
|
-
- - ">="
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: 5.0.1
|
62
|
+
version: 5.0.3
|
66
63
|
type: :runtime
|
67
64
|
prerelease: false
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
69
66
|
requirements:
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 5.0.1
|
69
|
+
version: 5.0.3
|
76
70
|
- !ruby/object:Gem::Dependency
|
77
71
|
name: sqlite3
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|