radiant-layouts-extension 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/nested_layouts/tags/core.rb +1 -1
- data/lib/radiant-layouts-extension.rb +1 -0
- data/radiant-layouts-extension.gemspec +48 -49
- metadata +7 -7
- data/.gitignore +0 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -119,7 +119,7 @@ module NestedLayouts
|
|
119
119
|
end
|
120
120
|
|
121
121
|
tag 'body' do |tag|
|
122
|
-
%{<body class="#{tag.attr['class']
|
122
|
+
%{<body id="#{tag.locals.page.slug}" class="#{current_layout_name(tag)}#{tag.attr['class'].present? ? " #{tag.attr['class']}" : nil}">#{tag.expand}</body>}
|
123
123
|
end
|
124
124
|
|
125
125
|
protected
|
@@ -0,0 +1 @@
|
|
1
|
+
# Nothing to see here
|
@@ -1,74 +1,73 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{radiant-layouts-extension}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Klett", "Jim Gay", "William Ross", "Tony Issakov", "Dirk Kelly"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-22}
|
13
13
|
s.description = %q{Extends Radiant Layouts to support nesting, sharing with Rails Controllers and rendering HAML}
|
14
14
|
s.email = %q{dk@dirkkelly.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.md"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
-
"
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
19
|
+
"MIT-LICENSE",
|
20
|
+
"README.md",
|
21
|
+
"Rakefile",
|
22
|
+
"VERSION",
|
23
|
+
"app/models/haml_filter.rb",
|
24
|
+
"app/models/rails_page.rb",
|
25
|
+
"app/views/layouts/radiant.html.haml",
|
26
|
+
"config/routes.rb",
|
27
|
+
"layouts_extension.rb",
|
28
|
+
"lib/haml_layouts/models/layout.rb",
|
29
|
+
"lib/haml_layouts/models/page.rb",
|
30
|
+
"lib/nested_layouts/tags/core.rb",
|
31
|
+
"lib/radiant-layouts-extension.rb",
|
32
|
+
"lib/share_layouts/controllers/action_controller.rb",
|
33
|
+
"lib/share_layouts/helpers/action_view.rb",
|
34
|
+
"lib/tasks/layouts_extension_tasks.rake",
|
35
|
+
"radiant-layouts-extension.gemspec",
|
36
|
+
"spec/controllers/share_controller_spec.rb",
|
37
|
+
"spec/datasets/layouts_layouts.rb",
|
38
|
+
"spec/datasets/layouts_pages.rb",
|
39
|
+
"spec/lib/haml_layouts/haml_layouts_extension_spec.rb",
|
40
|
+
"spec/lib/haml_layouts/models/layout_spec.rb",
|
41
|
+
"spec/lib/haml_layouts/models/page_spec.rb",
|
42
|
+
"spec/lib/nested_layouts/nested_layouts_extension_spec.rb",
|
43
|
+
"spec/lib/nested_layouts/tags/core_spec.rb",
|
44
|
+
"spec/lib/share_layouts/controllers/action_controller_spec.rb",
|
45
|
+
"spec/lib/share_layouts/helpers/action_view_spec.rb",
|
46
|
+
"spec/lib/share_layouts/share_layouts_extension_spec.rb",
|
47
|
+
"spec/models/haml_filter_spec.rb",
|
48
|
+
"spec/models/rails_page_spec.rb",
|
49
|
+
"spec/spec.opts",
|
50
|
+
"spec/spec_helper.rb"
|
51
51
|
]
|
52
52
|
s.homepage = %q{http://github.com/squaretalent/radiant-layouts-extension}
|
53
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
54
53
|
s.require_paths = ["lib"]
|
55
54
|
s.rubygems_version = %q{1.3.7}
|
56
55
|
s.summary = %q{Extends Radiant Layouts to support nesting, sharing with Rails Controllers and rendering HAML}
|
57
56
|
s.test_files = [
|
58
57
|
"spec/controllers/share_controller_spec.rb",
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
58
|
+
"spec/datasets/layouts_layouts.rb",
|
59
|
+
"spec/datasets/layouts_pages.rb",
|
60
|
+
"spec/lib/haml_layouts/haml_layouts_extension_spec.rb",
|
61
|
+
"spec/lib/haml_layouts/models/layout_spec.rb",
|
62
|
+
"spec/lib/haml_layouts/models/page_spec.rb",
|
63
|
+
"spec/lib/nested_layouts/nested_layouts_extension_spec.rb",
|
64
|
+
"spec/lib/nested_layouts/tags/core_spec.rb",
|
65
|
+
"spec/lib/share_layouts/controllers/action_controller_spec.rb",
|
66
|
+
"spec/lib/share_layouts/helpers/action_view_spec.rb",
|
67
|
+
"spec/lib/share_layouts/share_layouts_extension_spec.rb",
|
68
|
+
"spec/models/haml_filter_spec.rb",
|
69
|
+
"spec/models/rails_page_spec.rb",
|
70
|
+
"spec/spec_helper.rb"
|
72
71
|
]
|
73
72
|
|
74
73
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-layouts-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Klett
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2010-
|
22
|
+
date: 2010-11-22 00:00:00 +08:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -143,7 +143,6 @@ extensions: []
|
|
143
143
|
extra_rdoc_files:
|
144
144
|
- README.md
|
145
145
|
files:
|
146
|
-
- .gitignore
|
147
146
|
- MIT-LICENSE
|
148
147
|
- README.md
|
149
148
|
- Rakefile
|
@@ -156,6 +155,7 @@ files:
|
|
156
155
|
- lib/haml_layouts/models/layout.rb
|
157
156
|
- lib/haml_layouts/models/page.rb
|
158
157
|
- lib/nested_layouts/tags/core.rb
|
158
|
+
- lib/radiant-layouts-extension.rb
|
159
159
|
- lib/share_layouts/controllers/action_controller.rb
|
160
160
|
- lib/share_layouts/helpers/action_view.rb
|
161
161
|
- lib/tasks/layouts_extension_tasks.rake
|
@@ -180,8 +180,8 @@ homepage: http://github.com/squaretalent/radiant-layouts-extension
|
|
180
180
|
licenses: []
|
181
181
|
|
182
182
|
post_install_message:
|
183
|
-
rdoc_options:
|
184
|
-
|
183
|
+
rdoc_options: []
|
184
|
+
|
185
185
|
require_paths:
|
186
186
|
- lib
|
187
187
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
pkg
|