page_title_helper 7.0.0 → 9.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 +35 -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: adcab951010dee6708e3c2804c5dee6bef57f6f47df133b92485c1c156d2b2be
|
4
|
+
data.tar.gz: 50efe5272f89563dbe79c390915445f46fbd69b666945837b7f8424f72c7dc10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb719f0fad8b374c1c5fbbef37efad10c2ef2c988613f85cd4da4588df4422b9037dd3d1a405f63a7092f82752eec29e2cb6a4913c8b96209e0cccedea9e428
|
7
|
+
data.tar.gz: 428cb4ea74a5b40324a630a346bc956fcabb1cd8201665091b37268039c6732e8dca243c34d7b868388d590fc925c965a97c9fc085beba6976af4c3497d93dfd
|
data/CHANGELOG.md
CHANGED
@@ -20,13 +20,36 @@ about why a change log is important.
|
|
20
20
|
|
21
21
|
### Security
|
22
22
|
|
23
|
+
## 9.0.0: Add support for Rails 8.0, drop support for Rails 6.1
|
24
|
+
|
25
|
+
### Added
|
26
|
+
|
27
|
+
- Add support for Rails 8.0 (#197)
|
28
|
+
|
29
|
+
### Removed
|
30
|
+
|
31
|
+
- Drop support for Rails 6.1 (#201)
|
32
|
+
|
33
|
+
## 8.0.0
|
34
|
+
|
35
|
+
### Added
|
36
|
+
|
37
|
+
- Add support for Rails 7.2 (#193)
|
38
|
+
- Add official support for Ruby 3.3 (#177)
|
39
|
+
|
40
|
+
### Removed
|
41
|
+
|
42
|
+
- Drop support for Ruby 3.0 (#184)
|
43
|
+
|
23
44
|
## 7.0.0
|
24
45
|
|
25
46
|
### Added
|
47
|
+
|
26
48
|
- Add support for Rails 7.1 (#166)
|
27
49
|
- Add official support for Ruby 3.2 (#157)
|
28
50
|
|
29
51
|
### Removed
|
52
|
+
|
30
53
|
- Drop support for Rails 6.0 (#168)
|
31
54
|
- Drop support for Rails 5.2 (#164)
|
32
55
|
- Drop support for Ruby 2.7 (#163)
|
@@ -34,42 +57,51 @@ about why a change log is important.
|
|
34
57
|
## 6.0.0
|
35
58
|
|
36
59
|
### Added
|
60
|
+
|
37
61
|
- Add support for Rails 7.0 (#131)
|
38
62
|
- Add support for Ruby 3.1 (#143)
|
39
63
|
|
40
64
|
### Removed
|
65
|
+
|
41
66
|
- Drop support for Ruby 2.5 and 2.6 (#127, #145)
|
42
67
|
|
43
68
|
### Fixed
|
69
|
+
|
44
70
|
- Avoid modifying a frozen array in Ruby 3 (#135)
|
45
71
|
|
46
72
|
## 5.0.0
|
47
73
|
|
48
74
|
### Added
|
75
|
+
|
49
76
|
- Add support for Ruby 3 (#120)
|
50
77
|
- Add automatic gem release (#122)
|
51
78
|
- Add support for Rails 6.1 (#113, #114)
|
52
79
|
- Officially support Ruby 2.7 (#103)
|
53
80
|
|
54
81
|
### Removed
|
82
|
+
|
55
83
|
- Drop support for Ruby 2.4 (#109)
|
56
84
|
- Drop support for Rails < 5.2 (#104)
|
57
85
|
|
58
86
|
### Fixed
|
87
|
+
|
59
88
|
- Use a better-maintained Ruby setup for the CI (#121)
|
60
89
|
- Fix warnings in the `.travis.yml` (#106)
|
61
90
|
|
62
91
|
## 4.0.0
|
63
92
|
|
64
93
|
### Added
|
94
|
+
|
65
95
|
- Add support for Rails 6.0 (#94)
|
66
96
|
|
67
97
|
### Removed
|
98
|
+
|
68
99
|
- Drop support for Ruby < 2.4 (#93)
|
69
100
|
|
70
101
|
## 3.0.0
|
71
102
|
|
72
103
|
### Added
|
104
|
+
|
73
105
|
- Add Ruby 2.4.0 to the build matrix (#68)
|
74
106
|
- Add a CHANGELOG.md (#59)
|
75
107
|
- Add RuboCop checking to the CI (#52)
|
@@ -81,16 +113,19 @@ about why a change log is important.
|
|
81
113
|
- Use Appraisal for building with different Rails versions (#19)
|
82
114
|
|
83
115
|
### Changed
|
116
|
+
|
84
117
|
- Replaced Appraisals with specific Gemfiles (#41)
|
85
118
|
- Delete obsolete init.rb file (#61)
|
86
119
|
- Add Rails 5.0 to the build matrix (#42)
|
87
120
|
- Raise RVM and Gem minimum versions (#3)
|
88
121
|
|
89
122
|
### Removed
|
123
|
+
|
90
124
|
- Drop support for Rails 3.2 and 4.0 (#39)
|
91
125
|
- Drop support for Ruby 1.9.x (#24)
|
92
126
|
|
93
127
|
### Fixed
|
128
|
+
|
94
129
|
- Fix @_page_title uninitialized warning (#62)
|
95
130
|
- Fix the Travis build on Ruby 2.3.3 (#63)
|
96
131
|
- Do do not shell-out to `git` in Gemfile (#49)
|
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 = '>= 3.
|
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', '>= 7.0.0', '< 8.1'
|
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.68.0'
|
28
|
+
s.add_development_dependency 'rubocop-rails', '~> 2.27.0'
|
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: 9.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-11-08 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: 7.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.1'
|
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: 7.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.1'
|
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.68.0
|
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.68.0
|
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.27.0
|
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.27.0
|
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: 3.
|
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.22
|
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:
|