jekyll_href 1.2.6 → 1.2.8

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