nanoc 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: 83cc8f18dfa86dba187261092cb83b9d16337d3e25605e468229464791146779
4
- data.tar.gz: 71d3cb8cb498f6304634bf9a8380e35141610cc2f1861bd82fc0c54a2c865b8a
3
+ metadata.gz: 1a54c2c8a754d1aa180e0396ad8161c1d469d326959252001d7f7f792e1ec578
4
+ data.tar.gz: 68c456c19fc6f055f8cc62cac520adc589a88ba3f71933c74d18c849e05f27a8
5
5
  SHA512:
6
- metadata.gz: 04a1f1a3e07b10d95285e8ea876ee2324c5b9a2526e23a8b280992e4cfc68ab7ab8aa290ec9191c9af73c83b7bee1f504afb3485592daff1497e9e998f6f595c
7
- data.tar.gz: aff40a73bd1aaf85e99262d102279a9fd2d6f99835f8d1b7be92809d9355fdf849039acba1177d16033e6e2ba560de5ff57a76cafae170fd1eed963304de541c
6
+ metadata.gz: f2ca39ce068b59312c9f6cb8fd21ee07cee626c02e9afdd7d01faeb808c71b1895398207abd88fd0e84e23310423dfa3c830c2624fe92a3a21ed1c04d7151fa0
7
+ data.tar.gz: a57f11835991c18c252e39b2fb973f8e5a82245ada4ef24ae893519f709e8f156ae12f6fe0558ec5667b0316e2b056a4dd467787b3dd3d47a8cdbc473bf0f775
data/NEWS.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Nanoc news
2
2
 
3
+ ## 4.11.18 (2020-06-17)
4
+
5
+ Fixes:
6
+
7
+ - Fixed a `Encoding::CompatibilityError` that would be thrown e.g. when using the `contracts` library (#1502, #1505) [Ethan Crawford]
8
+ - Fixed an issue which could cause Nanoc not to compile all items on Ruby 2.7 (#1501, #1507)
9
+
3
10
  ## 4.11.17 (2020-06-12)
4
11
 
5
12
  Fixes:
@@ -362,9 +362,9 @@ module Nanoc::DataSources
362
362
 
363
363
  regex =
364
364
  if /(^|\/)index(\.[^\/]+)?$/.match?(filename)
365
- allow_periods_in_identifiers? ? /\/?(index)?(\.[^\/\.]+)?$/ : /\/?index(\.[^\/]+)?$/
365
+ allow_periods_in_identifiers? ? /\/?(index)?(\.[^\/.]+)?$/ : /\/?index(\.[^\/]+)?$/
366
366
  else
367
- allow_periods_in_identifiers? ? /\.[^\/\.]+$/ : /\.[^\/]+$/
367
+ allow_periods_in_identifiers? ? /\.[^\/.]+$/ : /\.[^\/]+$/
368
368
  end
369
369
  Nanoc::Core::Identifier.new(filename.sub(regex, ''), type: :legacy)
370
370
  end
@@ -390,7 +390,7 @@ module Nanoc::DataSources
390
390
  # @return [Regex]
391
391
  def extension_regex
392
392
  if allow_periods_in_identifiers?
393
- /(\.[^\/\.]+$)/
393
+ /(\.[^\/.]+$)/
394
394
  else
395
395
  /(\.[^\/]+$)/
396
396
  end
@@ -50,7 +50,7 @@ module ::Nanoc::Extra
50
50
  def external_href?(href)
51
51
  return false if internal_href?(href)
52
52
 
53
- href =~ %r{^(\/\/|[a-z\-]+:)}
53
+ href =~ %r{^(//|[a-z\-]+:)}
54
54
  end
55
55
 
56
56
  def internal_href?(href)
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nanoc
4
4
  # The current Nanoc version.
5
- VERSION = '4.11.17'
5
+ VERSION = '4.11.18'
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.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: addressable
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.11.17
61
+ version: 4.11.18
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.11.17
68
+ version: 4.11.18
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.11.17
75
+ version: 4.11.18
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.11.17
82
+ version: 4.11.18
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: nanoc-deploying
85
85
  requirement: !ruby/object:Gem::Requirement