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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7eeecefd3484786adc38e4655092c9443c33a5d438b21f10e19f7e51fd0d0b94
4
- data.tar.gz: 6a922e2bb7a34253643cca1467a47e0c0852d39cda2c6727cbad55ba5cb4e529
3
+ metadata.gz: cafa811f404fc8772b0d9faed2907a99bed79ea29ba6f5f354479dc9b1978932
4
+ data.tar.gz: fb571c350d1cb543cdc619d46286d88bbcdb0109f8ce017f7ea33544d61d2f07
5
5
  SHA512:
6
- metadata.gz: c373b0886e76fe4a1a9ecb1272bdfce89b53316750b211bf92381f5dab64fe819b6d85766c6f89cd70622f4b2954833f49a62573b5c4a0d1c5f04b27fb959c6e
7
- data.tar.gz: 799a48f914e42d48259f319e83c35485abc16e8bfa6c08d5edfddb202edd21812406e37df327e72a6b3ee8bc2bb5715691cfa5d82f0d63b7b6152a9baa76fb04
6
+ metadata.gz: e4308441f29516baeb5b0e2df88d9728b3eaf0423211484cc458dd71d79df39000989567616eb63e3f4c86f899b3cf9f3d520facb407a310a8aea652c11ff51c
7
+ data.tar.gz: 975884fc354f8b5d80fb7df6a041ede16c8d8290393375c84c5d8c807ca331e3810e83851fbd8e4ae81c54ff3df088292cfb5d4fe270fe54d960788aaaf8ef14
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release notes for nanoc-live
2
2
 
3
+ ## 1.0.0b3 (2018-08-31)
4
+
5
+ Fixes:
6
+
7
+ * Fixed issue which required all command-line options to be specified
8
+
3
9
  ## 1.0.0b2 (2018-06-10)
4
10
 
5
11
  Fixes:
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(Nanoc::CLI.load_command_at(live_command_path))
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Live
5
- VERSION = '1.0.0b2'
5
+ VERSION = '1.0.0b3'
6
6
  end
7
7
  end
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.0b2
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-06-10 00:00:00.000000000 Z
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