page_title_helper 6.0.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/page_title_helper/version.rb +1 -1
- data/lib/page_title_helper.rb +3 -3
- data/page_title_helper.gemspec +5 -5
- data/test/test_helper.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a2bb5aea574505289a7171bb3f4cc5fb1c68534675e4b58282311e4ebd0a02
|
4
|
+
data.tar.gz: ad5a1d25c160cfb18d669f2799123f63fe63028b7530de64c26f8bc9ee0eb54b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb8cf79042e1f0a6a4eb9add24219ec01ca574c781652a12472cb1ca2b2fbf3b73008f8d949f9ebd66eb8668905cc50e3b6563902e2af99f4b98aacef42d0dc
|
7
|
+
data.tar.gz: 0b9f2e47a0ed3801d7499a9cf56e80198a907ae4c7ed27303cc7788a2337c5be3f1e122b9a89dcccc8fc93414828ba8b1727f01636595d18164da88513c5d7fb
|
data/CHANGELOG.md
CHANGED
@@ -20,6 +20,26 @@ about why a change log is important.
|
|
20
20
|
|
21
21
|
### Security
|
22
22
|
|
23
|
+
## x.y.z
|
24
|
+
|
25
|
+
### Added
|
26
|
+
- Add support for Rails 7.2 (#193)
|
27
|
+
- Add official support for Ruby 3.3 (#177)
|
28
|
+
|
29
|
+
### Removed
|
30
|
+
- Drop support for Ruby 3.0 (#184)
|
31
|
+
|
32
|
+
## 7.0.0
|
33
|
+
|
34
|
+
### Added
|
35
|
+
- Add support for Rails 7.1 (#166)
|
36
|
+
- Add official support for Ruby 3.2 (#157)
|
37
|
+
|
38
|
+
### Removed
|
39
|
+
- Drop support for Rails 6.0 (#168)
|
40
|
+
- Drop support for Rails 5.2 (#164)
|
41
|
+
- Drop support for Ruby 2.7 (#163)
|
42
|
+
|
23
43
|
## 6.0.0
|
24
44
|
|
25
45
|
### Added
|
data/lib/page_title_helper.rb
CHANGED
@@ -34,8 +34,8 @@ module PageTitleHelper
|
|
34
34
|
end
|
35
35
|
|
36
36
|
# Add new, custom, interpolation.
|
37
|
-
def self.interpolates(key, &
|
38
|
-
Interpolations.send(:define_method, key, &
|
37
|
+
def self.interpolates(key, &)
|
38
|
+
Interpolations.send(:define_method, key, &)
|
39
39
|
end
|
40
40
|
|
41
41
|
# Default options, which are globally referenced and can
|
@@ -75,7 +75,7 @@ module PageTitleHelper
|
|
75
75
|
format = PageTitleHelper.formats[format] if PageTitleHelper.formats.include?(format)
|
76
76
|
|
77
77
|
# construct basic env to pass around
|
78
|
-
env = { title: real_title, app: options[:app], options
|
78
|
+
env = { title: real_title, app: options[:app], options:, view: self }
|
79
79
|
|
80
80
|
# interpolate format
|
81
81
|
Interpolations.interpolate(format, env)
|
data/page_title_helper.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.summary = 'Simple, internationalized and DRY page titles and headings for Rails.'
|
9
9
|
s.description = 'Simple, internationalized and DRY page titles and headings for Rails.'
|
10
10
|
|
11
|
-
s.required_ruby_version = '>=
|
11
|
+
s.required_ruby_version = '>= 3.1.0'
|
12
12
|
|
13
13
|
s.authors = ['Lukas Westermann']
|
14
14
|
s.email = ['lukas.westermann@gmail.com']
|
@@ -21,11 +21,11 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
s.license = 'MIT'
|
23
23
|
|
24
|
-
s.add_dependency 'rails', '>=
|
24
|
+
s.add_dependency 'rails', '>= 6.1.0', '< 7.3'
|
25
25
|
|
26
|
-
s.add_development_dependency 'rake', '~> 13.
|
27
|
-
s.add_development_dependency 'rubocop', '~> 1.
|
28
|
-
s.add_development_dependency 'rubocop-rails', '~> 2.
|
26
|
+
s.add_development_dependency 'rake', '~> 13.2.1'
|
27
|
+
s.add_development_dependency 'rubocop', '~> 1.65.1'
|
28
|
+
s.add_development_dependency 'rubocop-rails', '~> 2.25.1'
|
29
29
|
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
|
30
30
|
s.add_development_dependency 'shoulda', '~> 4.0.0'
|
31
31
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: page_title_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Westermann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,62 +16,62 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.1.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 6.1.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 13.
|
39
|
+
version: 13.2.1
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 13.
|
46
|
+
version: 13.2.1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rubocop
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.65.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.65.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rubocop-rails
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 2.
|
67
|
+
version: 2.25.1
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 2.
|
74
|
+
version: 2.25.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rubocop-rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,7 +125,7 @@ homepage: https://github.com/lwe/page_title_helper
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata: {}
|
128
|
-
post_install_message:
|
128
|
+
post_install_message:
|
129
129
|
rdoc_options: []
|
130
130
|
require_paths:
|
131
131
|
- lib
|
@@ -133,15 +133,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
134
134
|
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
136
|
+
version: 3.1.0
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - ">="
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
144
|
-
signing_key:
|
143
|
+
rubygems_version: 3.5.11
|
144
|
+
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Simple, internationalized and DRY page titles and headings for Rails.
|
147
147
|
test_files:
|