octoprosing 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -8,7 +8,9 @@ Octoprosing provides a quick way to implement a 'Fork me' button to your posts.
8
8
 
9
9
  Add this line to your Octopress blog's Gemfile:
10
10
 
11
- gem 'octoprosing'
11
+ group :development
12
+ gem 'octoprosing'
13
+ end
12
14
 
13
15
  And then execute:
14
16
 
@@ -24,10 +26,11 @@ Add the following configuration to your '_config.yml':
24
26
  github_repo: user/repo
25
27
  github_branch: branch # it's usually 'source' if you deploy to github pages
26
28
 
27
- And then copy the default include file
29
+ And then copy the default include file and the loader plugin
28
30
 
29
31
  $ cd your/blog/root/path
30
32
  $ curl https://raw.github.com/juniorz/octoprosing/master/includes/fork_me.html -o source/_includes/fork_me.html
33
+ $ curl https://raw.github.com/juniorz/octoprosing/master/includes/octoprosing.rb -o plugins/octoprosing.rb
31
34
 
32
35
  Finally, add the include wherever you want to display the 'Fork me' link.
33
36
  I've added it to `source/_includes/article.html`, just after the post's date:
@@ -0,0 +1,2 @@
1
+ # the gem has to be required from inside a plugin
2
+ require 'octoprosing'
@@ -1,3 +1,3 @@
1
1
  module Octoprosing
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octoprosing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -40,6 +40,7 @@ files:
40
40
  - README.md
41
41
  - Rakefile
42
42
  - includes/fork_me.html
43
+ - includes/octoprosing.rb
43
44
  - lib/octoprosing.rb
44
45
  - lib/octoprosing/post.rb
45
46
  - lib/octoprosing/version.rb