jekyll_href 1.2.5 → 1.2.7

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: 071f512c7ac10e09846593c0ba16664176d94f4b231e2fb8c20d447671ebdafd
4
- data.tar.gz: 8b2bc1abb6ef1ce60a45e47623cf258215c0e17d74aac15ab13eaa5a003aff1d
3
+ metadata.gz: 9419e6938b722e6707825cca7dad7e1fe17393cdc5cf4af11b66b39c0a64d368
4
+ data.tar.gz: f9dcabb8b9ba97cfc61de15cb7692143d5eb781e6089b8d3bef43e9dfa1569c4
5
5
  SHA512:
6
- metadata.gz: 8f5ec5bdbaec6ea11245945dfa442725b99788e1229b2f2f38a2e6ed5881f8c67270b78d391fde9ec5a6df801ef2fdbbbf8cfba89bcab215eac7317ac9d5bef1
7
- data.tar.gz: d0c075ec73231d74439cc4a804bd5fea1bb129ab4c018acb291c6aea531c633dd7f0c084c2ac361ba21b5fadbcaf7100a543fb019977f5d87927b36739c7bf95
6
+ metadata.gz: 1fa6194e1d9edbd1600b12196ea62e4b7665b7c64c64f5341028f572b2a9660c2f8aa02c269771e8af60652af084a37e44616ea76cae8489141bf0f5da26a33b
7
+ data.tar.gz: 19845ac86ce700501d3b6a0217202597ba60c0a01994ef39c3190dc5c5f8f15d799660aa1a81c9e12f6a281430e997c92458b6342d52df6cc36e73dc9fd68c0e
data/.rubocop.yml CHANGED
@@ -11,11 +11,10 @@ require:
11
11
  AllCops:
12
12
  Exclude:
13
13
  - demo/_site/**/*
14
- - exe/**/*
14
+ - binstub/**/*
15
15
  - vendor/**/*
16
16
  - Gemfile*
17
17
  NewCops: enable
18
- TargetRubyVersion: 2.6
19
18
 
20
19
  Gemspec/DeprecatedAttributeAssignment:
21
20
  Enabled: false
@@ -23,6 +22,9 @@ Gemspec/DeprecatedAttributeAssignment:
23
22
  Gemspec/RequireMFA:
24
23
  Enabled: false
25
24
 
25
+ Gemspec/RequiredRubyVersion:
26
+ Enabled: false
27
+
26
28
  Layout/HashAlignment:
27
29
  EnforcedColonStyle: table
28
30
  EnforcedHashRocketStyle: table
@@ -55,7 +57,7 @@ Metrics/BlockLength:
55
57
  Metrics/ClassLength:
56
58
  Exclude:
57
59
  - spec/**/*
58
- Max: 40
60
+ Max: 150
59
61
 
60
62
  Metrics/CyclomaticComplexity:
61
63
  Max: 20
data/CHANGELOG.md CHANGED
@@ -1,83 +1,146 @@
1
+ # Change Log
2
+
3
+
4
+ ## 1.2.7 / 2023-12-09
5
+
6
+ * Implements the `page_title` option.
7
+ * Renamed the `nomatch` key in `_config.yml` to `die_on_nomatch`.
8
+ * Defines `@die_on_href_error` if the `die_on_href_error` key is present in `_config.yml`.
9
+ * Defines `@pry_on_href_error` if the `pry_on_href_error` key is present in `_config.yml`.
10
+ * Now uses the `StandardError` handler introduced in `jekyll_plugin_support` v0.8.0.
11
+
12
+
13
+ ## 1.2.6 / 2023-06-18
14
+
15
+ * No longer blows up on error.
16
+
17
+
1
18
  ## 1.2.5 / 2023-05-26
2
- * Added `style` and `class` options.
19
+
20
+ * Added `style` and `class` options.
21
+
3
22
 
4
23
  ## 1.2.4 / 2023-05-18
5
- * When only a URI is provided, the plugin now generates the `http` scheme for IP4 & IP6 loopback addresses like
6
- `localhost`, and `127.0.0.0`, as well as private IP4 addresses like 192.168.0.0 and 172.16.0.0;
7
- otherwise it generates the `https` scheme.
24
+
25
+ * When only a URI is provided, the plugin now generates the `http` scheme for IP4 & IP6 loopback addresses like
26
+ `localhost`, and `127.0.0.0`, as well as private IP4 addresses like 192.168.0.0 and 172.16.0.0;
27
+ otherwise it generates the `https` scheme.
28
+
8
29
 
9
30
  ## 1.2.3 / 2023-05-16
10
- * Added `label` option.
31
+
32
+ * Added `label` option.
33
+
11
34
 
12
35
  ## 1.2.2 / 2023-03-25
13
- * Added **References** capability:
14
- * Added `summary_exclude` keyword option to `href` tag.
15
- * Added `href_summary` tag.
16
- * If a URL appears in more than one `href` with different `follow` values a warning is logged.
36
+
37
+ * Added **References** capability:
38
+ * Added `summary_exclude` keyword option to `href` tag.
39
+ * Added `href_summary` tag.
40
+ * If a URL appears in more than one `href` with different `follow` values a warning is logged.
41
+
17
42
 
18
43
  ## 1.2.1 / 2023-03-21
19
- * Added `shy` and `wbr` options.
44
+
45
+ * Added `shy` and `wbr` options.
46
+
20
47
 
21
48
  ## 1.2.0 / 2023-02-16
22
- * Updated to `jekyll_plugin_support` v1.5.0
49
+
50
+ * Updated to `jekyll_plugin_support` v1.5.0
51
+
23
52
 
24
53
  ## 1.1.1 / 2023-02-14
25
- * Now dependent on `jekyll_plugin_support`
54
+
55
+ * Now dependent on `jekyll_plugin_support`
56
+
26
57
 
27
58
  ## 1.1.0 / 2023-02-03
28
- * Updated to `jekyll_all_collections` plugin v0.2.0.
29
- * Fixed insidious bug where a valid link was not used properly.
59
+
60
+ * Updated to `jekyll_all_collections` plugin v0.2.0.
61
+ * Fixed insidious bug where a valid link was not used properly.
62
+
30
63
 
31
64
  ## 1.0.14 / 2023-01-09
32
- * Added `blank` parameter.
65
+
66
+ * Added `blank` parameter.
67
+
33
68
 
34
69
  ## 1.0.13 / 2022-12-14
35
- * Links with embedded spaces are now supported when the new 'url' named parameter is used. For example, instead of specifying:
36
- ```
37
- {% href http://link.com with space.html some text %}
38
- ```
39
- Instead specify (single and double quotes are equally valid):
40
- ```
41
- {% href url="http://link.com with space.html" some text %}
42
- ```
43
- * URLs can now contain environment variable references. For example, if $domain and $uri are environment variables:
44
- ```
45
- {% href url="http://$domain.html" some text %}
46
- {% href url="$uri" some text %}
47
- ```
70
+
71
+ * Links with embedded spaces are now supported when the new 'url' named parameter is used. For example, instead of specifying:
72
+
73
+ ```html
74
+ {% href http://link.com with space.html some text %}
75
+ ```
76
+
77
+ Instead specify (single and double quotes are equally valid):
78
+
79
+ ```html
80
+ {% href url="http://link.com with space.html" some text %}
81
+ ```
82
+
83
+ * URLs can now contain environment variable references. For example, if $domain and $uri are environment variables:
84
+
85
+ ```html
86
+ {% href url="http://$domain.html" some text %}
87
+ {% href url="$uri" some text %}
88
+ ```
89
+
48
90
 
49
91
  ## 1.0.12 / 2022-08-09
50
- * No longer abends if `plugin-vars` is not present in `_config.yml`
92
+
93
+ * No longer abends if `plugin-vars` is not present in `_config.yml`
94
+
51
95
 
52
96
  ## 1.0.11 / 2022-04-27
53
- * Suppresses target and rel=nofollow attributes for mailto: links.
97
+
98
+ * Suppresses target and rel=nofollow attributes for mailto: links.
99
+
54
100
 
55
101
  ## 1.0.10 / 2022-04-27
56
- * Works from pre-computed `site['all_collections']` provided by a new dependency called `jekyll_all_collections`.
102
+
103
+ * Works from pre-computed `site['all_collections']` provided by a new dependency called `jekyll_all_collections`.
104
+
57
105
 
58
106
  ## 1.0.9 / 2022-04-25
59
- * Match now looks at all collections, not just posts
107
+
108
+ * Match now looks at all collections, not just posts
109
+
60
110
 
61
111
  ## 1.0.8 / 2022-04-11
62
- * Fixed match text
112
+
113
+ * Fixed match text
114
+
63
115
 
64
116
  ## 1.0.7 / 2022-04-11
65
- * Fixed bad reference when more than one URL matches
117
+
118
+ * Fixed bad reference when more than one URL matches
119
+
66
120
 
67
121
  ## 1.0.6 / 2022-04-05
68
- * Updated to `jekyll_plugin_logger` v2.1.0
122
+
123
+ * Updated to `jekyll_plugin_logger` v2.1.0
124
+
69
125
 
70
126
  ## 1.0.5 / 2022-03-28
71
- * Fixed problem with URI rendering
127
+
128
+ * Fixed problem with URI rendering
129
+
72
130
 
73
131
  ## 1.0.4 / 2022-03-28
74
- * Fixed problem with `match` option
132
+
133
+ * Fixed problem with `match` option
134
+
75
135
 
76
136
  ## 1.0.0 / 2022-03-11
77
- * Made into a Ruby gem and published on RubyGems.org as [jekyll_href](https://rubygems.org/gems/jekyll_href).
78
- * `bin/attach` script added for debugging
79
- * Rubocop standards added
80
- * Proper versioning and CHANGELOG.md added
137
+
138
+ * Made into a Ruby gem and published on RubyGems.org as [jekyll_href](https://rubygems.org/gems/jekyll_href).
139
+ * `bin/attach` script added for debugging
140
+ * Rubocop standards added
141
+ * Proper versioning and CHANGELOG.md added
142
+
81
143
 
82
144
  ## 0.1.0 / 2020-12-29
83
- * Initial version published
145
+
146
+ * Initial version published