nanoc-live 1.0.0b7 → 1.0.0b8

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: ed39aa6d7d31ffd01171db4357222032d8fb161758aece71e8bfacae6e6ad63a
4
- data.tar.gz: 30ce1774af9d2089e1d76ffa0eca24bfb0012e62a74ac6d42e08b95f4cb8452f
3
+ metadata.gz: a36dc942329928d105b0d7e883eccfadcddb791486c892609ac77c3aef225482
4
+ data.tar.gz: 1eaeb5142e3e08307c25e249368aec4f6a4b42cdd887de6470f47706bc57f2cd
5
5
  SHA512:
6
- metadata.gz: 46fdb4f00d54e38e55c7fe07eeb309eaba6c8cc76789acab42cd51d7f58666d1d71c6391999fae820f4f5ef50a0feb5974483e826273f51cb3b8b75490ae70dd
7
- data.tar.gz: 44e28065b1338e10e73c00697e05978bd1a49d7b59a5b15a32f728a8e877d6d91c6b140c7e4c9dfd432e9dba0ab2e3185510625d5084b075b8c6dc086fa50054
6
+ metadata.gz: 1468703d2fe8b026ea5bc42ceba55204d167f040982cc7a80ac008c70407512adf48c82cc74cbf0e6441ac900a92949885a8c5d04f65fb690ad081cd79392c97
7
+ data.tar.gz: aa01b3273e3115f0aa0672ac6958eada7d1e21501f975d478dc516d6a3e95388039cc5fa02ff5fc56722d166caa76491d490c7da4381cc0852ec1cd5f5129e80
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release notes for nanoc-live
2
2
 
3
+ ## 1.0.0b8 (2021-01-16)
4
+
5
+ Fixes:
6
+
7
+ - Fixed issue which could cause nanoc-live to keep running and use 100% CPU (#1538)
8
+
3
9
  ## 1.0.0b7 (2021-01-01)
4
10
 
5
11
  Enhancements:
@@ -109,12 +109,7 @@ module Nanoc
109
109
 
110
110
  def gen_lib_changes
111
111
  Nanoc::Core::ChangesStream.new do |cl|
112
- opts = {
113
- latency: 0.1,
114
- wait_for_delay: 0.0,
115
- }
116
-
117
- listener = Listen.to('lib', opts) { |*| cl.lib }
112
+ listener = Listen.to('lib') { |*| cl.lib }
118
113
  listener.start
119
114
  sleep
120
115
  end
@@ -122,13 +117,9 @@ module Nanoc
122
117
 
123
118
  def gen_config_and_rules_changes
124
119
  Nanoc::Core::ChangesStream.new do |cl|
125
- opts = {
126
- only: /(\/|\A)(nanoc\.yaml|config\.yaml|rules|Rules|rules\.rb|Rules\.rb)\z/,
127
- latency: 0.1,
128
- wait_for_delay: 0.0,
129
- }
120
+ only = /(\/|\A)(nanoc\.yaml|config\.yaml|rules|Rules|rules\.rb|Rules\.rb)\z/
130
121
 
131
- listener = Listen.to('.', opts) { |*| cl.unknown }
122
+ listener = Listen.to('.', only: only) { |*| cl.unknown }
132
123
  listener.start
133
124
  sleep
134
125
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Live
5
- VERSION = '1.0.0b7'
5
+ VERSION = '1.0.0b8'
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.0b7
4
+ version: 1.0.0b8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-01 00:00:00.000000000 Z
11
+ date: 2021-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adsf-live
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: 1.3.1
112
112
  requirements: []
113
- rubygems_version: 3.2.4
113
+ rubygems_version: 3.2.5
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Live recompilation support for Nanoc