nanoc-live 1.0.0b4 → 1.0.0b5
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/live_recompiler.rb +5 -5
- 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: d82aefea83eadf92f24e9efa6415df3f254bb92531476c927feeeba51fde9f5e
|
4
|
+
data.tar.gz: c9b02ff923a7aaf90e89a523cfd1789755f49feb84300981828fab7273cbf24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33a969f03f9693ee9f1bb907d9d7c864ff994ebd5f07c7bfb4b1cc55d3cca6c60a144bf86d239c41057d9df5f6fc1319b11922d921e6ee053c511c90510e27ab
|
7
|
+
data.tar.gz: 2200627f081074bf6112352dae1d160cb60b1d38d20d21910f80a759ac30ebbf3cb1d3451b698ac70067c4110a13c140159b64558e965ae9403c1d50726f97e3
|
data/NEWS.md
CHANGED
data/lib/nanoc/live.rb
CHANGED
@@ -27,7 +27,7 @@ module Nanoc::Live
|
|
27
27
|
def run_child(pipe_write, pipe_read)
|
28
28
|
pipe_write.close
|
29
29
|
|
30
|
-
site = Nanoc::
|
30
|
+
site = Nanoc::Core::SiteLoader.new.new_from_cwd
|
31
31
|
changes_enum = gen_changes_for_child(site)
|
32
32
|
yield(site)
|
33
33
|
|
@@ -43,9 +43,9 @@ module Nanoc::Live
|
|
43
43
|
|
44
44
|
$stderr.print 'Reloading site… '
|
45
45
|
$stderr.flush
|
46
|
-
site_loader = Nanoc::
|
46
|
+
site_loader = Nanoc::Core::SiteLoader.new
|
47
47
|
site = Nanoc::Core::Site.new(
|
48
|
-
config: Nanoc::
|
48
|
+
config: Nanoc::Core::ConfigLoader.new.new_from_cwd,
|
49
49
|
data_source: site_loader.gen_data_source_for_config(site.config),
|
50
50
|
code_snippets: site.code_snippets,
|
51
51
|
)
|
@@ -91,8 +91,8 @@ module Nanoc::Live
|
|
91
91
|
time_before = Time.now
|
92
92
|
|
93
93
|
puts 'Compiling site…'
|
94
|
-
compiler = Nanoc::
|
95
|
-
listener = Nanoc::CLI::
|
94
|
+
compiler = Nanoc::Core::Compiler.new_for(site)
|
95
|
+
listener = Nanoc::CLI::CompileListeners::Aggregate.new(
|
96
96
|
command_runner: command_runner,
|
97
97
|
site: site,
|
98
98
|
compiler: compiler,
|
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.0b5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adsf-live
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: 1.3.1
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.0.
|
106
|
+
rubygems_version: 3.0.6
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Live recompilation support for Nanoc
|