radiant-site_area_tags-extension 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module SiteAreaTags
|
|
3
3
|
|
4
4
|
desc %{
|
5
5
|
Renders the slug of the top-most parent page which is not the homepage
|
6
|
-
This functions nicely as a site area (or
|
6
|
+
This functions nicely as a site area (or "section") name
|
7
7
|
|
8
8
|
*Usage:*
|
9
9
|
<pre><code><r:site_area /></code></pre>
|
@@ -31,7 +31,7 @@ module SiteAreaTags
|
|
31
31
|
conditional mark-up if the child element is in the current site area.
|
32
32
|
|
33
33
|
*Usage:*
|
34
|
-
<pre><code><r:if_same_site_area
|
34
|
+
<pre><code><r:if_same_site_area>...</if_same_site_area></code></pre>
|
35
35
|
|
36
36
|
*Example:*
|
37
37
|
<pre><code>
|
@@ -52,7 +52,7 @@ module SiteAreaTags
|
|
52
52
|
conditional mark-up if the child element is not in the current site area.
|
53
53
|
|
54
54
|
*Usage:*
|
55
|
-
<pre><code><r:unless_same_site_area
|
55
|
+
<pre><code><r:unless_same_site_area>...</unless_same_site_area></code></pre>
|
56
56
|
}
|
57
57
|
tag 'unless_same_site_area' do |tag|
|
58
58
|
tag.expand unless same_site_area?(tag)
|
@@ -67,7 +67,7 @@ module SiteAreaTags
|
|
67
67
|
the actual page.
|
68
68
|
|
69
69
|
*Usage:*
|
70
|
-
<pre><code><r:if_same_site_subarea
|
70
|
+
<pre><code><r:if_same_site_subarea>...</if_same_site_subarea></code></pre>
|
71
71
|
}
|
72
72
|
tag 'if_same_site_subarea' do |tag|
|
73
73
|
tag.expand if same_site_subarea?(tag)
|
@@ -82,7 +82,7 @@ module SiteAreaTags
|
|
82
82
|
as the actual page.
|
83
83
|
|
84
84
|
*Usage:*
|
85
|
-
<pre><code><r:unless_same_site_subarea
|
85
|
+
<pre><code><r:unless_same_site_subarea>...</unless_same_site_subarea></code></pre>
|
86
86
|
}
|
87
87
|
tag 'unless_same_site_subarea' do |tag|
|
88
88
|
tag.expand unless same_site_subarea?(tag)
|
@@ -17,8 +17,4 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
-
s.post_install_message = %{
|
21
|
-
Add this to your radiant project with:
|
22
|
-
config.gem 'radiant-site_area_tags-extension', :version => '#{RadiantSiteAreaTagsExtension::VERSION}'
|
23
|
-
}
|
24
20
|
end
|
metadata
CHANGED
@@ -1,34 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-site_area_tags-extension
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Benny Degezelle
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-04-01 00:00:00 +02:00
|
19
|
-
default_executable:
|
12
|
+
date: 2012-01-10 00:00:00.000000000Z
|
20
13
|
dependencies: []
|
21
|
-
|
22
14
|
description: Makes Radiant better by adding site_area_tags!
|
23
|
-
email:
|
15
|
+
email:
|
24
16
|
- benny@gorilla-webdesign.be
|
25
17
|
executables: []
|
26
|
-
|
27
18
|
extensions: []
|
28
|
-
|
29
19
|
extra_rdoc_files: []
|
30
|
-
|
31
|
-
files:
|
20
|
+
files:
|
32
21
|
- README
|
33
22
|
- Rakefile
|
34
23
|
- app/models/site_area_tags.rb
|
@@ -40,41 +29,31 @@ files:
|
|
40
29
|
- spec/models/site_area_tags_spec.rb
|
41
30
|
- spec/spec.opts
|
42
31
|
- spec/spec_helper.rb
|
43
|
-
has_rdoc: true
|
44
32
|
homepage: http://github.com/jomz/radiant-site_area_tags-extension
|
45
33
|
licenses: []
|
46
|
-
|
47
|
-
post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-site_area_tags-extension', :version => '1.0.0'\n "
|
34
|
+
post_install_message:
|
48
35
|
rdoc_options: []
|
49
|
-
|
50
|
-
require_paths:
|
36
|
+
require_paths:
|
51
37
|
- lib
|
52
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
39
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
59
|
-
- 0
|
60
|
-
version: "0"
|
61
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
45
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
67
|
-
segments:
|
68
|
-
- 0
|
69
|
-
version: "0"
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
70
50
|
requirements: []
|
71
|
-
|
72
51
|
rubyforge_project:
|
73
|
-
rubygems_version: 1.
|
52
|
+
rubygems_version: 1.8.10
|
74
53
|
signing_key:
|
75
54
|
specification_version: 3
|
76
55
|
summary: Site Area Tags for Radiant CMS
|
77
|
-
test_files:
|
56
|
+
test_files:
|
78
57
|
- spec/models/site_area_tags_spec.rb
|
79
58
|
- spec/spec.opts
|
80
59
|
- spec/spec_helper.rb
|