nanoc 4.12.2 → 4.12.3

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: e4d6df7c0719355153887e8c4b98446a6e021713b200afddf8d335c89abcf062
4
- data.tar.gz: 92bd7df94e3777ddf918d37e4b67759d5b15866a2b9587e4cb578cc178e34898
3
+ metadata.gz: 8f2b5030c2fc46edeec3c725dfa6264fa32f7afa58531960e355479bbef66821
4
+ data.tar.gz: 25f70a7eb276e2cf83e984c43d69b3f622298ddf82755f4388671f028a6937e9
5
5
  SHA512:
6
- metadata.gz: b01492f20a9414f5c0ed59be5e91441ae8d786b50b41aca2ffd32c3fe625a8eea2583b8cdeef8dd276079576f95c1ff7f68a678420651f359ec4496f3a3c1e0f
7
- data.tar.gz: 60379b0e62828b5c724f79fcbd3ad6e8c9da8bdad1b669727b856250ea878191250db2fd4bc49c8e3fbda61d9de989a2df6a4a4d2f76139a1d1af9f9f64d5060
6
+ metadata.gz: 35a0eae0e232086859c07bc620f53d4478558252dd290f2f19d54abbb76f9e3a839af9eb36e1c107ec78bac643e511cab1693d3f98078a063a7c500841ea5a6b
7
+ data.tar.gz: 88ae09d525cd7a475cc36c48dbfdcba9dfbefafe33e400795cbcbaa17c0dc140447aba434b83c37a0394243856c2a451053f54dcd646cbbf616f9e746f15cffc
data/NEWS.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Nanoc news
2
2
 
3
+ ## 4.12.3 (2021-10-09)
4
+
5
+ Fixes:
6
+
7
+ - Switched ERB to use keyword arguments (#1547, #1550) [Daniel Aleksandersen]
8
+ - Removed use_helper re-definition warning (#1548, #1553) [Daniel Aleksandersen]
9
+ - Fixed issue which could cause items not to be recalculated when removing items in the preprocess block (#1554, #1555)
10
+ - Dropped Nokogumbo in favor of Nokogiri (#1546, #1549) [Daniel Aleksandersen]
11
+
3
12
  ## 4.12.2 (2021-05-28)
4
13
 
5
14
  Enhancements:
@@ -80,7 +80,7 @@ module Nanoc::Filters
80
80
  require 'nokogiri'
81
81
  Nokogiri::HTML
82
82
  when :html5
83
- require 'nokogumbo'
83
+ require 'nokogiri'
84
84
  Nokogiri::HTML5
85
85
  when :xml, :xhtml
86
86
  require 'nokogiri'
@@ -27,7 +27,7 @@ module Nanoc::Filters
27
27
 
28
28
  # Get result
29
29
  trim_mode = params[:trim_mode]
30
- erb = ::ERB.new(content, nil, trim_mode)
30
+ erb = ::ERB.new(content, trim_mode: trim_mode)
31
31
  erb.filename = filename
32
32
  erb.result(assigns_binding)
33
33
  end
@@ -114,7 +114,7 @@ module Nanoc::Filters
114
114
  require 'nokogiri'
115
115
  ::Nokogiri::HTML
116
116
  when :html5
117
- require 'nokogumbo'
117
+ require 'nokogiri'
118
118
  ::Nokogiri::HTML5
119
119
  when :xml
120
120
  require 'nokogiri'
data/lib/nanoc/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nanoc
4
4
  # The current Nanoc version.
5
- VERSION = '4.12.2'
5
+ VERSION = '4.12.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.12.2
4
+ version: 4.12.3
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-05-28 00:00:00.000000000 Z
11
+ date: 2021-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.12.2
61
+ version: 4.12.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.12.2
68
+ version: 4.12.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nanoc-core
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 4.12.2
75
+ version: 4.12.3
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 4.12.2
82
+ version: 4.12.3
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: nanoc-deploying
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  - !ruby/object:Gem::Version
244
244
  version: '0'
245
245
  requirements: []
246
- rubygems_version: 3.2.18
246
+ rubygems_version: 3.2.28
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: A static-site generator with a focus on flexibility.