flutie 2.2.0 → 2.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 827bb367a00d0cc4813295e6f6d9fe1783dc33bd2ce7850e1899274564eb8ce8
4
- data.tar.gz: 3813b5ae6fe02f3e6c7e983e9ba258bb9fc01c90f4363823d238bb8dd07ec98f
3
+ metadata.gz: d287f0a32bcc6714b78fa7c4dbbf5c6508b93af6f3c766b150106dde3e71de73
4
+ data.tar.gz: 0037ccf7be0dfd1fdf30ecf948baf688451d610a654992097280a4a8cc849ac7
5
5
  SHA512:
6
- metadata.gz: 9de27be52275a4f84f5210bb300a3db04b49011f3cf7641b8b60a0b1362ce00ffaf563f633665add4eebe0c14463a47f03dab1b5eb03a3dd24d7580c2c6e9104
7
- data.tar.gz: 8a56833e5ebf7e8094b226ab347f99fa6f6c2df7f628c6da333f441cf6fc071d23ce2e600c81fcfade824d87abeb6ee9954c485f05d5fd33f60659d5b9b0cf17
6
+ metadata.gz: 14337ac248c085c67ef0fa08ad6f14ca00c9e07358386f2521616fc25d825388359c15d892bbcbb0edf6708b48e6aeae368e5fbc551239a31c8a8189ad3af4be
7
+ data.tar.gz: 80f5d687831ca4c4df74ed3b0a80fd9a8d66a6221347e2855cf0e03f39b5ade49a3572b6dc5b87e4b7af3ad68d56d06c18fa8f01b1da04ca512e0de85c8b9950
data/.travis.yml CHANGED
@@ -1,9 +1,10 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.4.7
5
- - 2.5.6
6
- - 2.6.4
4
+ - 2.4.9
5
+ - 2.5.7
6
+ - 2.6.5
7
+ - 2.7.0
7
8
 
8
9
  gemfile:
9
10
  - gemfiles/rails_5.0.gemfile
@@ -16,5 +17,5 @@ notifications:
16
17
 
17
18
  matrix:
18
19
  exclude:
19
- - rvm: 2.4.7
20
+ - rvm: 2.4.9
20
21
  gemfile: gemfiles/rails_6.0.gemfile
data/Gemfile.lock CHANGED
@@ -1,85 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- flutie (2.2.0)
4
+ flutie (2.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actionpack (5.2.3)
10
- actionview (= 5.2.3)
11
- activesupport (= 5.2.3)
12
- rack (~> 2.0)
9
+ actionpack (6.0.3.3)
10
+ actionview (= 6.0.3.3)
11
+ activesupport (= 6.0.3.3)
12
+ rack (~> 2.0, >= 2.0.8)
13
13
  rack-test (>= 0.6.3)
14
14
  rails-dom-testing (~> 2.0)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionview (5.2.3)
17
- activesupport (= 5.2.3)
15
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
16
+ actionview (6.0.3.3)
17
+ activesupport (= 6.0.3.3)
18
18
  builder (~> 3.1)
19
19
  erubi (~> 1.4)
20
20
  rails-dom-testing (~> 2.0)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
22
- activesupport (5.2.3)
21
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
22
+ activesupport (6.0.3.3)
23
23
  concurrent-ruby (~> 1.0, >= 1.0.2)
24
24
  i18n (>= 0.7, < 2)
25
25
  minitest (~> 5.1)
26
26
  tzinfo (~> 1.1)
27
- appraisal (2.2.0)
27
+ zeitwerk (~> 2.2, >= 2.2.2)
28
+ appraisal (2.3.0)
28
29
  bundler
29
30
  rake
30
31
  thor (>= 0.14.0)
31
- builder (3.2.3)
32
- concurrent-ruby (1.1.5)
33
- crass (1.0.4)
34
- diff-lcs (1.3)
35
- erubi (1.8.0)
36
- i18n (1.6.0)
32
+ builder (3.2.4)
33
+ concurrent-ruby (1.1.7)
34
+ crass (1.0.6)
35
+ diff-lcs (1.4.4)
36
+ erubi (1.9.0)
37
+ i18n (1.8.5)
37
38
  concurrent-ruby (~> 1.0)
38
- loofah (2.2.3)
39
+ loofah (2.7.0)
39
40
  crass (~> 1.0.2)
40
41
  nokogiri (>= 1.5.9)
41
- method_source (0.9.2)
42
- mini_portile2 (2.4.0)
43
- minitest (5.11.3)
44
- nokogiri (1.10.4)
45
- mini_portile2 (~> 2.4.0)
46
- rack (2.0.7)
42
+ method_source (1.0.0)
43
+ mini_portile2 (2.8.9)
44
+ minitest (5.14.2)
45
+ nokogiri (1.17.2)
46
+ mini_portile2 (~> 2.8.2)
47
+ racc (~> 1.4)
48
+ racc (1.8.1)
49
+ rack (2.2.3)
47
50
  rack-test (1.1.0)
48
51
  rack (>= 1.0, < 3)
49
52
  rails-dom-testing (2.0.3)
50
53
  activesupport (>= 4.2.0)
51
54
  nokogiri (>= 1.6)
52
- rails-html-sanitizer (1.2.0)
53
- loofah (~> 2.2, >= 2.2.2)
54
- railties (5.2.3)
55
- actionpack (= 5.2.3)
56
- activesupport (= 5.2.3)
55
+ rails-html-sanitizer (1.3.0)
56
+ loofah (~> 2.3)
57
+ railties (6.0.3.3)
58
+ actionpack (= 6.0.3.3)
59
+ activesupport (= 6.0.3.3)
57
60
  method_source
58
61
  rake (>= 0.8.7)
59
- thor (>= 0.19.0, < 2.0)
60
- rake (12.3.3)
61
- rspec-core (3.8.2)
62
- rspec-support (~> 3.8.0)
63
- rspec-expectations (3.8.4)
62
+ thor (>= 0.20.3, < 2.0)
63
+ rake (13.0.1)
64
+ rspec-core (3.9.3)
65
+ rspec-support (~> 3.9.3)
66
+ rspec-expectations (3.9.2)
64
67
  diff-lcs (>= 1.2.0, < 2.0)
65
- rspec-support (~> 3.8.0)
66
- rspec-mocks (3.8.1)
68
+ rspec-support (~> 3.9.0)
69
+ rspec-mocks (3.9.1)
67
70
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.8.0)
69
- rspec-rails (3.8.2)
71
+ rspec-support (~> 3.9.0)
72
+ rspec-rails (3.9.1)
70
73
  actionpack (>= 3.0)
71
74
  activesupport (>= 3.0)
72
75
  railties (>= 3.0)
73
- rspec-core (~> 3.8.0)
74
- rspec-expectations (~> 3.8.0)
75
- rspec-mocks (~> 3.8.0)
76
- rspec-support (~> 3.8.0)
77
- rspec-support (3.8.2)
78
- sqlite3 (1.3.13)
79
- thor (0.20.3)
76
+ rspec-core (~> 3.9.0)
77
+ rspec-expectations (~> 3.9.0)
78
+ rspec-mocks (~> 3.9.0)
79
+ rspec-support (~> 3.9.0)
80
+ rspec-support (3.9.3)
81
+ sqlite3 (1.7.3)
82
+ mini_portile2 (~> 2.8.0)
83
+ thor (1.0.1)
80
84
  thread_safe (0.3.6)
81
- tzinfo (1.2.5)
85
+ tzinfo (1.2.7)
82
86
  thread_safe (~> 0.1)
87
+ zeitwerk (2.4.0)
83
88
 
84
89
  PLATFORMS
85
90
  ruby
@@ -91,4 +96,4 @@ DEPENDENCIES
91
96
  sqlite3 (~> 1.3)
92
97
 
93
98
  BUNDLED WITH
94
- 1.17.3
99
+ 2.1.2
data/README.md CHANGED
@@ -55,8 +55,8 @@ would produce:
55
55
  <title>My app name | My title of my page</title>
56
56
  ```
57
57
 
58
- You can also reverse the position of the app name and the :site_page_title
59
- using the :reverse option. For example:
58
+ You can also reverse the position of the `:app_name` and the `:site_page_title`
59
+ values by using the `:reverse` option. For example:
60
60
 
61
61
  ```ruby
62
62
  content_for(:site_page_title, 'My title of my page')
@@ -3,11 +3,13 @@ module PageTitleHelper
3
3
  def page_title(options = {})
4
4
  page_title = Flutie::PageTitle.new(options)
5
5
 
6
- Flutie::PageTitlePresenter.new(
7
- page_title.app_name,
8
- content_for(page_title.page_title_symbol),
9
- page_title.separator,
10
- options[:reverse]
11
- ).to_s
6
+ escape_once(
7
+ Flutie::PageTitlePresenter.new(
8
+ page_title.app_name,
9
+ content_for(page_title.page_title_symbol),
10
+ page_title.separator,
11
+ options[:reverse],
12
+ ).to_s,
13
+ ).html_safe
12
14
  end
13
15
  end
@@ -1,3 +1,3 @@
1
1
  module Flutie
2
- VERSION = '2.2.0'.freeze
2
+ VERSION = '2.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutie
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - " Aaron Suggs"
@@ -25,10 +25,10 @@ authors:
25
25
  - " OZAWA Sakuro"
26
26
  - " Phil LaPier"
27
27
  - " Tom Crinson"
28
- autorequire:
28
+ autorequire:
29
29
  bindir: bin
30
30
  cert_chain: []
31
- date: 2019-09-10 00:00:00.000000000 Z
31
+ date: 2025-06-13 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: appraisal
@@ -104,7 +104,7 @@ homepage: http://github.com/thoughtbot/flutie
104
104
  licenses:
105
105
  - MIT
106
106
  metadata: {}
107
- post_install_message:
107
+ post_install_message:
108
108
  rdoc_options: []
109
109
  require_paths:
110
110
  - lib
@@ -119,8 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.0.3
123
- signing_key:
122
+ rubygems_version: 3.2.33
123
+ signing_key:
124
124
  specification_version: 4
125
125
  summary: Flutie provides extra Rails view helpers
126
126
  test_files: []