radiant-templates-extension 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ begin
7
7
  gem.email = "avonderluft@avlux.net"
8
8
  gem.homepage = "https://github.com/avonderluft/radiant-templates-extension"
9
9
  gem.authors = ['Andrew vonderLuft','Sean Cribbs']
10
- gem.add_dependency 'radiant', ">=1.0.0"
10
+ gem.add_dependency 'radiant', ">=1.0.0.rc2"
11
11
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
12
12
  end
13
13
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -4,9 +4,10 @@
4
4
  %td.label Template Selector >
5
5
  %td.actions
6
6
  - @content_template ||= @page.template
7
- = link_to @page.template_name, "#template_choices", :class => "action dropdown"
7
+ - name = @page.id ? @page.template_name : ::Template.find(params[:template]).name rescue t('normal_page')
8
+ = link_to name, "#template_choices", :class => "action dropdown"
8
9
  %ul.menu{:id => "template_choices"}
9
- %li= link_to "Blank Page", @page.id.nil? ? "?template=" : "?template=0"
10
+ %li= link_to t('normal_page'), @page.id.nil? ? "?template=" : "?template=0"
10
11
  %li.separator
11
12
  - ::Template.find(:all).each do |template|
12
13
  %li= link_to image('template') + ' ' + template.name.humanize.titleize, "?template=#{template.id}"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-templates-extension}
8
- s.version = "1.0.5"
8
+ s.version = "1.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew vonderLuft", "Sean Cribbs"]
12
- s.date = %q{2011-07-18}
12
+ s.date = %q{2011-07-19}
13
13
  s.description = %q{Imposes structure on pages via content templates.}
14
14
  s.email = %q{avonderluft@avlux.net}
15
15
  s.extra_rdoc_files = [
@@ -165,12 +165,12 @@ Gem::Specification.new do |s|
165
165
  s.specification_version = 3
166
166
 
167
167
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
168
- s.add_runtime_dependency(%q<radiant>, [">= 1.0.0"])
168
+ s.add_runtime_dependency(%q<radiant>, [">= 1.0.0.rc2"])
169
169
  else
170
- s.add_dependency(%q<radiant>, [">= 1.0.0"])
170
+ s.add_dependency(%q<radiant>, [">= 1.0.0.rc2"])
171
171
  end
172
172
  else
173
- s.add_dependency(%q<radiant>, [">= 1.0.0"])
173
+ s.add_dependency(%q<radiant>, [">= 1.0.0.rc2"])
174
174
  end
175
175
  end
176
176
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-templates-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew vonderLuft
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-18 00:00:00 -07:00
19
+ date: 2011-07-19 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,14 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 23
29
+ hash: 15424049
30
30
  segments:
31
31
  - 1
32
32
  - 0
33
33
  - 0
34
- version: 1.0.0
34
+ - rc
35
+ - 2
36
+ version: 1.0.0.rc2
35
37
  name: radiant
36
38
  version_requirements: *id001
37
39
  prerelease: false