nanoc-core 4.11.21 → 4.11.22

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: a9f63cf9ed0953520b811eb964d1b71cad082bc07f945c5b9c838a3730dc9cc2
4
- data.tar.gz: 58e44db73eb2a9fdd8959964802b78570e15ddc2e4ae8afd2a5da9161da06c61
3
+ metadata.gz: 01ecf44ca25369ee5a16d3ab97f0d4880da51e5db1a1b15bf75e75eee4eb88da
4
+ data.tar.gz: 9cbeb1d146e6fa525b15cf19c62d39c0fe646c4586fed345689e7d0ae276adbf
5
5
  SHA512:
6
- metadata.gz: b4d4b9458fc23a57bb961c0ed9ff31dd82b43f243cf92d2c45424efda54d3ccacab16be0fd36805f606958eb9167b6537c178ff23c15947f2a2f667bd9901f40
7
- data.tar.gz: 4668c6c8188d5c885829421d4d4e3564146f9f935576be13daed38410ca7537781545d2f44f4c3a44fdb1c145d1331baf84526b37732f85cdfb9e1e77ce3ccdd
6
+ metadata.gz: 5de5f16a2b47132155d2a85e3123cf4dc7f43e2c5fdea4d75361fdfbac310093da814b4112ecda5c1c58a5f9f19aefd33457fd260f4c02b1d1b8b46bcefc6c6f
7
+ data.tar.gz: af0216df8261745768e686b040f3b78f1a0efccd6490f7db4c551af1873f5066526a396b0761de3deaf8a84b0b167a39dcebe3b91b244d611788dcc4cf5735c5
@@ -96,7 +96,8 @@ module Nanoc
96
96
  false
97
97
  end
98
98
 
99
- @_contracts_support__should_enable = contracts_loadable && !ENV.key?('DISABLE_CONTRACTS')
99
+ # FIXME: Do something better with contracts on Ruby 3.x
100
+ @_contracts_support__should_enable = contracts_loadable && !RUBY_VERSION.start_with?('3') && !ENV.key?('DISABLE_CONTRACTS')
100
101
 
101
102
  if @_contracts_support__should_enable
102
103
  # FIXME: ugly
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Core
5
- VERSION = '4.11.21'
5
+ VERSION = '4.11.22'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.21
4
+ version: 4.11.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-18 00:00:00.000000000 Z
11
+ date: 2021-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -299,23 +299,23 @@ homepage: https://nanoc.ws/
299
299
  licenses:
300
300
  - MIT
301
301
  metadata: {}
302
- post_install_message:
302
+ post_install_message:
303
303
  rdoc_options: []
304
304
  require_paths:
305
305
  - lib
306
306
  required_ruby_version: !ruby/object:Gem::Requirement
307
307
  requirements:
308
- - - "~>"
308
+ - - ">="
309
309
  - !ruby/object:Gem::Version
310
- version: '2.4'
310
+ version: '2.5'
311
311
  required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  requirements:
313
313
  - - ">="
314
314
  - !ruby/object:Gem::Version
315
315
  version: '0'
316
316
  requirements: []
317
- rubygems_version: 3.2.2
318
- signing_key:
317
+ rubygems_version: 3.2.3
318
+ signing_key:
319
319
  specification_version: 4
320
320
  summary: Core of Nanoc
321
321
  test_files: []