jekyll_all_collections 0.3.3 → 0.3.4

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: d7f7fa2e1b1ca3dc3ee52ef85f6b1f55db8710bca3fed39386469d686bd6341f
4
- data.tar.gz: 3827c3d5b908b972fb2d4efb3b6c0f703d84fbd710d5887485f1f6e0810718f9
3
+ metadata.gz: 48527cdeb305237310b14a6748a3a95aab2fea5a837a650d277a8d9c93daed97
4
+ data.tar.gz: 98b3eebd250c4d16e2141b9aaac2c211a54ff9478eafe4a5cbb68f7de905cc6a
5
5
  SHA512:
6
- metadata.gz: fed15d67819f65a6711f9b4a3550fd4d309184f06e774cffe4ba9e9a4673f04e422e785a62c17c4151f12e1e98685f8317bec2e02542cfebac87ec94c9557a0c
7
- data.tar.gz: 750f6e7f00532dc66bd992269c6cc0651deaebf2e10b385883c29010e4032a52ea7a925de12d55ecc064cdc2c604c919d6eb1a0807a641a31e7055f99a588048
6
+ metadata.gz: 0ebd2507129ca1d62ca6fba8bbeb3bce545c100093ed1bab1390f03c5d495b7dd51fcb0780e8438253fcbf87a74cb57f54034b526fe54d290338f3b732b325c1
7
+ data.tar.gz: 30b284bb7cb19a4ef0cb246c052e2818086343fc722e4713065c4b9f5cb9a0fd0d807d0df1d7a5e16cb0cf08993ed56ddad3bd006f93175393b27d81305740a9
data/.rubocop.yml CHANGED
@@ -7,11 +7,11 @@ require:
7
7
 
8
8
  AllCops:
9
9
  Exclude:
10
- - exe/**/*
10
+ - binstub/**/*
11
+ - demo/_site/*
11
12
  - vendor/**/*
12
13
  - Gemfile*
13
14
  NewCops: enable
14
- TargetRubyVersion: 2.6
15
15
 
16
16
  Gemspec/DeprecatedAttributeAssignment:
17
17
  Enabled: false
@@ -19,6 +19,9 @@ Gemspec/DeprecatedAttributeAssignment:
19
19
  Gemspec/RequireMFA:
20
20
  Enabled: false
21
21
 
22
+ Gemspec/RequiredRubyVersion:
23
+ Enabled: false
24
+
22
25
  Layout/HashAlignment:
23
26
  EnforcedColonStyle: table
24
27
  EnforcedHashRocketStyle: table
data/CHANGELOG.md CHANGED
@@ -1,29 +1,51 @@
1
+ # Changelog
2
+
3
+ ## 0.3.4 / 2023-12-24
4
+
5
+ * Changed dependency to Jekyll >= 4.3.2
6
+
7
+
1
8
  ## 0.3.3 / 2023-05-22
2
- * Corrected key presence checks in APage.initialize
3
- * Using `warn_short_trace` from `jekyll_plugin_support` for non-fatal errors.
9
+
10
+ * Corrected key presence checks in APage.initialize
11
+ * Using `warn_short_trace` from `jekyll_plugin_support` for non-fatal errors.
12
+
4
13
 
5
14
  ## 0.3.2 / 2023-04-05
6
- * Modified dependency `'jekyll_plugin_support', '>= 0.5.0'`
15
+
16
+ * Modified dependency `'jekyll_plugin_support', '>= 0.5.0'`
17
+
7
18
 
8
19
  ## 0.3.1 / 2023-03-16
9
- * Reduced the verbosity of the `@logger` message
20
+
21
+ * Reduced the verbosity of the `@logger` message
10
22
 
11
23
  ## 0.3.0 / 2023-02-16
12
- * Updated dependency `'jekyll_plugin_support', '~> 0.5.0'`
24
+
25
+ * Updated dependency `'jekyll_plugin_support', '~> 0.5.0'`
13
26
 
14
27
  ## 0.2.2 / 2023-02-12
15
- * Updated dependency `'jekyll_plugin_support', '~> 0.4.0'`
28
+
29
+ * Updated dependency `'jekyll_plugin_support', '~> 0.4.0'`
30
+
16
31
 
17
32
  ## 0.2.1 / 2023-02-12
18
- * Reduced the verbosity of log output from `info` to `debug`
33
+
34
+ * Reduced the verbosity of log output from `info` to `debug`
35
+
19
36
 
20
37
  ## 0.2.0 / 2023-02-04
21
- * Returns Array[APage] instead of a collection of different types of objects.
22
- * Converted the plugin to a `:site, :post_read` hook instead of a tag,
38
+
39
+ * Returns Array[APage] instead of a collection of different types of objects.
40
+ * Converted the plugin to a `:site, :post_read` hook instead of a tag,
23
41
  so explicit initialization is no longer required.
24
42
 
43
+
25
44
  ## 0.1.1 / 2022-04-27
26
- * Changed invocation from a `:site` hook to an idempotent method invocation.
45
+
46
+ * Changed invocation from a `:site` hook to an idempotent method invocation.
47
+
27
48
 
28
49
  ## 0.1.0 / 2022-04-26
29
- * Initial version published
50
+
51
+ * Initial version published
data/README.md CHANGED
@@ -1,6 +1,5 @@
1
- `jekyll_all_collections`
2
- [![Gem Version](https://badge.fury.io/rb/jekyll_all_collections.svg)](https://badge.fury.io/rb/jekyll_all_collections)
3
- ===========
1
+ # `jekyll_all_collections` [![Gem Version](https://badge.fury.io/rb/jekyll_all_collections.svg)](https://badge.fury.io/rb/jekyll_all_collections)
2
+
4
3
 
5
4
  `Jekyll_all_collections` is a Jekyll plugin that adds a new property called `all_collections` to `site`.
6
5
  It also provides a new Jekyll tag called `all_collections`,
@@ -16,6 +15,7 @@ Pages that are not in any collection are not included.
16
15
 
17
16
 
18
17
  ## Installation
18
+
19
19
  Add this line to your application's Gemfile:
20
20
 
21
21
  ```ruby
@@ -26,42 +26,56 @@ end
26
26
 
27
27
  And then execute:
28
28
 
29
- $ bundle
29
+ ```shell
30
+ $ bundle
31
+ ```
30
32
 
31
33
 
32
34
  ## Requirements
33
- All the pages in the Jekyll website must have an implicit date (for example, all posts are assigned this property by Jekyll),
35
+
36
+ All the pages in the Jekyll website must have an implicit date
37
+ (for example, all posts are assigned this property by Jekyll),
34
38
  or an explicit `date` set in front matter, like this:
35
- ```
36
- ---
37
- date: 2022-01-01
38
- ---
39
- ```
40
- If a front matter variable called `last_modified` or `last_modified_at` exists, its value will be converted to a Ruby `Date`:
41
- ```
42
- ---
43
- last_modified: 2023-01-01
44
- ---
45
- ```
46
-
47
- Or:
48
- ```
49
- ---
50
- last_modified_at: 2023-01-01
51
- ---
52
- ```
53
-
54
- Otherwise, if `last_modified` or `last_modified_at` is not present in the front matter for a page, the `date` value will be used last modified date value.
39
+
40
+ ```html
41
+ ---
42
+ date: 2022-01-01
43
+ ---
44
+ ```
45
+
46
+ If a front matter variable called `last_modified` or `last_modified_at` exists,
47
+ its value will be converted to a Ruby `Date`:
48
+
49
+ ```html
50
+ ---
51
+ last_modified: 2023-01-01
52
+ ---
53
+ ```
54
+
55
+ Or:
56
+
57
+ ```html
58
+ ---
59
+ last_modified_at: 2023-01-01
60
+ ---
61
+ ```
62
+
63
+ Otherwise, if `last_modified` or `last_modified_at` is not present in the front matter for a page,
64
+ the `date` value will be used last modified date value.
65
+
55
66
 
56
67
  ## Usage
57
68
 
58
69
  ### `Site.all_collections`
70
+
59
71
  No explicit initialization or setup is required.
60
72
  Jekyll plugins can access the value of `site.all_collections`, however Liquid code in Jekyll pages and documents cannot.
61
73
 
62
74
 
63
75
  ### `All_collections` Tag
76
+
64
77
  Add the following CSS to your stylesheet:
78
+
65
79
  ```css
66
80
  .posts {
67
81
  display: flex;
@@ -82,17 +96,24 @@ Add the following CSS to your stylesheet:
82
96
  }
83
97
  ```
84
98
 
99
+
85
100
  #### Excluding Pages
86
- Adding the following entry to a page's front matter `` causes that page to be excluded from the collection created by this plugin:
87
- ```
101
+
102
+ Adding the following entry to a page’s front matter causes that page to be excluded
103
+ from the collection created by this plugin:
104
+
105
+ ```html
88
106
  ---
89
107
  exclude_from_all: true
90
108
  ---
91
109
  ```
92
110
 
111
+
93
112
  #### General Form
113
+
94
114
  The general form of the Jekyll tag is:
95
- ```
115
+
116
+ ```html
96
117
  {% all_collections
97
118
  date_column='date|last_modified'
98
119
  heading='All Posts'
@@ -101,7 +122,9 @@ The general form of the Jekyll tag is:
101
122
  %}
102
123
  ```
103
124
 
125
+
104
126
  #### `date_column` Attribute
127
+
105
128
  One of two date columns can be displayed in the generated HTML:
106
129
  either `date` (when the article was originally written),
107
130
  or `last_modified`.
@@ -109,48 +132,59 @@ The default value for the `date_column` attribute is `date`.
109
132
 
110
133
 
111
134
  #### `heading` Attribute
112
- If no `heading` attribute is specified, a heading will automatically be generated, which contains the `sort_by` values, for example:
113
- ```
135
+
136
+ If no `heading` attribute is specified, a heading will automatically be generated, which contains the `sort_by` values,
137
+ for example:
138
+
139
+ ```html
114
140
  {% all_collections id='abcdef' sort_by="last_modified" %}
115
141
  ```
142
+
116
143
  Generates a heading like:
117
- ```
144
+
145
+ ```html
118
146
  <h2 id="abcdef">All Posts Sorted By last_modified</h2>
119
147
  ```
120
148
 
121
149
  To suppress both a `h2` heading (and the enclosed `id`) from being generated,
122
150
  specify an empty string for the value of `heading`:
123
- ```
151
+
152
+ ```html
124
153
  {% all_collections heading='' %}
125
154
  ```
126
155
 
127
156
 
128
157
  #### `id` Attribute
158
+
129
159
  If your Jekyll layout employs [`jekyll-toc`](https://github.com/allejo/jekyll-toc), then `id` attributes are important.
130
- The `jekyll-toc` include checks for `id` attributes in `h2` ... `h6` tags, and if found, and if the attribute value is enclosed in double quotes (`id="my_id"`, not `id='my_id'`),
160
+ The `jekyll-toc` include checks for `id` attributes in `h2` ... `h6` tags, and if found,
161
+ and if the attribute value is enclosed in double quotes (`id="my_id"`, not `id='my_id'`),
131
162
  then the heading is included in the table of contents.
132
163
 
133
164
  To suppress an `id` from being generated,
134
165
  and thereby preventing the heading from appearing in the automatically generated table of contents from `jekyll-toc`,
135
166
  specify an empty string for the value of `id`, like this:
136
- ```
167
+
168
+ ```html
137
169
  {% all_collections id='' %}
138
170
  ```
139
171
 
140
172
 
141
173
  #### `SORT_KEYS` Values
174
+
142
175
  `SORT_KEYS` specifies how to sort the collection.
143
176
  Values can include one or more of the following attributes:
144
- `date`, `destination`, `draft`, `label`, `last_modified`, `last_modified_at`, `path`, `relative_path`, `title`, `type`, and `url`.
177
+ `date`, `destination`, `draft`, `label`, `last_modified`, `last_modified_at`, `path`, `relative_path`,
178
+ `title`, `type`, and `url`.
145
179
  Ascending sorts are the default, however a descending sort can be achieved by prepending `-` before an attribute.
146
180
 
147
181
  To specify more than one sort key, provide a comma-delimited string of values.
148
182
  Included spaces are ignored.
149
- For example, specify the primary sort key as <code>draft</code>,
150
- the secondary sort key as <code>last_modified</code>,
151
- and the tertiary key as <code>label</code>:
183
+ For example, specify the primary sort key as `draft`,
184
+ the secondary sort key as `last_modified`,
185
+ and the tertiary key as `label`:
152
186
 
153
- ```
187
+ ```html
154
188
  {% all_collections
155
189
  date_column='last_modified'
156
190
  heading='All Posts'
@@ -161,9 +195,11 @@ and the tertiary key as <code>label</code>:
161
195
 
162
196
 
163
197
  #### Usage Examples
198
+
164
199
  Here is a short Jekyll page, including front matter,
165
200
  demonstrating this plugin being invoked with all default attribute values:
166
- ```
201
+
202
+ ```html
167
203
  ---
168
204
  description: "
169
205
  Dump of all collections, sorted by date originally written, newest to oldest.
@@ -177,51 +213,62 @@ title: Testing, 1, 2, 3
177
213
 
178
214
  Explicitly express the default sort
179
215
  (sort by the date originally written, newest to oldest):
180
- ```
216
+
217
+ ```html
181
218
  {% all_collections sort_by="-date" %}
182
219
  ```
183
220
 
184
221
  Sort by date, from oldest to newest:
185
- ```
222
+
223
+ ```html
186
224
  {% all_collections sort_by="date" %}
187
225
  ```
188
226
 
189
227
  Sort by the date last modified, oldest to newest:
190
- ```
228
+
229
+ ```html
191
230
  {% all_collections sort_by="last_modified" %}
192
231
  ```
193
232
 
194
233
  Sort by the date last modified, newest to oldest:
195
- ```
234
+
235
+ ```html
196
236
  {% all_collections sort_by="-last_modified" %}
197
237
  ```
198
238
 
199
239
  Several attributes can be specified as sort criteria by passing them as a comma-delimited string.
200
240
  Included spaces are ignored:
201
- ```
241
+
242
+ ```html
202
243
  {% all_collections sort_by="-last_modified, -date" %}
203
244
  {% all_collections sort_by="-last_modified, title" %}
204
245
  {% all_collections sort_by="-last_modified, -date, title" %}
205
246
  ```
206
247
 
207
248
  The following two examples produce the same output:
208
- ```
249
+
250
+ ```html
209
251
  {% all_collections sort_by="-last_modified,-date" %}
210
252
  {% all_collections sort_by="-last_modified, -date" %}
211
253
  ```
212
254
 
213
255
 
214
256
  ## Demo
257
+
215
258
  The [`demo`](./demo) directory contains a demonstration website, which uses the plugin.
216
259
  To run, type:
260
+
217
261
  ```console
218
262
  $ demo/_bin/debug -r
219
263
  ```
264
+
220
265
  Now point your web browser to http://localhost:4444
221
266
 
222
267
 
223
268
  ## Debugging
269
+
224
270
  You can control the verbosity of log output by adding the following to `_config.yml` in your Jekyll project:
271
+
225
272
  ```yaml
226
273
  plugin_loggers:
227
274
  AllCollectionsTag::AllCollectionsTag: warn
@@ -231,7 +278,8 @@ plugin_loggers:
231
278
  1. You have two options for initiating a debug session:
232
279
 
233
280
  1. Run `demo/_bin/debug`, without the `-r` options shown above.
234
- ```
281
+
282
+ ```console
235
283
  ... lots of output as bundle update runs...
236
284
  Bundle updated!
237
285
 
@@ -248,6 +296,7 @@ plugin_loggers:
248
296
 
249
297
  2. Run `bin/attach` and pass the directory name of a Jekyll website that has a suitable script called `_bin/debug`.
250
298
  The `demo` subdirectory fits this description.
299
+
251
300
  ```console
252
301
  $ bin/attach demo
253
302
  Successfully uninstalled jekyll_all_collections-0.1.2
@@ -265,6 +314,7 @@ plugin_loggers:
265
314
 
266
315
 
267
316
  ## Additional Information
317
+
268
318
  More information is available on Mike Slinn's website about
269
319
  [Jekyll plugins](https://www.mslinn.com/blog/index.html#Jekyll).
270
320
 
@@ -277,12 +327,9 @@ You can also run `bin/console` for an interactive prompt that will allow you to
277
327
 
278
328
 
279
329
  ### Build and Install Locally
330
+
280
331
  To build and install this gem onto your local machine, run:
281
- ```shell
282
- $ rake install
283
- ```
284
332
 
285
- The following also does the same thing:
286
333
  ```shell
287
334
  $ bundle exec rake install
288
335
  jekyll_all_collections 0.1.0 built to pkg/jekyll_all_collections-0.1.0.gem.
@@ -290,6 +337,7 @@ jekyll_all_collections (0.1.0) installed.
290
337
  ```
291
338
 
292
339
  Examine the newly built gem:
340
+
293
341
  ```shell
294
342
  $ gem info jekyll_all_collections
295
343
 
@@ -306,15 +354,19 @@ jekyll_all_collections (0.1.0)
306
354
 
307
355
 
308
356
  ### Build and Push to RubyGems
357
+
309
358
  To release a new version,
310
- 1. Update the version number in `version.rb`.
311
- 2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
312
- 3. Run the following:
313
- ```shell
314
- $ bundle exec rake release
315
- ```
316
- The above creates a git tag for the version, commits the created tag,
317
- and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
359
+
360
+ 1. Update the version number in `version.rb`.
361
+ 2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
362
+ 3. Run the following:
363
+
364
+ ```shell
365
+ $ bundle exec rake release
366
+ ```
367
+
368
+ The above creates a git tag for the version, commits the created tag,
369
+ and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
318
370
 
319
371
 
320
372
  ## Contributing
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
  task default: :spec
@@ -4,11 +4,11 @@ Gem::Specification.new do |spec|
4
4
  github = 'https://github.com/mslinn/jekyll_all_collections'
5
5
 
6
6
  spec.authors = ['Mike Slinn']
7
- spec.bindir = 'bin'
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 = ['email@email.com']
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.
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
30
30
  spec.version = JekyllAllCollectionsVersion::VERSION
31
31
 
32
32
  spec.add_dependency 'jekyll', '>= 3.5.0'
33
- spec.add_dependency 'jekyll_draft', '~> 1.1.1'
33
+ spec.add_dependency 'jekyll_draft', '>= 1.1.1'
34
34
  spec.add_dependency 'jekyll_plugin_support', '>= 0.7.0'
35
35
  end
@@ -77,7 +77,10 @@ module AllCollectionsHooks
77
77
  @content = obj.content if obj.respond_to? :content
78
78
  @date = (@data['date'].to_date if @data&.key?('date')) || Date.today
79
79
  @description = @data['description'] if @data.key? 'description'
80
- @destination = obj.destination('') if obj.respond_to? :destination # TODO: What _config.yml setting should be passed to destination()?
80
+
81
+ # TODO: What _config.yml setting should be passed to destination()?
82
+ @destination = obj.destination('') if obj.respond_to? :destination
83
+
81
84
  @draft = Jekyll::Draft.draft?(obj)
82
85
  @excerpt = @data['excerpt'] if @data.key? 'excerpt'
83
86
  @ext = @data['ext'] if @data.key? 'ext'
@@ -8,8 +8,7 @@ class NullBinding < BasicObject
8
8
  def min_binding
9
9
  ::Kernel
10
10
  .instance_method(:binding)
11
- .bind(self)
12
- .call
11
+ .bind_call(self)
13
12
  end
14
13
  end
15
14
 
@@ -36,7 +35,7 @@ module AllCollectionsTag
36
35
  end
37
36
  @id = @helper.parameter_specified?('id') || SecureRandom.hex(10)
38
37
  sort_by_param = @helper.parameter_specified? 'sort_by'
39
- sort_by = (sort_by_param&.gsub(' ', '')&.split(',') if sort_by_param != false) || ['-date']
38
+ sort_by = (sort_by_param&.delete(' ')&.split(',') if sort_by_param != false) || ['-date']
40
39
  @heading = @helper.parameter_specified?('heading') || self.class.default_head(sort_by)
41
40
  sort_lambda_string = self.class.create_lambda_string(sort_by)
42
41
  @logger.debug do
@@ -98,7 +97,11 @@ module AllCollectionsTag
98
97
  private
99
98
 
100
99
  def last_modified_value(post)
101
- @logger.debug { " post.last_modified='#{post.last_modified}'; post.last_modified_at='#{post.last_modified_at}'; @date_column='#{@date_column}'" }
100
+ @logger.debug do
101
+ " post.last_modified='#{post.last_modified}'; " \
102
+ "post.last_modified_at='#{post.last_modified_at}'; " \
103
+ "@date_column='#{@date_column}'"
104
+ end
102
105
  last_modified = if @date_column == 'last_modified' && post.respond_to?(:last_modified)
103
106
  post.last_modified
104
107
  elsif post.respond_to? :last_modified_at
@@ -1,3 +1,3 @@
1
1
  module JekyllAllCollectionsVersion
2
- VERSION = '0.3.3'.freeze
2
+ VERSION = '0.3.4'.freeze
3
3
  end
@@ -1,5 +1,5 @@
1
- require_relative './all_collections_hooks'
2
- require_relative './all_collections_tag'
1
+ require_relative 'all_collections_hooks'
2
+ require_relative 'all_collections_tag'
3
3
 
4
4
  module JekyllAllCollections
5
5
  include AllCollectionsHooks
data/spec/spec_helper.rb CHANGED
@@ -6,9 +6,8 @@ require_relative '../lib/jekyll_all_collections'
6
6
  Jekyll.logger.log_level = :info
7
7
 
8
8
  RSpec.configure do |config|
9
- config.filter_run :focus
10
9
  # config.order = 'random'
11
- config.run_all_when_everything_filtered = true
10
+ config.filter_run_when_matching focus: true
12
11
 
13
12
  # See https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
14
13
  config.example_status_persistence_file_path = 'spec/status_persistence.txt'
@@ -0,0 +1,23 @@
1
+ example_id | status | run_time |
2
+ -------------------------------- | ------ | --------------- |
3
+ ./spec/date_sort_spec.rb[1:1] | passed | 0.00111 seconds |
4
+ ./spec/date_sort_spec.rb[1:2] | passed | 0.00019 seconds |
5
+ ./spec/date_sort_spec.rb[1:3] | passed | 0.00014 seconds |
6
+ ./spec/date_sort_spec.rb[1:4] | passed | 0.00016 seconds |
7
+ ./spec/date_sort_spec.rb[1:5] | passed | 0.00016 seconds |
8
+ ./spec/date_sort_spec.rb[1:6] | passed | 0.00015 seconds |
9
+ ./spec/date_sort_spec.rb[1:7] | passed | 0.00014 seconds |
10
+ ./spec/date_sort_spec.rb[1:8] | passed | 0.00014 seconds |
11
+ ./spec/date_sort_spec.rb[1:9] | passed | 0.00016 seconds |
12
+ ./spec/date_sort_spec.rb[1:10] | passed | 0.00015 seconds |
13
+ ./spec/lambda_sort_spec.rb[1:1] | passed | 0.00017 seconds |
14
+ ./spec/lambda_sort_spec.rb[1:2] | passed | 0.00022 seconds |
15
+ ./spec/lambda_sort_spec.rb[1:3] | passed | 0.00029 seconds |
16
+ ./spec/lambda_sort_spec.rb[1:4] | passed | 0.0002 seconds |
17
+ ./spec/lambda_sort_spec.rb[1:5] | passed | 0.00018 seconds |
18
+ ./spec/lambda_sort_spec.rb[1:6] | passed | 0.0002 seconds |
19
+ ./spec/lambda_sort_spec.rb[1:7] | passed | 0.00019 seconds |
20
+ ./spec/lambda_sort_spec.rb[1:8] | passed | 0.00019 seconds |
21
+ ./spec/lambda_sort_spec.rb[1:9] | passed | 0.00019 seconds |
22
+ ./spec/lambda_sort_spec.rb[1:10] | passed | 0.00019 seconds |
23
+ ./spec/lambda_sort_spec.rb[1:11] | passed | 0.00036 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_all_collections
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-06 00:00:00.000000000 Z
11
+ date: 2023-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: jekyll_draft
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.1.1
41
41
  - !ruby/object:Gem::Dependency
@@ -56,7 +56,7 @@ description: 'Provides a collection of all collections in site.all_collections.
56
56
 
57
57
  '
58
58
  email:
59
- - email@email.com
59
+ - mslinn@mslinn.com
60
60
  executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
@@ -71,9 +71,10 @@ files:
71
71
  - lib/all_collections_tag.rb
72
72
  - lib/jekyll_all_collections.rb
73
73
  - lib/jekyll_all_collections/version.rb
74
- - spec/all_collections_tag_sort_spec.rb
74
+ - spec/all_collections_tag/all_collections_tag_sort_spec.rb
75
75
  - spec/date_sort_spec.rb
76
76
  - spec/spec_helper.rb
77
+ - spec/status_persistence.txt
77
78
  homepage: https://www.mslinn.com/jekyll_plugins/jekyll_all_collections.html
78
79
  licenses:
79
80
  - MIT