meta-tags 2.20.0 → 2.22.0

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: 440fa812b13be18a614ee75e4f194ae2ca2ffbd0f70fd58202fe9036cfe14468
4
- data.tar.gz: c46cc703162c1506e8c7152c5a03ca329356e8153428819a144b9181d9f89f8e
3
+ metadata.gz: 302d705b191680cab04005e587365c294f8b4865a63a3622cc824d30b098085a
4
+ data.tar.gz: fa876115faf1f9e6838ca20b4a51f6245343efe23fce055c9304885f444c82b1
5
5
  SHA512:
6
- metadata.gz: 6070db91ae2f2a85b09eeb36f5f089a2501f5fe997820396abe714db1547deec745a54db264e7d7a2e0918ad1a2afea6bfe3860b6683dd85972f7a5563b0147e
7
- data.tar.gz: a567040cec30c15c0a4d12cf114e248b59fb16db674c9cabbfffa41655f1c8fa994ff5e258641432454d1049335e086433c61f91e1f9f409c65a66ccf7c780ff
6
+ metadata.gz: 2ce37fc0331dcf1bda3daf483ac745c80ec4f1b176d12372de72ea282d2626027a7b4717a5178e768e796188dedf709ee0491916075a08aec622ed5fa62dbd88
7
+ data.tar.gz: 338904431dfaebd3654dc8a1be6864cb0c507355fd062688d0e27ea2dde84fe55138ae8e40cbb46ad33fc5551be21bcb9fff58028084d73abc189abf0c521cf3
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.22.0 (July 15, 2024)
4
+
5
+ Changes:
6
+
7
+ - Added support for Ruby on Rails 7.2 ([303](https://github.com/kpumuk/meta-tags/pull/303))
8
+
9
+ ## 2.21.0 (April 11, 2024)
10
+
11
+ Bugfixes:
12
+
13
+ - Removed a duplicated `title_tag_attributes` configuration from the initializer ([287](https://github.com/kpumuk/meta-tags/pull/287)).
14
+
15
+ Changes:
16
+
17
+ - Ruby older than 3.0 is no longer supported.
18
+ - Added `truncate_on_natural_separator` configuration option to the initializer ([287](https://github.com/kpumuk/meta-tags/pull/287)).
19
+
3
20
  ## 2.20.0 (December 26, 2023)
4
21
 
5
22
  Features:
data/README.md CHANGED
@@ -15,7 +15,7 @@ Search Engine Optimization (SEO) plugin for Ruby on Rails applications.
15
15
  The MetaTags main branch fully supports Ruby on Rails 6.0+ and is tested against all major Ruby on Rails releases.
16
16
 
17
17
  > [!NOTE]
18
- > We no longer support Ruby versions older than 2.7 and Ruby on Rails older than 6.0 since they reached their end of life (see [Ruby](https://endoflife.date/ruby) and [Ruby on Rails](https://endoflife.date/rails)).
18
+ > We no longer support Ruby versions older than 3.0 and Ruby on Rails older than 6.0 since they reached their end of life (see [Ruby](https://endoflife.date/ruby) and [Ruby on Rails](https://endoflife.date/rails)).
19
19
 
20
20
  ## Installation
21
21
 
data/certs/kpumuk.pem CHANGED
@@ -1,7 +1,7 @@
1
1
  -----BEGIN CERTIFICATE-----
2
2
  MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MQ8wDQYDVQQDDAZrcHVt
3
3
  dWsxFjAUBgoJkiaJk/IsZAEZFgZrcHVtdWsxFDASBgoJkiaJk/IsZAEZFgRpbmZv
4
- MB4XDTIzMDcwNjEyMjY0MVoXDTI0MDcwNTEyMjY0MVowPzEPMA0GA1UEAwwGa3B1
4
+ MB4XDTI0MDcxNTIxMzIyNFoXDTI1MDcxNTIxMzIyNFowPzEPMA0GA1UEAwwGa3B1
5
5
  bXVrMRYwFAYKCZImiZPyLGQBGRYGa3B1bXVrMRQwEgYKCZImiZPyLGQBGRYEaW5m
6
6
  bzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALw2YroZc+IT+rs8NuPu
7
7
  c13DelrxrpAgPEu1zuRb3l7WaHRNWA4TyS8Z6Aa1G2O+FdUZNMW1n7IwP/QMJ9Mz
@@ -12,10 +12,10 @@ pJ3vGgO2sh5GvJFOPk1Vlur2nX9ZFznPEP1CEAQ+NFrmKRt355Z5sgOkAojSGnIL
12
12
  /1sCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFPa4
13
13
  VFc1YOlV1u/7EGTwMCAk8YE9MB0GA1UdEQQWMBSBEmtwdW11a0BrcHVtdWsuaW5m
14
14
  bzAdBgNVHRIEFjAUgRJrcHVtdWtAa3B1bXVrLmluZm8wDQYJKoZIhvcNAQELBQAD
15
- ggEBALwivjTzGErFzBtgPEQe7uO6DMysgm/OIF5jLFkvRiuFbuueHM2cUZZBx2Rd
16
- 2R5uQS4uiZ5KA+3SkgWQOFOzpFlo7ywS5264ULCcvfix6NQpb2aIDsZuzWGBIDbs
17
- ixS+8wYslrzsOgUSn/RjF0sVB0dw4wv6G8YnVrR/Jf2SaO+Q2lYuKEOKfj52I+Yt
18
- TdFiOjR+WwXSxs/XdSdFtqK2q/THbZdk+HkAe8guvXYtD/fzO2mBlk2AQ0hV1Pxu
19
- ovz1LEphwrX/6v635mteXvl+OKWrNo1Q78sU364BgY5MvJMxFytmUrKMgO6RAiIM
20
- N9+lhJiLa7+h0LrvPPDZRhV8ze0=
15
+ ggEBADXj54X1y7Pw0Wp5wdniZE13a8EwWC41BEIsSoBLkGQhZ2OOR+5tVUM9kCwG
16
+ kX6YdliORLuLevYXKiXFluiETwKTeAd6zUURy7eLlwQ1GvhE8wmGk0TQY11v8FMj
17
+ 7AupDtulpP01gLDZwbysovu/3btfhrLVncJ2zIpB5sx68fDCOmOGSUbdgOCV+S+O
18
+ CyTFctYlJNXZgv2kl76TII7jbZikT/7hVOhCO48OdMQ/s26zabbJrcV2pJOLKKkP
19
+ BKX4xDo6SbsGmqjFkknT6WiiE94rQxGCb9JNiSyl3SncEw+Ysx6yVKYB5WAEy8s1
20
+ M0VQvDzd77bxj3lx/P6ifll3yUs=
21
21
  -----END CERTIFICATE-----
@@ -12,8 +12,11 @@ MetaTags.configure do |config|
12
12
  # Add HTML attributes to the <title> HTML tag. Default is {}.
13
13
  # config.title_tag_attributes = {}
14
14
 
15
- # Add HTML attributes to the <title> HTML tag. Default is {}.
16
- # config.title_tag_attributes = {}
15
+ # Natural separator when truncating. Default is " " (space character).
16
+ # Set to nil to disable natural separator.
17
+ # This also allows you to use a whitespace regular expression (/\s/) or
18
+ # a Unicode space (/\p{Space}/).
19
+ # config.truncate_on_natural_separator = " "
17
20
 
18
21
  # Maximum length of the page description. Default is 300.
19
22
  # Set to nil or 0 to remove limits.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module MetaTags
4
4
  # Gem version.
5
- VERSION = "2.20.0"
5
+ VERSION = "2.22.0"
6
6
  public_constant :VERSION
7
7
  end
data/meta-tags.gemspec CHANGED
@@ -15,26 +15,28 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = "https://github.com/kpumuk/meta-tags"
16
16
  spec.license = "MIT"
17
17
  spec.platform = Gem::Platform::RUBY
18
- spec.required_ruby_version = ">= 2.7.0"
18
+ spec.required_ruby_version = ">= 3.0.0"
19
19
 
20
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.|Gemfile|Appraisals|Steepfile|(bin|spec|gemfiles)/)}) }
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ f.match(%r{^(\.|Gemfile|Appraisals|Steepfile|(bin|spec|gemfiles)/)})
22
+ end
21
23
  spec.bindir = "exe"
22
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
25
  spec.require_paths = ["lib"]
24
26
 
25
- spec.add_runtime_dependency "actionpack", ">= 6.0.0", "< 7.2"
27
+ spec.add_runtime_dependency "actionpack", ">= 6.0.0", "< 8.1"
26
28
 
27
- spec.add_development_dependency "railties", ">= 3.2.0", "< 7.2"
29
+ spec.add_development_dependency "appraisal", "~> 2.5.0"
30
+ spec.add_development_dependency "railties", ">= 3.2.0", "< 8.1"
28
31
  spec.add_development_dependency "rake", "~> 13.0"
29
- spec.add_development_dependency "rspec", "~> 3.12.0"
32
+ spec.add_development_dependency "rspec", "~> 3.13.0"
30
33
  spec.add_development_dependency "rspec-html-matchers", "~> 0.10.0"
31
- spec.add_development_dependency "appraisal", "~> 2.5.0"
32
34
  spec.add_development_dependency "simplecov", "~> 0.22.0"
33
35
  # Code style
34
- spec.add_development_dependency "standard", "~> 1.31"
35
- spec.add_development_dependency "rubocop-rails", "~> 2.23.0"
36
+ spec.add_development_dependency "rubocop-rails", "~> 2.25.0"
36
37
  spec.add_development_dependency "rubocop-rake", "~> 0.6.0"
37
- spec.add_development_dependency "rubocop-rspec", "~> 2.25.0"
38
+ spec.add_development_dependency "rubocop-rspec", "~> 3.0.1"
39
+ spec.add_development_dependency "standard", "~> 1.31"
38
40
  # Format RSpec output for CircleCI
39
41
  spec.add_development_dependency "rspec_junit_formatter", "~> 0.6.0"
40
42
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0
4
+ version: 2.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmytro Shteflyuk
@@ -12,7 +12,7 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MQ8wDQYDVQQDDAZrcHVt
14
14
  dWsxFjAUBgoJkiaJk/IsZAEZFgZrcHVtdWsxFDASBgoJkiaJk/IsZAEZFgRpbmZv
15
- MB4XDTIzMDcwNjEyMjY0MVoXDTI0MDcwNTEyMjY0MVowPzEPMA0GA1UEAwwGa3B1
15
+ MB4XDTI0MDcxNTIxMzIyNFoXDTI1MDcxNTIxMzIyNFowPzEPMA0GA1UEAwwGa3B1
16
16
  bXVrMRYwFAYKCZImiZPyLGQBGRYGa3B1bXVrMRQwEgYKCZImiZPyLGQBGRYEaW5m
17
17
  bzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALw2YroZc+IT+rs8NuPu
18
18
  c13DelrxrpAgPEu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023-12-26 00:00:00.000000000 Z
33
+ date: 2024-07-15 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: actionpack
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: 6.0.0
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '7.2'
44
+ version: '8.1'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,7 +51,21 @@ dependencies:
51
51
  version: 6.0.0
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '7.2'
54
+ version: '8.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: appraisal
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.5.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.5.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: railties
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +75,7 @@ dependencies:
61
75
  version: 3.2.0
62
76
  - - "<"
63
77
  - !ruby/object:Gem::Version
64
- version: '7.2'
78
+ version: '8.1'
65
79
  type: :development
66
80
  prerelease: false
67
81
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +85,7 @@ dependencies:
71
85
  version: 3.2.0
72
86
  - - "<"
73
87
  - !ruby/object:Gem::Version
74
- version: '7.2'
88
+ version: '8.1'
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: rake
77
91
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +106,14 @@ dependencies:
92
106
  requirements:
93
107
  - - "~>"
94
108
  - !ruby/object:Gem::Version
95
- version: 3.12.0
109
+ version: 3.13.0
96
110
  type: :development
97
111
  prerelease: false
98
112
  version_requirements: !ruby/object:Gem::Requirement
99
113
  requirements:
100
114
  - - "~>"
101
115
  - !ruby/object:Gem::Version
102
- version: 3.12.0
116
+ version: 3.13.0
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: rspec-html-matchers
105
119
  requirement: !ruby/object:Gem::Requirement
@@ -114,20 +128,6 @@ dependencies:
114
128
  - - "~>"
115
129
  - !ruby/object:Gem::Version
116
130
  version: 0.10.0
117
- - !ruby/object:Gem::Dependency
118
- name: appraisal
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: 2.5.0
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: 2.5.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simplecov
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -143,61 +143,61 @@ dependencies:
143
143
  - !ruby/object:Gem::Version
144
144
  version: 0.22.0
145
145
  - !ruby/object:Gem::Dependency
146
- name: standard
146
+ name: rubocop-rails
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '1.31'
151
+ version: 2.25.0
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: '1.31'
158
+ version: 2.25.0
159
159
  - !ruby/object:Gem::Dependency
160
- name: rubocop-rails
160
+ name: rubocop-rake
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: 2.23.0
165
+ version: 0.6.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: 2.23.0
172
+ version: 0.6.0
173
173
  - !ruby/object:Gem::Dependency
174
- name: rubocop-rake
174
+ name: rubocop-rspec
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: 0.6.0
179
+ version: 3.0.1
180
180
  type: :development
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: 0.6.0
186
+ version: 3.0.1
187
187
  - !ruby/object:Gem::Dependency
188
- name: rubocop-rspec
188
+ name: standard
189
189
  requirement: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: 2.25.0
193
+ version: '1.31'
194
194
  type: :development
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: 2.25.0
200
+ version: '1.31'
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: rspec_junit_formatter
203
203
  requirement: !ruby/object:Gem::Requirement
@@ -270,14 +270,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
270
270
  requirements:
271
271
  - - ">="
272
272
  - !ruby/object:Gem::Version
273
- version: 2.7.0
273
+ version: 3.0.0
274
274
  required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  requirements: []
280
- rubygems_version: 3.4.10
280
+ rubygems_version: 3.5.3
281
281
  signing_key:
282
282
  specification_version: 4
283
283
  summary: Collection of SEO helpers for Ruby on Rails.
metadata.gz.sig CHANGED
Binary file