guard-jekyll 1.3.0 → 1.4.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.
@@ -1,6 +1,6 @@
1
1
  # Guard::Jekyll
2
2
 
3
- This is a guard for [jekyll](http://jekyllrb.com/).
3
+ Guard::Jekyll automatically rebuilds websites with the [Jekyll static site generator](http://jekyllrb.com/) every time files are modified.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,20 +18,25 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- Enter the jekyll site directory for which you want to use Guard::Jekyll. Create a Guardfile using `guard init`:
21
+ Enter the Jekyll site directory for which you want to use Guard::Jekyll. Create a Guardfile using:
22
22
 
23
23
  $ guard init jekyll
24
24
 
25
- Execute guard:
25
+ Then execute:
26
26
 
27
27
  $ guard
28
28
 
29
- Whenever you change a file in the jekyll site directory now, the site will be rebuilt!
29
+ Whenever you change a file in the Jekyll site directory now, the site will be rebuilt!
30
30
 
31
31
  ## Options
32
- * `:source` the source directory which jekyll reads files from (default `'./'`)
33
- * `:destination` the directory where Jekyll will write files to (default is `'./_site'`)
34
- * `:config` array of configuration files which jekyll will read (default `['./_config.yml']`)
32
+
33
+ You can provide these options to Guard::Jekyll:
34
+
35
+ * `:source` the source directory which Jekyll reads files from.
36
+ * `:destination` the directory where Jekyll will write files to.
37
+ * `:config` array of configuration files for Jekyll.
38
+
39
+ Without options, Jekyll will use its built-in defaults.
35
40
 
36
41
  ## License
37
42
 
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["David Haslem"]
10
10
  s.email = ["therabidbanana@gmail.com"]
11
11
  s.homepage = "http://davidhaslem.com"
12
- s.summary = %q{guard file for jekyll}
13
- s.description = %q{guard file for jekyll}
12
+ s.summary = "Guard gem for Jekyll."
13
+ s.description = "Guard::Jekyll automatically rebuilds websites with the Jekyll static site generator."
14
14
 
15
15
  s.rubyforge_project = "guard-jekyll"
16
16
 
@@ -5,16 +5,6 @@ require 'jekyll'
5
5
 
6
6
  module Guard
7
7
  class Jekyll < Guard
8
- def initialize(watchers = [], options = {})
9
- defaults = {
10
- :source => './',
11
- :destination => './_site',
12
- :config => ['_config.yml'],
13
- }
14
-
15
- super(watchers, defaults.merge(options))
16
- end
17
-
18
8
  def start
19
9
  UI.info 'Guard::Jekyll is watching for file changes'
20
10
  rebuild
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module JekyllVersion
3
- VERSION = '1.3.0'
3
+ VERSION = '1.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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: 2013-05-23 00:00:00.000000000 Z
12
+ date: 2013-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
@@ -43,7 +43,8 @@ dependencies:
43
43
  none: false
44
44
  type: :runtime
45
45
  prerelease: false
46
- description: guard file for jekyll
46
+ description: Guard::Jekyll automatically rebuilds websites with the Jekyll static
47
+ site generator.
47
48
  email:
48
49
  - therabidbanana@gmail.com
49
50
  executables: []
@@ -80,5 +81,5 @@ rubyforge_project: guard-jekyll
80
81
  rubygems_version: 1.8.25
81
82
  signing_key:
82
83
  specification_version: 3
83
- summary: guard file for jekyll
84
+ summary: Guard gem for Jekyll.
84
85
  test_files: []