jekyll_href 1.2.9 → 1.2.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8927ecf8ccf707335285be9467677e70958b442a80d26b64dd218e5364a7d3d0
4
- data.tar.gz: a8676a2ba7eca1e6e69e76c56b688bbd7b9afcefce89a8ca95cdd7510125f2e5
3
+ metadata.gz: 7ff34de3543f22694104004179a170c7eccaed4ab74c8c454d5d6f9e7e1b95b6
4
+ data.tar.gz: cba2381032c48b897e1f1835ce2484b0b5d1c589d077359bade41be88984c9f8
5
5
  SHA512:
6
- metadata.gz: 48288f3dfb9a59461c402bf6bc9632a1d80a1f7a05384f86d2673c31c6bc739f7f375e4843fb5a370b82a404754988a3eac48873a7cf3460e90f516035b860c2
7
- data.tar.gz: fbca9027c22d67524d50872fa7fd91a8230cb3c88110eb60cb4a06110e1050b8db4689730e7861d972394148740b2439f6f8c88d01b79b6a2590cf0d6001c377
6
+ metadata.gz: ca46777a4c3d5bd9eeb1b859715d73f45ea793d97b183a862e25eb78c8688387bc91d25ca353c21cfe7b734e4a9aa74d5c12a163872b07dcd3cc1ca179393a18
7
+ data.tar.gz: 25a5d7c61e1baf54b767a0b1824c263a52f0bfdf054a428b5290f655ca4c9fe701c633406c8c6da165d14bc0852a1b21a7fcba0f9e1dce03c10fb50917796259
data/.rubocop.yml CHANGED
@@ -5,13 +5,10 @@ require:
5
5
  - rubocop-rake
6
6
  - rubocop-rspec
7
7
 
8
- # inherit_gem:
9
- # rubocop-jekyll: .rubocop.yml
10
-
11
8
  AllCops:
12
9
  Exclude:
13
- - demo/_site/**/*
14
10
  - binstub/**/*
11
+ - demo/_site/*
15
12
  - vendor/**/*
16
13
  - Gemfile*
17
14
  NewCops: enable
@@ -29,87 +26,57 @@ Layout/HashAlignment:
29
26
  EnforcedColonStyle: table
30
27
  EnforcedHashRocketStyle: table
31
28
 
32
- Layout/InitialIndentation:
33
- Exclude:
34
- - README.md
35
-
36
29
  Layout/LineLength:
37
30
  Max: 150
38
- Exclude:
39
- - spec/**/*
40
-
41
- Layout/MultilineMethodCallIndentation:
42
- Enabled: false
43
-
44
- Lint/RedundantCopDisableDirective:
45
- Exclude:
46
- - jekyll_href.gemspec
47
31
 
48
32
  Metrics/AbcSize:
49
- Max: 45
33
+ Max: 55
50
34
 
51
35
  Metrics/BlockLength:
52
36
  Exclude:
53
- - jekyll_href.gemspec
54
- - spec/**/*
55
- Max: 40
56
-
57
- Metrics/ClassLength:
58
- Exclude:
59
- - spec/**/*
60
- Max: 150
37
+ - jekyll_plugin_support.gemspec
38
+ Max: 30
61
39
 
62
40
  Metrics/CyclomaticComplexity:
63
- Max: 20
41
+ Max: 25
64
42
 
65
43
  Metrics/MethodLength:
66
- Max: 40
44
+ Max: 50
67
45
 
68
46
  Metrics/PerceivedComplexity:
69
- Max: 20
47
+ Max: 25
70
48
 
71
49
  Naming/FileName:
72
50
  Exclude:
73
51
  - Rakefile
52
+ - "*.md"
74
53
 
75
54
  RSpec/ExampleLength:
76
- Max: 40
55
+ Max: 30
77
56
 
78
- RSpec/FilePath:
57
+ RSpec/SpecFilePathFormat:
79
58
  Enabled: false
59
+ IgnoreMethods: true
80
60
 
81
- RSpec/MultipleExpectations:
82
- Max: 15
83
-
84
- RSpec/MultipleMemoizedHelpers:
85
- Max: 20
86
-
87
- Style/CommandLiteral:
61
+ RSpec/SpecFilePathSuffix:
88
62
  Enabled: false
89
63
 
90
- Style/CommentedKeyword:
64
+ RSpec/IndexedLet:
91
65
  Enabled: false
92
66
 
93
- Style/Documentation:
94
- Enabled: false
67
+ RSpec/MultipleExpectations:
68
+ Max: 15
95
69
 
96
- Style/FrozenStringLiteralComment:
70
+ Style/ClassVars:
97
71
  Enabled: false
98
72
 
99
- Style/PercentLiteralDelimiters:
73
+ Style/Documentation:
100
74
  Enabled: false
101
75
 
102
- Style/RegexpLiteral:
76
+ Style/FrozenStringLiteralComment:
103
77
  Enabled: false
104
78
 
105
79
  Style/StringConcatenation:
106
- Exclude:
107
- - spec/**/*
108
-
109
- Style/StringLiterals:
110
- Enabled: false
111
-
112
- Style/StringLiteralsInInterpolation:
113
80
  Enabled: false
114
81
 
115
82
  Style/TrailingCommaInHashLiteral:
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## 1.2.10 / 2024-07-23
5
+
6
+ * Make compatible with jekyll_plugin_support 1.0.0
7
+
8
+
4
9
  ## 1.2.9 / 2024-07-17
5
10
 
6
11
  * Fixed missing ` target="_blank"` for links without labels, when `blank` was specified.
data/jekyll_href.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.add_dependency 'ipaddress'
34
34
  spec.add_dependency 'jekyll', '>= 3.5.0'
35
- spec.add_dependency 'jekyll_all_collections', '>= 0.3.3'
36
- spec.add_dependency 'jekyll_plugin_support', '>= 0.8.5'
35
+ spec.add_dependency 'jekyll_all_collections'
36
+ spec.add_dependency 'jekyll_plugin_support', '>= 1.0.0'
37
37
  spec.add_dependency 'typesafe_enum'
38
38
  end
@@ -85,6 +85,6 @@ module MSlinn
85
85
  END_RENDER
86
86
  end
87
87
 
88
- JekyllPluginHelper.register(self, 'href_summary')
88
+ ::JekyllSupport::JekyllPluginHelper.register(self, 'href_summary')
89
89
  end
90
90
  end
data/lib/href_tag.rb CHANGED
@@ -68,7 +68,7 @@ module MSlinn
68
68
  "On line #{line_number} of #{path}: #{follow} #{match} #{target} #{link} => '#{text}'"
69
69
  end
70
70
 
71
- JekyllPluginHelper.register(self, 'href')
71
+ ::JekyllSupport::JekyllPluginHelper.register(self, 'href')
72
72
  end
73
73
  end
74
74
 
@@ -1,3 +1,3 @@
1
1
  module JekyllHrefVersion
2
- VERSION = '1.2.9'.freeze
2
+ VERSION = '1.2.10'.freeze
3
3
  end
@@ -1,29 +1,15 @@
1
1
  example_id | status | run_time |
2
2
  ----------------------------------------------------------------- | ------ | --------------- |
3
- ./spec/hash_array_spec.rb[1:1] | passed | 0.17104 seconds |
4
- ./spec/href_spec.rb[1:1] | passed | 0.03236 seconds |
5
- ./spec/href_spec.rb[1:2] | passed | 0.02884 seconds |
6
- ./spec/href_spec.rb[1:3] | passed | 0.02956 seconds |
7
- ./spec/href_spec.rb[1:4] | passed | 0.02841 seconds |
8
- ./spec/href_spec.rb[1:5] | passed | 0.02897 seconds |
9
- ./spec/href_spec.rb[1:6] | passed | 0.02866 seconds |
10
- ./spec/href_spec.rb[1:7] | passed | 0.02966 seconds |
11
- ./spec/href_spec.rb[1:8] | passed | 0.02983 seconds |
12
- ./spec/href_spec.rb[1:9] | passed | 0.02735 seconds |
13
- ./spec/href_spec.rb[1:10] | passed | 0.02928 seconds |
14
- ./spec/href_spec.rb[1:11] | passed | 0.02861 seconds |
15
- ./spec/href_spec.rb[1:12] | passed | 0.02958 seconds |
16
- ./spec/href_spec.rb[1:13] | passed | 0.02714 seconds |
17
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:1] | passed | 0.02582 seconds |
18
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:2] | passed | 0.01031 seconds |
19
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:3] | passed | 0.01045 seconds |
20
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:4] | passed | 0.01038 seconds |
21
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:5] | passed | 0.01081 seconds |
22
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:6] | passed | 0.01053 seconds |
23
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:7] | passed | 0.01125 seconds |
24
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:8] | passed | 0.01113 seconds |
25
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:9] | passed | 0.01088 seconds |
26
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:10] | passed | 0.01066 seconds |
27
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:11] | failed | 0.06099 seconds |
28
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:12] | passed | 0.01096 seconds |
29
- /mnt/_/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:13] | passed | 0.01028 seconds |
3
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:1] | passed | 0.00938 seconds |
4
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:2] | failed | 0.01389 seconds |
5
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:3] | failed | 0.00319 seconds |
6
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:4] | failed | 0.00211 seconds |
7
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:5] | failed | 0.00196 seconds |
8
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:6] | failed | 0.00205 seconds |
9
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:7] | passed | 0.00212 seconds |
10
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:8] | failed | 0.00209 seconds |
11
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:9] | failed | 0.0021 seconds |
12
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:10] | passed | 0.00278 seconds |
13
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:11] | passed | 0.00237 seconds |
14
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:12] | passed | 0.00218 seconds |
15
+ /mnt/f/work/jekyll/my_plugins/jekyll_href/spec/href_spec.rb[1:13] | passed | 0.00211 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.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-19 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ipaddress
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.3
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.3
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jekyll_plugin_support
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.8.5
61
+ version: 1.0.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.8.5
68
+ version: 1.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: typesafe_enum
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.4.22
139
+ rubygems_version: 3.5.16
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Generates an 'a href' tag, possibly with target='_blank' and rel='nofollow'.