guard-nanoc 2.1.4 → 2.1.5

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: 3c321c9e9cc34ed667d509ac02ecdce2b9fdc28312a8cf67cad862f94cec8bc2
4
- data.tar.gz: 4798536e319a6f9d0f13366a08f6866011e49f6af5782adda8171c2fe9163fc8
3
+ metadata.gz: 15b2c026780601a163282e8b9e8692ca25783fc85748e93acda25d05982a14d1
4
+ data.tar.gz: 127a95198717ba445c91a41e5af7a17e03c88b7d4c3f8867269802ddac70781b
5
5
  SHA512:
6
- metadata.gz: 68396146a2cf597e93b548063d8240381b2be3709e3609bd8b34a88593d8dd5e09175b26b2f3660d25b9b7dc17e9145871a1606009b6aee38628256063fd9a29
7
- data.tar.gz: df08ab3f62c348f5935453d1569413dd63348f5d111e5265d00d4bdf8c098a0c4b652f256beaa28478f7683249cf861218dab32f87d2c9f1d43c571527dd8e26
6
+ metadata.gz: e2d645c9dd3a180ed0be71793c9fa7d349d054681d1f9e2b0918015fbd87d7a2141c21451963dcfb8a292153442844e031f5c515eb5edaff8885f3bc338ce6c4
7
+ data.tar.gz: 8ddfbfb3408ca5ca21b1bbb2469cee4532182a1faaf024a3d0104010185ffe3fd145ec3b5311d6c636724f10fc1a74399e50597399072c32b59124328d9ca7bc
data/NEWS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # guard-nanoc Release Notes
2
2
 
3
+ ## 2.1.5 (2019-02-14)
4
+
5
+ * Fixed an incompatibility with Nanoc 4.11.1.
6
+
3
7
  ## 2.1.4 (2018-09-15)
4
8
 
5
9
  * Fixed issue which caused `--host` and `--port` options to be mandatory.
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # Guard::Nanoc
2
2
 
3
- :warning: Experimental; please use [the guard-nanoc repository](https://github.com/guard/guard-nanoc) for the time being.
4
-
5
3
  This is a guard for [nanoc](http://nanoc.ws/).
6
4
 
7
5
  `Guard` is a framework for listening to filesystem changes and acting upon them. `Guard::Nanoc` is a plugin for Guard that recompiles Nanoc sites on changes.
data/lib/guard/nanoc.rb CHANGED
@@ -43,7 +43,7 @@ module Guard
43
43
 
44
44
  ::Nanoc::CLI::Commands::CompileListeners::FileActionPrinter
45
45
  .new(reps: [])
46
- .start
46
+ .start_safely
47
47
  end
48
48
 
49
49
  def recompile_in_subprocess
@@ -58,7 +58,7 @@ module Guard
58
58
  def recompile
59
59
  Dir.chdir(@dir) do
60
60
  site = ::Nanoc::Int::SiteLoader.new.new_from_cwd
61
- site.compile
61
+ ::Nanoc::Int::Compiler.compile(site)
62
62
  end
63
63
  notify_success
64
64
  rescue => e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Guard
4
- GUARD_NANOC_VERSION = '2.1.4'
4
+ GUARD_NANOC_VERSION = '2.1.5'
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.4
4
+ version: 2.1.5
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-09-15 00:00:00.000000000 Z
11
+ date: 2019-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -93,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.7.7
96
+ rubygems_version: 3.0.2
98
97
  signing_key:
99
98
  specification_version: 4
100
99
  summary: guard gem for nanoc