jekyll_all_collections 0.3.6 → 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/CHANGELOG.md +5 -0
- data/jekyll_all_collections.gemspec +9 -8
- data/lib/all_collections_hooks.rb +1 -1
- data/lib/all_collections_tag.rb +3 -1
- data/lib/jekyll_all_collections/version.rb +1 -1
- metadata +3 -6
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/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,11 +23,12 @@ 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
34
|
spec.add_dependency 'jekyll_draft'
|
@@ -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)
|
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
|
@@ -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: []
|