nanoc-cli 4.11.17 → 4.11.18

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: d82878f1afe0b5b821b303b2947d1401841fc4899cfc733e2f74d190fdab911a
4
- data.tar.gz: a3ac3becea57af35114827e9ab7454db6561706715ada74a9309c97a714f1ef6
3
+ metadata.gz: 7091447ed5253e3a50140d9081a38d29a94ed34a89b6403734b71258f24af074
4
+ data.tar.gz: 697706917ba5905ed83bd03c6d234ea540e310946cdf861d3d7bb3a214da4ab7
5
5
  SHA512:
6
- metadata.gz: 4033178123ef2e0acb8fa4e5e5273cf5d76bf94db64423a0704dbf4ae3ceaa99bf549bec83b3ec5227f7bbe830f4c3c6b2d33162ea6f1b1bf83ce96fb792234a
7
- data.tar.gz: 8c8497ca95ec92170e0299782611bbfa5d8045f97489909a79ebb72c8804417eea20094e91fdf6cbbe53adbc7f4b728a1da9704dc4127fe8eb8515d4d2498a52
6
+ metadata.gz: 919d7700e490cee9826c71982949b965830b46eb2b8ca7fea6371778fb02133958cae63b287157ee056e91731d5ff88bd8a4b0bc129d4276a671a6d30f902c13
7
+ data.tar.gz: c50b429a72179bc4f59d6a7d133ccc4b5ea0bfcfbc4dcdc93ce7f3cb81ec473448798ff165c805829951af371fb8f5fc4b0747b3c0a18321f5ee030156406f50
@@ -8,6 +8,8 @@ module Nanoc
8
8
  class UTF8 < Abstract
9
9
  # @see Nanoc::CLI::StreamCleaners::Abstract#clean
10
10
  def clean(str)
11
+ return str unless str.encoding.name == 'UTF-8'
12
+
11
13
  # FIXME: this decomposition is not generally usable
12
14
  str
13
15
  .unicode_normalize(:nfkd)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module CLI
5
- VERSION = '4.11.17'
5
+ VERSION = '4.11.18'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.17
4
+ version: 4.11.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-12 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cri
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.11.17
47
+ version: 4.11.18
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.11.17
54
+ version: 4.11.18
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: zeitwerk
57
57
  requirement: !ruby/object:Gem::Requirement