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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ede1d9a4377793659e2f7249f1c38b349b6d9c4
4
- data.tar.gz: a161b521a9a106d62cdc0086f141f7d5730c76a3
3
+ metadata.gz: 5ad64fc49a4b54a73034e05b813147c99693707b
4
+ data.tar.gz: 3f75f7753cf05b4a38bdfdeb20c2a5c17cf1bdc2
5
5
  SHA512:
6
- metadata.gz: 6efff7e9bc759ee2079b2422ffa925bbe709b283a2aa0f95654156982916316c75c7effa25a84ee8ab43df8cff52bb4ea9b9ca7f0fe20d17c58e45d598d7f385
7
- data.tar.gz: a7b284ea0d976ccc8d1a2281371fd6fd38e45d8f19173255acede3e3fc4e20296d3161838ef5b249e6c556ac74f486aa6163c2bcd5534d0a88f184bfa9d58d27
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
- template.render(view, {component: self, block_given: true}) do |*name|
19
- view._layout_for(*name, &block)
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})
@@ -1,3 +1,3 @@
1
1
  module TaoOnRails
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
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.1
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: '5.0'
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: '5.0'
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