bloggy 0.0.9 → 0.1.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.
data/README.md
CHANGED
@@ -26,15 +26,15 @@ Once you run
|
|
26
26
|
|
27
27
|
you will find the folders you are used to for creating jekyll blog posts inside of the config/jekyll directory. There you can add add the same commands you are used to provided at the <a href="https://github.com/mojombo/jekyll/wiki/Configuration">Jekyll configuration page</a>, so now just configure to your liking. (edit the default.html inside of _layouts for your main page and the post.html and page.html files for the corresponding results).
|
28
28
|
|
29
|
-
|
29
|
+
I have provided a rake task to name and open your file in textmate as default but feel free to change it to use the editor of your choice. To use it just run
|
30
30
|
|
31
|
-
$
|
31
|
+
$ rake np post-title
|
32
32
|
|
33
|
-
|
33
|
+
Your posts will be served from the public/blog directory inside of your rails application. After you write a new blog post simply run
|
34
34
|
|
35
|
-
|
35
|
+
$ rake generate
|
36
36
|
|
37
|
-
|
37
|
+
And the new static files will be generated and ready to be re-deployed and served as static assets by your server!
|
38
38
|
|
39
39
|
Some changes are sure to come as I explore and use this on my own, but for now I feel it is a good start and a step in the right direction for quickly and easily adding a blog to your application while keeping costs low. If you have questions or would just like to get in touch you can do so by <a href="http://zachbruhnke.com/contact">contacting me here</a>. Thanks for trying out Bloggy and please feel free to fork and contribute!
|
40
40
|
|
data/lib/bloggy/version.rb
CHANGED
@@ -12,6 +12,7 @@ class Jekyll::BlogGenerator < Rails::Generators::NamedBase
|
|
12
12
|
copy_file 'config/jekyll/css/screen.css', 'config/jekyll/css/screen.css'
|
13
13
|
copy_file 'config/jekyll/css/syntax.css', 'config/jekyll/css/syntax.css'
|
14
14
|
copy_file 'config/jekyll/tasks/new_post.rake', 'lib/tasks/new_post.rake'
|
15
|
+
copy_file 'config/jekyll/tasks/gen.rake', 'lib/tasks/gen.rake'
|
15
16
|
end
|
16
17
|
|
17
18
|
def create_blog source = 'config/jekyll', destination = 'public/blog'
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bloggy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -238,6 +238,7 @@ files:
|
|
238
238
|
- lib/generators/jekyll/.DS_Store
|
239
239
|
- lib/generators/jekyll/blog/USAGE
|
240
240
|
- lib/generators/jekyll/blog/blog_generator.rb
|
241
|
+
- lib/generators/jekyll/blog/templates/.DS_Store
|
241
242
|
- lib/generators/jekyll/blog/templates/config/jekyll/_config.yml.tt
|
242
243
|
- lib/generators/jekyll/blog/templates/config/jekyll/_layouts/default.html.tt
|
243
244
|
- lib/generators/jekyll/blog/templates/config/jekyll/_layouts/page.html.tt
|
@@ -247,6 +248,7 @@ files:
|
|
247
248
|
- lib/generators/jekyll/blog/templates/config/jekyll/css/screen.css
|
248
249
|
- lib/generators/jekyll/blog/templates/config/jekyll/css/syntax.css
|
249
250
|
- lib/generators/jekyll/blog/templates/config/jekyll/index.html.tt
|
251
|
+
- lib/generators/jekyll/blog/templates/config/jekyll/tasks/gen.rake
|
250
252
|
- lib/generators/jekyll/blog/templates/config/jekyll/tasks/new_post.rake
|
251
253
|
- test/helper.rb
|
252
254
|
- test/test_generate_blog.rb
|