jekyll-target-blank 2.0.0 → 2.0.2

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: 6fb4d3608549f0c580b7a85fb94d8152ec64b4f002bba25e5f99faa7d4eb4955
4
- data.tar.gz: 4e598cf37da4790e8b77513ccec0929e7d8dfe12c69e9f99e3a08f8cf8a0eb60
3
+ metadata.gz: d09306731b5daf78557b35c07d12b01ce9454066f6bbff6366a586f8eff3ef77
4
+ data.tar.gz: 5a4b74d1e06d47c1f00ba015df4eae7ba90ff91f3ed7a2a237639d2eaa853244
5
5
  SHA512:
6
- metadata.gz: bd28d36d7ed8ed2cbd953dc2dc8b984bcf7ac5fec50cf439eac8015547267899a0da62f8719e35b9def4320acd146063f91864862a3aba811ac481dca0f6ba40
7
- data.tar.gz: 2c3b8a6c38115e916b3ee93c32cac1c7ef98e62dd0ac893ea83f22bdba3e06afb3af5d99deffe8c3d23445abbd3c596e217427b0faacb500cdfe8360d8481b33
6
+ metadata.gz: c672f8fcdc9464870295b847e901f13733c66e33628a25026078bd2f87b4cc3f1a1bb0ebf02f4c05b5007c1f778dbe856bf09962c68422480bcad9c59ddf7040
7
+ data.tar.gz: 000db26fb7adb11f4f5f0c7c675eb6625e7253f43d8d5097cb6c50d4ca7e2039eb31f7cae99a2a5508a5d3f55de01281fa27264a02ce1f3cb28df44250ea9902
data/.rubocop.yml CHANGED
@@ -1,12 +1,11 @@
1
- inherit_gem:
2
- jekyll: .rubocop.yml
1
+
3
2
 
4
3
  AllCops:
5
4
  TargetRubyVersion: 2.6
6
5
  Exclude:
7
6
  - vendor/**/*
8
7
 
9
- Metrics/LineLength:
8
+ Layout/LineLength:
10
9
  Exclude:
11
10
  - spec/**/*
12
11
  - jekyll-target-blank.gemspec
data/README.md CHANGED
@@ -113,7 +113,7 @@ target-blank:
113
113
  noreferrer: false
114
114
  ```
115
115
 
116
- __To exclude both `noopner` and `noreferrer` values:__
116
+ __To exclude both `noopener` and `noreferrer` values:__
117
117
 
118
118
  ```yaml
119
119
  target-blank:
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency 'bundler', '~> 2.0'
22
22
  spec.add_development_dependency 'rake', '~> 12.0'
23
23
  spec.add_development_dependency 'rspec', '~> 3.0'
24
- spec.add_development_dependency 'rubocop', '>= 0.68.0', '<= 0.72.0'
25
- spec.add_development_dependency "rubocop-jekyll", "~> 0.10.0"
24
+ spec.add_development_dependency 'rubocop', '~> 1'
25
+ spec.add_development_dependency "rubocop-jekyll", "~> 0.12.0"
26
26
 
27
27
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllTargetBlank
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.2"
5
5
  end
@@ -153,7 +153,7 @@ module Jekyll
153
153
  #
154
154
  # link = Nokogiri node.
155
155
  def add_rel_attributes(link)
156
- rel = ""
156
+ rel = link["rel"] || ""
157
157
  rel = add_noopener_to_rel(rel)
158
158
 
159
159
  if @should_add_noreferrrer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-target-blank
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Mifsud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -90,36 +90,30 @@ dependencies:
90
90
  name: rubocop
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: 0.68.0
96
- - - "<="
93
+ - - "~>"
97
94
  - !ruby/object:Gem::Version
98
- version: 0.72.0
95
+ version: '1'
99
96
  type: :development
100
97
  prerelease: false
101
98
  version_requirements: !ruby/object:Gem::Requirement
102
99
  requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: 0.68.0
106
- - - "<="
100
+ - - "~>"
107
101
  - !ruby/object:Gem::Version
108
- version: 0.72.0
102
+ version: '1'
109
103
  - !ruby/object:Gem::Dependency
110
104
  name: rubocop-jekyll
111
105
  requirement: !ruby/object:Gem::Requirement
112
106
  requirements:
113
107
  - - "~>"
114
108
  - !ruby/object:Gem::Version
115
- version: 0.10.0
109
+ version: 0.12.0
116
110
  type: :development
117
111
  prerelease: false
118
112
  version_requirements: !ruby/object:Gem::Requirement
119
113
  requirements:
120
114
  - - "~>"
121
115
  - !ruby/object:Gem::Version
122
- version: 0.10.0
116
+ version: 0.12.0
123
117
  description: Target Blank automatically changes the external links to open in a new
124
118
  browser for Jekyll sites.
125
119
  email:
@@ -183,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
177
  - !ruby/object:Gem::Version
184
178
  version: '0'
185
179
  requirements: []
186
- rubygems_version: 3.0.6
180
+ rubygems_version: 3.3.5
187
181
  signing_key:
188
182
  specification_version: 4
189
183
  summary: Target Blank automatically changes the external links to open in a new browser.