monologue 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +1 -1
- data/README.md +28 -6
- data/app/assets/images/monologue/admin/select2.png +0 -0
- data/app/assets/javascripts/monologue/admin/application.js +6 -2
- data/app/assets/javascripts/monologue/admin/ckeditor-config.js +21 -0
- data/app/assets/javascripts/monologue/admin/posts.js +62 -0
- data/app/assets/stylesheets/monologue/admin/application.css +2 -1
- data/app/assets/stylesheets/monologue/admin/posts.sass +21 -0
- data/app/assets/stylesheets/monologue/blog/application.css +1 -1
- data/app/assets/stylesheets/monologue/blog/monologue.css +12 -1
- data/app/controllers/monologue/admin/base_controller.rb +2 -2
- data/app/controllers/monologue/admin/posts_controller.rb +31 -44
- data/app/controllers/monologue/admin/sessions_controller.rb +2 -2
- data/app/controllers/monologue/admin/users_controller.rb +39 -3
- data/app/controllers/monologue/application_controller.rb +7 -7
- data/app/controllers/monologue/posts_controller.rb +5 -7
- data/app/controllers/monologue/tags_controller.rb +8 -3
- data/app/form_builders/monologue_admin_form_builder.rb +12 -8
- data/app/helpers/monologue/application_helper.rb +9 -39
- data/app/helpers/monologue/html_helper.rb +35 -0
- data/app/helpers/monologue/tags_helper.rb +25 -0
- data/app/models/monologue/post.rb +38 -23
- data/app/models/monologue/tag.rb +3 -4
- data/app/models/monologue/tagging.rb +2 -0
- data/app/models/monologue/user.rb +13 -2
- data/app/sweepers/monologue/posts_sweeper.rb +2 -5
- data/app/views/layouts/monologue/admin.html.erb +2 -2
- data/app/views/layouts/monologue/admin/_nav_bar.html.erb +8 -16
- data/app/views/layouts/monologue/application.html.erb +1 -1
- data/app/views/layouts/monologue/application/_fb_open_graph.html.erb +2 -2
- data/app/views/layouts/monologue/application/_sidebar.html.erb +3 -1
- data/app/views/layouts/monologue/application/_twitter_cards.html.erb +2 -2
- data/app/views/monologue/admin/cache/_config.html.erb +1 -1
- data/app/views/monologue/admin/cache/show.html.erb +1 -1
- data/app/views/monologue/admin/posts/_form.html.erb +23 -9
- data/app/views/monologue/admin/posts/edit.html.erb +3 -3
- data/app/views/monologue/admin/posts/index.html.erb +5 -3
- data/app/views/monologue/admin/posts/new.html.erb +1 -1
- data/app/views/monologue/admin/sessions/new.html.erb +1 -1
- data/app/views/monologue/admin/users/_form.html.erb +5 -0
- data/app/views/monologue/admin/users/edit.html.erb +3 -7
- data/app/views/monologue/admin/users/index.html.erb +28 -0
- data/app/views/monologue/admin/users/new.html.erb +5 -0
- data/app/views/monologue/posts/_pagination.html.erb +2 -2
- data/app/views/monologue/posts/_post.html.erb +6 -8
- data/app/views/monologue/posts/_post_header.html.erb +16 -0
- data/app/views/monologue/posts/_social_sharing.html.erb +6 -6
- data/app/views/monologue/posts/feed.rss.builder +7 -8
- data/app/views/monologue/posts/index.html.erb +1 -1
- data/app/views/monologue/posts/show.html.erb +8 -8
- data/app/views/monologue/sidebar/_latest_posts.html.erb +1 -1
- data/app/views/monologue/sidebar/_latest_tweets.html.erb +1 -1
- data/app/views/monologue/sidebar/_tag_cloud.html.erb +1 -1
- data/config/locales/en.yml +81 -112
- data/config/locales/es.yml +148 -0
- data/config/locales/fr.yml +76 -110
- data/config/locales/it.yml +147 -0
- data/config/locales/pt.yml +147 -0
- data/config/locales/ro.yml +78 -110
- data/config/routes.rb +12 -10
- data/db/migrate/20120120193858_create_monologue_posts_revisions.rb +1 -1
- data/db/migrate/20120514194459_join_posts_and_tags.rb +1 -1
- data/db/migrate/20120526131841_migrate_old_urls.rb +3 -0
- data/db/migrate/20120612015727_delete_join_posts_tags.rb +1 -1
- data/db/migrate/20130108123111_move_user_id_to_post.rb +31 -0
- data/db/migrate/20130509015400_merge_revisions_into_posts.rb +40 -0
- data/db/seeds.rb +1 -1
- data/lib/monologue/engine.rb +6 -6
- data/lib/monologue/version.rb +1 -1
- data/lib/tasks/monologue_cache.rake +1 -1
- data/vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-es.js +7 -0
- data/vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-it.js +9 -0
- data/vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-pt.js +9 -0
- metadata +88 -78
- data/app/assets/javascripts/monologue/admin/tinymce-config.js +0 -21
- data/app/models/monologue/posts_revision.rb +0 -61
- data/app/views/monologue/posts/_revision_header.html.erb +0 -9
@@ -0,0 +1,31 @@
|
|
1
|
+
class MoveUserIdToPost < ActiveRecord::Migration
|
2
|
+
class Monologue::PostsRevision < ActiveRecord::Base
|
3
|
+
attr_accessible :title, :content, :url, :published_at, :post_id
|
4
|
+
end
|
5
|
+
|
6
|
+
class Monologue::Post < ActiveRecord::Base
|
7
|
+
has_many :posts_revisions
|
8
|
+
end
|
9
|
+
|
10
|
+
def up
|
11
|
+
add_column :monologue_posts, :user_id, :integer
|
12
|
+
Monologue::Post.reset_column_information
|
13
|
+
Monologue::Post.all.each do |post|
|
14
|
+
post.user_id = post.posts_revisions.first.user_id
|
15
|
+
post.save(validate: false)
|
16
|
+
end
|
17
|
+
remove_column :monologue_posts_revisions, :user_id
|
18
|
+
end
|
19
|
+
|
20
|
+
def down
|
21
|
+
add_column :monologue_posts_revisions, :user_id, :integer
|
22
|
+
Monologue::Post.reset_column_information
|
23
|
+
Monologue::Post.all.each do |post|
|
24
|
+
post.posts_revisions.each do |revision|
|
25
|
+
revision.user_id = post.user_id
|
26
|
+
revision.save!
|
27
|
+
end
|
28
|
+
end
|
29
|
+
remove_column :monologue_posts, :user_id
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
class MergeRevisionsIntoPosts < ActiveRecord::Migration
|
2
|
+
class Monologue::PostsRevision < ActiveRecord::Base
|
3
|
+
attr_accessible :title, :content, :url, :published_at, :post_id
|
4
|
+
end
|
5
|
+
|
6
|
+
class Monologue::Post < ActiveRecord::Base
|
7
|
+
end
|
8
|
+
|
9
|
+
def up
|
10
|
+
Monologue::Post.reset_column_information
|
11
|
+
add_column :monologue_posts, :title, :string
|
12
|
+
add_column :monologue_posts, :content, :text
|
13
|
+
add_column :monologue_posts, :url, :string
|
14
|
+
add_column :monologue_posts, :published_at, :datetime
|
15
|
+
remove_column :monologue_posts, :posts_revision_id
|
16
|
+
add_index :monologue_posts, :url, unique: true
|
17
|
+
|
18
|
+
Monologue::Post.reset_column_information
|
19
|
+
|
20
|
+
Monologue::Post.all.each do |post|
|
21
|
+
latest_revision = latest_revision_for(post)
|
22
|
+
post.title =latest_revision.title
|
23
|
+
post.content =latest_revision.content
|
24
|
+
post.url =latest_revision.url
|
25
|
+
post.published_at =latest_revision.published_at
|
26
|
+
post.save(validate: false)
|
27
|
+
end
|
28
|
+
|
29
|
+
drop_table :monologue_posts_revisions
|
30
|
+
end
|
31
|
+
|
32
|
+
def down
|
33
|
+
raise ActiveRecord::IrreversibleMigration
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
def latest_revision_for(post)
|
38
|
+
Monologue::PostsRevision.where("post_id = ?", post.id).order("monologue_posts_revisions.updated_at DESC").limit(1).first
|
39
|
+
end
|
40
|
+
end
|
data/db/seeds.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Monologue::User.create!({:
|
1
|
+
Monologue::User.create!({name: "Monologue", email: "monologue@example.com", password: "monologue", password_confirmation: "monologue"})
|
data/lib/monologue/engine.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
-
require "tinymce-rails"
|
2
1
|
require "truncate_html"
|
2
|
+
require "ckeditor"
|
3
|
+
require "select2-rails"
|
4
|
+
|
3
5
|
module Monologue
|
4
6
|
class Engine < Rails::Engine
|
5
7
|
isolate_namespace Monologue
|
8
|
+
engine_name 'monologue'
|
6
9
|
|
7
|
-
|
8
|
-
|
9
|
-
config.generators.test_framework :rspec, :view_specs => false, :fixture => false
|
10
|
-
config.generators.stylesheets false
|
10
|
+
config.generators.test_framework :rspec, view_specs: false, fixture: false
|
11
|
+
config.generators.stylesheets false
|
11
12
|
config.generators.fixture_replacement :factory_girl
|
12
13
|
config.generators.integration_tool :rspec
|
13
14
|
|
@@ -15,7 +16,6 @@ module Monologue
|
|
15
16
|
Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
|
16
17
|
end
|
17
18
|
|
18
|
-
|
19
19
|
ENGINE_ROOT = File.join(File.dirname(__FILE__), '../..')
|
20
20
|
require "#{ENGINE_ROOT}/deprecations"
|
21
21
|
end
|
data/lib/monologue/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
namespace :monologue do
|
2
2
|
namespace :cache do
|
3
3
|
desc "Completely wipe Monologue's cache"
|
4
|
-
task :
|
4
|
+
task wipe: :environment do
|
5
5
|
puts "********************************************************************************"
|
6
6
|
puts "********** Monologue, your blogging engine: rake edition ************"
|
7
7
|
puts "********************************************************************************"
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// Spanish localized datepicker for bootstrap
|
2
|
+
$.fn.datepicker.defaults_es = {
|
3
|
+
monthNames: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio",
|
4
|
+
"Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
|
5
|
+
shortDayNames: ["Dom", "Lun", "Mar", "Mie", "Jue", "Vie", "Sab"],
|
6
|
+
startOfWeek: 1
|
7
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
// Italian localized datepicker for bootstrap
|
2
|
+
$.fn.datepicker.defaults_it = {
|
3
|
+
monthNames: ["Gennaio", "Febbraio", "March", "Aprile", "Maggio", "Giugno",
|
4
|
+
"Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"]
|
5
|
+
, shortDayNames: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"]
|
6
|
+
, startOfWeek: 1
|
7
|
+
};
|
8
|
+
|
9
|
+
$.fn.datepicker.defaults_it_IT = $.fn.datepicker.defaults_it; // For italian locale
|
@@ -0,0 +1,9 @@
|
|
1
|
+
// Portuguese localized datepicker for bootstrap
|
2
|
+
$.fn.datepicker.defaults_pt = {
|
3
|
+
monthNames: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho",
|
4
|
+
"Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
5
|
+
shortDayNames: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"],
|
6
|
+
startOfWeek: 1
|
7
|
+
};
|
8
|
+
|
9
|
+
$.fn.datepicker.defaults_pt_BR = $.fn.datepicker.defaults_pt; // For brazilian-portuguese locale
|
metadata
CHANGED
@@ -1,116 +1,130 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monologue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jean-Philippe Boily | @jipiboily
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-09-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.1.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.1.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bcrypt-ruby
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: coffee-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
36
46
|
- !ruby/object:Gem::Version
|
37
47
|
version: '0'
|
38
48
|
type: :runtime
|
39
49
|
prerelease: false
|
40
50
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
51
|
requirements:
|
43
|
-
- -
|
52
|
+
- - '>='
|
44
53
|
- !ruby/object:Gem::Version
|
45
54
|
version: '0'
|
46
55
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
56
|
+
name: sass-rails
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
58
|
requirements:
|
51
|
-
- -
|
59
|
+
- - ~>
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version: 3.
|
61
|
+
version: 3.2.3
|
54
62
|
type: :runtime
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
65
|
requirements:
|
59
|
-
- -
|
66
|
+
- - ~>
|
60
67
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.
|
68
|
+
version: 3.2.3
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
70
|
+
name: truncate_html
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
|
-
- -
|
73
|
+
- - '>='
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: '0'
|
70
76
|
type: :runtime
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
|
-
- -
|
80
|
+
- - '>='
|
76
81
|
- !ruby/object:Gem::Version
|
77
82
|
version: '0'
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
84
|
+
name: jquery-rails
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- -
|
87
|
+
- - '>='
|
84
88
|
- !ruby/object:Gem::Version
|
85
89
|
version: '0'
|
86
90
|
type: :runtime
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- -
|
94
|
+
- - '>='
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
98
|
+
name: ckeditor
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- -
|
101
|
+
- - '>='
|
100
102
|
- !ruby/object:Gem::Version
|
101
103
|
version: '0'
|
102
104
|
type: :runtime
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- -
|
108
|
+
- - '>='
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: select2-rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 3.2.1
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.2.1
|
110
125
|
- !ruby/object:Gem::Dependency
|
111
126
|
name: rspec-rails
|
112
127
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
128
|
requirements:
|
115
129
|
- - ~>
|
116
130
|
- !ruby/object:Gem::Version
|
@@ -118,7 +132,6 @@ dependencies:
|
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
135
|
requirements:
|
123
136
|
- - ~>
|
124
137
|
- !ruby/object:Gem::Version
|
@@ -126,7 +139,6 @@ dependencies:
|
|
126
139
|
- !ruby/object:Gem::Dependency
|
127
140
|
name: factory_girl_rails
|
128
141
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
142
|
requirements:
|
131
143
|
- - ~>
|
132
144
|
- !ruby/object:Gem::Version
|
@@ -134,7 +146,6 @@ dependencies:
|
|
134
146
|
type: :development
|
135
147
|
prerelease: false
|
136
148
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
149
|
requirements:
|
139
150
|
- - ~>
|
140
151
|
- !ruby/object:Gem::Version
|
@@ -142,113 +153,99 @@ dependencies:
|
|
142
153
|
- !ruby/object:Gem::Dependency
|
143
154
|
name: capybara
|
144
155
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
156
|
requirements:
|
147
|
-
- -
|
157
|
+
- - ~>
|
148
158
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
159
|
+
version: 1.1.4
|
150
160
|
type: :development
|
151
161
|
prerelease: false
|
152
162
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
163
|
requirements:
|
155
|
-
- -
|
164
|
+
- - ~>
|
156
165
|
- !ruby/object:Gem::Version
|
157
|
-
version:
|
166
|
+
version: 1.1.4
|
158
167
|
- !ruby/object:Gem::Dependency
|
159
168
|
name: capybara-webkit
|
160
169
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
170
|
requirements:
|
163
|
-
- -
|
171
|
+
- - '>='
|
164
172
|
- !ruby/object:Gem::Version
|
165
173
|
version: '0'
|
166
174
|
type: :development
|
167
175
|
prerelease: false
|
168
176
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
177
|
requirements:
|
171
|
-
- -
|
178
|
+
- - '>='
|
172
179
|
- !ruby/object:Gem::Version
|
173
180
|
version: '0'
|
174
181
|
- !ruby/object:Gem::Dependency
|
175
182
|
name: shoulda
|
176
183
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
184
|
requirements:
|
179
|
-
- -
|
185
|
+
- - '>='
|
180
186
|
- !ruby/object:Gem::Version
|
181
187
|
version: '0'
|
182
188
|
type: :development
|
183
189
|
prerelease: false
|
184
190
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
191
|
requirements:
|
187
|
-
- -
|
192
|
+
- - '>='
|
188
193
|
- !ruby/object:Gem::Version
|
189
194
|
version: '0'
|
190
195
|
- !ruby/object:Gem::Dependency
|
191
196
|
name: guard-rspec
|
192
197
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
198
|
requirements:
|
195
|
-
- -
|
199
|
+
- - '>='
|
196
200
|
- !ruby/object:Gem::Version
|
197
201
|
version: '0'
|
198
202
|
type: :development
|
199
203
|
prerelease: false
|
200
204
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
205
|
requirements:
|
203
|
-
- -
|
206
|
+
- - '>='
|
204
207
|
- !ruby/object:Gem::Version
|
205
208
|
version: '0'
|
206
209
|
- !ruby/object:Gem::Dependency
|
207
210
|
name: database_cleaner
|
208
211
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
212
|
requirements:
|
211
|
-
- -
|
213
|
+
- - ~>
|
212
214
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
215
|
+
version: 0.9.1
|
214
216
|
type: :development
|
215
217
|
prerelease: false
|
216
218
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
219
|
requirements:
|
219
|
-
- -
|
220
|
+
- - ~>
|
220
221
|
- !ruby/object:Gem::Version
|
221
|
-
version:
|
222
|
+
version: 0.9.1
|
222
223
|
- !ruby/object:Gem::Dependency
|
223
224
|
name: mysql2
|
224
225
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
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
|
-
none: false
|
234
233
|
requirements:
|
235
|
-
- -
|
234
|
+
- - '>='
|
236
235
|
- !ruby/object:Gem::Version
|
237
236
|
version: '0'
|
238
237
|
- !ruby/object:Gem::Dependency
|
239
238
|
name: sqlite3
|
240
239
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
240
|
requirements:
|
243
|
-
- -
|
241
|
+
- - '>='
|
244
242
|
- !ruby/object:Gem::Version
|
245
243
|
version: '0'
|
246
244
|
type: :development
|
247
245
|
prerelease: false
|
248
246
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
247
|
requirements:
|
251
|
-
- -
|
248
|
+
- - '>='
|
252
249
|
- !ruby/object:Gem::Version
|
253
250
|
version: '0'
|
254
251
|
description: Monologue is a basic blogging engine. It is a Rails mountable engine
|
@@ -259,11 +256,14 @@ executables: []
|
|
259
256
|
extensions: []
|
260
257
|
extra_rdoc_files: []
|
261
258
|
files:
|
259
|
+
- app/assets/images/monologue/admin/select2.png
|
262
260
|
- app/assets/javascripts/monologue/admin/application.js
|
263
|
-
- app/assets/javascripts/monologue/admin/
|
261
|
+
- app/assets/javascripts/monologue/admin/ckeditor-config.js
|
262
|
+
- app/assets/javascripts/monologue/admin/posts.js
|
264
263
|
- app/assets/javascripts/monologue/blog/application.js
|
265
264
|
- app/assets/javascripts/monologue/blog/twitter.js.coffee
|
266
265
|
- app/assets/stylesheets/monologue/admin/application.css
|
266
|
+
- app/assets/stylesheets/monologue/admin/posts.sass
|
267
267
|
- app/assets/stylesheets/monologue/blog/application.css
|
268
268
|
- app/assets/stylesheets/monologue/blog/custom.css
|
269
269
|
- app/assets/stylesheets/monologue/blog/fonts.css
|
@@ -282,9 +282,9 @@ files:
|
|
282
282
|
- app/controllers/monologue/tags_controller.rb
|
283
283
|
- app/form_builders/monologue_admin_form_builder.rb
|
284
284
|
- app/helpers/monologue/application_helper.rb
|
285
|
+
- app/helpers/monologue/html_helper.rb
|
285
286
|
- app/helpers/monologue/tags_helper.rb
|
286
287
|
- app/models/monologue/post.rb
|
287
|
-
- app/models/monologue/posts_revision.rb
|
288
288
|
- app/models/monologue/tag.rb
|
289
289
|
- app/models/monologue/tagging.rb
|
290
290
|
- app/models/monologue/user.rb
|
@@ -313,11 +313,14 @@ files:
|
|
313
313
|
- app/views/monologue/admin/posts/index.html.erb
|
314
314
|
- app/views/monologue/admin/posts/new.html.erb
|
315
315
|
- app/views/monologue/admin/sessions/new.html.erb
|
316
|
+
- app/views/monologue/admin/users/_form.html.erb
|
316
317
|
- app/views/monologue/admin/users/edit.html.erb
|
318
|
+
- app/views/monologue/admin/users/index.html.erb
|
319
|
+
- app/views/monologue/admin/users/new.html.erb
|
317
320
|
- app/views/monologue/posts/404.html.erb
|
318
321
|
- app/views/monologue/posts/_pagination.html.erb
|
319
322
|
- app/views/monologue/posts/_post.html.erb
|
320
|
-
- app/views/monologue/posts/
|
323
|
+
- app/views/monologue/posts/_post_header.html.erb
|
321
324
|
- app/views/monologue/posts/_social_sharing.html.erb
|
322
325
|
- app/views/monologue/posts/feed.rss.builder
|
323
326
|
- app/views/monologue/posts/index.html.erb
|
@@ -329,7 +332,10 @@ files:
|
|
329
332
|
- app/views/monologue/tags/_tag.html.erb
|
330
333
|
- app/views/monologue/tags/show.html.erb
|
331
334
|
- config/locales/en.yml
|
335
|
+
- config/locales/es.yml
|
332
336
|
- config/locales/fr.yml
|
337
|
+
- config/locales/it.yml
|
338
|
+
- config/locales/pt.yml
|
333
339
|
- config/locales/ro.yml
|
334
340
|
- config/routes.rb
|
335
341
|
- db/migrate/20120114001001_create_monologue_users.rb
|
@@ -343,6 +349,8 @@ files:
|
|
343
349
|
- db/migrate/20120612013442_create_taggings.rb
|
344
350
|
- db/migrate/20120612015727_delete_join_posts_tags.rb
|
345
351
|
- db/migrate/20120612020023_add_index_to_tag_name.rb
|
352
|
+
- db/migrate/20130108123111_move_user_id_to_post.rb
|
353
|
+
- db/migrate/20130509015400_merge_revisions_into_posts.rb
|
346
354
|
- db/seeds.rb
|
347
355
|
- lib/monologue/engine.rb
|
348
356
|
- lib/monologue/version.rb
|
@@ -354,7 +362,10 @@ files:
|
|
354
362
|
- vendor/assets/fonts/monologue/foundation_icons/social_foundicons.woff
|
355
363
|
- vendor/assets/images/monologue/bootstrap/glyphicons-halflings-white.png
|
356
364
|
- vendor/assets/images/monologue/bootstrap/glyphicons-halflings.png
|
365
|
+
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-es.js
|
357
366
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-fr.js
|
367
|
+
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-it.js
|
368
|
+
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker-pt.js
|
358
369
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap-datepicker.js
|
359
370
|
- vendor/assets/javascripts/monologue/bootstrap/bootstrap.min.js
|
360
371
|
- vendor/assets/stylesheets/monologue/bootstrap/bootstrap-datepicker.css
|
@@ -367,27 +378,26 @@ files:
|
|
367
378
|
- deprecations.rb
|
368
379
|
homepage: http://github.com/jipiboily/monologue
|
369
380
|
licenses: []
|
381
|
+
metadata: {}
|
370
382
|
post_install_message:
|
371
383
|
rdoc_options: []
|
372
384
|
require_paths:
|
373
385
|
- lib
|
374
386
|
required_ruby_version: !ruby/object:Gem::Requirement
|
375
|
-
none: false
|
376
387
|
requirements:
|
377
|
-
- -
|
388
|
+
- - '>='
|
378
389
|
- !ruby/object:Gem::Version
|
379
390
|
version: '0'
|
380
391
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
381
|
-
none: false
|
382
392
|
requirements:
|
383
|
-
- -
|
393
|
+
- - '>='
|
384
394
|
- !ruby/object:Gem::Version
|
385
395
|
version: '0'
|
386
396
|
requirements: []
|
387
397
|
rubyforge_project:
|
388
|
-
rubygems_version:
|
398
|
+
rubygems_version: 2.0.0
|
389
399
|
signing_key:
|
390
|
-
specification_version:
|
400
|
+
specification_version: 4
|
391
401
|
summary: Monologue is a basic blogging engine. It is a Rails mountable engine so it
|
392
402
|
can be mounted in any 3.1.X + apps
|
393
403
|
test_files: []
|