monologue 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +47 -23
- data/app/assets/javascripts/monologue/admin/application.js +2 -1
- data/app/assets/javascripts/monologue/blog/archive.js +11 -0
- data/app/assets/stylesheets/monologue/blog/monologue.css +27 -0
- data/app/controllers/monologue/admin/base_controller.rb +2 -8
- data/app/controllers/monologue/admin/posts_controller.rb +11 -9
- data/app/controllers/monologue/admin/users_controller.rb +6 -3
- data/app/controllers/monologue/application_controller.rb +16 -12
- data/app/controllers/monologue/controller_helpers/auth.rb +21 -0
- data/app/controllers/monologue/controller_helpers/user.rb +18 -0
- data/app/controllers/monologue/posts_controller.rb +1 -3
- data/app/controllers/monologue/tags_controller.rb +2 -3
- data/app/helpers/monologue/application_helper.rb +7 -7
- data/app/helpers/monologue/tags_helper.rb +1 -1
- data/app/models/monologue/post.rb +7 -9
- data/app/models/monologue/tag.rb +1 -3
- data/app/models/monologue/tagging.rb +1 -3
- data/app/models/monologue/user.rb +1 -3
- data/app/views/layouts/monologue/admin/_nav_bar.html.erb +1 -4
- data/app/views/layouts/monologue/application.html.erb +2 -2
- data/app/views/layouts/monologue/application/_disqus.html.erb +1 -1
- data/app/views/layouts/monologue/application/_disqus_embed.html.erb +1 -1
- data/app/views/layouts/monologue/application/_fb_open_graph.html.erb +3 -3
- data/app/views/layouts/monologue/application/_gauge_analytics.html.erb +2 -2
- data/app/views/layouts/monologue/application/_google_analytics.html.erb +2 -2
- data/app/views/layouts/monologue/application/_head.html.erb +1 -1
- data/app/views/layouts/monologue/application/_meta_description.html.erb +1 -1
- data/app/views/layouts/monologue/application/_sidebar.html.erb +2 -2
- data/app/views/layouts/monologue/application/_twitter_cards.html.erb +3 -3
- data/app/views/monologue/admin/comments/show.html.erb +1 -1
- data/app/views/monologue/posts/_social_sharing.html.erb +4 -4
- data/app/views/monologue/posts/feed.rss.builder +4 -4
- data/app/views/monologue/sidebar/_archive.html.erb +27 -0
- data/app/views/monologue/sidebar/_latest_tweets.html.erb +2 -2
- data/config/locales/de.yml +136 -0
- data/config/locales/en.yml +0 -12
- data/config/locales/fr.yml +1 -13
- data/config/locales/it.yml +0 -12
- data/config/locales/pt.yml +0 -12
- data/config/locales/ro.yml +0 -12
- data/config/locales/tr.yml +136 -0
- data/config/routes.rb +0 -3
- data/db/migrate/20130108123111_move_user_id_to_post.rb +0 -1
- data/db/migrate/20130509015400_merge_revisions_into_posts.rb +1 -2
- data/lib/monologue.rb +2 -36
- data/lib/monologue/configuration.rb +40 -0
- data/lib/monologue/configuration_extensions.rb +21 -0
- data/lib/monologue/engine.rb +8 -0
- data/lib/monologue/version.rb +1 -1
- data/vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-tr.js +7 -0
- metadata +56 -54
- data/app/controllers/monologue/admin/cache_controller.rb +0 -27
- data/app/sweepers/monologue/posts_sweeper.rb +0 -42
- data/app/sweepers/monologue/total_sweeper.rb +0 -5
- data/app/views/monologue/admin/cache/_config.html.erb +0 -18
- data/app/views/monologue/admin/cache/how_to_enable.html.erb +0 -6
- data/app/views/monologue/admin/cache/show.html.erb +0 -26
- data/lib/tasks/monologue_cache.rake +0 -26
data/config/locales/fr.yml
CHANGED
@@ -81,18 +81,6 @@ fr:
|
|
81
81
|
preview: "Aperçu"
|
82
82
|
close: "Fermer"
|
83
83
|
tags: "Catégories"
|
84
|
-
cache:
|
85
|
-
show:
|
86
|
-
title: "Gérer la cache"
|
87
|
-
description: "Vous pouvez complètement effacer la cache ici."
|
88
|
-
files_in_cache: "Voici les fichiers en cache:"
|
89
|
-
no_files_are_cached: "Il n'y a aucun fichier en cache."
|
90
|
-
delete: "Effacer complètement la cache?"
|
91
|
-
confirm: 'Voulez-vous vraiment effacer la cache?'
|
92
|
-
cache_wiped: "La cache a été effacée!"
|
93
|
-
how_to_enable:
|
94
|
-
warning: "Vous ne pouvez gérer la cache!"
|
95
|
-
explanations: "Il y a certaines configurations à effectuer pour utiliser la gestion de cache de base de Monologue. SVP voir la documentation ci-dessous (anglais seulement)."
|
96
84
|
comments:
|
97
85
|
show:
|
98
86
|
recent_comments: "Commentaires récents"
|
@@ -142,4 +130,4 @@ fr:
|
|
142
130
|
taken: "%{attribute} est déjà utilisé"
|
143
131
|
attributes:
|
144
132
|
password:
|
145
|
-
confirmation: "Le mot de passe et sa confirmation doivent concorder."
|
133
|
+
confirmation: "Le mot de passe et sa confirmation doivent concorder."
|
data/config/locales/it.yml
CHANGED
@@ -86,18 +86,6 @@ it:
|
|
86
86
|
comments:
|
87
87
|
show:
|
88
88
|
recent_comments: "Commenti recenti"
|
89
|
-
cache:
|
90
|
-
show:
|
91
|
-
title: "Gestisci cache"
|
92
|
-
description: "Qui puoi eliminare completamente la cache."
|
93
|
-
files_in_cache: "Questi sono i file effettivamente nella cache:"
|
94
|
-
no_files_are_cached: "Non ci sono file nella cache."
|
95
|
-
delete: "Svuotare la cache completamente?"
|
96
|
-
confirm: "Sei sicuro di voler eliminare la cache completamente?"
|
97
|
-
cache_wiped: "La cache è stata svuotata!"
|
98
|
-
how_to_enable:
|
99
|
-
warning: "Non puoi gestire la cache!"
|
100
|
-
explanations: "Ci sono alcune configurazioni errate che non permettono l'utilizzo della cache di Monologue. Per favore riguarda la documentazione delle configurazioni."
|
101
89
|
sessions:
|
102
90
|
new:
|
103
91
|
title: "Accedi"
|
data/config/locales/pt.yml
CHANGED
@@ -86,18 +86,6 @@ pt_BR:
|
|
86
86
|
comments:
|
87
87
|
show:
|
88
88
|
recent_comments: "Comentários recentes"
|
89
|
-
cache:
|
90
|
-
show:
|
91
|
-
title: "Gerenciar cache"
|
92
|
-
description: "Você pode limpar a cache aqui."
|
93
|
-
files_in_cache: "Estes são os arquivos em cache:"
|
94
|
-
no_files_are_cached: "Não há nenhum arquivo em cache."
|
95
|
-
delete: "Limpar cache?"
|
96
|
-
confirm: 'Você tem certeza que deseja limpar a cache?'
|
97
|
-
cache_wiped: "A cache foi limpa!"
|
98
|
-
how_to_enable:
|
99
|
-
warning: "Você não pode gerenciar a cache!"
|
100
|
-
explanations: "Existem certas configurações que estão incorretas para utilizar a cache básica do Monologue. Por favor, revise a documentação das configurações."
|
101
89
|
sessions:
|
102
90
|
new:
|
103
91
|
title: "Tela administrativa do blog"
|
data/config/locales/ro.yml
CHANGED
@@ -86,18 +86,6 @@ ro:
|
|
86
86
|
comments:
|
87
87
|
show:
|
88
88
|
recent_comments: "Comentarii recente"
|
89
|
-
cache:
|
90
|
-
show:
|
91
|
-
title: "Gestionare cache"
|
92
|
-
description: "Aici puteti sterge cache-ul."
|
93
|
-
files_in_cache: "Fisiere cache-uite:"
|
94
|
-
no_files_are_cached: "Nu exista nici un fisier in cache."
|
95
|
-
delete: "Stergeti cache-ul?"
|
96
|
-
confirm: 'Sigur doriti sa stergeti cache-ul?'
|
97
|
-
cache_wiped: "Cache-ul a fost sters!"
|
98
|
-
how_to_enable:
|
99
|
-
warning: "Nu puteti gestiona cache-ul!"
|
100
|
-
explanations: "Anumite setari sunt incorecte pentru a putea folosi cache-ul din Monologue. Va rugam sa citit documentatia."
|
101
89
|
sessions:
|
102
90
|
new:
|
103
91
|
title: "Autentificare"
|
@@ -0,0 +1,136 @@
|
|
1
|
+
tr:
|
2
|
+
monologue:
|
3
|
+
posts:
|
4
|
+
pagination:
|
5
|
+
older_posts: "Eski Gönderiler"
|
6
|
+
newer_posts: "Yeni Gönderiler"
|
7
|
+
social_sharing:
|
8
|
+
tagline: "Okuduğuna bayıldın mı? Paylaş!"
|
9
|
+
post:
|
10
|
+
readmore: "Daha fazlasını oku"
|
11
|
+
"404":
|
12
|
+
title: "Aradığınız sayfa bulunmamaktadır."
|
13
|
+
message: "Adresi yanlış yazmış olabilirsiniz yada aradığınız sayfanın yeri değişmiş olabilir."
|
14
|
+
sidebar:
|
15
|
+
categories:
|
16
|
+
title: "Kategoriler"
|
17
|
+
latest_posts:
|
18
|
+
title: "Son gönderiler"
|
19
|
+
latest_tweets:
|
20
|
+
title: "Son tweeler"
|
21
|
+
tag_cloud:
|
22
|
+
title: "Etiketler"
|
23
|
+
tags:
|
24
|
+
show:
|
25
|
+
showing_post_with_tag: "Bu etikete sahip gönderiler gösteriliyor"
|
26
|
+
show_all_posts: "Bütün göderileri göster"
|
27
|
+
admin:
|
28
|
+
login:
|
29
|
+
need_auth: "Admin kısmına erişmek için önce giriş yapmalısınız."
|
30
|
+
users:
|
31
|
+
form:
|
32
|
+
email: "Mail Adresi"
|
33
|
+
name: "İsim"
|
34
|
+
password: "Şifre"
|
35
|
+
password_confirmation: "Şifre onayı"
|
36
|
+
edit:
|
37
|
+
header: "Hesabını düzenle"
|
38
|
+
save: "Kaydet"
|
39
|
+
new:
|
40
|
+
create: "Oluştur"
|
41
|
+
header: "Kullanıcı ekle"
|
42
|
+
create:
|
43
|
+
success: "Kullanıcı Oluşturuldu"
|
44
|
+
delete:
|
45
|
+
removed: "#{user} adlı kullanıcı başarılı bir şekilde kaldırıldı"
|
46
|
+
failed: "%{user} adlı kullanıcı kaldırılamadı"
|
47
|
+
index:
|
48
|
+
email: "Mail Adresi"
|
49
|
+
name: "İsim"
|
50
|
+
edit: "Düzenle"
|
51
|
+
delete: "Sil"
|
52
|
+
create: "Oluştur"
|
53
|
+
posts:
|
54
|
+
index:
|
55
|
+
title: "Başlık"
|
56
|
+
edit: "Düzenle"
|
57
|
+
delete: "Sil"
|
58
|
+
published: "Evet"
|
59
|
+
not_published: "Yayınlanmadı"
|
60
|
+
status: "Yayınlandı mı?"
|
61
|
+
new:
|
62
|
+
header: "Yeni monolog"
|
63
|
+
create:
|
64
|
+
saved: "Monolog oluşturuldu"
|
65
|
+
saved_with_future_date_and_cache: "Monolog oluşturuldu: gelecek bir güne ait yayınlanma tarihi olan gönderiler önbellek aynı gün silinmediği takdirde gösterilmeyecektir.Önbellek muhtemelen bundan önce oluşturulacaktır ve otomatik olarak yenilenmeyecektir."
|
66
|
+
edit:
|
67
|
+
header: "Düzenle"
|
68
|
+
update:
|
69
|
+
saved_with_future_date_and_cache: "Monolog oluşturuldu: gelecek bir güne ait yayınlanma tarihi olan gönderiler önbellek aynı gün silinmediği takdirde gösterilmeyecektir.Önbellek muhtemelen bundan önce oluşturulacaktır ve otomatik olarak yenilenmeyecektir."
|
70
|
+
saved: "Monolog oluşturuldu"
|
71
|
+
delete:
|
72
|
+
removed: "Monolog kaldırıldı"
|
73
|
+
fail: "Monolog kaldırılamadı"
|
74
|
+
form:
|
75
|
+
title: "Başlık"
|
76
|
+
content: "İçerik"
|
77
|
+
url:
|
78
|
+
caption: "URL<br/><i> Bu ön değer olarak '%{default_url}' ile doldurulacaktır. Kendi URL ini seçebilirsin. URL in başına '%{root}' ekleme.</i>"
|
79
|
+
generated_title: "gönder-basşlığın"
|
80
|
+
published_at: "Yayınlanma tarihi"
|
81
|
+
published: "Yayınlandı"
|
82
|
+
save: "Kaydet"
|
83
|
+
preview: "Ön izleme"
|
84
|
+
close: "Kapa"
|
85
|
+
tags: "Etiketler"
|
86
|
+
comments:
|
87
|
+
show:
|
88
|
+
recent_comments: "En son yorumlar"
|
89
|
+
sessions:
|
90
|
+
new:
|
91
|
+
title: "Giriş yap"
|
92
|
+
email: "Mail Adresi"
|
93
|
+
password: "Şifre"
|
94
|
+
button: "Oturum aç"
|
95
|
+
messages:
|
96
|
+
invalid: "Şifre veya mail adresi geçersiz"
|
97
|
+
logged_in: "Oturum açıldı!"
|
98
|
+
logged_out: "Çıkış yapıldı!"
|
99
|
+
layouts:
|
100
|
+
monologue:
|
101
|
+
admin:
|
102
|
+
nav_bar:
|
103
|
+
add_a_monologue: "Monolog ekle"
|
104
|
+
list_monologues: "Monolog listesi"
|
105
|
+
comments: "Yorumlar"
|
106
|
+
cache: "Ön belleği yönet"
|
107
|
+
edit_user_info: "Hesbım"
|
108
|
+
settings: "Ayarlar"
|
109
|
+
log_out: "Çıkış yap"
|
110
|
+
users: "Kullanıcılar"
|
111
|
+
activerecord:
|
112
|
+
attributes:
|
113
|
+
monologue/user:
|
114
|
+
password_digest: "Şifre onayı"
|
115
|
+
errors:
|
116
|
+
format: "%{message}"
|
117
|
+
errors:
|
118
|
+
full_messages: "%{message}"
|
119
|
+
errors:
|
120
|
+
models:
|
121
|
+
full_messages: "%{message}"
|
122
|
+
monologue/post:
|
123
|
+
blank: "%{attribute} gereklidir"
|
124
|
+
taken: "%{attribute} zaten başka bir gönderide kullanılmakta"
|
125
|
+
attributes:
|
126
|
+
published_at:
|
127
|
+
blank: "'Gönderi tarihi' gerekli"
|
128
|
+
url:
|
129
|
+
start_with_slash: "URL ('/') ile başlayamaz"
|
130
|
+
|
131
|
+
monologue/user:
|
132
|
+
blank: "%{attribute} gereklidir"
|
133
|
+
taken: "%{attribute} zaten kullanılmakta"
|
134
|
+
attributes:
|
135
|
+
password:
|
136
|
+
confirmation: "Şifre ve şifre onayı uyuşmuyor."
|
data/config/routes.rb
CHANGED
@@ -14,9 +14,6 @@ Monologue::Engine.routes.draw do
|
|
14
14
|
resources :users
|
15
15
|
get "comments" => "comments#show", as: "comments"
|
16
16
|
|
17
|
-
get "cache" => "cache#show", as: "cache"
|
18
|
-
delete "cache" => "cache#destroy"
|
19
|
-
|
20
17
|
match "/post/preview"=>"posts#preview", :as=>"post_preview", :via => [:put, :post]
|
21
18
|
end
|
22
19
|
|
@@ -1,6 +1,5 @@
|
|
1
1
|
class MergeRevisionsIntoPosts < ActiveRecord::Migration
|
2
2
|
class Monologue::PostsRevision < ActiveRecord::Base
|
3
|
-
attr_accessible :title, :content, :url, :published_at, :post_id
|
4
3
|
end
|
5
4
|
|
6
5
|
class Monologue::Post < ActiveRecord::Base
|
@@ -37,4 +36,4 @@ class MergeRevisionsIntoPosts < ActiveRecord::Migration
|
|
37
36
|
def latest_revision_for(post)
|
38
37
|
Monologue::PostsRevision.where("post_id = ?", post.id).order("monologue_posts_revisions.updated_at DESC").limit(1).first
|
39
38
|
end
|
40
|
-
end
|
39
|
+
end
|
data/lib/monologue.rb
CHANGED
@@ -1,37 +1,3 @@
|
|
1
1
|
require "monologue/engine"
|
2
|
-
|
3
|
-
|
4
|
-
mattr_accessor :disqus_shortname,
|
5
|
-
:site_name,
|
6
|
-
:site_subtitle,
|
7
|
-
:site_url,
|
8
|
-
:meta_description,
|
9
|
-
:meta_keyword,
|
10
|
-
|
11
|
-
:show_rss_icon,
|
12
|
-
|
13
|
-
:twitter_username,
|
14
|
-
:twitter_locale,
|
15
|
-
|
16
|
-
:facebook_like_locale,
|
17
|
-
:facebook_url,
|
18
|
-
:facebook_logo, #used in the open graph protocol to display an image when a post is liked
|
19
|
-
|
20
|
-
:google_plus_account_url,
|
21
|
-
:google_plusone_locale,
|
22
|
-
|
23
|
-
:linkedin_url,
|
24
|
-
|
25
|
-
:github_username,
|
26
|
-
|
27
|
-
:admin_force_ssl,
|
28
|
-
:posts_per_page,
|
29
|
-
:google_analytics_id,
|
30
|
-
:gauge_analytics_site_id,
|
31
|
-
:layout,
|
32
|
-
:sidebar
|
33
|
-
end
|
34
|
-
|
35
|
-
module Monologue::PageCache
|
36
|
-
mattr_accessor :enabled, :wipe_enabled, :wipe_after_save
|
37
|
-
end
|
2
|
+
require 'monologue/configuration_extensions'
|
3
|
+
require 'monologue/configuration'
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Monologue
|
2
|
+
class Configuration
|
3
|
+
include ConfigurationExtensions
|
4
|
+
|
5
|
+
attr_accessor :disqus_shortname,
|
6
|
+
:site_name,
|
7
|
+
:site_subtitle,
|
8
|
+
:site_url,
|
9
|
+
:meta_description,
|
10
|
+
:meta_keyword,
|
11
|
+
|
12
|
+
:show_rss_icon,
|
13
|
+
|
14
|
+
:twitter_username,
|
15
|
+
:twitter_locale,
|
16
|
+
|
17
|
+
:facebook_like_locale,
|
18
|
+
:facebook_url,
|
19
|
+
:facebook_logo, #used in the open graph protocol to display an image when a post is liked
|
20
|
+
|
21
|
+
:google_plus_account_url,
|
22
|
+
:google_plusone_locale,
|
23
|
+
|
24
|
+
:linkedin_url,
|
25
|
+
|
26
|
+
:github_username,
|
27
|
+
|
28
|
+
:admin_force_ssl,
|
29
|
+
:posts_per_page,
|
30
|
+
:google_analytics_id,
|
31
|
+
:gauge_analytics_site_id,
|
32
|
+
:layout,
|
33
|
+
:sidebar
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.config(&block)
|
38
|
+
yield(Rails.application.config.monologue)
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Monologue
|
2
|
+
module ConfigurationExtensions
|
3
|
+
def add_class(name)
|
4
|
+
self.instance_variable_set "@#{name}", Set.new
|
5
|
+
|
6
|
+
create_method("#{name}=".to_sym) { |val|
|
7
|
+
instance_variable_set("@" + name, val)
|
8
|
+
}
|
9
|
+
|
10
|
+
create_method(name.to_sym) do
|
11
|
+
instance_variable_get("@" + name)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def create_method(name, &block)
|
18
|
+
self.class.send(:define_method, name, &block)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/monologue/engine.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require "truncate_html"
|
2
2
|
require "ckeditor"
|
3
3
|
require "select2-rails"
|
4
|
+
require "jquery-rails"
|
5
|
+
require "sass-rails"
|
6
|
+
require "coffee-rails"
|
4
7
|
|
5
8
|
module Monologue
|
6
9
|
class Engine < Rails::Engine
|
@@ -16,6 +19,11 @@ module Monologue
|
|
16
19
|
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
|
17
20
|
end
|
18
21
|
|
22
|
+
initializer "monologue.configuration", :before => :load_config_initializers do |app|
|
23
|
+
app.config.monologue = Monologue::Configuration.new
|
24
|
+
Monologue::Config = app.config.monologue
|
25
|
+
end
|
26
|
+
|
19
27
|
ENGINE_ROOT = File.join(File.dirname(__FILE__), '../..')
|
20
28
|
require "#{ENGINE_ROOT}/deprecations"
|
21
29
|
end
|
data/lib/monologue/version.rb
CHANGED
@@ -0,0 +1,7 @@
|
|
1
|
+
//Turkish localized datepicker for bootstrap
|
2
|
+
$.fn.datepicker.defaults_tr= {
|
3
|
+
monthNames: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran",
|
4
|
+
"Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
|
5
|
+
shortDayNames: ["Pzt", "Sal", "Çar", "Per", "Cum", "Cts", "Paz"],
|
6
|
+
startOfWeek: 1
|
7
|
+
};
|
metadata
CHANGED
@@ -1,127 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monologue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Philippe Boily | @jipiboily
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '>='
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '>='
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: bcrypt
|
28
|
+
name: bcrypt
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.1.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.1.7
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coffee-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 4.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: sass-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 4.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 4.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: truncate_html
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '>='
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '>='
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: jquery-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - '>='
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - '>='
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: ckeditor
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - '>='
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - '>='
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: select2-rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.2
|
117
|
+
version: '3.2'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.2
|
124
|
+
version: '3.2'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec-rails
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,42 +168,42 @@ dependencies:
|
|
168
168
|
name: capybara-webkit
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - '>='
|
171
|
+
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - '>='
|
178
|
+
- - ! '>='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: shoulda
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - '>='
|
185
|
+
- - ! '>='
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - '>='
|
192
|
+
- - ! '>='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: guard-rspec
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - '>='
|
199
|
+
- - ! '>='
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- - '>='
|
206
|
+
- - ! '>='
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
@@ -224,43 +224,47 @@ dependencies:
|
|
224
224
|
name: mysql2
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - '>='
|
227
|
+
- - ! '>='
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: '0'
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - '>='
|
234
|
+
- - ! '>='
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
238
|
name: sqlite3
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- - '>='
|
241
|
+
- - ! '>='
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: '0'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- - '>='
|
248
|
+
- - ! '>='
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
description: Monologue is a basic blogging engine. It is a Rails mountable engine
|
252
|
-
so it can be mounted in any
|
252
|
+
so it can be mounted in any 4.0.X + apps
|
253
253
|
email:
|
254
254
|
- j@jipi.ca
|
255
255
|
executables: []
|
256
256
|
extensions: []
|
257
257
|
extra_rdoc_files: []
|
258
258
|
files:
|
259
|
+
- MIT-LICENSE
|
260
|
+
- README.md
|
261
|
+
- Rakefile
|
259
262
|
- app/assets/images/monologue/admin/select2.png
|
260
263
|
- app/assets/javascripts/monologue/admin/application.js
|
261
264
|
- app/assets/javascripts/monologue/admin/ckeditor-config.js
|
262
265
|
- app/assets/javascripts/monologue/admin/posts.js
|
263
266
|
- app/assets/javascripts/monologue/blog/application.js
|
267
|
+
- app/assets/javascripts/monologue/blog/archive.js
|
264
268
|
- app/assets/javascripts/monologue/blog/twitter.js.coffee
|
265
269
|
- app/assets/stylesheets/monologue/admin/application.css
|
266
270
|
- app/assets/stylesheets/monologue/admin/posts.sass
|
@@ -272,12 +276,13 @@ files:
|
|
272
276
|
- app/assets/stylesheets/monologue/blog/skeleton/layout.css
|
273
277
|
- app/assets/stylesheets/monologue/blog/skeleton/skeleton.css
|
274
278
|
- app/controllers/monologue/admin/base_controller.rb
|
275
|
-
- app/controllers/monologue/admin/cache_controller.rb
|
276
279
|
- app/controllers/monologue/admin/comments_controller.rb
|
277
280
|
- app/controllers/monologue/admin/posts_controller.rb
|
278
281
|
- app/controllers/monologue/admin/sessions_controller.rb
|
279
282
|
- app/controllers/monologue/admin/users_controller.rb
|
280
283
|
- app/controllers/monologue/application_controller.rb
|
284
|
+
- app/controllers/monologue/controller_helpers/auth.rb
|
285
|
+
- app/controllers/monologue/controller_helpers/user.rb
|
281
286
|
- app/controllers/monologue/posts_controller.rb
|
282
287
|
- app/controllers/monologue/tags_controller.rb
|
283
288
|
- app/form_builders/monologue_admin_form_builder.rb
|
@@ -288,10 +293,9 @@ files:
|
|
288
293
|
- app/models/monologue/tag.rb
|
289
294
|
- app/models/monologue/tagging.rb
|
290
295
|
- app/models/monologue/user.rb
|
291
|
-
- app/sweepers/monologue/posts_sweeper.rb
|
292
|
-
- app/sweepers/monologue/total_sweeper.rb
|
293
|
-
- app/views/layouts/monologue/admin/_nav_bar.html.erb
|
294
296
|
- app/views/layouts/monologue/admin.html.erb
|
297
|
+
- app/views/layouts/monologue/admin/_nav_bar.html.erb
|
298
|
+
- app/views/layouts/monologue/application.html.erb
|
295
299
|
- app/views/layouts/monologue/application/_disqus.html.erb
|
296
300
|
- app/views/layouts/monologue/application/_disqus_embed.html.erb
|
297
301
|
- app/views/layouts/monologue/application/_fb_open_graph.html.erb
|
@@ -303,10 +307,6 @@ files:
|
|
303
307
|
- app/views/layouts/monologue/application/_social_icons.html.erb
|
304
308
|
- app/views/layouts/monologue/application/_title.html.erb
|
305
309
|
- app/views/layouts/monologue/application/_twitter_cards.html.erb
|
306
|
-
- app/views/layouts/monologue/application.html.erb
|
307
|
-
- app/views/monologue/admin/cache/_config.html.erb
|
308
|
-
- app/views/monologue/admin/cache/how_to_enable.html.erb
|
309
|
-
- app/views/monologue/admin/cache/show.html.erb
|
310
310
|
- app/views/monologue/admin/comments/show.html.erb
|
311
311
|
- app/views/monologue/admin/posts/_form.html.erb
|
312
312
|
- app/views/monologue/admin/posts/edit.html.erb
|
@@ -325,18 +325,21 @@ files:
|
|
325
325
|
- app/views/monologue/posts/feed.rss.builder
|
326
326
|
- app/views/monologue/posts/index.html.erb
|
327
327
|
- app/views/monologue/posts/show.html.erb
|
328
|
+
- app/views/monologue/sidebar/_archive.html.erb
|
328
329
|
- app/views/monologue/sidebar/_categories.html.erb
|
329
330
|
- app/views/monologue/sidebar/_latest_posts.html.erb
|
330
331
|
- app/views/monologue/sidebar/_latest_tweets.html.erb
|
331
332
|
- app/views/monologue/sidebar/_tag_cloud.html.erb
|
332
333
|
- app/views/monologue/tags/_tag.html.erb
|
333
334
|
- app/views/monologue/tags/show.html.erb
|
335
|
+
- config/locales/de.yml
|
334
336
|
- config/locales/en.yml
|
335
337
|
- config/locales/es.yml
|
336
338
|
- config/locales/fr.yml
|
337
339
|
- config/locales/it.yml
|
338
340
|
- config/locales/pt.yml
|
339
341
|
- config/locales/ro.yml
|
342
|
+
- config/locales/tr.yml
|
340
343
|
- config/routes.rb
|
341
344
|
- db/migrate/20120114001001_create_monologue_users.rb
|
342
345
|
- db/migrate/20120120193858_create_monologue_posts_revisions.rb
|
@@ -352,10 +355,12 @@ files:
|
|
352
355
|
- db/migrate/20130108123111_move_user_id_to_post.rb
|
353
356
|
- db/migrate/20130509015400_merge_revisions_into_posts.rb
|
354
357
|
- db/seeds.rb
|
358
|
+
- deprecations.rb
|
359
|
+
- lib/monologue.rb
|
360
|
+
- lib/monologue/configuration.rb
|
361
|
+
- lib/monologue/configuration_extensions.rb
|
355
362
|
- lib/monologue/engine.rb
|
356
363
|
- lib/monologue/version.rb
|
357
|
-
- lib/monologue.rb
|
358
|
-
- lib/tasks/monologue_cache.rake
|
359
364
|
- vendor/assets/fonts/monologue/foundation_icons/social_foundicons.eot
|
360
365
|
- vendor/assets/fonts/monologue/foundation_icons/social_foundicons.svg
|
361
366
|
- vendor/assets/fonts/monologue/foundation_icons/social_foundicons.ttf
|
@@ -366,16 +371,13 @@ files:
|
|
366
371
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-fr.js
|
367
372
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-it.js
|
368
373
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-pt.js
|
374
|
+
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-tr.js
|
369
375
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker.js
|
370
376
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap.min.js
|
371
377
|
- vendor/assets/stylesheets/monologue/bootstrap/bootstrap-datepicker.css
|
372
378
|
- vendor/assets/stylesheets/monologue/bootstrap/bootstrap-responsive.min.css
|
373
379
|
- vendor/assets/stylesheets/monologue/bootstrap/bootstrap.min.css
|
374
380
|
- vendor/assets/stylesheets/monologue/foundation_icons/social_foundicons.css.erb
|
375
|
-
- MIT-LICENSE
|
376
|
-
- Rakefile
|
377
|
-
- README.md
|
378
|
-
- deprecations.rb
|
379
381
|
homepage: http://github.com/jipiboily/monologue
|
380
382
|
licenses: []
|
381
383
|
metadata: {}
|
@@ -385,19 +387,19 @@ require_paths:
|
|
385
387
|
- lib
|
386
388
|
required_ruby_version: !ruby/object:Gem::Requirement
|
387
389
|
requirements:
|
388
|
-
- - '>='
|
390
|
+
- - ! '>='
|
389
391
|
- !ruby/object:Gem::Version
|
390
392
|
version: '0'
|
391
393
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
392
394
|
requirements:
|
393
|
-
- - '>='
|
395
|
+
- - ! '>='
|
394
396
|
- !ruby/object:Gem::Version
|
395
397
|
version: '0'
|
396
398
|
requirements: []
|
397
399
|
rubyforge_project:
|
398
|
-
rubygems_version: 2.
|
400
|
+
rubygems_version: 2.2.2
|
399
401
|
signing_key:
|
400
402
|
specification_version: 4
|
401
403
|
summary: Monologue is a basic blogging engine. It is a Rails mountable engine so it
|
402
|
-
can be mounted in any
|
404
|
+
can be mounted in any 4.0.X + apps
|
403
405
|
test_files: []
|