rad_face 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/face/face.rb +1 -1
- data/lib/face/gems.rb +0 -1
- data/lib/face/require.rb +1 -1
- data/lib/face/support.rb +5 -4
- data/spec/spec_helper.rb +1 -1
- metadata +4 -15
data/lib/face/face.rb
CHANGED
data/lib/face/gems.rb
CHANGED
data/lib/face/require.rb
CHANGED
data/lib/face/support.rb
CHANGED
@@ -33,10 +33,11 @@ end
|
|
33
33
|
#
|
34
34
|
Rad::Controller::Abstract::Render.class_eval do
|
35
35
|
protected
|
36
|
-
def render_content_with_content
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
def render_content_with_content options
|
37
|
+
context = options[:context]
|
38
|
+
content = render_content_without_content options
|
39
|
+
context.content_for :content, content if context
|
40
|
+
return content
|
40
41
|
end
|
41
42
|
alias_method_chain :render_content, :content
|
42
43
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rad_face
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-30 00:00:00 +04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rad_js
|
29
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
39
|
+
name: rad_assets
|
40
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
@@ -46,17 +46,6 @@ dependencies:
|
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: rad_assets
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
|
-
requirements:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: "0"
|
57
|
-
type: :runtime
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: *id004
|
60
49
|
description:
|
61
50
|
email:
|
62
51
|
executables: []
|