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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1e6549a58e1a47ce579008b2d534d4094dfe7fe
4
- data.tar.gz: b4b007bbaffb2eb80fca51e5768900ba24bd3d3d
3
+ metadata.gz: b0fa65204bd314dae948730f9a98faa94967d29f
4
+ data.tar.gz: fd5c1946614f5e5b5252a762e500d4d6d7118eaf
5
5
  SHA512:
6
- metadata.gz: 1c79facd228f95e64482ddfb9b0e425059b459f98d239971f03a3608865ba06e198d0dfd09903c3d3bc8481114eed977fe2fda6a70e11e4e7fdd13c6e90ccbdf
7
- data.tar.gz: 1189d9a314ebe3a711bc98b1dd297ae57e25feaadba6722dd8fa1790a479ab8c46f93addc6b5061d33e2323b4dc941a29638af3393a4d864bcccd220ee6f9dc7
6
+ metadata.gz: e9b5098b7ede9acedb336fcb367af05dd553088d9b7fb056754d4c27a8339aaf334c090c7f7209fab696c751e099c8fd833779a20466aaa40571c2a5fc019d25
7
+ data.tar.gz: ff2b49ba432b3a00a092cc33eea9d9a0fcf9f08115cfb21156f3554fa15eb3951f3a3530f797abb758ae0e5d49e3f668d15b542f093193d6a2c4c149a63d4d39
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v 0.2.1
2
+ - Fixed out-of-date initializer template
3
+
1
4
  v 0.2.0
2
5
  - Added ability to alter the buttons shown on editor toolbar
3
6
  - Upgraded to Medium Editor 2.0.0
data/README.md CHANGED
@@ -28,7 +28,7 @@ scheme is given below.
28
28
  Proclaim 0.1 works with Rails 4.2 and on. Add it to your Gemfile with:
29
29
 
30
30
  ```ruby
31
- gem 'proclaim', "~> 0.2.0"
31
+ gem 'proclaim', "~> 0.2.1"
32
32
  ```
33
33
 
34
34
  Run `bundle install` to install it.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
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
 
@@ -1,3 +1,3 @@
1
1
  module Proclaim
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proclaim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fazzari