jekyll_href 1.2.6 → 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: 7ce2ffe035bd807e82e6ec9f639677e82f4413bed796bc513962f384cea6b5e8
4
- data.tar.gz: 90ae63c7030fe498a6e4eadb61a20927a110847fb70809058e7da41f8b4d2d72
3
+ metadata.gz: 9419e6938b722e6707825cca7dad7e1fe17393cdc5cf4af11b66b39c0a64d368
4
+ data.tar.gz: f9dcabb8b9ba97cfc61de15cb7692143d5eb781e6089b8d3bef43e9dfa1569c4
5
5
  SHA512:
6
- metadata.gz: 6fd44f9bcb7aa12f2503333663be4fd7619c83e37563387997dd9043996127545a980a627b33677b8f1ee428af579dd3ff9ea84d0cf39f8095bc81199e8ea165
7
- data.tar.gz: 1e5808fde63549696c8464c5d6e5127b32aa36a3f3919fbaf4a37d04cdf373f7b9861cfd459f2b61bc6d327e995c1303ae8642157ecce1f2f02e4537a5932d35
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,86 +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
+
1
13
  ## 1.2.6 / 2023-06-18
2
- * No longer blows up on error.
14
+
15
+ * No longer blows up on error.
16
+
3
17
 
4
18
  ## 1.2.5 / 2023-05-26
5
- * Added `style` and `class` options.
19
+
20
+ * Added `style` and `class` options.
21
+
6
22
 
7
23
  ## 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.
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
+
11
29
 
12
30
  ## 1.2.3 / 2023-05-16
13
- * Added `label` option.
31
+
32
+ * Added `label` option.
33
+
14
34
 
15
35
  ## 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.
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
+
20
42
 
21
43
  ## 1.2.1 / 2023-03-21
22
- * Added `shy` and `wbr` options.
44
+
45
+ * Added `shy` and `wbr` options.
46
+
23
47
 
24
48
  ## 1.2.0 / 2023-02-16
25
- * Updated to `jekyll_plugin_support` v1.5.0
49
+
50
+ * Updated to `jekyll_plugin_support` v1.5.0
51
+
26
52
 
27
53
  ## 1.1.1 / 2023-02-14
28
- * Now dependent on `jekyll_plugin_support`
54
+
55
+ * Now dependent on `jekyll_plugin_support`
56
+
29
57
 
30
58
  ## 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.
59
+
60
+ * Updated to `jekyll_all_collections` plugin v0.2.0.
61
+ * Fixed insidious bug where a valid link was not used properly.
62
+
33
63
 
34
64
  ## 1.0.14 / 2023-01-09
35
- * Added `blank` parameter.
65
+
66
+ * Added `blank` parameter.
67
+
36
68
 
37
69
  ## 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
- ```
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
+
51
90
 
52
91
  ## 1.0.12 / 2022-08-09
53
- * 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
+
54
95
 
55
96
  ## 1.0.11 / 2022-04-27
56
- * Suppresses target and rel=nofollow attributes for mailto: links.
97
+
98
+ * Suppresses target and rel=nofollow attributes for mailto: links.
99
+
57
100
 
58
101
  ## 1.0.10 / 2022-04-27
59
- * 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
+
60
105
 
61
106
  ## 1.0.9 / 2022-04-25
62
- * Match now looks at all collections, not just posts
107
+
108
+ * Match now looks at all collections, not just posts
109
+
63
110
 
64
111
  ## 1.0.8 / 2022-04-11
65
- * Fixed match text
112
+
113
+ * Fixed match text
114
+
66
115
 
67
116
  ## 1.0.7 / 2022-04-11
68
- * Fixed bad reference when more than one URL matches
117
+
118
+ * Fixed bad reference when more than one URL matches
119
+
69
120
 
70
121
  ## 1.0.6 / 2022-04-05
71
- * Updated to `jekyll_plugin_logger` v2.1.0
122
+
123
+ * Updated to `jekyll_plugin_logger` v2.1.0
124
+
72
125
 
73
126
  ## 1.0.5 / 2022-03-28
74
- * Fixed problem with URI rendering
127
+
128
+ * Fixed problem with URI rendering
129
+
75
130
 
76
131
  ## 1.0.4 / 2022-03-28
77
- * Fixed problem with `match` option
132
+
133
+ * Fixed problem with `match` option
134
+
78
135
 
79
136
  ## 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
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
+
84
143
 
85
144
  ## 0.1.0 / 2020-12-29
86
- * Initial version published
145
+
146
+ * Initial version published