muck-contents 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -68,6 +68,7 @@ begin
68
68
  gemspec.add_dependency "mbleigh-acts-as-taggable-on"
69
69
  gemspec.add_dependency "friendly_id"
70
70
  end
71
+ Jeweler::GemcutterTasks.new
71
72
  Jeweler::RubyforgeTasks.new do |rubyforge|
72
73
  rubyforge.doc_task = "rdoc"
73
74
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -16,12 +16,13 @@ module ActiveRecord
16
16
  :sanitize_content => true,
17
17
  :enable_auto_translations => true,
18
18
  :enable_solr => false
19
+ :enable_comments => false
19
20
  }
20
21
  options = default_options.merge(options)
21
22
 
22
23
  acts_as_nested_set :scope => [:contentable_id, :contentable_type]
23
24
  acts_as_taggable
24
- acts_as_commentable
25
+ acts_as_commentable if options[:enable_comments]
25
26
 
26
27
  validates_presence_of :title
27
28
  validates_presence_of :body_raw
data/lib/muck_contents.rb CHANGED
@@ -6,8 +6,6 @@ ActionController::Base.class_eval { include ActionController::Acts::MuckContentH
6
6
  ActionController::Base.send :helper, MuckContentsHelper
7
7
  I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ]
8
8
 
9
- Mime::Type.register "text/javascript", :pjs
10
-
11
9
  module MuckContents
12
10
 
13
11
  GLOBAL_SCOPE = '/'
data/locales/fa.yml CHANGED
@@ -3,7 +3,7 @@ fa:
3
3
  muck:
4
4
  contents:
5
5
  add: افزودن
6
- cancel: انصراف
6
+ cancel: لغو
7
7
  cant_delete_content: "شما اجازه انجام این کار به حذف مطالب تعیین شده را ندارید"
8
8
  choose_layout: "انتخاب الگو"
9
9
  choose_layout_help: "انتخاب یک قالب طرح که کروم برای این صفحه میشوند."
data/locales/fi.yml CHANGED
@@ -20,7 +20,7 @@ fi:
20
20
  edit_title: "Muokkaa tätä sivua."
21
21
  manage_pages_title: "Hallitse sivuston sisältö"
22
22
  no_uri_error: "Aseta arvo URI ennen tallentamista malli kun contentable on nolla"
23
- page_doesnt_exist_create: "Hakemaasi sivua ei löydy. Antakaa alla luoda sivulle."
23
+ page_doesnt_exist_create: "Hakemaasi sivua ei löydy. Antakaa tiedot alla luoda sivun."
24
24
  permalink: "Permalink:"
25
25
  problem_adding_content: "Oli ongelma lisäämällä sisältöä"
26
26
  problem_updating_content: "Oli ongelma päivittää sisältöä"
data/locales/fr.yml CHANGED
@@ -20,7 +20,7 @@ fr:
20
20
  edit_title: "Modifier cette page."
21
21
  manage_pages_title: "Gérer le site de contenu"
22
22
  no_uri_error: "S'il vous plaît définir une valeur pour uri avant d'enregistrer le modèle lors contentable est nul"
23
- page_doesnt_exist_create: "Les site que vous demandez n'existe pas. S'il vous plaît fournir les informations ci-dessous pour créer la page."
23
+ page_doesnt_exist_create: "La page demandée n'existe pas. S'il vous plaît fournir les informations ci-dessous pour créer la page."
24
24
  permalink: "Permalink:"
25
25
  problem_adding_content: "Il y avait un problème en ajoutant du contenu"
26
26
  problem_updating_content: "Il y avait un problème de mise à jour du contenu"
data/locales/gl.yml CHANGED
@@ -15,7 +15,7 @@ gl:
15
15
  default_404_body: "Non atopamos a páxina que busca."
16
16
  default_404_title: "404 Páxina non atopada"
17
17
  delete: Borrar
18
- delete_title: "Borrar a esta páxina."
18
+ delete_title: "Borrar esta páxina."
19
19
  edit: Editar
20
20
  edit_title: "Edita esta páxina."
21
21
  manage_pages_title: "Xestionar o contido do sitio web"
data/locales/iw.yml CHANGED
@@ -20,7 +20,7 @@ iw:
20
20
  edit_title: "עריכת דף זה."
21
21
  manage_pages_title: "ניהול תוכן האתר"
22
22
  no_uri_error: "נא להגדיר ערך עבור אורי לפני שמירת מודל contentable כאשר הוא אפסי"
23
- page_doesnt_exist_create: "הדף שביקשת אינו קיים. אנא להלן לספק מידע כדי ליצור את דף."
23
+ page_doesnt_exist_create: "הדף שביקשת אינו קיים. נא לציין את הפרטים שלהלן כדי ליצור את הדף."
24
24
  permalink: "Permalink:"
25
25
  problem_adding_content: "היתה בעיה להוסיף את התוכן"
26
26
  problem_updating_content: "היתה בעיה בעדכון תוכן"
data/locales/lt.yml CHANGED
@@ -6,7 +6,7 @@ lt:
6
6
  cancel: Atšaukti
7
7
  cant_delete_content: "Jūs neturite leidimo pašalinti nustatytą turinį"
8
8
  choose_layout: "Pasirinkite šabloną"
9
- choose_layout_help: "Atrinkti maketo padaryti šabloną, kuris bus šio puslapio Chrome."
9
+ choose_layout_help: "Pasirinkite šabloną, maketą, kuris tampa šio puslapio Chrome."
10
10
  confirm_delete_content: "Ar tikrai norite ištrinti šį turinį? Tai negali būti atšauktas!"
11
11
  content_help: "Tai turinys, kuris bus rodomas puslapyje."
12
12
  content_label: Turinys
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-contents}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball"]
12
- s.date = %q{2009-10-01}
12
+ s.date = %q{2009-10-27}
13
13
  s.email = %q{justinball@gmail.com}
14
14
  s.extra_rdoc_files = [
15
15
  "README.rdoc"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-contents
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-01 00:00:00 -06:00
12
+ date: 2009-10-27 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency