proclaim 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/generators/proclaim/templates/initialize_proclaim.rb +3 -0
- data/lib/proclaim.rb +3 -3
- data/lib/proclaim/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0fa65204bd314dae948730f9a98faa94967d29f
|
4
|
+
data.tar.gz: fd5c1946614f5e5b5252a762e500d4d6d7118eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9b5098b7ede9acedb336fcb367af05dd553088d9b7fb056754d4c27a8339aaf334c090c7f7209fab696c751e099c8fd833779a20466aaa40571c2a5fc019d25
|
7
|
+
data.tar.gz: ff2b49ba432b3a00a092cc33eea9d9a0fcf9f08115cfb21156f3554fa15eb3951f3a3530f797abb758ae0e5d49e3f668d15b542f093193d6a2c4c149a63d4d39
|
data/CHANGELOG
CHANGED
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -19,4 +19,7 @@ Proclaim.setup do |config|
|
|
19
19
|
|
20
20
|
# Maximum length for the excerpts shown on the posts index.
|
21
21
|
#excerpt_length = 500
|
22
|
+
|
23
|
+
# Buttons to display on post editor toolbar
|
24
|
+
#editor_toolbar_buttons = ['bold', 'italic', 'underline', 'anchor', 'header1', 'header2', 'quote']
|
22
25
|
end
|
data/lib/proclaim.rb
CHANGED
@@ -4,12 +4,12 @@ module Proclaim
|
|
4
4
|
mattr_accessor :author_class
|
5
5
|
@@author_class = "User"
|
6
6
|
|
7
|
-
mattr_accessor :current_author_method
|
8
|
-
@@current_author_method = "current_#{@@author_class.underscore}".to_sym
|
9
|
-
|
10
7
|
mattr_accessor :author_name_method
|
11
8
|
@@author_name_method = :name
|
12
9
|
|
10
|
+
mattr_accessor :current_author_method
|
11
|
+
@@current_author_method = "current_#{@@author_class.underscore}".to_sym
|
12
|
+
|
13
13
|
mattr_accessor :authentication_method
|
14
14
|
@@authentication_method = "authenticate_#{@@author_class.underscore}!".to_sym
|
15
15
|
|
data/lib/proclaim/version.rb
CHANGED