page_title_helper 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +27 -12
- data/CODE_OF_CONDUCT.md +3 -3
- data/Gemfile +2 -0
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/lib/page_title_helper.rb +4 -2
- data/lib/page_title_helper/version.rb +3 -1
- data/page_title_helper.gemspec +3 -3
- data/test/multiple_formats_test.rb +2 -0
- data/test/page_title_helper_test.rb +2 -0
- data/test/test_helper.rb +2 -0
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 55bc102d2aea4e7249455a1ee2a3abe10dad47f5ecaa17696267c99bb8f13296
|
|
4
|
+
data.tar.gz: 50e4677933206d1ef885bee27ed399ae66d4a9042fc62ab0334bbd2914f92684
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7b5d88320875d15e43d63a91e7af8ef923b7c1b2e7ece2c7496ccfb09d31a357297fad26099acf05b2b41ad99f7b650b6ebb652401d9b9741fb56c0f4d355a7
|
|
7
|
+
data.tar.gz: 830f6bd1d4ae042df641589cd5c2a6755031688fc9ddf05f81c2f23e49e61df9ecaa765888c044fbebaaee7b48b2798437cbfaa3b2367f16e73e4210da297e93
|
data/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,37 @@
|
|
|
1
1
|
# Page title helper change log
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
|
-
This project adheres to [Semantic Versioning](
|
|
4
|
+
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
-
Read more at [Keep a CHANGELOG](
|
|
6
|
+
Read more at [Keep a CHANGELOG](https://keepachangelog.com/en/0.3.0/)
|
|
7
7
|
about why a change log is important.
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## x.y.z
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
### Deprecated
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
### Security
|
|
23
|
+
|
|
24
|
+
## 4.0.0
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- Add support for Rails 6.0
|
|
28
|
+
([#94](https://github.com/lwe/page_title_helper/pull/94))
|
|
29
|
+
|
|
30
|
+
### Removed
|
|
31
|
+
- Drop support for Ruby < 2.4
|
|
32
|
+
([#93](https://github.com/lwe/page_title_helper/pull/93))
|
|
33
|
+
|
|
34
|
+
## 3.0.0
|
|
11
35
|
|
|
12
36
|
### Added
|
|
13
37
|
- Add Ruby 2.4.0 to the build matrix
|
|
@@ -27,7 +51,6 @@ about why a change log is important.
|
|
|
27
51
|
- Use Appraisal for building with different Rails versions
|
|
28
52
|
([#19](https://github.com/lwe/page_title_helper/pull/19))
|
|
29
53
|
|
|
30
|
-
|
|
31
54
|
### Changed
|
|
32
55
|
- Replaced Appraisals with specific Gemfiles
|
|
33
56
|
([#41](https://github.com/lwe/page_title_helper/pull/41))
|
|
@@ -38,17 +61,12 @@ about why a change log is important.
|
|
|
38
61
|
- Raise RVM and Gem minimum versions
|
|
39
62
|
([#3](https://github.com/lwe/page_title_helper/pull/3))
|
|
40
63
|
|
|
41
|
-
|
|
42
|
-
### Deprecated
|
|
43
|
-
|
|
44
|
-
|
|
45
64
|
### Removed
|
|
46
65
|
- Drop support for Rails 3.2 and 4.0
|
|
47
66
|
([#39](https://github.com/lwe/page_title_helper/pull/39))
|
|
48
67
|
- Drop support for Ruby 1.9.x
|
|
49
68
|
([#24](https://github.com/lwe/page_title_helper/pull/24))
|
|
50
69
|
|
|
51
|
-
|
|
52
70
|
### Fixed
|
|
53
71
|
- Fix @_page_title uninitialized warning
|
|
54
72
|
([#62](https://github.com/lwe/page_title_helper/pull/62))
|
|
@@ -68,6 +86,3 @@ about why a change log is important.
|
|
|
68
86
|
([#10](https://github.com/lwe/page_title_helper/pull/10))
|
|
69
87
|
- Remove Gemfile.lock
|
|
70
88
|
([#1](https://github.com/lwe/page_title_helper/pull/1))
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Security
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -71,7 +71,7 @@ members of the project's leadership.
|
|
|
71
71
|
|
|
72
72
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
73
73
|
version 1.4, available at
|
|
74
|
-
[
|
|
74
|
+
[https://contributor-covenant.org/version/1/4/][version].
|
|
75
75
|
|
|
76
|
-
[homepage]:
|
|
77
|
-
[version]:
|
|
76
|
+
[homepage]: https://contributor-covenant.org
|
|
77
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Page title helper
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/lwe/page_title_helper)
|
|
4
|
-
[](
|
|
4
|
+
[](https://badge.fury.io/rb/page_title_helper)
|
|
5
5
|
|
|
6
|
-
This project adheres to [Semantic Versioning](
|
|
6
|
+
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
## What does this gem do?
|
data/Rakefile
CHANGED
data/lib/page_title_helper.rb
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# PageTitleHelper provides an +ActionView+ helper method to simplify adding
|
|
2
4
|
# custom titles to pages.
|
|
3
5
|
#
|
|
4
6
|
# Author:: Lukas Westermann
|
|
5
7
|
# Copyright:: Copyright (c) 2009 Lukas Westermann (Zurich, Switzerland)
|
|
6
|
-
# Licence:: MIT-Licence (
|
|
8
|
+
# Licence:: MIT-Licence (https://www.opensource.org/licenses/mit-license.php)
|
|
7
9
|
#
|
|
8
10
|
# See documentation for +page_title+ for usage examples and more informations.
|
|
9
11
|
require 'active_support'
|
|
10
12
|
|
|
11
13
|
# PageTitleHelper
|
|
12
14
|
module PageTitleHelper
|
|
13
|
-
#
|
|
15
|
+
# https://github.com/thoughtbot/paperclip/blob/master/lib/paperclip/interpolations.rb
|
|
14
16
|
module Interpolations
|
|
15
17
|
extend self
|
|
16
18
|
|
data/page_title_helper.gemspec
CHANGED
|
@@ -9,12 +9,12 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.summary = 'Simple, internationalized and DRY page titles and headings for Rails.'
|
|
10
10
|
s.description = 'Simple, internationalized and DRY page titles and headings for Rails.'
|
|
11
11
|
|
|
12
|
-
s.required_ruby_version = '>= 2.
|
|
12
|
+
s.required_ruby_version = '>= 2.4.0'
|
|
13
13
|
s.required_rubygems_version = '>= 1.3.6'
|
|
14
14
|
|
|
15
15
|
s.authors = ['Lukas Westermann']
|
|
16
16
|
s.email = ['lukas.westermann@gmail.com']
|
|
17
|
-
s.homepage = '
|
|
17
|
+
s.homepage = 'https://github.com/lwe/page_title_helper'
|
|
18
18
|
|
|
19
19
|
s.files = %w{Gemfile LICENSE README.md CODE_OF_CONDUCT.md CHANGELOG.md Rakefile page_title_helper.gemspec} + Dir['**/*.{rb,yml}']
|
|
20
20
|
s.test_files = s.files.grep(%r{^(test|spec)/})
|
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
|
22
22
|
|
|
23
23
|
s.license = 'MIT'
|
|
24
24
|
|
|
25
|
-
s.add_dependency 'rails', '>= 4.2.0', '< 6.
|
|
25
|
+
s.add_dependency 'rails', '>= 4.2.0', '< 6.1'
|
|
26
26
|
|
|
27
27
|
s.add_development_dependency 'rake', '>= 10.3.2'
|
|
28
28
|
s.add_development_dependency 'shoulda'
|
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: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lukas Westermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-09-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: 4.2.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '6.
|
|
22
|
+
version: '6.1'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: 4.2.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '6.
|
|
32
|
+
version: '6.1'
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: rake
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -93,7 +93,7 @@ files:
|
|
|
93
93
|
- test/multiple_formats_test.rb
|
|
94
94
|
- test/page_title_helper_test.rb
|
|
95
95
|
- test/test_helper.rb
|
|
96
|
-
homepage:
|
|
96
|
+
homepage: https://github.com/lwe/page_title_helper
|
|
97
97
|
licenses:
|
|
98
98
|
- MIT
|
|
99
99
|
metadata: {}
|
|
@@ -105,15 +105,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
requirements:
|
|
106
106
|
- - ">="
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: 2.
|
|
108
|
+
version: 2.4.0
|
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements:
|
|
111
111
|
- - ">="
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
113
|
version: 1.3.6
|
|
114
114
|
requirements: []
|
|
115
|
-
|
|
116
|
-
rubygems_version: 2.6.13
|
|
115
|
+
rubygems_version: 3.0.3
|
|
117
116
|
signing_key:
|
|
118
117
|
specification_version: 4
|
|
119
118
|
summary: Simple, internationalized and DRY page titles and headings for Rails.
|