guard-nanoc 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +36 -19
- data/NEWS.md +5 -0
- data/README.md +2 -6
- data/guard-nanoc.gemspec +2 -2
- data/lib/guard/nanoc.rb +3 -3
- data/lib/guard/nanoc/version.rb +1 -1
- metadata +17 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bb5715fca6096f932de92a0c23e43dc721494bb0
|
4
|
+
data.tar.gz: 6e7f60566cfe10fc6420e5a7ed3075977824c285
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ef3e45a2084624e42b2c5588b68e30c7dcbd78826ebf7a46e5a360d44f94acda250b410f6493332538690145b8955833139884e83de46051226e9606cb6efb2c
|
7
|
+
data.tar.gz: 0c57a4b50e59455a0d15e0c56a89a2a5862512e7199d23b143792046efa4a478292f337e2e3b20f8190cb4b97002665c241c06b9b8129b36059c2bbb912dd6e4
|
data/Gemfile.lock
CHANGED
@@ -1,35 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
guard-nanoc (
|
4
|
+
guard-nanoc (1.0.2)
|
5
|
+
guard (>= 1.8.0)
|
6
|
+
nanoc (>= 3.6.3)
|
5
7
|
|
6
8
|
GEM
|
7
9
|
remote: https://rubygems.org/
|
8
10
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
11
|
+
celluloid (0.16.0)
|
12
|
+
timers (~> 4.0.0)
|
13
|
+
coderay (1.1.0)
|
14
|
+
colored (1.2)
|
15
|
+
cri (2.6.1)
|
16
|
+
colored (~> 1.2)
|
17
|
+
ffi (1.9.6)
|
18
|
+
formatador (0.2.5)
|
19
|
+
guard (2.8.2)
|
12
20
|
formatador (>= 0.2.4)
|
13
|
-
listen (
|
14
|
-
lumberjack (
|
15
|
-
pry (>= 0.9.
|
16
|
-
thor (>= 0.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
listen (~> 2.7)
|
22
|
+
lumberjack (~> 1.0)
|
23
|
+
pry (>= 0.9.12)
|
24
|
+
thor (>= 0.18.1)
|
25
|
+
hitimes (1.2.2)
|
26
|
+
listen (2.8.0)
|
27
|
+
celluloid (>= 0.15.2)
|
28
|
+
rb-fsevent (>= 0.9.3)
|
29
|
+
rb-inotify (>= 0.9)
|
30
|
+
lumberjack (1.0.9)
|
31
|
+
method_source (0.8.2)
|
32
|
+
nanoc (3.7.3)
|
33
|
+
cri (~> 2.3)
|
34
|
+
pry (0.10.1)
|
35
|
+
coderay (~> 1.1.0)
|
36
|
+
method_source (~> 0.8.1)
|
23
37
|
slop (~> 3.4)
|
24
|
-
|
25
|
-
|
26
|
-
|
38
|
+
rb-fsevent (0.9.4)
|
39
|
+
rb-inotify (0.9.5)
|
40
|
+
ffi (>= 0.5.0)
|
41
|
+
slop (3.6.0)
|
42
|
+
thor (0.19.1)
|
43
|
+
timers (4.0.1)
|
44
|
+
hitimes
|
27
45
|
|
28
46
|
PLATFORMS
|
29
47
|
ruby
|
30
48
|
|
31
49
|
DEPENDENCIES
|
32
|
-
bundler (~> 1.3)
|
33
50
|
guard
|
34
51
|
guard-nanoc!
|
35
|
-
|
52
|
+
nanoc
|
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -14,18 +14,14 @@ And then execute:
|
|
14
14
|
|
15
15
|
$ bundle
|
16
16
|
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install guard-nanoc
|
20
|
-
|
21
17
|
## Usage
|
22
18
|
|
23
19
|
Enter the nanoc site directory for which you want to use Guard::Nanoc. Create a Guardfile using `guard init`:
|
24
20
|
|
25
|
-
$ guard init nanoc
|
21
|
+
$ bundle exec guard init nanoc
|
26
22
|
|
27
23
|
Execute guard:
|
28
24
|
|
29
|
-
$ guard
|
25
|
+
$ bundle exec guard
|
30
26
|
|
31
27
|
Whenever you change a file in the nanoc site directory now, the site will be recompiled!
|
data/guard-nanoc.gemspec
CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.author = 'Denis Defreyne'
|
15
15
|
s.email = 'denis.defreyne@stoneship.org'
|
16
16
|
|
17
|
-
s.add_dependency 'guard', '
|
18
|
-
s.add_dependency 'nanoc', '
|
17
|
+
s.add_dependency 'guard', '~> 2.8'
|
18
|
+
s.add_dependency 'nanoc', '~> 3.6'
|
19
19
|
|
20
20
|
s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + [ 'guard-nanoc.gemspec' ]
|
21
21
|
s.require_paths = [ 'lib' ]
|
data/lib/guard/nanoc.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
require 'guard'
|
4
|
-
require 'guard/
|
4
|
+
require 'guard/plugin'
|
5
5
|
|
6
6
|
require 'nanoc'
|
7
7
|
require 'nanoc/cli'
|
8
8
|
|
9
9
|
module Guard
|
10
10
|
|
11
|
-
class Nanoc <
|
11
|
+
class Nanoc < Plugin
|
12
12
|
|
13
|
-
def initialize(
|
13
|
+
def initialize(options={})
|
14
14
|
@dir = options[:dir] || '.'
|
15
15
|
super
|
16
16
|
end
|
data/lib/guard/nanoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,48 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-nanoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Denis Defreyne
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-16 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: guard
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: '2.8'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: '2.8'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: nanoc
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 3.6
|
33
|
+
version: '3.6'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.6
|
40
|
+
version: '3.6'
|
46
41
|
description: Automatically rebuilds nanoc sites
|
47
42
|
email: denis.defreyne@stoneship.org
|
48
43
|
executables: []
|
@@ -54,34 +49,33 @@ files:
|
|
54
49
|
- LICENSE
|
55
50
|
- NEWS.md
|
56
51
|
- README.md
|
52
|
+
- guard-nanoc.gemspec
|
53
|
+
- lib/guard/nanoc.rb
|
57
54
|
- lib/guard/nanoc/templates/Guardfile
|
58
55
|
- lib/guard/nanoc/version.rb
|
59
|
-
- lib/guard/nanoc.rb
|
60
|
-
- guard-nanoc.gemspec
|
61
56
|
homepage: http://nanoc.ws/
|
62
57
|
licenses:
|
63
58
|
- MIT
|
59
|
+
metadata: {}
|
64
60
|
post_install_message:
|
65
61
|
rdoc_options: []
|
66
62
|
require_paths:
|
67
63
|
- lib
|
68
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
65
|
requirements:
|
71
|
-
- -
|
66
|
+
- - ">="
|
72
67
|
- !ruby/object:Gem::Version
|
73
68
|
version: '0'
|
74
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
70
|
requirements:
|
77
|
-
- -
|
71
|
+
- - ">="
|
78
72
|
- !ruby/object:Gem::Version
|
79
73
|
version: '0'
|
80
74
|
requirements: []
|
81
75
|
rubyforge_project:
|
82
|
-
rubygems_version:
|
76
|
+
rubygems_version: 2.2.2
|
83
77
|
signing_key:
|
84
|
-
specification_version:
|
78
|
+
specification_version: 4
|
85
79
|
summary: guard gem for nanoc
|
86
80
|
test_files: []
|
87
81
|
has_rdoc:
|