nanoc-checking 1.0.1 → 1.0.2

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: 2ed6936aa477c05d5d8cf11fc5958af89981b4bcd2d1b75d18a3bfea57ad32ba
4
- data.tar.gz: 02feeabc06a6ef2959a070cfea91fa936734e4da9ac5e5327d0d92a8fc3ed829
3
+ metadata.gz: 9d5e37cf90a631812173adcadedb4d8bf9b9d93926b04f9ba25c524ab13bb2dc
4
+ data.tar.gz: d1e2b8cd49d3b280ec203be153938ba3da0794ea5a57e3cb6ca3ff867bef2e01
5
5
  SHA512:
6
- metadata.gz: 7c96031cf8552bd11e4f35113f4017481c6eb23afe95f9b5ad0446ece3c766e7aecf1600c10966826b67d18f25a2faea80ee70deb099f3bff7ed79cd0880d910
7
- data.tar.gz: 1311b947dc8a91e4a42fe20470b80b2c993e8d8056c2ef2e198c7b903c9cd41d7d275aa87fda97ac05c9154aece6070e588179ee20f5d7872db8ed6927104969
6
+ metadata.gz: b9e144e2d1dc8565072f2d117416b4ba3f89635dfe21b1c1e1e18ad238bcd4f6baf7a285b37c1568c8f514ffb1b018cff6e97c6ea69093e512df2d65ba4932ff
7
+ data.tar.gz: d196ee9d516d77824de90dc79226cc46f394c0ad32cb897005c684fb2112dbb751eeafae9538f3b9146d8fa89c9fc648aa2909a02f3d9eae2b53fbc4bcf48876
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # nanoc-checking news
2
2
 
3
+ ## 1.0.2 (2022-01-15)
4
+
5
+ Fixes:
6
+
7
+ - Ensure compatibility with latest version of Nanoc
8
+
3
9
  ## 1.0.1 (2021-01-01)
4
10
 
5
11
  Enhancements:
@@ -13,7 +13,7 @@ module Nanoc
13
13
  class Check < Nanoc::Core::Context
14
14
  extend DDPlugin::Plugin
15
15
 
16
- DDMemoize.activate(self)
16
+ prepend MemoWise
17
17
 
18
18
  attr_reader :issues
19
19
 
@@ -78,13 +78,14 @@ module Nanoc
78
78
  end
79
79
 
80
80
  # @private
81
- memoized def excluded_patterns
81
+ def excluded_patterns
82
82
  @config
83
83
  .fetch(:checks, {})
84
84
  .fetch(:all, {})
85
85
  .fetch(:exclude_files, [])
86
86
  .map { |pattern| Regexp.new(pattern) }
87
87
  end
88
+ memo_wise :excluded_patterns
88
89
 
89
90
  # @private
90
91
  def output_html_filenames
@@ -70,7 +70,7 @@ module Nanoc
70
70
  def run_check_classes(classes)
71
71
  issues = run_checks(classes)
72
72
  print_issues(issues)
73
- issues.empty? ? true : false
73
+ issues.empty?
74
74
  end
75
75
 
76
76
  def all_check_classes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Checking
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-checking
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-01-01 00:00:00.000000000 Z
11
+ date: 2022-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nanoc-cli
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.11'
19
+ version: '4.12'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 4.11.15
22
+ version: 4.12.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '4.11'
29
+ version: '4.12'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 4.11.15
32
+ version: 4.12.4
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: nanoc-core
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '4.11'
39
+ version: '4.12'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 4.11.15
42
+ version: 4.12.4
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '4.11'
49
+ version: '4.12'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 4.11.15
52
+ version: 4.12.4
53
53
  description: Provides checking functionality for Nanoc
54
54
  email: denis+rubygems@denis.ws
55
55
  executables: []
@@ -80,7 +80,8 @@ files:
80
80
  homepage: https://nanoc.ws/
81
81
  licenses:
82
82
  - MIT
83
- metadata: {}
83
+ metadata:
84
+ rubygems_mfa_required: 'true'
84
85
  post_install_message:
85
86
  rdoc_options: []
86
87
  require_paths:
@@ -89,14 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
90
  requirements:
90
91
  - - ">="
91
92
  - !ruby/object:Gem::Version
92
- version: '2.5'
93
+ version: '2.6'
93
94
  required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  requirements:
95
96
  - - ">="
96
97
  - !ruby/object:Gem::Version
97
98
  version: '0'
98
99
  requirements: []
99
- rubygems_version: 3.2.4
100
+ rubygems_version: 3.3.4
100
101
  signing_key:
101
102
  specification_version: 4
102
103
  summary: Checking support for Nanoc