jekyll_from_to_until 1.0.3 → 1.0.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: 6e9c06080cf832cfcda1eb6c9cd671885c26f512947574df19e6a6ac1fe5c35a
4
- data.tar.gz: dd4b79b63729f6317cee948f042ce2988668115b9a0a90c654e95518c9902f1f
3
+ metadata.gz: df28899e4d0c5ef83e25c224bf13ab963540f5329fdb901e57810fc8959f6c8e
4
+ data.tar.gz: 1e6159cef57b71549fb95a94052e46a535d5f9a9d05bc45aa8749102c7af9774
5
5
  SHA512:
6
- metadata.gz: e9586ed9c90b47badb95791248aee4b8774b7c335314881902182f499be6afb173cdc085925186c164bb2bdc77192546ede605579cc39cf3b2b58f5a62f23ddd
7
- data.tar.gz: f662add178d12e1be22f3595781e974908c6d0b637d78af8d2abd6c03aadc3b6918e4c115723bd5ebaf67966196b969569869695fb3191efea5fe48974acb44e
6
+ metadata.gz: ff87af96660512fa9e48546598ff7a0130db3ff83e8ed4ab6945e5261ddbd88257904a343345ec999f076be98e444a51c6ce78cc0281454fe5eec69f2a40a184
7
+ data.tar.gz: 4f44c850b030ee09f151ffa98af5e2442f0285a396f004d38e637b7011c9572d894052e582c70e4bc5627295537665e7d1b6c4f336e61391cbda4642b683e332
data/.rubocop.yml CHANGED
@@ -11,11 +11,11 @@ require:
11
11
  AllCops:
12
12
  Exclude:
13
13
  - demo/_site/**/*
14
+ - binstub/**/*
14
15
  - exe/**/*
15
16
  - vendor/**/*
16
17
  - Gemfile*
17
18
  NewCops: enable
18
- TargetRubyVersion: 2.6
19
19
 
20
20
  Gemspec/DeprecatedAttributeAssignment:
21
21
  Enabled: false
@@ -23,6 +23,9 @@ Gemspec/DeprecatedAttributeAssignment:
23
23
  Gemspec/RequireMFA:
24
24
  Enabled: false
25
25
 
26
+ Gemspec/RequiredRubyVersion:
27
+ Enabled: false
28
+
26
29
  Layout/HashAlignment:
27
30
  EnforcedColonStyle: table
28
31
  Exclude:
data/CHANGELOG.md CHANGED
@@ -1,18 +1,34 @@
1
+ # Change Log
2
+
3
+ ## 1.0.4 / 2023-11-18
4
+
5
+ * Now callable from any Ruby program
6
+
7
+
1
8
  ## 1.0.3 / 2023-02-25
2
- * Fixed `undefined method 'registers' for nil:NilClass (NoMethodError)`
9
+
10
+ * Fixed `undefined method 'registers' for nil:NilClass (NoMethodError)`
11
+
3
12
 
4
13
  ## 1.0.2 / 2023-02-21
5
- * Improved how the logger was used.
6
- * Added `demo` website
14
+
15
+ * Improved how the logger was used.
16
+ * Added `demo` website
17
+
7
18
 
8
19
  ## 1.0.1 / 2022-04-05
9
- * Updated to `jekyll_plugin_logger` v2.1.0
20
+
21
+ * Updated to `jekyll_plugin_logger` v2.1.0
22
+
10
23
 
11
24
  ## 1.0.0 / 2022-03-14
12
- * Made into a Ruby gem and published on RubyGems.org as [jekyll_from_to_until](https://rubygems.org/gems/jekyll_from_to_until).
13
- * `bin/attach` script added for debugging
14
- * Rubocop standards added
15
- * Proper versioning and CHANGELOG.md added
25
+
26
+ * Made into a Ruby gem and published on RubyGems.org as [jekyll_from_to_until](https://rubygems.org/gems/jekyll_from_to_until).
27
+ * `bin/attach` script added for debugging
28
+ * Rubocop standards added
29
+ * Proper versioning and CHANGELOG.md added
30
+
16
31
 
17
32
  ## 0.1.0 / 2020-12-29
18
- * Initial version published
33
+
34
+ * Initial version published
data/README.md CHANGED
@@ -1,65 +1,113 @@
1
- `jekyll_from_to_until`
2
- [![Gem Version](https://badge.fury.io/rb/jekyll_from_to_until.svg)](https://badge.fury.io/rb/jekyll_from_to_until)
3
- ===========
1
+ # `jekyll_from_to_until` [![Gem Version](https://badge.fury.io/rb/jekyll_from_to_until.svg)](https://badge.fury.io/rb/jekyll_from_to_until)
4
2
 
5
- This Jekyll plugin provides 3 filters that return portions of a multiline string.
6
- Regular expression is used to specify matches; the simplest regular expression is a string.
7
- * `from` — returns the portion beginning with the line that satisfies a regular expression to the end of the multiline string.
8
- * `to` returns the portion from the first line to the line that satisfies a regular expression, including the matched line.
9
- * `until` — returns the portion from the first line to the line that satisfies a regular expression, excluding the matched line.
3
+ This module provides 3 filters that return portions of a multiline string.
4
+ It can be used as a Jekyll plugin, or it can be called from any Ruby program.
5
+
6
+ Matches are specified by regular expressions; the simplest regular expression is a string.
7
+
8
+ * `from` — returns the portion beginning with the line that satisfies a regular expression to the end of the multiline string.
9
+ * `to` — returns the portion from the first line to the line that satisfies a regular expression, including the matched line.
10
+ * `until` — returns the portion from the first line to the line that satisfies a regular expression, excluding the matched line.
10
11
 
11
12
  [Rubular](https://rubular.com/) is a handy online tool to try out regular expressions.
12
13
 
13
14
 
14
- ### Additional Information
15
- More information is available on my web site about [my Jekyll plugins](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).
15
+ ## Additional Information
16
+
17
+ More information is available on the [`jekyll_from_to_until` gem web page](https://www.mslinn.com/jekyll_plugins/jekyll_from_to_until.html).
16
18
 
17
19
 
18
20
  ## Installation
19
21
 
20
- Add this line to your application's Gemfile:
22
+ ### As a Jekyll Filter Plugin
23
+
24
+ If you want to use this Ruby gem in a Jekyll application,
25
+ add the following line to your application's Gemfile:
21
26
 
22
27
  ```ruby
23
- gem 'jekyll_from_to_until'
28
+ group :jekyll_plugins do
29
+ gem 'jekyll_from_to_until'
30
+ end
24
31
  ```
25
32
 
26
33
  And then install in the usual fashion:
27
34
 
28
- $ bundle install
35
+ ```shell
36
+ $ bundle
37
+ ```
38
+
39
+ ### As a Dependency Of a Gem
29
40
 
41
+ Add the following line to your application's `.gemspec`:
42
+
43
+ ```ruby
44
+ spec.add_dependency 'jekyll_from_to_until'
45
+ ```
46
+
47
+ And then install the dependencies in the usual fashion:
48
+
49
+ ```shell
50
+ $ bundle
51
+ ```
52
+
53
+ ### As a Ruby Module In a Ruby Program
54
+
55
+ Add the following line to your application's `Gemfile`:
56
+
57
+ ```ruby
58
+ gem 'jekyll_from_to_until'
59
+ ```
60
+
61
+ And then install the dependencies in the usual fashion:
62
+
63
+ ```shell
64
+ $ bundle
65
+ ```
66
+
67
+
68
+ ## Jekyll Syntax
30
69
 
31
- ## Syntax
32
70
  The regular expression may be enclosed in single quotes, double quotes, or nothing.
33
71
 
72
+
34
73
  ### `from`
74
+
35
75
  All of these examples perform identically.
36
- ```
76
+
77
+ ```html
37
78
  {{ sourceOfLines | from: 'regex' }}
38
79
  {{ sourceOfLines | from: "regex" }}
39
80
  {{ sourceOfLines | from: regex }}
40
81
  ```
41
82
 
42
83
  ### `to`
84
+
43
85
  All of these examples perform identically.
44
- ```
86
+
87
+ ```html
45
88
  {{ sourceOfLines | to: 'regex' }}
46
89
  {{ sourceOfLines | to: "regex" }}
47
90
  {{ sourceOfLines | to: regex }}
48
91
  ```
49
92
 
50
93
  ### `until`
94
+
51
95
  All of these examples perform identically.
52
- ```
96
+
97
+ ```text
53
98
  {{ sourceOfLines | until: 'regex' }}
54
99
  {{ sourceOfLines | until: "regex" }}
55
100
  {{ sourceOfLines | until: regex }}
56
101
  ```
57
- :warning: Important: the name of the filter must be followed by a colon (:). If you fail to do that an error will be generated and the Jekyll site building process will halt. The error message looks something like this: `Liquid Warning: Liquid syntax error (line 285): Expected end_of_string but found string in "{{ lines | from '2' | until: '4' | xml_escape }}" in /some_directory/some_files.html Liquid Exception: Liquid error (line 285): wrong number of arguments (given 1, expected 2) in /some_directory/some_file.html Error: Liquid error (line 285): wrong number of arguments (given 1, expected 2)`
58
- ## Usage
102
+
103
+ :warning: Important: the name of the filter must be followed by a colon (:). If you fail to do that an error will be generated and the Jekyll site building process will halt. The error message looks something like this: `Liquid Warning: Liquid syntax error (line 285): Expected end_of_string but found string in "{{ lines | from '2' | until: '4' | xml_escape }}" in /some_directory/some_files.html Liquid Exception: Liquid error (line 285): wrong number of arguments (given 1, expected 2) in /some_directory/some_file.html Error: Liquid error (line 285): wrong number of arguments (given 1, expected 2)`
104
+
105
+
106
+ ## Jekyll Usage
59
107
 
60
108
  Some of the following examples use a multiline string called `lines` that contains 5 lines, which was created this way:
61
109
 
62
- ```
110
+ ```html
63
111
  {% capture lines %}line 1
64
112
  line 2
65
113
  line 3
@@ -68,8 +116,10 @@ line 5
68
116
  {% endcapture %}
69
117
  ```
70
118
 
71
- Other examples use a multiline string called `gitignore` that contains the contents of a mythical `.gitignore` file, which looks like this:
72
- ```
119
+ Other examples use a multiline string called `gitignore` that contains the contents of a mythical `.gitignore` file,
120
+ which looks like this:
121
+
122
+ ```text
73
123
  .bsp/
74
124
  project/
75
125
  target/
@@ -114,27 +164,36 @@ cloud9.zip
114
164
  mslinn_aws.tar
115
165
  ```
116
166
 
167
+
117
168
  ### From the third line of string
169
+
118
170
  These examples return the lines of the file from the beginning of the until a line with the string "3" is found, including the matched line. The only difference between the examples is the delimiter around the regular expression.
119
- ```
171
+
172
+ ```html
120
173
  {{ lines | from: '3' }}
121
174
  {{ lines | from: "3" }}
122
175
  {{ lines | from: 3 }}
123
176
  ```
177
+
124
178
  The above all generate:
125
- ```
179
+
180
+ ```plain
126
181
  line 3
127
182
  line 4
128
183
  line 5
129
184
  ```
130
185
 
186
+
131
187
  ### From Line In a File Containing 'PID'
132
- ```
188
+
189
+ ```html
133
190
  {% capture gitignore %}{% flexible_include '.gitignore' %}{% endcapture %}
134
191
  {{ gitignore | from: 'PID' | xml_escape }}
135
192
  ```
193
+
136
194
  The above generates:
137
- ```
195
+
196
+ ```text
138
197
  RUNNING_PID
139
198
  mslinn_jekyll_plugins.zip
140
199
  cloud9.tar
@@ -142,26 +201,35 @@ cloud9.zip
142
201
  mslinn_aws.tar
143
202
  ```
144
203
 
204
+
145
205
  ### To the third line of string
206
+
146
207
  These examples return the lines of the file from the first line until a line with the string `"3"` is found, including the matched line. The only difference between the examples is the delimiter around the regular expression.
147
- ```
208
+
209
+ ```html
148
210
  {{ lines | to: '3' }}
149
211
  {{ lines | to: "3" }}
150
212
  {{ lines | to: 3 }}
151
213
  ```
214
+
152
215
  The above all generate:
153
- ```
216
+
217
+ ```text
154
218
  line 1
155
219
  line 2
156
220
  line 3
157
221
  ```
158
222
 
223
+
159
224
  ### To Line In a File Containing 'idea'
160
- ```
225
+
226
+ ```html
161
227
  {{ gitignore | to: 'idea' }}
162
228
  ```
229
+
163
230
  The above generates:
164
- ```
231
+
232
+ ```text
165
233
  .bsp/
166
234
  project/
167
235
  target/
@@ -174,25 +242,34 @@ target/
174
242
  .idea*
175
243
  ```
176
244
 
245
+
177
246
  ### Until the third line of string
247
+
178
248
  These examples return the lines of the file until a line with the string `"3"` is found, excluding the matched line. The only difference between the examples is the delimiter around the regular expression.
179
- ```
249
+
250
+ ```html
180
251
  {{ lines | until: '3' }}
181
252
  {{ lines | until: "3" }}
182
253
  {{ lines | until: 3 }}
183
254
  ```
255
+
184
256
  The above all generate:
185
- ```
257
+
258
+ ```text
186
259
  line 1
187
260
  line 2
188
261
  ```
189
262
 
263
+
190
264
  ### Until Line In a File Containing 'idea'
191
- ```
265
+
266
+ ```html
192
267
  {{ gitignore | until: 'idea' }}
193
268
  ```
269
+
194
270
  The above generates:
195
- ```
271
+
272
+ ```text
196
273
  .bsp/
197
274
  project/
198
275
  target/
@@ -204,26 +281,36 @@ target/
204
281
  *.log
205
282
  ```
206
283
 
284
+
207
285
  ### From the string "2" until the string "4"
286
+
208
287
  These examples return the lines of the file until a line with the string `"3"` is found, excluding the matched line. The only difference between the examples is the delimiter around the regular expression.
209
- ```
288
+
289
+ ```html
210
290
  {{ lines | from: '2' | until: '4' }}
211
291
  {{ lines | from: "2" | until: "4" }}
212
292
  {{ lines | from: 2 | until: 4 }}
213
293
  ```
294
+
214
295
  The above all generate:
215
- ```
296
+
297
+ ```text
216
298
  line 2
217
299
  line 3
218
300
  ```
219
301
 
302
+
220
303
  ### From Line In a File Containing 'idea' Until no match
304
+
221
305
  The `.gitignore` file does not contain the string `xx`. If we attempt to match against that string the remainder of the file is returned for the to and until filter, and the empty string is returned for the from filter.
222
- ```
306
+
307
+ ```html
223
308
  {{ gitignore | from: 'PID' | until: 'xx' }}
224
309
  ```
310
+
225
311
  The above generates:
226
- ```
312
+
313
+ ```text
227
314
  RUNNING_PID
228
315
  mslinn_jekyll_plugins.zip
229
316
  cloud9.tar
@@ -231,15 +318,20 @@ cloud9.zip
231
318
  mslinn_aws.tar
232
319
  ```
233
320
 
321
+
234
322
  ### More Complex Regular Expressions
323
+
235
324
  The `from`, `to` and `until` filters can all accept regular expressions.
236
325
  The regular expression matches lines that have either the string `sun` or `cloud`
237
326
  at the beginning of the line.
238
- ```
327
+
328
+ ```html
239
329
  {{ gitignore | from: '^(cloud|sun)' }}
240
330
  ```
331
+
241
332
  The above generates:
242
- ```
333
+
334
+ ```text
243
335
  cloud9.tar
244
336
  cloud9.zip
245
337
  mslinn_aws.tar
@@ -254,12 +346,15 @@ You can also run `bin/console` for an interactive prompt that will allow you to
254
346
 
255
347
 
256
348
  ### Build and Install Locally
349
+
257
350
  To build and install this gem onto your local machine, run:
351
+
258
352
  ```shell
259
353
  $ bundle exec rake install
260
354
  ```
261
355
 
262
356
  Examine the newly built gem:
357
+
263
358
  ```shell
264
359
  $ gem info jekyll_from_to_until
265
360
 
@@ -275,12 +370,15 @@ jekyll_from_to_until (1.0.0)
275
370
  Generates Jekyll logger with colored output.
276
371
  ```
277
372
 
373
+
278
374
  ## Demo Website
375
+
279
376
  A test/demo website is provided in the `demo` directory.
280
377
  You can run it under a debugger, or let it run free.
281
378
 
282
379
  The `demo/_bin/debug` script can set various parameters for the demo.
283
380
  View the help information with the `-h` option:
381
+
284
382
  ```shell
285
383
  $ demo/_bin/debug -h
286
384
 
@@ -297,29 +395,34 @@ Options:
297
395
 
298
396
 
299
397
  ### Debugging the Demo
398
+
300
399
  To run under a debugger, for example Visual Studio Code:
301
- 1. Set breakpoints.
302
400
 
303
- 2. Initiate a debug session from the command line:
304
- ```shell
305
- $ demo/bin/debug
306
- ```
401
+ 1. Set breakpoints.
402
+ 2. Initiate a debug session from the command line:
307
403
 
308
- 3. Once the `Fast Debugger` signon appears, launch the Visual Studio Code launch configuration called `Attach rdebug-ide`.
404
+ ```shell
405
+ $ demo/bin/debug
406
+ ```
309
407
 
310
- 4. View the generated website at [`http://localhost:4444`](http://localhost:4444).
408
+ 3. Once the `Fast Debugger` signon appears, launch the Visual Studio Code launch configuration called `Attach rdebug-ide`.
409
+ 4. View the generated website at [`http://localhost:4444`](http://localhost:4444).
311
410
 
312
411
 
313
412
  ### Build and Push to RubyGems
413
+
314
414
  To release a new version,
315
- 1. Update the version number in `version.rb`.
316
- 2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
317
- 3. Run the following:
318
- ```shell
319
- $ bundle exec rake release
320
- ```
321
- The above creates a git tag for the version, commits the created tag,
322
- and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
415
+
416
+ 1. Update the version number in `version.rb`.
417
+ 2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
418
+ 3. Run the following:
419
+
420
+ ```shell
421
+ $ bundle exec rake release
422
+ ```
423
+
424
+ The above creates a git tag for the version, commits the created tag,
425
+ and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
323
426
 
324
427
 
325
428
  ## Contributing
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  END_DESC
12
12
  spec.email = ['mslinn@mslinn.com']
13
13
  spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
14
- spec.homepage = 'https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#from_to_until'
14
+ spec.homepage = 'https://www.mslinn.com/jekyll_plugins/jekyll_from_to_until.html'
15
15
  spec.license = 'MIT'
16
16
  spec.metadata = {
17
17
  'allowed_push_host' => 'https://rubygems.org',
@@ -1,3 +1,3 @@
1
1
  module JekyllFromToUntilVersion
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
@@ -1,16 +1,22 @@
1
- # @author Copyright 2020 Michael Slinn
2
1
  # Jekyll filters for working with multiline strings.
3
2
 
4
- require 'jekyll_plugin_logger'
5
- require 'liquid'
6
3
  require_relative 'jekyll_from_to_until/version'
7
4
 
8
5
  module JekyllPluginFromToUntilName
9
6
  PLUGIN_NAME = 'jekyll_from_to_until'.freeze
10
7
  end
11
8
 
9
+ CALLED_FROM_JEKYLL = !$LOADED_FEATURES.grep(/.*liquid.rb/).empty?
10
+
12
11
  module FromToUntil
13
- @logger = PluginMetaLogger.instance.new_logger("FromToUntil", PluginMetaLogger.instance.config)
12
+ @logger = if CALLED_FROM_JEKYLL
13
+ require 'liquid'
14
+ require 'jekyll_plugin_logger'
15
+ PluginMetaLogger.instance.new_logger "FromToUntil", PluginMetaLogger.instance.config
16
+ else
17
+ require 'logger'
18
+ Logger.new $stdout
19
+ end
14
20
 
15
21
  # Filters a multiline string, returning the portion beginning with the line that satisfies a regex.
16
22
  # The regex could be enclosed in single quotes, double quotes, or nothing.
@@ -65,7 +71,7 @@ module FromToUntil
65
71
  result
66
72
  end
67
73
 
68
- private
74
+ private if CALLED_FROM_JEKYLL
69
75
 
70
76
  def check_parameters(input_strings, regex)
71
77
  if input_strings.nil? || input_strings.empty?
@@ -86,7 +92,11 @@ module FromToUntil
86
92
  (str.start_with?("'") && str.end_with?("'"))
87
93
  str
88
94
  end
95
+
96
+ module_function :from, :to, :until, :check_parameters, :remove_quotations
89
97
  end
90
98
 
91
- PluginMetaLogger.instance.info { "Loaded #{JekyllPluginFromToUntilName::PLUGIN_NAME} v#{JekyllFromToUntilVersion::VERSION} plugin." }
92
- Liquid::Template.register_filter(FromToUntil)
99
+ if CALLED_FROM_JEKYLL
100
+ PluginMetaLogger.instance.info { "Loaded #{JekyllPluginFromToUntilName::PLUGIN_NAME} v#{JekyllFromToUntilVersion::VERSION} plugin." }
101
+ Liquid::Template.register_filter(FromToUntil)
102
+ end
@@ -2,8 +2,8 @@ require 'jekyll'
2
2
  require 'fileutils'
3
3
  require_relative '../lib/jekyll_from_to_until'
4
4
 
5
- RSpec.describe(JekyllFromToUntil) do
6
- include JekyllFromToUntil
5
+ RSpec.describe(FromToUntil) do
6
+ include described_class
7
7
 
8
8
  let(:lines) do
9
9
  <<~END_OF_LINES
data/spec/spec_helper.rb CHANGED
@@ -5,9 +5,8 @@ require_relative '../lib/jekyll_from_to_until'
5
5
  Jekyll.logger.log_level = :info
6
6
 
7
7
  RSpec.configure do |config|
8
- config.filter_run :focus
9
- config.order = 'random'
10
- config.run_all_when_everything_filtered = true
8
+ config.filter_run_when_matching focus: true
9
+ # config.order = 'random'
11
10
 
12
11
  # See https://relishapp.com/rspec/rspec-core/docs/command-line/only-failures
13
12
  config.example_status_persistence_file_path = "spec/status_persistence.txt"
@@ -0,0 +1,6 @@
1
+ example_id | status | run_time |
2
+ ---------------------------------------- | ------ | --------------- |
3
+ ./spec/jekyll_from_to_until_spec.rb[1:1] | passed | 0.00121 seconds |
4
+ ./spec/jekyll_from_to_until_spec.rb[1:2] | passed | 0.00007 seconds |
5
+ ./spec/jekyll_from_to_until_spec.rb[1:3] | passed | 0.00005 seconds |
6
+ ./spec/jekyll_from_to_until_spec.rb[1:4] | passed | 0.00015 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_from_to_until
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-27 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -55,20 +55,21 @@ files:
55
55
  - jekyll_from_to_until.gemspec
56
56
  - lib/jekyll_from_to_until.rb
57
57
  - lib/jekyll_from_to_until/version.rb
58
- - spec/from_to_until_spec.rb
58
+ - spec/jekyll_from_to_until_spec.rb
59
59
  - spec/spec_helper.rb
60
- homepage: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#from_to_until
60
+ - spec/status_persistence.txt
61
+ homepage: https://www.mslinn.com/jekyll_plugins/jekyll_from_to_until.html
61
62
  licenses:
62
63
  - MIT
63
64
  metadata:
64
65
  allowed_push_host: https://rubygems.org
65
66
  bug_tracker_uri: https://github.com/mslinn/jekyll_from_to_until/issues
66
67
  changelog_uri: https://github.com/mslinn/jekyll_from_to_until/CHANGELOG.md
67
- homepage_uri: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#from_to_until
68
+ homepage_uri: https://www.mslinn.com/jekyll_plugins/jekyll_from_to_until.html
68
69
  source_code_uri: https://github.com/mslinn/jekyll_from_to_until
69
70
  post_install_message: |2+
70
71
 
71
- Thanks for installing jekyll_from_to_until v1.0.3!
72
+ Thanks for installing jekyll_from_to_until v1.0.4!
72
73
 
73
74
  rdoc_options: []
74
75
  require_paths:
@@ -84,12 +85,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  - !ruby/object:Gem::Version
85
86
  version: '0'
86
87
  requirements: []
87
- rubygems_version: 3.3.3
88
+ rubygems_version: 3.3.7
88
89
  signing_key:
89
90
  specification_version: 4
90
91
  summary: 'This Jekyll plugin provides 3 filters that return portions of a multiline
91
92
  string: from, to and until.'
92
93
  test_files:
93
- - spec/from_to_until_spec.rb
94
+ - spec/jekyll_from_to_until_spec.rb
94
95
  - spec/spec_helper.rb
96
+ - spec/status_persistence.txt
95
97
  ...