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 +4 -4
- data/NEWS.md +6 -0
- data/lib/nanoc/live/live_recompiler.rb +3 -12
- data/lib/nanoc/live/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a36dc942329928d105b0d7e883eccfadcddb791486c892609ac77c3aef225482
|
4
|
+
data.tar.gz: 1eaeb5142e3e08307c25e249368aec4f6a4b42cdd887de6470f47706bc57f2cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1468703d2fe8b026ea5bc42ceba55204d167f040982cc7a80ac008c70407512adf48c82cc74cbf0e6441ac900a92949885a8c5d04f65fb690ad081cd79392c97
|
7
|
+
data.tar.gz: aa01b3273e3115f0aa0672ac6958eada7d1e21501f975d478dc516d6a3e95388039cc5fa02ff5fc56722d166caa76491d490c7da4381cc0852ec1cd5f5129e80
|
data/NEWS.md
CHANGED
@@ -109,12 +109,7 @@ module Nanoc
|
|
109
109
|
|
110
110
|
def gen_lib_changes
|
111
111
|
Nanoc::Core::ChangesStream.new do |cl|
|
112
|
-
|
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
|
-
|
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('.',
|
122
|
+
listener = Listen.to('.', only: only) { |*| cl.unknown }
|
132
123
|
listener.start
|
133
124
|
sleep
|
134
125
|
end
|
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.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-
|
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.
|
113
|
+
rubygems_version: 3.2.5
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Live recompilation support for Nanoc
|