guard-nanoc 2.1.8 → 2.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6679df87e78b79d78396ad0c002b41b882625a4a83415d37b114783e2ea98c4
4
- data.tar.gz: 96120c4ef6548b7f3b0efa7a3899a6c9dcaa2fa165cb3450cdcfc678bcb89522
3
+ metadata.gz: 451ac3dd4cf2a2f6ea0df261f16b20a7c4fb5a18211676807a6698ad49cccc15
4
+ data.tar.gz: af60d51eab61dc4cbccf622303c9c8cd72428726dba2ff3cc4e9bbdee2293fbe
5
5
  SHA512:
6
- metadata.gz: ad13e7ec7bc29796e34c330472a09f1ac35d7bd90076c8b48de8796866e0fdc2c26affe39847ac1dfca35fea771e07ade9e36e2785b636cd400e61e001b9f92c
7
- data.tar.gz: 13674f766409963d3a59348fbb98aa16361caa7e95d341959503d3932eed33e47db00088434abf11c9081f9ae56c7691ac5900ff3a04917792f2f269e6528e57
6
+ metadata.gz: 8dfac7e41aeb308c2cefe4a09f2d0c5529adf97816ba4026bc9f4cdd072cda36a1b7fcbcb5c3e866f9007d89bea73f9a9899909941da0b52742f267d7607d36f
7
+ data.tar.gz: 2b8a5228daf3c71775ef5b7ba8282ae7d2a4c0221278a04cdb2002462ff1e068bafb1c69d8d2c4c619e902146b11e446722fe2ee81377eb32ee9ee8424dd7e3e
data/NEWS.md CHANGED
@@ -1,41 +1,45 @@
1
1
  # guard-nanoc Release Notes
2
2
 
3
+ ## 2.1.9 (2020-03-08)
4
+
5
+ - Fixed an incompatibility with Nanoc 4.11.15.
6
+
3
7
  ## 2.1.8 (2020-03-07)
4
8
 
5
- * Fixed an incompatibility with Nanoc 4.11.14.
9
+ - Fixed an incompatibility with Nanoc 4.11.14.
6
10
 
7
11
  ## 2.1.7 (2019-11-16)
8
12
 
9
- * Fixed an incompatibility with Nanoc 4.11.13.
13
+ - Fixed an incompatibility with Nanoc 4.11.13.
10
14
 
11
15
  ## 2.1.6 (2019-02-16)
12
16
 
13
- * Fixed another incompatibility with Nanoc 4.11.1.
17
+ - Fixed another incompatibility with Nanoc 4.11.1.
14
18
 
15
19
  ## 2.1.5 (2019-02-14)
16
20
 
17
- * Fixed an incompatibility with Nanoc 4.11.1.
21
+ - Fixed an incompatibility with Nanoc 4.11.1.
18
22
 
19
23
  ## 2.1.4 (2018-09-15)
20
24
 
21
- * Fixed issue which caused `--host` and `--port` options to be mandatory.
25
+ - Fixed issue which caused `--host` and `--port` options to be mandatory.
22
26
 
23
27
  ## 2.1.3 (2018-07-28)
24
28
 
25
- * Added missing --live-reload option, passed through to `nanoc view` (#38, #39)
29
+ - Added missing --live-reload option, passed through to `nanoc view` (#38, #39)
26
30
 
27
31
  ## 2.1.2 (2017-03-19)
28
32
 
29
- * Fixed compatibility with Nanoc 4.7.1
33
+ - Fixed compatibility with Nanoc 4.7.1
30
34
 
31
35
  ## 2.1.1 (2016-11-18)
32
36
 
33
- * Fixed compatibility with Nanoc 4.3.8 (#32)
34
- * Fixed issue which would cause “constants redefined” warnings to be printed (#26, #34)
37
+ - Fixed compatibility with Nanoc 4.3.8 (#32)
38
+ - Fixed issue which would cause “constants redefined” warnings to be printed (#26, #34)
35
39
 
36
40
  ## 2.1.0 (2016-08-21)
37
41
 
38
- * Add `nanoc live` command, combining guard-nanoc with `nanoc view` [whitequark]
42
+ - Add `nanoc live` command, combining guard-nanoc with `nanoc view` [whitequark]
39
43
 
40
44
  ## 2.0.0 (2015-11-07)
41
45
 
@@ -43,19 +47,19 @@
43
47
 
44
48
  ## 2.0.0b1 (2015-06-21)
45
49
 
46
- * Added nanoc 4 compatibility
50
+ - Added nanoc 4 compatibility
47
51
 
48
52
  ## 1.0.3 (2014-11-16)
49
53
 
50
- * Fix guard 2.8 deprecation warning (guard/guard-nanoc#16)
54
+ - Fix guard 2.8 deprecation warning (guard/guard-nanoc#16)
51
55
 
52
56
  ## 1.0.2 (2013-11-27)
53
57
 
54
- * Made guard-nanoc honor autoprune settings
58
+ - Made guard-nanoc honor autoprune settings
55
59
 
56
60
  ## 1.0.1 (2013-05-15)
57
61
 
58
- * Added dependencies on `guard` and `nanoc`
62
+ - Added dependencies on `guard` and `nanoc`
59
63
 
60
64
  ## 1.0.0 (2013-04-28)
61
65
 
@@ -10,7 +10,7 @@ EOS
10
10
 
11
11
  required :H, :handler, 'specify the handler to use (webrick/mongrel/...)'
12
12
  required :o, :host, 'specify the host to listen on (default: 0.0.0.0)', default: '127.0.0.1'
13
- required :p, :port, 'specify the port to listen on (default: 3000)', transform: Nanoc::CLI::Transform::Port, default: 3000
13
+ required :p, :port, 'specify the port to listen on (default: 3000)', transform: ::Nanoc::CLI::Transform::Port, default: 3000
14
14
  flag :L, :'live-reload', 'reload on changes'
15
15
 
16
16
  module Guard
@@ -33,13 +33,15 @@ module Guard
33
33
  end
34
34
 
35
35
  Thread.new do
36
+ break if ENV['__NANOC_DEV_LIVE_DISABLE_VIEW']
37
+
36
38
  # Crash the entire process if the viewer dies for some reason (e.g.
37
39
  # the port is already bound).
38
40
  Thread.current.abort_on_exception = true
39
- Nanoc::CLI::Commands::View.new(options, arguments, command).run
41
+ ::Nanoc::CLI::Commands::View.new(options, arguments, command).run
40
42
  end
41
43
 
42
- Guard.start(no_interactions: true)
44
+ ::Guard.start(no_interactions: true)
43
45
  end
44
46
  end
45
47
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Guard
4
- GUARD_NANOC_VERSION = '2.1.8'
4
+ GUARD_NANOC_VERSION = '2.1.9'
5
5
  end
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.8
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-07 00:00:00.000000000 Z
11
+ date: 2020-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard