guard-nanoc 2.1.6 → 2.1.7

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: 92f119265f130cb91a5030ef7086613fd523dcd7baed9602cdcb2d4ca1ddc9b1
4
- data.tar.gz: 8f2d1426a4a83f5bcbd4c81f753d864ce90705d6e17f8b26bcc48b22e3bcb2e7
3
+ metadata.gz: 63b4e13d1627f430ef6774ee933a056e4593f8ceedf4746193496f0ff9c3aeae
4
+ data.tar.gz: e79fb40f05dff6b3707fb8b7797c8da7223c79d5e9252e86fdca0acfadbf66e1
5
5
  SHA512:
6
- metadata.gz: 0d6312a1702a80e0182a80396bfca1139e8c0ddb18d40cb89271dd34b2cb5c49ecea90bcd3e1346b58bc1fd6aa19ef8657dafc82934475caa732c9b20630c446
7
- data.tar.gz: 3b9d5c822ac1faa07314cf46275b7341599b07731fd17aad9c27939c5211689802c3655756ad0331ca084d84e757cb6bb0b2c872acfe7d008fc9eb0f376b90d1
6
+ metadata.gz: d3073b4c344cd7710af4416a559876d14e8afb133e22a9889aac7f3fb19d1c4945e864e5932e6e0ef8c2c3e8fd9040b082df934c1bc93e6274f2499014bec76a
7
+ data.tar.gz: a3ea5d577fbbf0c1989fbca574811d21584cb49bc259595ea11191da876d048e95d5e723bd063cfa8f9846858a415741589184abe4b0193f36e5abaa6e9b01eb
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Denis Defreyne
1
+ Copyright (c) 2013–… Denis Defreyne
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/NEWS.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # guard-nanoc Release Notes
2
2
 
3
+ ## 2.1.7 (2019-11-16)
4
+
5
+ * Fixed an incompatibility with Nanoc 4.11.13.
6
+
3
7
  ## 2.1.6 (2019-02-16)
4
8
 
5
9
  * Fixed another incompatibility with Nanoc 4.11.1.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Guard::Nanoc
2
2
 
3
- This is a guard for [nanoc](http://nanoc.ws/).
3
+ This is a guard for [nanoc](https://nanoc.ws/).
4
4
 
5
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.
6
6
 
@@ -26,7 +26,7 @@ And then execute:
26
26
 
27
27
  ## Usage
28
28
 
29
- Enter the nanoc site directory for which you want to use guard-nanoc. Create a Guardfile using `guard init`:
29
+ Enter the Nanoc site directory for which you want to use guard-nanoc. Create a Guardfile using `guard init`:
30
30
 
31
31
  $ bundle exec guard init nanoc
32
32
 
data/guard-nanoc.gemspec CHANGED
@@ -5,9 +5,9 @@ require_relative './lib/guard/nanoc/version'
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'guard-nanoc'
7
7
  s.version = Guard::GUARD_NANOC_VERSION
8
- s.homepage = 'http://nanoc.ws/'
9
- s.summary = 'guard gem for nanoc'
10
- s.description = 'Automatically rebuilds nanoc sites'
8
+ s.homepage = 'https://nanoc.ws/'
9
+ s.summary = 'guard gem for Nanoc'
10
+ s.description = 'Automatically rebuilds Nanoc sites'
11
11
  s.license = 'MIT'
12
12
 
13
13
  s.author = 'Denis Defreyne'
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.add_dependency 'guard', '~> 2.8'
17
17
  s.add_dependency 'guard-compat', '~> 1.0'
18
- s.add_dependency 'nanoc', '>= 4.3.8', '< 5.0'
18
+ s.add_dependency 'nanoc', '>= 4.11.13', '< 5.0'
19
19
 
20
20
  s.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + ['guard-nanoc.gemspec']
21
21
  s.require_paths = ['lib']
data/lib/guard/nanoc.rb CHANGED
@@ -3,14 +3,14 @@
3
3
  require 'guard/compat/plugin'
4
4
 
5
5
  require 'nanoc'
6
- require 'nanoc/cli'
6
+ require 'nanoc/orig_cli'
7
7
 
8
8
  module Guard
9
9
  class Nanoc < Plugin
10
10
  def self.live_cmd
11
11
  @_live_cmd ||= begin
12
- path = File.join(File.dirname(__FILE__), '..', 'nanoc', 'cli', 'commands', 'live.rb')
13
- ::Nanoc::CLI.load_command_at(path)
12
+ path = File.join(File.dirname(__FILE__), '..', 'nanoc', 'orig_cli', 'commands', 'live.rb')
13
+ Cri::Command.load_file(path, infer_name: true)
14
14
  end
15
15
  end
16
16
 
@@ -41,7 +41,7 @@ module Guard
41
41
  def setup_listeners
42
42
  ::Nanoc::CLI.setup
43
43
 
44
- ::Nanoc::CLI::Commands::CompileListeners::FileActionPrinter
44
+ ::Nanoc::CLI::CompileListeners::FileActionPrinter
45
45
  .new(reps: [])
46
46
  .start_safely
47
47
  end
@@ -60,8 +60,8 @@ module Guard
60
60
  ::Nanoc::Core::NotificationCenter.force_reset
61
61
 
62
62
  Dir.chdir(@dir) do
63
- site = ::Nanoc::Int::SiteLoader.new.new_from_cwd
64
- ::Nanoc::Int::Compiler.compile(site)
63
+ site = ::Nanoc::Core::SiteLoader.new.new_from_cwd
64
+ ::Nanoc::Core::Compiler.compile(site)
65
65
  end
66
66
  notify_success
67
67
  rescue => e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Guard
4
- GUARD_NANOC_VERSION = '2.1.6'
4
+ GUARD_NANOC_VERSION = '2.1.7'
5
5
  end
File without changes
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.6
4
+ version: 2.1.7
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-02-16 00:00:00.000000000 Z
11
+ date: 2019-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 4.3.8
47
+ version: 4.11.13
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
50
  version: '5.0'
@@ -54,11 +54,11 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 4.3.8
57
+ version: 4.11.13
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '5.0'
61
- description: Automatically rebuilds nanoc sites
61
+ description: Automatically rebuilds Nanoc sites
62
62
  email: denis.defreyne@stoneship.org
63
63
  executables: []
64
64
  extensions: []
@@ -73,8 +73,8 @@ files:
73
73
  - lib/guard/nanoc.rb
74
74
  - lib/guard/nanoc/templates/Guardfile
75
75
  - lib/guard/nanoc/version.rb
76
- - lib/nanoc/cli/commands/live.rb
77
- homepage: http://nanoc.ws/
76
+ - lib/nanoc/orig_cli/commands/live.rb
77
+ homepage: https://nanoc.ws/
78
78
  licenses:
79
79
  - MIT
80
80
  metadata: {}
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.0.2
96
+ rubygems_version: 3.0.6
97
97
  signing_key:
98
98
  specification_version: 4
99
- summary: guard gem for nanoc
99
+ summary: guard gem for Nanoc
100
100
  test_files: []