radiant-sitemap_search-extension 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -64,25 +64,26 @@
64
64
  %td.note{:colspan => atts.size }
65
65
  = params[:q].blank? ? "Empty search." : "No results from query."
66
66
 
67
- - results_label = t('templates') + query
68
- %h3#templates
69
- = results_label
70
- = render :partial => 'results_nav'
71
- %table#template_list.index.sortable{:summary=>results_label}
72
- %thead
73
- %tr
74
- - atts = %w{name page_class_name updated_at}
75
- - atts.each do |att|
76
- %th{:class => attribute_header_class(att), :id => attribute_header_id(att) }
77
- %a
78
- %span.w1= att.humanize
79
- %tbody
80
- - unless @templates.blank?
81
- = render :partial => "template", :collection => @templates
82
- - else
67
+ - if defined?(TemplatesExtension)
68
+ - results_label = t('templates') + query
69
+ %h3#templates
70
+ = results_label
71
+ = render :partial => 'results_nav'
72
+ %table#template_list.index.sortable{:summary=>results_label}
73
+ %thead
83
74
  %tr
84
- %td.note{:colspan => atts.size }
85
- = params[:q].blank? ? "Empty search." : "No results from query."
75
+ - atts = %w{name page_class_name updated_at}
76
+ - atts.each do |att|
77
+ %th{:class => attribute_header_class(att), :id => attribute_header_id(att) }
78
+ %a
79
+ %span.w1= att.humanize
80
+ %tbody
81
+ - unless @templates.blank?
82
+ = render :partial => "template", :collection => @templates
83
+ - else
84
+ %tr
85
+ %td.note{:colspan => atts.size }
86
+ = params[:q].blank? ? "Empty search." : "No results from query."
86
87
 
87
88
  - if defined?(BannerRotatorExtension)
88
89
  - results_label = t('banner_rotator.banners') + query
@@ -0,0 +1,74 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{radiant-sitemap_search-extension}
8
+ s.version = "1.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Andrew vonderLuft", "Sean Cribbs"]
12
+ s.date = %q{2011-04-22}
13
+ s.description = %q{Adds search feature for pages, snippets, layouts, et al.}
14
+ s.email = %q{avonderluft@avlux.net}
15
+ s.extra_rdoc_files = [
16
+ "README.textile"
17
+ ]
18
+ s.files = [
19
+ "HELP.textile",
20
+ "README.textile",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "app/controllers/admin/search_controller.rb",
24
+ "app/helpers/admin/search_helper.rb",
25
+ "app/views/admin/pages/index.html.haml",
26
+ "app/views/admin/pages/page_list_view.html.haml",
27
+ "app/views/admin/search/_banner.html.haml",
28
+ "app/views/admin/search/_banner_index_bottom.html.haml",
29
+ "app/views/admin/search/_layout.html.haml",
30
+ "app/views/admin/search/_layout_index_bottom.html.haml",
31
+ "app/views/admin/search/_results_nav.html.haml",
32
+ "app/views/admin/search/_search_action.html.haml",
33
+ "app/views/admin/search/_snippet.html.haml",
34
+ "app/views/admin/search/_snippet_index_bottom.html.haml",
35
+ "app/views/admin/search/_template.html.haml",
36
+ "app/views/admin/search/_template_index_bottom.html.haml",
37
+ "app/views/admin/search/index.html.haml",
38
+ "config/locales/en.yml",
39
+ "config/routes.rb",
40
+ "lib/sitemap_search/model.rb",
41
+ "lib/tasks/sitemap_search_extension_tasks.rake",
42
+ "pkg/radiant-sitemap_search-extension-1.0.0.gem",
43
+ "radiant-sitemap_search-extension.gemspec",
44
+ "sitemap_search_extension.rb",
45
+ "spec/controllers/search_controller_spec.rb",
46
+ "spec/models/page_extensions_spec.rb",
47
+ "spec/models/snippet_extensions_spec.rb",
48
+ "spec/spec.opts",
49
+ "spec/spec_helper.rb"
50
+ ]
51
+ s.homepage = %q{https://github.com/avonderluft/radiant-sitemap_search-extension}
52
+ s.require_paths = ["lib"]
53
+ s.rubygems_version = %q{1.6.2}
54
+ s.summary = %q{Sitemap Search Extension for Radiant CMS}
55
+ s.test_files = [
56
+ "spec/controllers/search_controller_spec.rb",
57
+ "spec/models/page_extensions_spec.rb",
58
+ "spec/models/snippet_extensions_spec.rb",
59
+ "spec/spec_helper.rb"
60
+ ]
61
+
62
+ if s.respond_to? :specification_version then
63
+ s.specification_version = 3
64
+
65
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
66
+ s.add_runtime_dependency(%q<radiant>, [">= 1.0.0"])
67
+ else
68
+ s.add_dependency(%q<radiant>, [">= 1.0.0"])
69
+ end
70
+ else
71
+ s.add_dependency(%q<radiant>, [">= 1.0.0"])
72
+ end
73
+ end
74
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-sitemap_search-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew vonderLuft
@@ -67,6 +67,7 @@ files:
67
67
  - config/routes.rb
68
68
  - lib/sitemap_search/model.rb
69
69
  - lib/tasks/sitemap_search_extension_tasks.rake
70
+ - radiant-sitemap_search-extension.gemspec
70
71
  - sitemap_search_extension.rb
71
72
  - spec/controllers/search_controller_spec.rb
72
73
  - spec/models/page_extensions_spec.rb