guard-nanoc 2.1.2 → 2.1.3
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.
- checksums.yaml +5 -5
- data/Gemfile.lock +47 -33
- data/NEWS.md +4 -0
- data/lib/guard/nanoc/version.rb +1 -1
- data/lib/guard/nanoc.rb +11 -0
- data/lib/guard-nanoc.rb +1 -8
- data/lib/nanoc/cli/commands/live.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1700f4953605169e5117c3e5778ba964ed98335d03607f2a47c397819e8df27c
|
|
4
|
+
data.tar.gz: 9d39a305c667bca2b9d94c6239222a0fcd12642ec33e5111ec546256327d3e79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e57cd0f405bf39c11199674c43c951280349f63a56b83790b7757a29069a9a822b962b382a367d8742659c0d66da65fcbf3e4c348c49d48b1501fd3e4215f7ea
|
|
7
|
+
data.tar.gz: 23827d41bcbba41b41101b9877990f34cafed69a5732d5af5738ded6411f76f7ada1a724fa7b98563bd9ff333b3bf6d674aee8e880b1d1f02299c527fa2272c1
|
data/Gemfile.lock
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
GIT
|
|
2
|
-
remote:
|
|
3
|
-
revision:
|
|
2
|
+
remote: git://github.com/nanoc/nanoc.git
|
|
3
|
+
revision: b122d9d7e21bb48af1ea91354717c01d6c45445a
|
|
4
4
|
specs:
|
|
5
|
-
nanoc (4.
|
|
6
|
-
|
|
5
|
+
nanoc (4.9.3)
|
|
6
|
+
addressable (~> 2.5)
|
|
7
|
+
cri (~> 2.8)
|
|
8
|
+
ddmemoize (~> 1.0)
|
|
9
|
+
ddmetrics (~> 1.0)
|
|
7
10
|
ddplugin (~> 1.0)
|
|
8
11
|
hamster (~> 3.0)
|
|
12
|
+
parallel (~> 1.12)
|
|
9
13
|
ref (~> 2.0)
|
|
14
|
+
slow_enumerator_tools (~> 1.0)
|
|
15
|
+
tomlrb (~> 1.2)
|
|
10
16
|
|
|
11
17
|
PATH
|
|
12
18
|
remote: .
|
|
@@ -19,19 +25,25 @@ PATH
|
|
|
19
25
|
GEM
|
|
20
26
|
remote: https://rubygems.org/
|
|
21
27
|
specs:
|
|
22
|
-
|
|
28
|
+
addressable (2.5.2)
|
|
29
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
30
|
+
coderay (1.1.2)
|
|
23
31
|
colored (1.2)
|
|
24
32
|
concurrent-ruby (1.0.5)
|
|
25
|
-
cri (2.
|
|
33
|
+
cri (2.10.1)
|
|
26
34
|
colored (~> 1.2)
|
|
27
|
-
|
|
35
|
+
ddmemoize (1.0.0)
|
|
36
|
+
ddmetrics (~> 1.0)
|
|
37
|
+
ref (~> 2.0)
|
|
38
|
+
ddmetrics (1.0.1)
|
|
39
|
+
ddplugin (1.0.2)
|
|
28
40
|
diff-lcs (1.3)
|
|
29
|
-
ffi (1.9.
|
|
41
|
+
ffi (1.9.25)
|
|
30
42
|
formatador (0.2.5)
|
|
31
|
-
guard (2.14.
|
|
43
|
+
guard (2.14.2)
|
|
32
44
|
formatador (>= 0.2.4)
|
|
33
45
|
listen (>= 2.7, < 4.0)
|
|
34
|
-
lumberjack (
|
|
46
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
35
47
|
nenv (~> 0.1)
|
|
36
48
|
notiffany (~> 0.0)
|
|
37
49
|
pry (>= 0.9.12)
|
|
@@ -44,38 +56,40 @@ GEM
|
|
|
44
56
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
45
57
|
rb-inotify (~> 0.9, >= 0.9.7)
|
|
46
58
|
ruby_dep (~> 1.2)
|
|
47
|
-
lumberjack (1.0.
|
|
48
|
-
method_source (0.
|
|
59
|
+
lumberjack (1.0.13)
|
|
60
|
+
method_source (0.9.0)
|
|
49
61
|
nenv (0.3.0)
|
|
50
62
|
notiffany (0.1.1)
|
|
51
63
|
nenv (~> 0.1)
|
|
52
64
|
shellany (~> 0.0)
|
|
53
|
-
|
|
65
|
+
parallel (1.12.1)
|
|
66
|
+
pry (0.11.3)
|
|
54
67
|
coderay (~> 1.1.0)
|
|
55
|
-
method_source (~> 0.
|
|
56
|
-
|
|
57
|
-
rake (12.
|
|
58
|
-
rb-fsevent (0.
|
|
59
|
-
rb-inotify (0.9.
|
|
60
|
-
ffi (>= 0.5.0)
|
|
68
|
+
method_source (~> 0.9.0)
|
|
69
|
+
public_suffix (3.0.2)
|
|
70
|
+
rake (12.3.1)
|
|
71
|
+
rb-fsevent (0.10.3)
|
|
72
|
+
rb-inotify (0.9.10)
|
|
73
|
+
ffi (>= 0.5.0, < 2)
|
|
61
74
|
ref (2.0.0)
|
|
62
|
-
rspec (3.
|
|
63
|
-
rspec-core (~> 3.
|
|
64
|
-
rspec-expectations (~> 3.
|
|
65
|
-
rspec-mocks (~> 3.
|
|
66
|
-
rspec-core (3.
|
|
67
|
-
rspec-support (~> 3.
|
|
68
|
-
rspec-expectations (3.
|
|
75
|
+
rspec (3.7.0)
|
|
76
|
+
rspec-core (~> 3.7.0)
|
|
77
|
+
rspec-expectations (~> 3.7.0)
|
|
78
|
+
rspec-mocks (~> 3.7.0)
|
|
79
|
+
rspec-core (3.7.1)
|
|
80
|
+
rspec-support (~> 3.7.0)
|
|
81
|
+
rspec-expectations (3.7.0)
|
|
69
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
70
|
-
rspec-support (~> 3.
|
|
71
|
-
rspec-mocks (3.
|
|
83
|
+
rspec-support (~> 3.7.0)
|
|
84
|
+
rspec-mocks (3.7.0)
|
|
72
85
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
73
|
-
rspec-support (~> 3.
|
|
74
|
-
rspec-support (3.
|
|
86
|
+
rspec-support (~> 3.7.0)
|
|
87
|
+
rspec-support (3.7.1)
|
|
75
88
|
ruby_dep (1.5.0)
|
|
76
89
|
shellany (0.0.1)
|
|
77
|
-
|
|
78
|
-
thor (0.
|
|
90
|
+
slow_enumerator_tools (1.1.0)
|
|
91
|
+
thor (0.20.0)
|
|
92
|
+
tomlrb (1.2.7)
|
|
79
93
|
|
|
80
94
|
PLATFORMS
|
|
81
95
|
ruby
|
|
@@ -87,4 +101,4 @@ DEPENDENCIES
|
|
|
87
101
|
rspec (~> 3.1)
|
|
88
102
|
|
|
89
103
|
BUNDLED WITH
|
|
90
|
-
1.
|
|
104
|
+
1.16.3
|
data/NEWS.md
CHANGED
data/lib/guard/nanoc/version.rb
CHANGED
data/lib/guard/nanoc.rb
CHANGED
|
@@ -7,6 +7,13 @@ require 'nanoc/cli'
|
|
|
7
7
|
|
|
8
8
|
module Guard
|
|
9
9
|
class Nanoc < Plugin
|
|
10
|
+
def self.live_cmd
|
|
11
|
+
@_live_cmd ||= begin
|
|
12
|
+
path = File.join(File.dirname(__FILE__), '..', 'nanoc', 'cli', 'commands', 'live.rb')
|
|
13
|
+
::Nanoc::CLI.load_command_at(path)
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
10
17
|
def initialize(options={})
|
|
11
18
|
@dir = options[:dir] || '.'
|
|
12
19
|
super
|
|
@@ -70,3 +77,7 @@ module Guard
|
|
|
70
77
|
end
|
|
71
78
|
end
|
|
72
79
|
end
|
|
80
|
+
|
|
81
|
+
::Nanoc::CLI.after_setup do
|
|
82
|
+
::Nanoc::CLI.add_command(Guard::Nanoc.live_cmd)
|
|
83
|
+
end
|
data/lib/guard-nanoc.rb
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
require 'nanoc'
|
|
2
|
-
require 'nanoc/cli'
|
|
3
|
-
|
|
4
|
-
Nanoc::CLI.after_setup do
|
|
5
|
-
live_command_path =
|
|
6
|
-
File.join(File.dirname(__FILE__), 'nanoc', 'cli', 'commands', 'live.rb')
|
|
7
|
-
Nanoc::CLI.add_command(Nanoc::CLI.load_command_at(live_command_path))
|
|
8
|
-
end
|
|
1
|
+
require 'guard/nanoc'
|
|
@@ -6,9 +6,10 @@ in the background (like `guard start` would). See the documentation of those
|
|
|
6
6
|
two commands for details. The options are forwarded to `nanoc view` only.
|
|
7
7
|
EOS
|
|
8
8
|
|
|
9
|
-
required :H, :handler,
|
|
10
|
-
required :o, :host,
|
|
11
|
-
required :p, :port,
|
|
9
|
+
required :H, :handler, 'specify the handler to use (webrick/mongrel/...)'
|
|
10
|
+
required :o, :host, 'specify the host to listen on (default: 0.0.0.0)'
|
|
11
|
+
required :p, :port, 'specify the port to listen on (default: 3000)'
|
|
12
|
+
flag :L, :'live-reload', 'reload on changes'
|
|
12
13
|
|
|
13
14
|
module Nanoc::CLI::Commands
|
|
14
15
|
class Live < ::Nanoc::CLI::CommandRunner
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guard-nanoc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Defreyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: guard
|
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
version: '0'
|
|
97
97
|
requirements: []
|
|
98
98
|
rubyforge_project:
|
|
99
|
-
rubygems_version: 2.
|
|
99
|
+
rubygems_version: 2.7.7
|
|
100
100
|
signing_key:
|
|
101
101
|
specification_version: 4
|
|
102
102
|
summary: guard gem for nanoc
|