nanoc 4.12.5 → 4.12.6

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: 0e1fc36b38a9ca9529217edb459536688d3b29ff876c438806b83b4cf7f6f8b3
4
- data.tar.gz: 528d649a25b7c8612ea168a70c36f68278a313d8ad5d82a22c4426fdd0f88d81
3
+ metadata.gz: 7930f72e16665dbb7ec96deb6430f004a6c67fc948809ee464786910138aa702
4
+ data.tar.gz: dd34cd1ee0145b4308351885bda5d5a7b9d7b81025d76e0c253e7577e2baf2d4
5
5
  SHA512:
6
- metadata.gz: 9d815e3792672ae7d5cdddff184fa120616118b642674565b5194b826e93a05f70fc770ab9f99935b28934e66530899da424a6135e63ad19c171fddb13f97f52
7
- data.tar.gz: d0a04cec9ae44a92f0de95ef4cc8647f40f3dfcdf6e09648ef100d71d3a1e51ab7413c7798019971eef9cdc92a5d6e59d95fa8904873d00a81e247f0e24d6882
6
+ metadata.gz: 327c9540056f40e9bf62b2f8fab40eb6d0b28c21b255f38350fefc8132732249289368a88aa98c7871298f58c7b289c7fe0cb29413108b2d3f20151adc0f9309
7
+ data.tar.gz: 05a90540eb2bda0268bb00d82fde2d498e8eb60be6640c19d9ae77a3a630d22ecd7788f80862032b8088aee361766036b6fac9e3690a8aeb56f26e7eb3c07543
data/NEWS.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Nanoc news
2
2
 
3
+ ## 4.12.6 (2022-05-28)
4
+
5
+ Fixes:
6
+
7
+ - Fixed a crash in `nanc view` when a TUN device is present (#1567) [Sergio Durigan Junior]
8
+ - Fixed a crash when content/ has non-writable binary files (#1576)
9
+ - Fixed inconsistency in allowed YAML classes in metadata (#1574) [Daniel Aleksandersen]
10
+
3
11
  ## 4.12.5 (2022-01-22)
4
12
 
5
13
  Fixes:
@@ -150,7 +150,7 @@ module Nanoc::DataSources
150
150
  is_binary = content_filename && !@site_config[:text_extensions].include?(File.extname(content_filename)[1..-1])
151
151
 
152
152
  if is_binary && klass == Nanoc::Core::Item
153
- meta = (meta_filename && YAML.load_file(meta_filename)) || {}
153
+ meta = (meta_filename && YAML.load_file(meta_filename, permitted_classes: Parser::PERMITTED_YAML_CLASSES)) || {}
154
154
 
155
155
  ProtoDocument.new(is_binary: true, filename: content_filename, attributes: meta)
156
156
  elsif is_binary && klass == Nanoc::Core::Layout
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.5'
5
+ VERSION = '4.12.6'
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.5
4
+ version: 4.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-22 00:00:00.000000000 Z
11
+ date: 2022-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -64,28 +64,28 @@ dependencies:
64
64
  requirements:
65
65
  - - '='
66
66
  - !ruby/object:Gem::Version
67
- version: 4.12.5
67
+ version: 4.12.6
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - '='
73
73
  - !ruby/object:Gem::Version
74
- version: 4.12.5
74
+ version: 4.12.6
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: nanoc-core
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - '='
80
80
  - !ruby/object:Gem::Version
81
- version: 4.12.5
81
+ version: 4.12.6
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - '='
87
87
  - !ruby/object:Gem::Version
88
- version: 4.12.5
88
+ version: 4.12.6
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: nanoc-deploying
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  - !ruby/object:Gem::Version
251
251
  version: '0'
252
252
  requirements: []
253
- rubygems_version: 3.3.5
253
+ rubygems_version: 3.3.14
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: A static-site generator with a focus on flexibility.