qcms 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/app/models/document.rb +1 -1
  3. data/qcms.gemspec +98 -0
  4. metadata +4 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.6
1
+ 1.3.7
@@ -263,7 +263,7 @@ class Document < ActiveRecord::Base
263
263
  end
264
264
 
265
265
  def set_meta_data
266
- self.meta_title = self.title.to(255) if self.meta_title.blank?
266
+ self.meta_title = self.title.to(255) if !self.title.blank? && self.meta_title.blank?
267
267
  self.meta_description = self.summary.to(255) if !self.summary.blank? && self.meta_description.blank?
268
268
  end
269
269
 
@@ -0,0 +1,98 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
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{qcms}
8
+ s.version = "1.3.7"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Kris Leech"]
12
+ s.date = %q{2010-10-17}
13
+ s.description = %q{Key CMS features: extended template pathing, sitemap.yml, simple configurable, deeply nestable content}
14
+ s.email = %q{kris.leech@interkonect.com}
15
+ s.extra_rdoc_files = [
16
+ "README"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "app/controllers/admin/admin_controller.rb",
24
+ "app/controllers/admin/documents_controller.rb",
25
+ "app/controllers/admin/meta_definitions_controller.rb",
26
+ "app/controllers/documents_controller.rb",
27
+ "app/controllers/sendmail_controller.rb",
28
+ "app/controllers/system/meta_definitions_controller.rb",
29
+ "app/controllers/system/system_controller.rb",
30
+ "app/helpers/admin/documents_helper.rb",
31
+ "app/helpers/documents_helper.rb",
32
+ "app/helpers/sendmail_helper.rb",
33
+ "app/helpers/system/documents_helper.rb",
34
+ "app/models/document.rb",
35
+ "app/models/document_mailer.rb",
36
+ "app/models/document_sweeper.rb",
37
+ "app/models/meta_definition.rb",
38
+ "app/models/sendmail.rb",
39
+ "app/views/admin/documents/_form.html.erb",
40
+ "app/views/admin/documents/default.edit.html.erb",
41
+ "app/views/admin/documents/default.new.html.erb",
42
+ "app/views/admin/documents/default.show.html.erb",
43
+ "app/views/admin/documents/index.html.erb",
44
+ "app/views/admin/documents/shared/_resource_link.html.erb",
45
+ "app/views/document_mailer/new_document.erb",
46
+ "app/views/layouts/admin.html.erb",
47
+ "app/views/layouts/application.html.erb",
48
+ "app/views/layouts/system.html.erb",
49
+ "app/views/pages/404.html.erb",
50
+ "app/views/pages/contact.html.erb",
51
+ "app/views/pages/default.html.erb",
52
+ "app/views/pages/feed.rss.builder",
53
+ "app/views/pages/home.html.erb",
54
+ "app/views/pages/search.html.erb",
55
+ "app/views/pages/shared/_archived_pages.erb",
56
+ "app/views/pages/shared/_related_pages.html.erb",
57
+ "app/views/pages/sitemap.html.erb",
58
+ "app/views/pages/template.erb",
59
+ "app/views/pages/thank_you.html.erb",
60
+ "app/views/sendmail/default.erb",
61
+ "app/views/system/meta_definitions/_form.html.erb",
62
+ "app/views/system/meta_definitions/_meta_definition.html.erb",
63
+ "app/views/system/meta_definitions/edit.html.erb",
64
+ "app/views/system/meta_definitions/index.html.erb",
65
+ "app/views/system/meta_definitions/new.html.erb",
66
+ "app/views/system/system/dashboard.html.erb",
67
+ "config/sitemap.example.yml",
68
+ "db/migrate/20090824150210_create_documents.rb",
69
+ "db/migrate/20091208124512_create_meta_definition.rb",
70
+ "init.rb",
71
+ "install.rb",
72
+ "lib/qcms.rb",
73
+ "qcms.gemspec",
74
+ "rails/init.rb",
75
+ "test/qwerty_test.rb",
76
+ "test/test_helper.rb",
77
+ "uninstall.rb"
78
+ ]
79
+ s.homepage = %q{http://github.com/krisleech/qcms}
80
+ s.rdoc_options = ["--charset=UTF-8"]
81
+ s.require_paths = ["lib"]
82
+ s.rubygems_version = %q{1.3.7}
83
+ s.summary = %q{A CMS built in collaberation with designers}
84
+ s.test_files = [
85
+ "test/qwerty_test.rb",
86
+ "test/test_helper.rb"
87
+ ]
88
+
89
+ if s.respond_to? :specification_version then
90
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
91
+ s.specification_version = 3
92
+
93
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
94
+ else
95
+ end
96
+ else
97
+ end
98
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qcms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 6
10
- version: 1.3.6
9
+ - 7
10
+ version: 1.3.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kris Leech
@@ -82,6 +82,7 @@ files:
82
82
  - init.rb
83
83
  - install.rb
84
84
  - lib/qcms.rb
85
+ - qcms.gemspec
85
86
  - rails/init.rb
86
87
  - test/qwerty_test.rb
87
88
  - test/test_helper.rb