meta-tags 2.20.0 → 2.21.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: b91604b222ccb9fb7ec8d2c12d7d1ff383e70ef5ed8492a171a8de17ca57a86c
4
+ data.tar.gz: 7381502fdaa29f9e654065efec1f51a04d640cff4a98f36eb9942364acf5b9cc
5
5
  SHA512:
6
- metadata.gz: 6070db91ae2f2a85b09eeb36f5f089a2501f5fe997820396abe714db1547deec745a54db264e7d7a2e0918ad1a2afea6bfe3860b6683dd85972f7a5563b0147e
7
- data.tar.gz: a567040cec30c15c0a4d12cf114e248b59fb16db674c9cabbfffa41655f1c8fa994ff5e258641432454d1049335e086433c61f91e1f9f409c65a66ccf7c780ff
6
+ metadata.gz: fc34a93f3955798b10590b4d479c906cf2862623b7f542168767f26d9348392ed36b8f9d87021df5bd31c153b286517ea4f66ff4988525057505eb7521f2039b
7
+ data.tar.gz: e83e0c4a19a688a0bee9b22878cb20cc632dc9bd85c252187ddfd0dc5575cfd87bcc432c4d80085232c872fc0c531a0b4ee29f4b01f9a17a02611b0c562315e5
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.21.0 (April 11, 2024)
4
+
5
+ Bugfixes:
6
+
7
+ - Removed a duplicated `title_tag_attributes` configuration from the initializer ([287](https://github.com/kpumuk/meta-tags/pull/287)).
8
+
9
+ Changes:
10
+
11
+ - Ruby older than 3.0 is no longer supported.
12
+ - Added `truncate_on_natural_separator` configuration option to the initializer ([287](https://github.com/kpumuk/meta-tags/pull/287)).
13
+
3
14
  ## 2.20.0 (December 26, 2023)
4
15
 
5
16
  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
 
@@ -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.21.0"
6
6
  public_constant :VERSION
7
7
  end
data/meta-tags.gemspec CHANGED
@@ -15,7 +15,7 @@ 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
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(\.|Gemfile|Appraisals|Steepfile|(bin|spec|gemfiles)/)}) }
21
21
  spec.bindir = "exe"
@@ -26,15 +26,15 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "railties", ">= 3.2.0", "< 7.2"
28
28
  spec.add_development_dependency "rake", "~> 13.0"
29
- spec.add_development_dependency "rspec", "~> 3.12.0"
29
+ spec.add_development_dependency "rspec", "~> 3.13.0"
30
30
  spec.add_development_dependency "rspec-html-matchers", "~> 0.10.0"
31
31
  spec.add_development_dependency "appraisal", "~> 2.5.0"
32
32
  spec.add_development_dependency "simplecov", "~> 0.22.0"
33
33
  # Code style
34
34
  spec.add_development_dependency "standard", "~> 1.31"
35
- spec.add_development_dependency "rubocop-rails", "~> 2.23.0"
35
+ spec.add_development_dependency "rubocop-rails", "~> 2.24.0"
36
36
  spec.add_development_dependency "rubocop-rake", "~> 0.6.0"
37
- spec.add_development_dependency "rubocop-rspec", "~> 2.25.0"
37
+ spec.add_development_dependency "rubocop-rspec", "~> 2.29.1"
38
38
  # Format RSpec output for CircleCI
39
39
  spec.add_development_dependency "rspec_junit_formatter", "~> 0.6.0"
40
40
 
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.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmytro Shteflyuk
@@ -30,7 +30,7 @@ cert_chain:
30
30
  ovz1LEphwrX/6v635mteXvl+OKWrNo1Q78sU364BgY5MvJMxFytmUrKMgO6RAiIM
31
31
  N9+lhJiLa7+h0LrvPPDZRhV8ze0=
32
32
  -----END CERTIFICATE-----
33
- date: 2023-12-26 00:00:00.000000000 Z
33
+ date: 2024-04-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: actionpack
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 3.12.0
95
+ version: 3.13.0
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 3.12.0
102
+ version: 3.13.0
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rspec-html-matchers
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -162,14 +162,14 @@ dependencies:
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: 2.23.0
165
+ version: 2.24.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: 2.24.0
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: rubocop-rake
175
175
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +190,14 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: 2.25.0
193
+ version: 2.29.1
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: 2.29.1
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