nanoc-live 1.1.0 → 1.1.1

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: cdd06ace4f84418061436ecd4cb14108e8c8417acabcb1bd7a3b2dafcc9f072e
4
- data.tar.gz: 5428c0a98895092725ee6a4e8112f27a47c36b84a9fba38a46f108e05789659a
3
+ metadata.gz: 9f5de786d66999b72134ebccff74e83a9775dc2a13e3dd043dc8cae4be2881ec
4
+ data.tar.gz: 25e34ffa03d7a85cfcd9fbc24ad37c73195e658b577cfab4142a816c72f45d1c
5
5
  SHA512:
6
- metadata.gz: 19ea055dd88b544fd175f19284845e7d01f3099c806eaf2ce2d446e7f6cfafa6025e80228fcdba65811c8ffff1cdb4ceb0e1e617b27e85a6ac0256a442c559db
7
- data.tar.gz: 67e3a25c8c4ede6e8317f24c8cf4e3e2047206f4f920d748e7163dadbe0f31119ec06bdd3bc3e224fb7d7b6990e6d01fc3359b47e8378afcbeff211bf6c318f3
6
+ metadata.gz: 06b0e8ba05af9e161bccaa6984fc74c2a1ef09c1fcbb9afa3955b35fe2ecf0fcebed2b62818b1fdda4cf4ee502f7741e5153df25993fe9ff0cc41fd2842cbd83
7
+ data.tar.gz: bb84c90b4afc18f160ad141ddf78d28d67e1fc18b96ab05fea7042bf269d35ad7e446c5d3a5b34faf4d32e5bd8350697140afd9da6fbc758acee401c0f0cd19b
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release notes for nanoc-live
2
2
 
3
+ ## 1.1.1 (2026-03-08)
4
+
5
+ Fixes:
6
+
7
+ - Restored compatibility with Nanoc 4.14.7
8
+
3
9
  ## 1.1.0 (2024-06-26)
4
10
 
5
11
  Enhancements:
@@ -8,11 +8,16 @@ module Nanoc
8
8
  if defined?(Guard::Nanoc)
9
9
  $stderr.puts '-' * 40
10
10
  $stderr.puts 'NOTE:'
11
- $stderr.puts 'You are using the `nanoc live` command provided by `nanoc-live`, but the `guard-nanoc` gem is also installed, which also provides a `nanoc live` command.'
11
+ $stderr.puts 'You are using the `nanoc live` command provided by ' \
12
+ '`nanoc-live`, but the `guard-nanoc` gem is also ' \
13
+ 'installed, which also provides a `nanoc live` command.'
12
14
  if defined?(Bundler)
13
- $stderr.puts 'Recommendation: Remove `guard-nanoc` from your Gemfile.'
15
+ $stderr.puts 'Recommendation: Remove `guard-nanoc` from your ' \
16
+ 'Gemfile, either manually or by running the ' \
17
+ '`bundle remove guard-nanoc` command.'
14
18
  else
15
- $stderr.puts 'Recommendation: Uninstall `guard-nanoc`.'
19
+ $stderr.puts 'Recommendation: Uninstall `guard-nanoc` (run ' \
20
+ 'the `gem uninstall guard-nanoc` command).'
16
21
  end
17
22
  $stderr.puts '-' * 40
18
23
  end
@@ -8,10 +8,14 @@ description <<~EOS
8
8
  static web server requires `adsf` (not `asdf`!).
9
9
  EOS
10
10
 
11
- option :H, :handler, 'specify the handler to use (webrick/puma/...)', argument: :required
12
- option :o, :host, 'specify the host to listen on', default: '127.0.0.1', argument: :required
13
- option :p, :port, 'specify the port to listen on', transform: Nanoc::CLI::Transform::Port, default: 3000, argument: :required
14
- option nil, :focus, 'compile only items matching the given pattern', argument: :required, multiple: true
11
+ option :H, :handler, 'specify the handler to use (webrick/puma/...)',
12
+ argument: :required
13
+ option :o, :host, 'specify the host to listen on',
14
+ default: '127.0.0.1', argument: :required
15
+ option :p, :port, 'specify the port to listen on',
16
+ transform: Nanoc::CLI::Transform::Port, default: 3000, argument: :required
17
+ option nil, :focus, 'compile only items matching the given pattern',
18
+ argument: :required, multiple: true
15
19
  no_params
16
20
 
17
21
  runner Nanoc::Live::CommandRunners::Live
@@ -96,8 +96,7 @@ module Nanoc
96
96
  compiler = Nanoc::Core::Compiler.new_for(site, focus:)
97
97
  listener = Nanoc::CLI::CompileListeners::Aggregate.new(
98
98
  command_runner:,
99
- site:,
100
- compiler:,
99
+ config: site.config,
101
100
  )
102
101
  listener.run_while do
103
102
  compiler.run_until_end
@@ -122,7 +121,7 @@ module Nanoc
122
121
 
123
122
  def gen_config_and_rules_changes
124
123
  Nanoc::Core::ChangesStream.new do |cl|
125
- only = /(\/|\A)(nanoc\.yaml|config\.yaml|rules|Rules|rules\.rb|Rules\.rb)\z/
124
+ only = %r{(/|\A)(nanoc\.yaml|config\.yaml|rules|Rules|rules\.rb|Rules\.rb)\z}
126
125
 
127
126
  listener = Listen.to('.', only:) { |*| cl.unknown }
128
127
  listener.start
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Live
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: adsf-live
@@ -44,40 +43,40 @@ dependencies:
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '4.11'
46
+ version: '4.14'
48
47
  - - ">="
49
48
  - !ruby/object:Gem::Version
50
- version: 4.11.14
49
+ version: 4.14.7
51
50
  type: :runtime
52
51
  prerelease: false
53
52
  version_requirements: !ruby/object:Gem::Requirement
54
53
  requirements:
55
54
  - - "~>"
56
55
  - !ruby/object:Gem::Version
57
- version: '4.11'
56
+ version: '4.14'
58
57
  - - ">="
59
58
  - !ruby/object:Gem::Version
60
- version: 4.11.14
59
+ version: 4.14.7
61
60
  - !ruby/object:Gem::Dependency
62
61
  name: nanoc-core
63
62
  requirement: !ruby/object:Gem::Requirement
64
63
  requirements:
65
64
  - - "~>"
66
65
  - !ruby/object:Gem::Version
67
- version: '4.11'
66
+ version: '4.14'
68
67
  - - ">="
69
68
  - !ruby/object:Gem::Version
70
- version: 4.11.14
69
+ version: 4.14.7
71
70
  type: :runtime
72
71
  prerelease: false
73
72
  version_requirements: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - "~>"
76
75
  - !ruby/object:Gem::Version
77
- version: '4.11'
76
+ version: '4.14'
78
77
  - - ">="
79
78
  - !ruby/object:Gem::Version
80
- version: 4.11.14
79
+ version: 4.14.7
81
80
  description: Provides support for auto-recompiling Nanoc sites.
82
81
  email: denis+rubygems@denis.ws
83
82
  executables: []
@@ -96,8 +95,7 @@ licenses:
96
95
  - MIT
97
96
  metadata:
98
97
  rubygems_mfa_required: 'true'
99
- source_code_uri: https://github.com/nanoc/nanoc/tree/nanoc-live-v1.1.0/nanoc-live
100
- post_install_message:
98
+ source_code_uri: https://github.com/nanoc/nanoc/tree/nanoc-live-v1.1.1/nanoc-live
101
99
  rdoc_options: []
102
100
  require_paths:
103
101
  - lib
@@ -105,15 +103,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
107
105
  - !ruby/object:Gem::Version
108
- version: '3.1'
106
+ version: '3.2'
109
107
  required_rubygems_version: !ruby/object:Gem::Requirement
110
108
  requirements:
111
109
  - - ">="
112
110
  - !ruby/object:Gem::Version
113
111
  version: '0'
114
112
  requirements: []
115
- rubygems_version: 3.5.11
116
- signing_key:
113
+ rubygems_version: 4.0.3
117
114
  specification_version: 4
118
115
  summary: Live recompilation support for Nanoc
119
116
  test_files: []