jekyll_href 1.0.13 → 1.1.0

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: f6a4d85b016759a94f6242ea415a19cb5870f1e3b51e7f4c5141f95f6c817877
4
- data.tar.gz: 072b91a1e7919924daecb086549caaad4f30a071a88b9ad4b32c81d92056d946
3
+ metadata.gz: '0656497a33e45341646549dc55a45747f8418acd5f84298e145134bf7c10eec5'
4
+ data.tar.gz: 2c938cbc5e5f09bc2b8ea42ea11dde9d28e44e74512d7ebc203bccc2d127a8f6
5
5
  SHA512:
6
- metadata.gz: e816084465970281cfc16416f2cfcd30807d6f318833d9dfa39e2a48f178f3e0aa865f1ef5e53b4b6be90160fe9d0a6647cbb2eb166254953711e210c82e1fd4
7
- data.tar.gz: 146e99be071aeae009e47dff919265b569bc4d314a4239a87d02606d4a8d72522096be01379fda529fbe194120202ae1f298b4a541686e554f95dd2632a8f40b
6
+ metadata.gz: cdbdfe53569e693e1a81cb3e30b773cc239f81ce05f46ad2f20fe638dfef0777ca4cbcafd79ba9faedc9af1bb416f2a9628abbf8d82f423dd66ef36233059402
7
+ data.tar.gz: 1a74a3ace7f95d965a4db351501b908345257ab6138ab9ad3f4647499230e2d2a24fcd02c17fd0577376c913dc60cb3689b526046097a33a107ccea3ea3ce484
data/.rubocop.yml CHANGED
@@ -21,7 +21,19 @@ Layout/LineLength:
21
21
  Layout/MultilineMethodCallIndentation:
22
22
  Enabled: false
23
23
 
24
- Metrics/BlockLength:
24
+ Metrics/AbcSize:
25
+ Max: 25
26
+
27
+ Metrics/CyclomaticComplexity:
28
+ Max: 10
29
+
30
+ Metrics/MethodLength:
31
+ Max: 30
32
+
33
+ Metrics/PerceivedComplexity:
34
+ Max: 10
35
+
36
+ Style/FrozenStringLiteralComment:
25
37
  Enabled: false
26
38
 
27
39
  Style/PercentLiteralDelimiters:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.1.0 / 2023-02-03
2
+ * Updated to `jekyll_all_collections` plugin v0.2.0.
3
+ * Fixed insidious bug where a valid link was not used properly.
4
+
5
+ ## 1.0.14 / 2023-01-09
6
+ * Added `blank` parameter.
7
+
1
8
  ## 1.0.13 / 2022-12-14
2
9
  * Links with embedded spaces are now supported when the new 'url' named parameter is used. For example, instead of specifying:
3
10
  ```
data/README.md CHANGED
@@ -4,13 +4,17 @@
4
4
 
5
5
  `Jekyll_href` is a Jekyll plugin that provides a new Liquid tag: `href`.
6
6
  It provides a convenient way to generate formatted and clickable URIs.
7
- The Liquid tag generates an `a href` HTML tag, which by default contains `target="_blank"` and `rel=nofollow`.
7
+ The Liquid tag generates an `a href` HTML tag,
8
+ which by default contains `target="_blank"` and `rel=nofollow`.
8
9
 
9
10
  If the url starts with `http`, or the `match` keyword is specified:
10
11
  - The url will open in a new tab or window.
11
12
  - The url will include `rel=nofollow` for SEO purposes.
12
13
 
13
- CAUTION: if linked text contains a single or double quote you will see the error message: `Liquid Exception: Unmatched quote`. Instead, use ‘, ’, “, ”
14
+ CAUTION: if linked text contains a single or double quote,
15
+ you will see the error message: `Liquid Exception: Unmatched quote`.
16
+ Instead, use ' (`'`), " (`"`), ‘ (`‘`),
17
+ ’ (`’`), “ (`“`), and ” (`”`)
14
18
 
15
19
  In `_config.yml`, if a section called `plugin-vars` exists,
16
20
  then its name/value pairs are available for substitution.
@@ -23,7 +27,7 @@ then its name/value pairs are available for substitution.
23
27
 
24
28
  ## Syntax 1 (requires `url` does not have embedded spaces):
25
29
  ```
26
- {% href [match | [follow] [notarget]] url text to display %}
30
+ {% href [match | [follow] [blank|notarget]] url text to display %}
27
31
  ```
28
32
  1. The url must be a single token, without embedded spaces.
29
33
  2. The url need not be enclosed in quotes.
@@ -33,10 +37,10 @@ then its name/value pairs are available for substitution.
33
37
  ## Syntax 2 (always works):
34
38
  This syntax is recommended when the URL contains a colon (:).
35
39
  ```
36
- {% href [match | [follow] [notarget]]
40
+ {% href [match | [follow] [blank|notarget]]
37
41
  url="http://link.com with space.html" some text %}
38
42
 
39
- {% href [match | [follow] [notarget]]
43
+ {% href [match | [follow] [blank|notarget]]
40
44
  url='http://link.com with space.html' some text %}
41
45
  ```
42
46
  1. Each of the above examples contain an embedded newline, which is legal.
@@ -44,6 +48,17 @@ This syntax is recommended when the URL contains a colon (:).
44
48
  3. The square brackets denote optional keyword parameters, and should not be typed.
45
49
 
46
50
 
51
+ ## Syntax 3 (implicit URL):
52
+ ```
53
+ {% href [match | [follow] [blank|notarget]] www.domain.com %}
54
+ ```
55
+ The URI provided, for example `www.domain.com`,
56
+ is used to form the URL by prepending `https://`,
57
+ in this case the result would be `https://www.domain.com`.
58
+ The displayed URI is enclosed in `<code></code>`,
59
+ so the resulting text is `<code>www.domain.com</code>`.
60
+
61
+
47
62
  ## Environment Variable Expansion
48
63
  URLs can contain environment variable references.
49
64
  For example, if `$domain`, `$uri` and `$USER` are environment variables:
@@ -56,12 +71,20 @@ For example, if `$domain`, `$uri` and `$USER` are environment variables:
56
71
  ```
57
72
 
58
73
  ## Optional Parameters
74
+ ### `blank`
75
+ The `target='_blank'` attribute is not normally generated for relative links.
76
+ To enforce the generation of this attribute, preface the link with the word `blank`.
77
+ The `blank` and `notarget` parameters are mutually exclusive.
78
+ If both are specified, `blank` prevails.
79
+
59
80
  ### `follow`
60
81
  To suppress the `nofollow` attribute, preface the link with the word `follow`.
61
82
 
62
83
 
63
84
  ### `notarget`
64
85
  To suppress the `target` attribute, preface the link with the word `notarget`.
86
+ The `blank` and `notarget` parameters are mutually exclusive.
87
+ If both are specified, `blank` prevails.
65
88
 
66
89
 
67
90
  ### `match`
@@ -111,7 +134,8 @@ The `match` option looks through the pages collection for a URL with containing
111
134
 
112
135
 
113
136
  ## Additional Information
114
- More information is available on my web site about [my Jekyll plugins](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).
137
+ More information is available on my website about
138
+ [my Jekyll plugins](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).
115
139
 
116
140
 
117
141
  ## Installation
@@ -128,10 +152,6 @@ And then execute:
128
152
 
129
153
  $ bundle install
130
154
 
131
- Or install it yourself as:
132
-
133
- $ gem install jekyll_href
134
-
135
155
 
136
156
  ## Generated HTML
137
157
 
@@ -203,7 +223,8 @@ Which renders as: [`mslinn.com`](https://mslinn.com)
203
223
 
204
224
  ## Development
205
225
 
206
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
226
+ After checking out the repo, run `bin/setup` to install dependencies.
227
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
207
228
 
208
229
  Install development dependencies like this:
209
230
  ```
@@ -216,7 +237,7 @@ $ bundle exec rake install
216
237
  ```
217
238
 
218
239
  ## Test
219
- A test web site is provided in the `demo` directory.
240
+ A test website is provided in the `demo` directory.
220
241
  1. Set breakpoints.
221
242
 
222
243
  2. Initiate a debug session from the command line:
data/Rakefile CHANGED
@@ -1,4 +1,2 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "bundler/gem_tasks"
4
2
  task default: %i[]
data/jekyll_href.gemspec CHANGED
@@ -1,47 +1,39 @@
1
- # frozen_string_literal: true
1
+ require_relative 'lib/jekyll_href/version'
2
2
 
3
- require_relative "lib/jekyll_href/version"
3
+ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
4
+ github = 'https://github.com/mslinn/jekyll_href'
4
5
 
5
- Gem::Specification.new do |spec|
6
- github = "https://github.com/mslinn/jekyll_href"
7
-
8
- spec.authors = ["Mike Slinn"]
9
- spec.bindir = "exe"
6
+ spec.authors = ['Mike Slinn']
7
+ spec.bindir = 'exe'
10
8
  spec.description = <<~END_OF_DESC
11
9
  Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'.
12
10
  END_OF_DESC
13
- spec.email = ["mslinn@mslinn.com"]
14
- spec.files = Dir[".rubocop.yml", "LICENSE.*", "Rakefile", "{lib,spec}/**/*", "*.gemspec", "*.md"]
15
- spec.homepage = "https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#href"
16
- spec.license = "MIT"
11
+ spec.email = ['mslinn@mslinn.com']
12
+ spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
13
+ spec.homepage = 'https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#href'
14
+ spec.license = 'MIT'
17
15
  spec.metadata = {
18
- "allowed_push_host" => "https://rubygems.org",
19
- "bug_tracker_uri" => "#{github}/issues",
20
- "changelog_uri" => "#{github}/CHANGELOG.md",
21
- "homepage_uri" => spec.homepage,
22
- "source_code_uri" => github,
16
+ 'allowed_push_host' => 'https://rubygems.org',
17
+ 'bug_tracker_uri' => "#{github}/issues",
18
+ 'changelog_uri' => "#{github}/CHANGELOG.md",
19
+ 'homepage_uri' => spec.homepage,
20
+ 'source_code_uri' => github,
23
21
  }
24
- spec.name = "jekyll_href"
22
+ spec.name = 'jekyll_href'
25
23
  spec.post_install_message = <<~END_MESSAGE
26
24
 
27
25
  Thanks for installing #{spec.name}!
28
26
 
29
27
  END_MESSAGE
30
- spec.require_paths = ["lib"]
31
- spec.required_ruby_version = ">= 2.6.0"
28
+ spec.require_paths = ['lib']
29
+ spec.required_ruby_version = '>= 2.6.0'
32
30
  spec.summary = "Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'."
33
31
  spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
34
32
  spec.version = JekyllHrefVersion::VERSION
35
33
 
36
34
  spec.add_dependency 'jekyll', '>= 3.5.0'
37
- spec.add_dependency 'jekyll_all_collections'
35
+ spec.add_dependency 'jekyll_all_collections', '>= 0.2.0'
38
36
  spec.add_dependency 'jekyll_plugin_logger'
39
37
  spec.add_dependency 'key-value-parser'
40
38
  spec.add_dependency 'shellwords'
41
-
42
- # spec.add_development_dependency 'debase'
43
- # spec.add_development_dependency 'rubocop-jekyll'
44
- # spec.add_development_dependency 'rubocop-rake'
45
- # spec.add_development_dependency 'rubocop-rspec'
46
- # spec.add_development_dependency 'ruby-debug-ide'
47
39
  end
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module JekyllHrefVersion
4
- VERSION = "1.0.13"
2
+ VERSION = '1.1.0'.freeze
5
3
  end
data/lib/jekyll_href.rb CHANGED
@@ -1,9 +1,7 @@
1
- # frozen_string_literal: true
2
-
3
- require "jekyll_all_collections"
4
- require "jekyll_plugin_logger"
5
- require "liquid"
6
- require_relative "jekyll_href/version"
1
+ require 'jekyll_all_collections'
2
+ require 'jekyll_plugin_logger'
3
+ require 'liquid'
4
+ require_relative 'jekyll_href/version'
7
5
  require_relative './jekyll_tag_helper2'
8
6
 
9
7
  # @author Copyright 2020 Michael Slinn
@@ -49,8 +47,10 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
49
47
 
50
48
  private
51
49
 
52
- def compute_linkk # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
53
- # Does not look at or compute @link
50
+ # Does not look at or compute @link
51
+ def compute_linkk
52
+ return @link if @link
53
+
54
54
  linkk = @url
55
55
  if linkk.nil? || !linkk
56
56
  linkk = @helper.argv&.shift
@@ -63,7 +63,7 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
63
63
  linkk
64
64
  end
65
65
 
66
- def dump_linkk_relations(linkk) # rubocop:disable Metrics/MethodLength
66
+ def dump_linkk_relations(linkk)
67
67
  msg = <<~END_MESSAGE
68
68
  jekyll_href error: no url was provided on #{@path}:#{@line_number}.
69
69
  @helper.markup=#{@helper.markup}
@@ -84,16 +84,18 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
84
84
  @page = liquid_context.registers[:page]
85
85
  @path = @page['path']
86
86
  @site = liquid_context.registers[:site]
87
- JekyllAllCollections.maybe_compute_all_collections(@site)
87
+ AllCollectionsHooks.compute(@site)
88
88
 
89
89
  @follow = @helper.parameter_specified?('follow') ? '' : " rel='nofollow'"
90
90
  @match = @helper.parameter_specified?('match')
91
- @target = @helper.parameter_specified?('notarget') ? '' : " target='_blank'"
91
+ @blank = @helper.parameter_specified?('blank')
92
+ @target = @blank ? " target='_blank'" : nil
93
+ @target ||= @helper.parameter_specified?('notarget') ? '' : " target='_blank'"
92
94
  @url = @helper.parameter_specified?('url')
93
95
  end
94
96
 
95
- def globals_update(tokens, linkk) # rubocop:disable Metrics/MethodLength
96
- # Might set @follow, @linkk, @target, and @text
97
+ # Might set @follow, @linkk, @target, and @text
98
+ def globals_update(tokens, linkk)
97
99
  if linkk.start_with? 'mailto:'
98
100
  @link = linkk
99
101
  @target = @follow = ''
@@ -104,7 +106,7 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
104
106
  end
105
107
  return
106
108
  else
107
- @text = tokens.join(" ").strip
109
+ @text = tokens.join(' ').strip
108
110
  if @text.to_s.empty?
109
111
  @text = "<code>#{linkk}</code>"
110
112
  @link = "https://#{linkk}"
@@ -113,23 +115,23 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
113
115
  end
114
116
  end
115
117
 
116
- return if @link.start_with? "http"
118
+ return if @link.start_with? 'http'
117
119
 
118
120
  @follow = ''
119
- @target = ''
121
+ @target = '' unless @blank
120
122
  end
121
123
 
122
124
  def handle_match
123
125
  match_post
124
126
  @follow = ''
125
- @target = ''
127
+ @target = '' unless @blank
126
128
  end
127
129
 
128
- def match_post # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength
129
- # Might set @link and @text
130
+ # Might set @link and @text
131
+ def match_post
130
132
  config = @site.config['href']
131
- die_if_nomatch = !config.nil? && config['nomatch'] && config['nomatch'] == 'fatal'
132
- path, fragment = @link.split('#')
133
+ @die_if_nomatch = !config.nil? && config['nomatch'] && config['nomatch'] == 'fatal'
134
+ @path, @fragment = @link.split('#')
133
135
 
134
136
  @logger.debug do
135
137
  <<~END_DEBUG
@@ -140,22 +142,26 @@ class ExternalHref < Liquid::Tag # rubocop:disable Metrics/ClassLength
140
142
  end
141
143
 
142
144
  all_urls = @site.all_collections.map(&:url)
143
- url_matches = all_urls.select { |url| url.include? path }
145
+ compute_link_and_text(all_urls)
146
+ end
147
+
148
+ def compute_link_and_text(all_urls)
149
+ url_matches = all_urls.select { |url| url&.include? @path }
144
150
  case url_matches.length
145
151
  when 0
146
- abort "href error: No url matches '#{@link}'" if die_if_nomatch
147
- @link = "#"
152
+ abort "href error: No url matches '#{@link}'" if @die_if_nomatch
153
+ @link = '#'
148
154
  @text = "<i>#{@link} is not available</i>"
149
155
  when 1
150
156
  @link = url_matches.first
151
- @link = "#{@link}\##{fragment}" if fragment
157
+ @link = "#{@link}\##{@fragment}" if @fragment
152
158
  else
153
- abort "Error: More than one url matched '#{path}': #{url_matches.join(", ")}"
159
+ abort "Error: More than one url matched '#{@path}': #{url_matches.join(', ')}"
154
160
  end
155
161
  end
156
162
 
163
+ # Replace names in plugin-vars with values
157
164
  def replace_vars(text)
158
- # Replace names in plugin-vars with values
159
165
  variables = @site.config['plugin-vars']
160
166
  return text unless variables
161
167
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require 'shellwords'
4
2
  require 'key_value_parser'
5
3
 
data/spec/href_spec.rb CHANGED
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require 'jekyll'
4
2
  require 'jekyll_plugin_logger'
5
3
  require 'yaml'
@@ -61,6 +59,22 @@ class MyTest # rubocop:disable Metrics/ClassLength
61
59
  )
62
60
  end
63
61
 
62
+ it "Obtains internal link with blank" do
63
+ href = ExternalHref.send(
64
+ :new,
65
+ 'href',
66
+ 'blank ./path/page.html internal link text'.dup,
67
+ parse_context
68
+ )
69
+ href.send(:globals_initial, parse_context)
70
+ linkk = href.send(:compute_linkk)
71
+ href.send(:globals_update, href.helper.argv, linkk)
72
+ expect(href.follow).to eq('')
73
+ expect(href.link).to eq('./path/page.html')
74
+ expect(href.target).to eq(" target='_blank'")
75
+ expect(href.text).to eq('internal link text')
76
+ end
77
+
64
78
  it "Obtains external link with text" do
65
79
  href = ExternalHref.send(
66
80
  :new,
@@ -158,7 +172,39 @@ class MyTest # rubocop:disable Metrics/ClassLength
158
172
  expect(href.text).to eq('Awesome')
159
173
  end
160
174
 
161
- it "Obtains external link with follow and notarget but without text" do
175
+ it "Obtains external link with blank" do
176
+ href = ExternalHref.send(
177
+ :new,
178
+ 'href',
179
+ 'blank https://www.mslinn.com Awesome'.dup,
180
+ parse_context
181
+ )
182
+ href.send(:globals_initial, parse_context)
183
+ linkk = href.send(:compute_linkk)
184
+ href.send(:globals_update, href.helper.argv, linkk)
185
+ expect(href.follow).to eq(" rel='nofollow'")
186
+ expect(href.link).to eq('https://www.mslinn.com')
187
+ expect(href.target).to eq(" target='_blank'")
188
+ expect(href.text).to eq('Awesome')
189
+ end
190
+
191
+ it "Implicitly computes external link from text" do
192
+ href = ExternalHref.send(
193
+ :new,
194
+ 'href',
195
+ 'www.mslinn.com'.dup,
196
+ parse_context
197
+ )
198
+ href.send(:globals_initial, parse_context)
199
+ linkk = href.send(:compute_linkk)
200
+ href.send(:globals_update, href.helper.argv, linkk)
201
+ expect(href.follow).to eq(" rel='nofollow'")
202
+ expect(href.link).to eq('https://www.mslinn.com')
203
+ expect(href.target).to eq(" target='_blank'")
204
+ expect(href.text).to eq('<code>www.mslinn.com</code>')
205
+ end
206
+
207
+ it "Implicitly computes external link from text with follow and notarget" do
162
208
  href = ExternalHref.send(
163
209
  :new,
164
210
  'href',
@@ -174,6 +220,22 @@ class MyTest # rubocop:disable Metrics/ClassLength
174
220
  expect(href.text).to eq('<code>www.mslinn.com</code>')
175
221
  end
176
222
 
223
+ it "Implicitly computes external link from text with blank" do
224
+ href = ExternalHref.send(
225
+ :new,
226
+ 'href',
227
+ 'follow blank www.mslinn.com'.dup,
228
+ parse_context
229
+ )
230
+ href.send(:globals_initial, parse_context)
231
+ linkk = href.send(:compute_linkk)
232
+ href.send(:globals_update, href.helper.argv, linkk)
233
+ expect(href.follow).to eq('')
234
+ expect(href.link).to eq('https://www.mslinn.com')
235
+ expect(href.target).to eq(" target='_blank'")
236
+ expect(href.text).to eq('<code>www.mslinn.com</code>')
237
+ end
238
+
177
239
  it "Obtains mailto without text" do
178
240
  href = ExternalHref.send(
179
241
  :new,
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "liquid"
4
2
  require "fileutils"
5
3
  require_relative "../lib/jekyll_href"
@@ -1,11 +1,15 @@
1
- example_id | status | run_time |
2
- ---------------------------------------------------------------- | ------ | --------------- |
3
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:1] | passed | 0.06693 seconds |
4
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:2] | passed | 0.06422 seconds |
5
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:3] | passed | 0.03492 seconds |
6
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:4] | passed | 0.05285 seconds |
7
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:5] | passed | 0.04698 seconds |
8
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:6] | passed | 0.05677 seconds |
9
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:7] | passed | 0.04366 seconds |
10
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:8] | passed | 0.0328 seconds |
11
- /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:9] | passed | 0.05795 seconds |
1
+ example_id | status | run_time |
2
+ ----------------------------------------------------------------- | ------ | --------------- |
3
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:1] | passed | 0.00581 seconds |
4
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:2] | passed | 0.00416 seconds |
5
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:3] | passed | 0.00401 seconds |
6
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:4] | passed | 0.00384 seconds |
7
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:5] | passed | 0.00401 seconds |
8
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:6] | passed | 0.00405 seconds |
9
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:7] | passed | 0.00501 seconds |
10
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:8] | passed | 0.00461 seconds |
11
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:9] | passed | 0.00397 seconds |
12
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:10] | passed | 0.0039 seconds |
13
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:11] | passed | 0.00404 seconds |
14
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:12] | passed | 0.00427 seconds |
15
+ /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:13] | passed | 0.0041 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_href
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-18 00:00:00.000000000 Z
11
+ date: 2023-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.2.0
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
- version: '0'
40
+ version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll_plugin_logger
43
43
  requirement: !ruby/object:Gem::Requirement