jekyll_all_collections 0.3.5 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +14 -5
- data/CHANGELOG.md +9 -0
- data/jekyll_all_collections.gemspec +11 -10
- data/lib/all_collections_hooks.rb +1 -1
- data/lib/all_collections_tag.rb +4 -2
- data/lib/jekyll_all_collections/version.rb +1 -1
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef8537c4507dd09e37bf5309509a95df04f8c9927c95aea7a3a936c93aa09e7c
|
4
|
+
data.tar.gz: 32fc6fa905a809fa63b500828092bc99e0e6fe8c2fe2728ac90fe341d579d72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b943b685144dc0d406d8322c48d2f4e8f9a4bceeea8264df2ec0d2dc02eb4903e0fc5e619025fa9c924a2216117f26288f22837a236ba9162b4286a05ce5092
|
7
|
+
data.tar.gz: 0a2428d792af7fd3088b696fcdb5fc7e9936fdbd166eda15b7a11e407de9b32f2ac9f35e6bd9b58406767fbed20d6bf98d8803b708b9e5752f19878440d1b2d5
|
data/.rubocop.yml
CHANGED
@@ -30,18 +30,18 @@ Layout/LineLength:
|
|
30
30
|
Max: 150
|
31
31
|
|
32
32
|
Metrics/AbcSize:
|
33
|
-
Max:
|
33
|
+
Max: 55
|
34
34
|
|
35
35
|
Metrics/BlockLength:
|
36
36
|
Exclude:
|
37
|
-
-
|
37
|
+
- jekyll_plugin_support.gemspec
|
38
38
|
Max: 30
|
39
39
|
|
40
40
|
Metrics/CyclomaticComplexity:
|
41
41
|
Max: 25
|
42
42
|
|
43
43
|
Metrics/MethodLength:
|
44
|
-
Max:
|
44
|
+
Max: 50
|
45
45
|
|
46
46
|
Metrics/PerceivedComplexity:
|
47
47
|
Max: 25
|
@@ -49,14 +49,17 @@ Metrics/PerceivedComplexity:
|
|
49
49
|
Naming/FileName:
|
50
50
|
Exclude:
|
51
51
|
- Rakefile
|
52
|
+
- "*.md"
|
52
53
|
|
53
54
|
RSpec/ExampleLength:
|
54
55
|
Max: 30
|
55
56
|
|
56
|
-
RSpec/
|
57
|
+
RSpec/SpecFilePathFormat:
|
57
58
|
Enabled: false
|
58
59
|
IgnoreMethods: true
|
59
|
-
|
60
|
+
|
61
|
+
RSpec/SpecFilePathSuffix:
|
62
|
+
Enabled: false
|
60
63
|
|
61
64
|
RSpec/IndexedLet:
|
62
65
|
Enabled: false
|
@@ -64,11 +67,17 @@ RSpec/IndexedLet:
|
|
64
67
|
RSpec/MultipleExpectations:
|
65
68
|
Max: 15
|
66
69
|
|
70
|
+
Style/ClassVars:
|
71
|
+
Enabled: false
|
72
|
+
|
67
73
|
Style/Documentation:
|
68
74
|
Enabled: false
|
69
75
|
|
70
76
|
Style/FrozenStringLiteralComment:
|
71
77
|
Enabled: false
|
72
78
|
|
79
|
+
Style/StringConcatenation:
|
80
|
+
Enabled: false
|
81
|
+
|
73
82
|
Style/TrailingCommaInHashLiteral:
|
74
83
|
EnforcedStyleForMultiline: comma
|
data/CHANGELOG.md
CHANGED
@@ -3,19 +3,19 @@ require_relative 'lib/jekyll_all_collections/version'
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
github = 'https://github.com/mslinn/jekyll_all_collections'
|
5
5
|
|
6
|
-
spec.authors
|
7
|
-
spec.bindir
|
6
|
+
spec.authors = ['Mike Slinn']
|
7
|
+
spec.bindir = 'exe'
|
8
8
|
spec.description = <<~END_OF_DESC
|
9
9
|
Provides a collection of all collections in site.all_collections.
|
10
10
|
END_OF_DESC
|
11
|
-
spec.email
|
11
|
+
spec.email = ['mslinn@mslinn.com']
|
12
12
|
spec.executables = []
|
13
13
|
|
14
14
|
# Specify which files should be added to the gem when it is released.
|
15
15
|
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
|
16
16
|
|
17
17
|
spec.homepage = 'https://www.mslinn.com/jekyll_plugins/jekyll_all_collections.html'
|
18
|
-
spec.license
|
18
|
+
spec.license = 'MIT'
|
19
19
|
spec.metadata = {
|
20
20
|
'allowed_push_host' => 'https://rubygems.org',
|
21
21
|
'bug_tracker_uri' => "#{github}/issues",
|
@@ -23,13 +23,14 @@ Gem::Specification.new do |spec|
|
|
23
23
|
'homepage_uri' => spec.homepage,
|
24
24
|
'source_code_uri' => github,
|
25
25
|
}
|
26
|
-
spec.name
|
27
|
-
spec.
|
26
|
+
spec.name = 'jekyll_all_collections'
|
27
|
+
spec.platform = Gem::Platform::RUBY
|
28
|
+
spec.require_paths = ['lib']
|
28
29
|
spec.required_ruby_version = '>= 2.6.0'
|
29
|
-
spec.summary
|
30
|
-
spec.version
|
30
|
+
spec.summary = 'Provides a collection of all collections in site.all_collections.'
|
31
|
+
spec.version = JekyllAllCollectionsVersion::VERSION
|
31
32
|
|
32
33
|
spec.add_dependency 'jekyll', '>= 3.5.0'
|
33
|
-
spec.add_dependency 'jekyll_draft'
|
34
|
-
spec.add_dependency 'jekyll_plugin_support'
|
34
|
+
spec.add_dependency 'jekyll_draft'
|
35
|
+
spec.add_dependency 'jekyll_plugin_support'
|
35
36
|
end
|
@@ -70,7 +70,7 @@ module AllCollectionsHooks
|
|
70
70
|
:label, :last_modified, :layout, :path, :relative_path, :tags, :title, :type, :url
|
71
71
|
|
72
72
|
# Verify each property exists before accessing it; this helps write tests
|
73
|
-
def initialize(obj)
|
73
|
+
def initialize(obj)
|
74
74
|
@data = obj.data if obj.respond_to? :data
|
75
75
|
|
76
76
|
@categories = @data['categories'] if @data.key? 'categories'
|
data/lib/all_collections_tag.rb
CHANGED
@@ -77,7 +77,9 @@ module AllCollectionsTag
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def self.evaluate(string)
|
80
|
-
eval string,
|
80
|
+
self.eval string, binding, __FILE__, __LINE__
|
81
|
+
rescue StandardError => e
|
82
|
+
warn_short_trace e.red
|
81
83
|
end
|
82
84
|
|
83
85
|
def self.verify_sort_by_type(sort_by)
|
@@ -134,6 +136,6 @@ module AllCollectionsTag
|
|
134
136
|
warn_short_trace e
|
135
137
|
end
|
136
138
|
|
137
|
-
JekyllPluginHelper.register(self, PLUGIN_NAME)
|
139
|
+
JekyllSupport::JekyllPluginHelper.register(self, PLUGIN_NAME)
|
138
140
|
end
|
139
141
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_all_collections
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Slinn
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-
|
10
|
+
date: 2024-12-21 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: jekyll
|
@@ -30,28 +29,28 @@ dependencies:
|
|
30
29
|
requirements:
|
31
30
|
- - ">="
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
32
|
+
version: '0'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - ">="
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
39
|
+
version: '0'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: jekyll_plugin_support
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - ">="
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
46
|
+
version: '0'
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
51
|
- - ">="
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
53
|
+
version: '0'
|
55
54
|
description: 'Provides a collection of all collections in site.all_collections.
|
56
55
|
|
57
56
|
'
|
@@ -84,7 +83,6 @@ metadata:
|
|
84
83
|
changelog_uri: https://github.com/mslinn/jekyll_all_collections/CHANGELOG.md
|
85
84
|
homepage_uri: https://www.mslinn.com/jekyll_plugins/jekyll_all_collections.html
|
86
85
|
source_code_uri: https://github.com/mslinn/jekyll_all_collections
|
87
|
-
post_install_message:
|
88
86
|
rdoc_options: []
|
89
87
|
require_paths:
|
90
88
|
- lib
|
@@ -99,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
97
|
- !ruby/object:Gem::Version
|
100
98
|
version: '0'
|
101
99
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
103
|
-
signing_key:
|
100
|
+
rubygems_version: 3.6.0
|
104
101
|
specification_version: 4
|
105
102
|
summary: Provides a collection of all collections in site.all_collections.
|
106
103
|
test_files: []
|