jekyll_href 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/README.md +45 -6
- data/jekyll_href.gemspec +31 -27
- data/lib/jekyll_href/version.rb +1 -1
- data/lib/jekyll_href.rb +84 -81
- metadata +23 -48
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -69
- data/sig/jekyll_href.rbs +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04b0c09f10bc5a0bb0bf261e2a3ddab3aea102e5d3514b5aef5abd3678f796c2
|
4
|
+
data.tar.gz: e30198e5c5a4a1a0faa1bc7fc56075a6689fd7686e953f297be17aca1f8c80fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5d0d5b784d7e4bcaa3869515598c61587e081880d6d1a0a642797a245dcc461f066999b11216ee48f727dabf4f57a765b5bb38841909c36dc5e7a41a099dbc
|
7
|
+
data.tar.gz: 5f795dbcd6f8548799ceeabf2ede0edc2e2f2be6a9e958e148825d2672cff6c1fdd3cb32877413148c2e2b97f753948794a9da3bdfa804aaa09ad83ab70efa4c
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
@@ -1,19 +1,26 @@
|
|
1
|
-
|
1
|
+
`Jekyll_href`
|
2
|
+
[](https://badge.fury.io/rb/jekyll_href)
|
3
|
+
===========
|
2
4
|
|
3
5
|
`Jekyll_href` is a Jekyll plugin that provides a new Liquid tag: `href`.
|
4
6
|
The Liquid tag generates and `<a href>` HTML tag, by default containing `target="_blank"` and `rel=nofollow`.
|
5
7
|
To suppress the `nofollow` attribute, preface the link with the word `follow`.
|
6
8
|
To suppress the `target` attribute, preface the link with the word `notarget`.
|
9
|
+
Also provides a convenient way to generate formatted and clickable URIs.
|
7
10
|
|
8
11
|
|
9
12
|
### Syntax:
|
10
13
|
```
|
11
|
-
{% href [match | [follow] [notarget]] url text to display %}
|
14
|
+
{% href [match | [follow] [notarget]] [url] text to display %}
|
12
15
|
```
|
13
16
|
Note that the url should not be enclosed in quotes.
|
14
17
|
Also please note that the square brackets denote optional parameters, and should not be typed.
|
15
18
|
|
16
19
|
|
20
|
+
### Additional Information
|
21
|
+
More information is available on my web site about [my Jekyll plugins](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).
|
22
|
+
|
23
|
+
|
17
24
|
## Installation
|
18
25
|
|
19
26
|
Add this line to your Jekyll website's `Gemfile`, within the `jekyll_plugins` group:
|
@@ -34,6 +41,7 @@ Or install it yourself as:
|
|
34
41
|
|
35
42
|
## Usage
|
36
43
|
|
44
|
+
### Defaults
|
37
45
|
```
|
38
46
|
{% href https://mslinn.com The Awesome %}
|
39
47
|
```
|
@@ -45,7 +53,7 @@ Expands to this:
|
|
45
53
|
|
46
54
|
Which renders as this: <a href='https://mslinn.com' target='_blank' rel='nofollow'>The Awesome</a>
|
47
55
|
|
48
|
-
|
56
|
+
### `follow`
|
49
57
|
```
|
50
58
|
{% href follow https://mslinn.com The Awesome %}
|
51
59
|
```
|
@@ -56,6 +64,7 @@ Expands to this:
|
|
56
64
|
```
|
57
65
|
|
58
66
|
|
67
|
+
### `notarget`
|
59
68
|
```
|
60
69
|
{% href notarget https://mslinn.com The Awesome %}
|
61
70
|
```
|
@@ -66,6 +75,7 @@ Expands to this:
|
|
66
75
|
```
|
67
76
|
|
68
77
|
|
78
|
+
### `follow notarget`
|
69
79
|
```
|
70
80
|
{% href follow notarget https://mslinn.com The Awesome %}
|
71
81
|
```
|
@@ -75,26 +85,55 @@ Expands to this:
|
|
75
85
|
<a href='https://mslinn.com'>The Awesome</a>
|
76
86
|
```
|
77
87
|
|
88
|
+
### `match`
|
89
|
+
Looks for a post with a matching URL.
|
78
90
|
```
|
79
91
|
{% href match setting-up-django-oscar.html tutorial site %}
|
80
92
|
```
|
81
93
|
|
82
|
-
|
94
|
+
Might expand to this:
|
83
95
|
```html
|
84
96
|
<a href='/blog/2021/02/11/setting-up-django-oscar.html'>tutorial site</a>
|
85
97
|
```
|
86
98
|
|
99
|
+
### URI
|
100
|
+
```html
|
101
|
+
{% href mslinn.com %}
|
102
|
+
```
|
103
|
+
Expands to this:
|
104
|
+
```html
|
105
|
+
<a href='https://mslinn.com' target='_blank' rel='nofollow'><code>mslinn.com</code></a>
|
106
|
+
```
|
107
|
+
Which renders as: [`mslinn.com`](https://mslinn.com)
|
87
108
|
|
88
109
|
## Development
|
89
110
|
|
90
111
|
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.
|
91
112
|
|
92
|
-
|
113
|
+
Install development dependencies like this:
|
114
|
+
```
|
115
|
+
$ BUNDLE_WITH="development" bundle install
|
116
|
+
```
|
117
|
+
|
118
|
+
To install this gem onto your local machine, run:
|
119
|
+
```shell
|
120
|
+
$ bundle exec rake install
|
121
|
+
```
|
122
|
+
|
123
|
+
To release a new version,
|
124
|
+
1. Update the version number in `version.rb`.
|
125
|
+
2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
|
126
|
+
3. Run the following:
|
127
|
+
```shell
|
128
|
+
$ bundle exec rake release
|
129
|
+
```
|
130
|
+
The above creates a git tag for the version, commits the created tag,
|
131
|
+
and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
|
93
132
|
|
94
133
|
|
95
134
|
## Contributing
|
96
135
|
|
97
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
136
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mslinn/jekyll_href.
|
98
137
|
|
99
138
|
|
100
139
|
## License
|
data/jekyll_href.gemspec
CHANGED
@@ -3,38 +3,42 @@
|
|
3
3
|
require_relative "lib/jekyll_href/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
|
7
|
-
|
6
|
+
github = "https://github.com/mslinn/jekyll_href"
|
7
|
+
|
8
8
|
spec.authors = ["Mike Slinn"]
|
9
|
+
spec.bindir = "exe"
|
10
|
+
spec.description = <<~END_OF_DESC
|
11
|
+
Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'.
|
12
|
+
END_OF_DESC
|
9
13
|
spec.email = ["mslinn@mslinn.com"]
|
10
|
-
|
11
|
-
spec.
|
12
|
-
spec.description = "Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'."
|
13
|
-
spec.homepage = "https://github.com/mslinn/jekyll_href"
|
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"
|
14
16
|
spec.license = "MIT"
|
15
|
-
spec.
|
16
|
-
|
17
|
-
|
17
|
+
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,
|
23
|
+
}
|
24
|
+
spec.name = "jekyll_href"
|
25
|
+
spec.post_install_message = <<~END_MESSAGE
|
18
26
|
|
19
|
-
|
20
|
-
spec.metadata["source_code_uri"] = "https://github.com/mslinn/jekyll_href"
|
21
|
-
spec.metadata["changelog_uri"] = "https://github.com/mslinn/jekyll_href/CHANGELOG.md"
|
27
|
+
Thanks for installing #{spec.name}!
|
22
28
|
|
23
|
-
|
24
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
26
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
27
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
28
|
-
end
|
29
|
-
end
|
30
|
-
spec.bindir = "exe"
|
31
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
29
|
+
END_MESSAGE
|
32
30
|
spec.require_paths = ["lib"]
|
31
|
+
spec.required_ruby_version = ">= 2.6.0"
|
32
|
+
spec.summary = "Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'."
|
33
|
+
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
|
34
|
+
spec.version = JekyllHref::VERSION
|
35
|
+
|
36
|
+
spec.add_dependency 'jekyll', '>= 3.5.0'
|
37
|
+
spec.add_dependency 'jekyll_plugin_logger'
|
33
38
|
|
34
|
-
spec.add_development_dependency '
|
35
|
-
spec.add_development_dependency '
|
36
|
-
spec.add_development_dependency 'rake'
|
37
|
-
spec.add_development_dependency 'rspec'
|
38
|
-
spec.add_development_dependency '
|
39
|
-
spec.add_development_dependency 'rubocop-jekyll'
|
39
|
+
spec.add_development_dependency 'debase'
|
40
|
+
# spec.add_development_dependency 'rubocop-jekyll'
|
41
|
+
# spec.add_development_dependency 'rubocop-rake'
|
42
|
+
# spec.add_development_dependency 'rubocop-rspec'
|
43
|
+
spec.add_development_dependency 'ruby-debug-ide'
|
40
44
|
end
|
data/lib/jekyll_href/version.rb
CHANGED
data/lib/jekyll_href.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "jekyll_plugin_logger"
|
4
|
+
require "liquid"
|
3
5
|
require_relative "jekyll_href/version"
|
4
6
|
|
5
7
|
# @author Copyright 2020 Michael Slinn
|
@@ -48,101 +50,102 @@ require_relative "jekyll_href/version"
|
|
48
50
|
# {% href {{django-github}}/django/core/management/__init__.py#L398-L401
|
49
51
|
# <code>django.core.management.execute_from_command_line</code> %}
|
50
52
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
53
|
+
class ExternalHref < Liquid::Tag
|
54
|
+
# @param tag_name [String] is the name of the tag, which we already know.
|
55
|
+
# @param command_line [Hash, String, Liquid::Tag::Parser] the arguments from the web page.
|
56
|
+
# @param tokens [Liquid::ParseContext] tokenized command line
|
57
|
+
# @return [void]
|
58
|
+
def initialize(tag_name, command_line, tokens)
|
59
|
+
super
|
60
|
+
|
61
|
+
@match = false
|
62
|
+
@tokens = command_line.strip.split
|
63
|
+
@follow = get_value("follow", " rel='nofollow'")
|
64
|
+
@target = get_value("notarget", " target='_blank'")
|
65
|
+
@logger = PluginMetaLogger.instance.new_logger(self)
|
66
|
+
|
67
|
+
match_index = tokens.index("match")
|
68
|
+
if match_index
|
69
|
+
tokens.delete_at(match_index)
|
70
|
+
@follow = ""
|
71
|
+
@match = true
|
72
|
+
@target = ""
|
73
|
+
end
|
67
74
|
|
68
|
-
|
69
|
-
|
70
|
-
tokens.delete_at(follow_index)
|
71
|
-
@follow = ""
|
72
|
-
end
|
75
|
+
finalize tokens
|
76
|
+
end
|
73
77
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
78
|
+
# Method prescribed by the Jekyll plugin lifecycle.
|
79
|
+
# @return [String]
|
80
|
+
def render(context)
|
81
|
+
match(context) if @match
|
82
|
+
link = replace_vars(context, @link)
|
83
|
+
@logger.debug { "@link=#{@link}; link=#{link}" }
|
84
|
+
"<a href='#{link}'#{@target}#{@follow}>#{@text}</a>"
|
85
|
+
end
|
79
86
|
|
80
|
-
|
81
|
-
if match_index
|
82
|
-
tokens.delete_at(match_index)
|
83
|
-
@follow = ""
|
84
|
-
@match = true
|
85
|
-
@target = ""
|
86
|
-
end
|
87
|
+
private
|
87
88
|
|
88
|
-
|
89
|
+
def finalize(tokens)
|
90
|
+
@link = tokens.shift
|
89
91
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
92
|
+
@text = tokens.join(" ").strip
|
93
|
+
if @text.empty?
|
94
|
+
@text = "<code>${@link}</code>"
|
95
|
+
@link = "https://#{@link}"
|
96
|
+
end
|
95
97
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
end
|
98
|
+
unless @link.start_with? "http"
|
99
|
+
@follow = ""
|
100
|
+
@target = ""
|
100
101
|
end
|
102
|
+
end
|
101
103
|
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
# puts "@link=#{@link}"
|
110
|
-
# puts "site.posts[0].url = #{site.posts.docs[0].url}"
|
111
|
-
# puts "site.posts[0].path = #{site.posts.docs[0].path}"
|
112
|
-
posts = site.posts.docs.select { |x| x.url.include?(path) }
|
113
|
-
case posts.length
|
114
|
-
when 0
|
115
|
-
if die_if_nomatch
|
116
|
-
abort "href error: No url matches '#{@link}'"
|
117
|
-
else
|
118
|
-
@link = "#"
|
119
|
-
@text = "<i>#{@link} is not available</i>"
|
120
|
-
end
|
121
|
-
when 1
|
122
|
-
@link = "#{@link}\##{fragment}" if fragment
|
123
|
-
else
|
124
|
-
abort "Error: More than one url matched: #{ matches.join(", ")}"
|
125
|
-
end
|
104
|
+
def get_value(token, default_value)
|
105
|
+
value = default_value
|
106
|
+
target_index = tokens.index(token)
|
107
|
+
if target_index
|
108
|
+
@tokens.delete_at(target_index)
|
109
|
+
value = ""
|
126
110
|
end
|
111
|
+
value
|
112
|
+
end
|
127
113
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
114
|
+
def match(context) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength
|
115
|
+
site = context.registers[:site]
|
116
|
+
config = site.config['href']
|
117
|
+
die_if_nomatch = !config.nil? && config['nomatch'] && config['nomatch']=='fatal'
|
118
|
+
|
119
|
+
path, fragment = @link.split('#')
|
120
|
+
|
121
|
+
@logger.debug { "@link=#{@link}" }
|
122
|
+
@logger.debug { "site.posts[0].url = #{site.posts.docs[0].url}" }
|
123
|
+
@logger.debug { "site.posts[0].path = #{site.posts.docs[0].path}" }
|
124
|
+
posts = site.posts.docs.select { |x| x.url.include?(path) }
|
125
|
+
case posts.length
|
126
|
+
when 0
|
127
|
+
if die_if_nomatch
|
128
|
+
abort "href error: No url matches '#{@link}'"
|
129
|
+
else
|
130
|
+
@link = "#"
|
131
|
+
@text = "<i>#{@link} is not available</i>"
|
133
132
|
end
|
134
|
-
|
133
|
+
when 1
|
134
|
+
@link = "#{@link}\##{fragment}" if fragment
|
135
|
+
else
|
136
|
+
abort "Error: More than one url matched: #{ matches.join(", ")}"
|
135
137
|
end
|
138
|
+
end
|
136
139
|
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
link =
|
142
|
-
# puts "@link=#{@link}; link=#{link}"
|
143
|
-
"<a href='#{link}'#{@target}#{@follow}>#{@text}</a>"
|
140
|
+
def replace_vars(context, link)
|
141
|
+
variables = context.registers[:site].config['plugin-vars']
|
142
|
+
variables.each do |name, value|
|
143
|
+
# puts "#{name}=#{value}"
|
144
|
+
link = link.gsub("{{#{name}}}", value)
|
144
145
|
end
|
146
|
+
link
|
145
147
|
end
|
146
148
|
end
|
147
149
|
|
148
|
-
|
150
|
+
PluginMetaLogger.instance.info { "Loaded jeykll_href v#{JekyllHref::VERSION} plugin." }
|
151
|
+
Liquid::Template.register_tag('href', ExternalHref)
|
metadata
CHANGED
@@ -1,65 +1,37 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_href
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-03-
|
11
|
+
date: 2022-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: pry
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
19
|
+
version: 3.5.0
|
20
|
+
type: :runtime
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - ">="
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
26
|
+
version: 3.5.0
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
28
|
+
name: jekyll_plugin_logger
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
58
30
|
requirements:
|
59
31
|
- - ">="
|
60
32
|
- !ruby/object:Gem::Version
|
61
33
|
version: '0'
|
62
|
-
type: :
|
34
|
+
type: :runtime
|
63
35
|
prerelease: false
|
64
36
|
version_requirements: !ruby/object:Gem::Requirement
|
65
37
|
requirements:
|
@@ -67,7 +39,7 @@ dependencies:
|
|
67
39
|
- !ruby/object:Gem::Version
|
68
40
|
version: '0'
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
42
|
+
name: debase
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
72
44
|
requirements:
|
73
45
|
- - ">="
|
@@ -81,7 +53,7 @@ dependencies:
|
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
56
|
+
name: ruby-debug-ide
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
86
58
|
requirements:
|
87
59
|
- - ">="
|
@@ -94,7 +66,9 @@ dependencies:
|
|
94
66
|
- - ">="
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
|
-
description: Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'.
|
69
|
+
description: 'Generates an ''a href'' tag, possibly with target=''_blank'' and rel=''nofollow''.
|
70
|
+
|
71
|
+
'
|
98
72
|
email:
|
99
73
|
- mslinn@mslinn.com
|
100
74
|
executables: []
|
@@ -103,24 +77,25 @@ extra_rdoc_files: []
|
|
103
77
|
files:
|
104
78
|
- ".rubocop.yml"
|
105
79
|
- CHANGELOG.md
|
106
|
-
- Gemfile
|
107
|
-
- Gemfile.lock
|
108
80
|
- LICENSE.txt
|
109
81
|
- README.md
|
110
82
|
- Rakefile
|
111
83
|
- jekyll_href.gemspec
|
112
84
|
- lib/jekyll_href.rb
|
113
85
|
- lib/jekyll_href/version.rb
|
114
|
-
|
115
|
-
homepage: https://github.com/mslinn/jekyll_href
|
86
|
+
homepage: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#href
|
116
87
|
licenses:
|
117
88
|
- MIT
|
118
89
|
metadata:
|
119
|
-
allowed_push_host: https://rubygems.org
|
120
|
-
|
121
|
-
source_code_uri: https://github.com/mslinn/jekyll_href
|
90
|
+
allowed_push_host: https://rubygems.org
|
91
|
+
bug_tracker_uri: https://github.com/mslinn/jekyll_href/issues
|
122
92
|
changelog_uri: https://github.com/mslinn/jekyll_href/CHANGELOG.md
|
123
|
-
|
93
|
+
homepage_uri: https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html#href
|
94
|
+
source_code_uri: https://github.com/mslinn/jekyll_href
|
95
|
+
post_install_message: |2+
|
96
|
+
|
97
|
+
Thanks for installing jekyll_href!
|
98
|
+
|
124
99
|
rdoc_options: []
|
125
100
|
require_paths:
|
126
101
|
- lib
|
@@ -135,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
110
|
- !ruby/object:Gem::Version
|
136
111
|
version: '0'
|
137
112
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.1.4
|
139
114
|
signing_key:
|
140
115
|
specification_version: 4
|
141
116
|
summary: Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'.
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
jekyll_href (1.0.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
ast (2.4.2)
|
10
|
-
coderay (1.1.3)
|
11
|
-
diff-lcs (1.5.0)
|
12
|
-
method_source (1.0.0)
|
13
|
-
parallel (1.21.0)
|
14
|
-
parser (3.1.1.0)
|
15
|
-
ast (~> 2.4.1)
|
16
|
-
pry (0.14.1)
|
17
|
-
coderay (~> 1.1)
|
18
|
-
method_source (~> 1.0)
|
19
|
-
rainbow (3.1.1)
|
20
|
-
rake (13.0.6)
|
21
|
-
regexp_parser (2.2.1)
|
22
|
-
rexml (3.2.5)
|
23
|
-
rspec (3.11.0)
|
24
|
-
rspec-core (~> 3.11.0)
|
25
|
-
rspec-expectations (~> 3.11.0)
|
26
|
-
rspec-mocks (~> 3.11.0)
|
27
|
-
rspec-core (3.11.0)
|
28
|
-
rspec-support (~> 3.11.0)
|
29
|
-
rspec-expectations (3.11.0)
|
30
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.11.0)
|
32
|
-
rspec-mocks (3.11.0)
|
33
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.11.0)
|
35
|
-
rspec-support (3.11.0)
|
36
|
-
rubocop (1.18.4)
|
37
|
-
parallel (~> 1.10)
|
38
|
-
parser (>= 3.0.0.0)
|
39
|
-
rainbow (>= 2.2.2, < 4.0)
|
40
|
-
regexp_parser (>= 1.8, < 3.0)
|
41
|
-
rexml
|
42
|
-
rubocop-ast (>= 1.8.0, < 2.0)
|
43
|
-
ruby-progressbar (~> 1.7)
|
44
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
45
|
-
rubocop-ast (1.16.0)
|
46
|
-
parser (>= 3.1.1.0)
|
47
|
-
rubocop-jekyll (0.12.0)
|
48
|
-
rubocop (~> 1.18.0)
|
49
|
-
rubocop-performance (~> 1.2)
|
50
|
-
rubocop-performance (1.13.3)
|
51
|
-
rubocop (>= 1.7.0, < 2.0)
|
52
|
-
rubocop-ast (>= 0.4.0)
|
53
|
-
ruby-progressbar (1.11.0)
|
54
|
-
unicode-display_width (2.1.0)
|
55
|
-
|
56
|
-
PLATFORMS
|
57
|
-
x86_64-linux
|
58
|
-
|
59
|
-
DEPENDENCIES
|
60
|
-
bundler
|
61
|
-
jekyll_href!
|
62
|
-
pry
|
63
|
-
rake (~> 13.0)
|
64
|
-
rspec
|
65
|
-
rubocop
|
66
|
-
rubocop-jekyll
|
67
|
-
|
68
|
-
BUNDLED WITH
|
69
|
-
2.3.7
|
data/sig/jekyll_href.rbs
DELETED