nanoc-live 1.0.0b2 → 1.0.0b3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/nanoc/live.rb +1 -1
- data/lib/nanoc/live/commands/live.rb +3 -2
- data/lib/nanoc/live/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cafa811f404fc8772b0d9faed2907a99bed79ea29ba6f5f354479dc9b1978932
|
4
|
+
data.tar.gz: fb571c350d1cb543cdc619d46286d88bbcdb0109f8ce017f7ea33544d61d2f07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4308441f29516baeb5b0e2df88d9728b3eaf0423211484cc458dd71d79df39000989567616eb63e3f4c86f899b3cf9f3d520facb407a310a8aea652c11ff51c
|
7
|
+
data.tar.gz: 975884fc354f8b5d80fb7df6a041ede16c8d8290393375c84c5d8c807ca331e3810e83851fbd8e4ae81c54ff3df088292cfb5d4fe270fe54d960788aaaf8ef14
|
data/NEWS.md
CHANGED
data/lib/nanoc/live.rb
CHANGED
@@ -16,5 +16,5 @@ require_relative 'live/live_recompiler'
|
|
16
16
|
Nanoc::CLI.after_setup do
|
17
17
|
root = File.dirname(__FILE__)
|
18
18
|
live_command_path = File.join(root, 'live', 'commands', 'live.rb')
|
19
|
-
Nanoc::CLI.add_command(
|
19
|
+
Nanoc::CLI.add_command(Cri::Command.load_file(live_command_path, infer_name: true))
|
20
20
|
end
|
@@ -9,8 +9,9 @@ description <<~EOS
|
|
9
9
|
EOS
|
10
10
|
|
11
11
|
required :H, :handler, 'specify the handler to use (webrick/mongrel/...)'
|
12
|
-
required :o, :host, 'specify the host to listen on (default: 127.0.0.1)'
|
13
|
-
required :p, :port, 'specify the port to listen on (default: 3000)'
|
12
|
+
required :o, :host, 'specify the host to listen on (default: 127.0.0.1)', default: '127.0.0.1'
|
13
|
+
required :p, :port, 'specify the port to listen on (default: 3000)', transform: Nanoc::CLI::Transform::Port, default: 3000
|
14
|
+
no_params
|
14
15
|
|
15
16
|
module Nanoc::Live::Commands
|
16
17
|
class Live < ::Nanoc::CLI::CommandRunner
|
data/lib/nanoc/live/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0b3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adsf-live
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.13'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.13'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: listen
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|