phcdevworks_titleseo 3.2.3 → 4.0.1

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: 2c7d66f216ddf4af22f5d0cd52817ee05f3fc78304e5410430c9e112c2490af7
4
- data.tar.gz: 1e44927fe2a027406ccf738a97f2ab46bd1d653b8d17b9f83a34e95375198d83
3
+ metadata.gz: 2c5db74306ffb9eff156a114fb8a48c4156f65922df0e8a369e65feeafcc48ce
4
+ data.tar.gz: e3114cd46414589731607873cfaab7a35f7ae269231bb8052806d0d6b314663d
5
5
  SHA512:
6
- metadata.gz: 924ad4706fccb1d0c6de4acafd56e8e8d16685720f73f9075c37b2018d3b776422fbd2c54ea7c05658d2028ecabd9877da9b3f7a0ff91419c169683f1c63bfea
7
- data.tar.gz: a60b4c49ed34f1bfba83e7e0c753f733496bb7bc3d5d579755018dc5c2119a8520bee8e4998743244c7999e41e61d0c086e70814d5709500078f4f9d1768d003
6
+ metadata.gz: dbe8741974b6077d19d6e929b4cc0e776a2f18cb5a361a47b6ec3f4e3f3242a1c370ef22d525830fef1e12664a57946b92a05ae701f1fd811c96c013cb02812e
7
+ data.tar.gz: ab7b2d377888e9d287c950b805c67dda6a1e5d6692ab67ccaa490a1a7905baf55264227260c9419b2d4c968d7b41eb7dcf14ba6e7af199a95764bbe3fae02678
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2021 BradPotts
1
+ Copyright 2022 PHCDevworks
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,93 +1,96 @@
1
- ### PHCDevworks Title/SEO for Rails6 (Page SEO, Titles & Title Tags)
2
-
3
- PHCDevworks Title/SEO Rails6 engine with helpers for page headings, taglines, SEO, Social Media and title tags.
4
-
5
- * A dynamic way to add different page headings, taglines, SEO and title tags to your layout file.
6
- * Standardize a template for your serach engine marketing and optimization efforts.
7
- * Setup in seconds with only one line of code in the application_controller file.
8
- * Save time and keep your rails projects manageable, multiple views tidy and secure.
9
-
10
- #### Step 1 - Add PHCDevworks-TitleSEO to your gemfile
11
-
12
- gem 'phcdevworks_titleseo'
13
- bundle install
14
-
15
- #### Step 2 - Load Helpers in the Application's Controller
16
- Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
17
-
18
- helper PhcdevworksTitleseo::Engine.helpers
19
-
20
- #### Step 3 - Provide values for Titles & Subtitles
21
-
22
- **Page Titles** - At the top of the page, view add the hidden lines of code below.
23
-
24
- <% phc_title "Example Title" %>
25
- <% phc_title_tagline "Example Tagline" %>
26
-
27
- **Page SEO Normail Meta Tags** - At the top of your layout view file add the hidden lines of code below.
28
-
29
- <% phc_seo_title "Example SEO Page Title" %>
30
- <% phc_seo_description "Example SEO Page Description" %>
31
-
32
- **Page SEO Open Graph/Facebook Meta Tags** - At the top of your layout view file add the hidden lines of code below.
33
-
34
- <% phc_seo_open_graph_type "" %>
35
- <% phc_seo_open_graph_url "" %>
36
- <% phc_seo_open_graph_title "" %>
37
- <% phc_seo_open_graph_description "" %>
38
- <% phc_seo_open_graph_image "" %>
39
-
40
- **Page SEO Twitter Meta Tags** - At the top of your layout view file add the hidden lines of code below.
41
-
42
- <% phc_seo_twitter_type "" %>
43
- <% phc_seo_twitter_url "" %>
44
- <% phc_seo_twitter_title "" %>
45
- <% phc_seo_twitter_description "" %>
46
- <% phc_seo_twitter_image "" %>
47
-
48
-
49
- **Page BreadCrumbs** - At the top of the page, view add the hidden lines of code below.
50
-
51
- <% phc_breadcrumb_one "Example News" %>
52
- <% phc_breadcrumb_two "Article" %>
53
- <% phc_breadcrumb_three "Index" %>
54
-
55
- #### Add Titles to a Page
56
- Add the code below in your views whenever page titles are required (can be used unlimited number of times).
57
-
58
- <%= yield(:phc_title) %>
59
-
60
- #### Add Subtitles/Title Tags to your Pagefile
61
- Add the code below to your views whenever page subtitles are required (can also be used an unlimited number of times).
62
-
63
- <%= yield(:phc_title_tagline) %>
64
-
65
- #### Add SEO Tags to your Layout file
66
-
67
- <title><%= yield(:phc_seo_title) %></title>
68
- <meta name="description" content="<%= yield(:phc_seo_description) %>">
69
-
70
- #### Add Open Graph and Facebook Social Media Tags to your Layout file
71
-
72
- <meta property="og:type" content="<%= yield(:phc_seo_open_graph_type) %>">
73
- <meta property="og:url" content="<%= yield(:phc_seo_open_graph_url) %>">
74
- <meta property="og:title" content="<%= yield(:phc_seo_open_graph_title) %>">
75
- <meta property="og:description" content="<%= yield(phc_seo_open_graph_description) %>">
76
- <meta property="og:image" content="<%= yield(:phc_seo_open_graph_image) %>">
77
-
78
- #### Add Twitter Media Tags to your Layout file
79
-
80
- <meta property="twitter:card" content="<%= yield(:phc_seo_twitter_type) %>">
81
- <meta property="twitter:url" content="<%= yield(:phc_seo_twitter_url) %>">
82
- <meta property="twitter:title" content="<%= yield(:phc_seo_twitter_title) %>">
83
- <meta property="twitter:description" content="<%= yield(:phc_seo_twitter_description) %>">
84
- <meta property="twitter:image" content="<%= yield(:phc_seo_twitter_image) %>">
85
-
86
- #### Add static BreadCrumbs to your Pagefile
87
-
88
- <ol class="breadcrumb">
89
- <li><%= yield(:phc_breadcrumb_one) %></li>
90
- <li><%= yield(:phc_breadcrumb_two) %></li>
91
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
92
- </ol>
93
-
1
+ ### PHCDevworks Title/SEO for Rails 7 (Page SEO, Titles & Title Tags)
2
+
3
+ PHCDevworks Title/SEO Rails6 engine with helpers for page headings, taglines, SEO, Social Media and title tags.
4
+
5
+ * A dynamic way to add different page headings, taglines, SEO and title tags to your layout file.
6
+ * Standardize a template for your serach engine marketing and optimization efforts.
7
+ * Setup in seconds with only one line of code in the application_controller file.
8
+ * Save time and keep your rails projects manageable, multiple views tidy and secure.
9
+
10
+ #### Step 1 - Add PHCDevworks-TitleSEO to your gemfile
11
+
12
+ gem 'phcdevworks_titleseo'
13
+ bundle install
14
+
15
+ #### Step 2 - Load Helpers in the Application's Controller
16
+ Add the line of code below into your app/controllers/application_controller.rb (application's controller file).
17
+
18
+ helper PhcdevworksTitleseo::Engine.helpers
19
+
20
+ #### Step 3 - Provide values for Titles & Subtitles
21
+
22
+ **Page Titles** - At the top of the page, view add the hidden lines of code below.
23
+
24
+ <% phc_title "Example Title" %>
25
+ <% phc_title_tagline "Example Tagline" %>
26
+
27
+ **Page SEO Normail Meta Tags** - At the top of your layout view file add the hidden lines of code below.
28
+
29
+ <% phc_seo_title "Example SEO Page Title" %>
30
+ <% phc_seo_description "Example SEO Page Description" %>
31
+
32
+ **Page SEO Open Graph/Facebook Meta Tags** - At the top of your layout view file add the hidden lines of code below.
33
+
34
+ <% phc_seo_open_graph_type "" %>
35
+ <% phc_seo_open_graph_url "" %>
36
+ <% phc_seo_open_graph_title "" %>
37
+ <% phc_seo_open_graph_description "" %>
38
+ <% phc_seo_open_graph_image "" %>
39
+
40
+ **Page SEO Twitter Meta Tags** - At the top of your layout view file add the hidden lines of code below.
41
+
42
+ <% phc_seo_twitter_type "" %>
43
+ <% phc_seo_twitter_url "" %>
44
+ <% phc_seo_twitter_title "" %>
45
+ <% phc_seo_twitter_description "" %>
46
+ <% phc_seo_twitter_image "" %>
47
+
48
+
49
+ **Page BreadCrumbs** - At the top of the page, view add the hidden lines of code below.
50
+
51
+ <% phc_breadcrumb_one "Example News" %>
52
+ <% phc_breadcrumb_two "Article" %>
53
+ <% phc_breadcrumb_three "Index" %>
54
+
55
+ #### Add Titles to a Page
56
+ Add the code below in your views whenever page titles are required (can be used unlimited number of times).
57
+
58
+ <%= yield(:phc_title) %>
59
+
60
+ #### Add Subtitles/Title Tags to your Pagefile
61
+ Add the code below to your views whenever page subtitles are required (can also be used an unlimited number of times).
62
+
63
+ <%= yield(:phc_title_tagline) %>
64
+
65
+ #### Add SEO Tags to your Layout file
66
+
67
+ <title><%= yield(:phc_seo_title) %></title>
68
+ <meta name="description" content="<%= yield(:phc_seo_description) %>">
69
+
70
+ #### Add Open Graph and Facebook Social Media Tags to your Layout file
71
+
72
+ <meta property="og:type" content="<%= yield(:phc_seo_open_graph_type) %>">
73
+ <meta property="og:url" content="<%= yield(:phc_seo_open_graph_url) %>">
74
+ <meta property="og:title" content="<%= yield(:phc_seo_open_graph_title) %>">
75
+ <meta property="og:description" content="<%= yield(phc_seo_open_graph_description) %>">
76
+ <meta property="og:image" content="<%= yield(:phc_seo_open_graph_image) %>">
77
+
78
+ #### Add Twitter Media Tags to your Layout file
79
+
80
+ <meta property="twitter:card" content="<%= yield(:phc_seo_twitter_type) %>">
81
+ <meta property="twitter:url" content="<%= yield(:phc_seo_twitter_url) %>">
82
+ <meta property="twitter:title" content="<%= yield(:phc_seo_twitter_title) %>">
83
+ <meta property="twitter:description" content="<%= yield(:phc_seo_twitter_description) %>">
84
+ <meta property="twitter:image" content="<%= yield(:phc_seo_twitter_image) %>">
85
+
86
+ #### Add static BreadCrumbs to your Pagefile
87
+
88
+ <ol class="breadcrumb">
89
+ <li><%= yield(:phc_breadcrumb_one) %></li>
90
+ <li><%= yield(:phc_breadcrumb_two) %></li>
91
+ <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
92
+ </ol>
93
+
94
+ ### Status
95
+
96
+ [![Gem Version](https://badge.fury.io/rb/phcdevworks_titleseo.svg)](https://badge.fury.io/rb/phcdevworks_titleseo) [![Publish to Github.com](https://github.com/phcdevworks/phcdevworks_titleseo/actions/workflows/publish_gem_github_com.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_titleseo/actions/workflows/publish_gem_github_com.yml) [![Publish to Rubygems.org](https://github.com/phcdevworks/phcdevworks_titleseo/actions/workflows/publish_gem_rubygems_org.yml/badge.svg)](https://github.com/phcdevworks/phcdevworks_titleseo/actions/workflows/publish_gem_rubygems_org.yml)
@@ -1,87 +1,87 @@
1
- module PhcdevworksTitleseo
2
- module ApplicationHelper
3
-
4
- # Helpers for Page SEO Meta Tags
5
- def phc_seo_title(phc_page_title)
6
- content_for :phc_seo_title, phc_page_title.to_s
7
- end
8
-
9
- def phc_seo_description(phc_page_description)
10
- content_for :phc_seo_description, phc_page_description.to_s
11
- end
12
-
13
- # Helpers Open Graph and Facebook Meta Tags
14
- def phc_seo_open_graph_type(phc_page_seo_open_graph_type)
15
- content_for :phc_seo_open_graph_type, phc_page_seo_open_graph_type.to_s
16
- end
17
-
18
- def phc_seo_open_graph_url(phc_page_seo_open_graph_url)
19
- content_for :phc_seo_open_graph_url, phc_page_seo_open_graph_url.to_s
20
- end
21
-
22
- def phc_seo_open_graph_title(phc_page_seo_open_graph_title)
23
- content_for :phc_seo_open_graph_title, phc_page_seo_open_graph_title.to_s
24
- end
25
-
26
- def phc_seo_open_graph_description(phc_page_seo_open_graph_description)
27
- content_for :phc_seo_open_graph_description, phc_page_seo_open_graph_description.to_s
28
- end
29
-
30
- def phc_seo_open_graph_image(phc_page_seo_open_graph_image)
31
- content_for :phc_seo_open_graph_image, phc_page_seo_open_graph_image.to_s
32
- end
33
-
34
- # Helper Twitter Meta Tags
35
- def phc_seo_twitter_type(phc_page_seo_twitter_type)
36
- content_for :phc_seo_twitter_type, phc_page_seo_twitter_type.to_s
37
- end
38
-
39
- def phc_seo_twitter_url(phc_page_seo_twitter_url)
40
- content_for :phc_seo_twitter_url, phc_page_seo_twitter_url.to_s
41
- end
42
-
43
- def phc_seo_twitter_title(phc_page_seo_twitter_title)
44
- content_for :phc_seo_twitter_title, phc_page_seo_twitter_title.to_s
45
- end
46
-
47
- def phc_seo_twitter_description(phc_page_seo_twitter_description)
48
- content_for :phc_seo_twitter_description, phc_page_seo_twitter_description.to_s
49
- end
50
-
51
- def phc_seo_twitter_image(phc_page_seo_twitter_image)
52
- content_for :phc_seo_twitter_image, phc_page_seo_twitter_image.to_s
53
- end
54
-
55
- # Helpers for Page Title & Sub Title
56
- def phc_title(phc_page_title)
57
- content_for :phc_title, phc_page_title.to_s
58
- end
59
-
60
- def phc_title_tagline(phc_page_title_tagline)
61
- content_for :phc_title_tagline, phc_page_title_tagline.to_s
62
- end
63
-
64
- # Helpers for BreadCrumbs
65
- def phc_breadcrumb_one(phc_page_breadcrumb_one)
66
- content_for :phc_breadcrumb_one, phc_page_breadcrumb_one.to_s
67
- end
68
-
69
- def phc_breadcrumb_two(phc_page_breadcrumb_two)
70
- content_for :phc_breadcrumb_two, phc_page_breadcrumb_two.to_s
71
- end
72
-
73
- def phc_breadcrumb_three(phc_page_breadcrumb_three)
74
- content_for :phc_breadcrumb_three, phc_page_breadcrumb_three.to_s
75
- end
76
-
77
- # Helpers for Buttons
78
- def phc_button_one(phc_page_button_one)
79
- content_for :phc_button_one, phc_page_button_one.to_s
80
- end
81
-
82
- def phc_button_two(phc_page_button_two)
83
- content_for :phc_button_two, phc_page_button_two.to_s
84
- end
85
-
86
- end
87
- end
1
+ module PhcdevworksTitleseo
2
+ module ApplicationHelper
3
+
4
+ # Helpers for Page SEO Meta Tags
5
+ def phc_seo_title(phc_page_title)
6
+ content_for :phc_seo_title, phc_page_title.to_s
7
+ end
8
+
9
+ def phc_seo_description(phc_page_description)
10
+ content_for :phc_seo_description, phc_page_description.to_s
11
+ end
12
+
13
+ # Helpers Open Graph and Facebook Meta Tags
14
+ def phc_seo_open_graph_type(phc_page_seo_open_graph_type)
15
+ content_for :phc_seo_open_graph_type, phc_page_seo_open_graph_type.to_s
16
+ end
17
+
18
+ def phc_seo_open_graph_url(phc_page_seo_open_graph_url)
19
+ content_for :phc_seo_open_graph_url, phc_page_seo_open_graph_url.to_s
20
+ end
21
+
22
+ def phc_seo_open_graph_title(phc_page_seo_open_graph_title)
23
+ content_for :phc_seo_open_graph_title, phc_page_seo_open_graph_title.to_s
24
+ end
25
+
26
+ def phc_seo_open_graph_description(phc_page_seo_open_graph_description)
27
+ content_for :phc_seo_open_graph_description, phc_page_seo_open_graph_description.to_s
28
+ end
29
+
30
+ def phc_seo_open_graph_image(phc_page_seo_open_graph_image)
31
+ content_for :phc_seo_open_graph_image, phc_page_seo_open_graph_image.to_s
32
+ end
33
+
34
+ # Helper Twitter Meta Tags
35
+ def phc_seo_twitter_type(phc_page_seo_twitter_type)
36
+ content_for :phc_seo_twitter_type, phc_page_seo_twitter_type.to_s
37
+ end
38
+
39
+ def phc_seo_twitter_url(phc_page_seo_twitter_url)
40
+ content_for :phc_seo_twitter_url, phc_page_seo_twitter_url.to_s
41
+ end
42
+
43
+ def phc_seo_twitter_title(phc_page_seo_twitter_title)
44
+ content_for :phc_seo_twitter_title, phc_page_seo_twitter_title.to_s
45
+ end
46
+
47
+ def phc_seo_twitter_description(phc_page_seo_twitter_description)
48
+ content_for :phc_seo_twitter_description, phc_page_seo_twitter_description.to_s
49
+ end
50
+
51
+ def phc_seo_twitter_image(phc_page_seo_twitter_image)
52
+ content_for :phc_seo_twitter_image, phc_page_seo_twitter_image.to_s
53
+ end
54
+
55
+ # Helpers for Page Title & Sub Title
56
+ def phc_title(phc_page_title)
57
+ content_for :phc_title, phc_page_title.to_s
58
+ end
59
+
60
+ def phc_title_tagline(phc_page_title_tagline)
61
+ content_for :phc_title_tagline, phc_page_title_tagline.to_s
62
+ end
63
+
64
+ # Helpers for BreadCrumbs
65
+ def phc_breadcrumb_one(phc_page_breadcrumb_one)
66
+ content_for :phc_breadcrumb_one, phc_page_breadcrumb_one.to_s
67
+ end
68
+
69
+ def phc_breadcrumb_two(phc_page_breadcrumb_two)
70
+ content_for :phc_breadcrumb_two, phc_page_breadcrumb_two.to_s
71
+ end
72
+
73
+ def phc_breadcrumb_three(phc_page_breadcrumb_three)
74
+ content_for :phc_breadcrumb_three, phc_page_breadcrumb_three.to_s
75
+ end
76
+
77
+ # Helpers for Buttons
78
+ def phc_button_one(phc_page_button_one)
79
+ content_for :phc_button_one, phc_page_button_one.to_s
80
+ end
81
+
82
+ def phc_button_two(phc_page_button_two)
83
+ content_for :phc_button_two, phc_page_button_two.to_s
84
+ end
85
+
86
+ end
87
+ end
@@ -1,2 +1,2 @@
1
- <li><%= yield(:phc_breadcrumb_one) %></li>
2
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
1
+ <li><%= yield(:phc_breadcrumb_one) %></li>
2
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
@@ -1,3 +1,3 @@
1
- <li><%= yield(:phc_breadcrumb_one) %></li>
2
- <li><%= yield(:phc_breadcrumb_two) %></li>
3
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
1
+ <li><%= yield(:phc_breadcrumb_one) %></li>
2
+ <li><%= yield(:phc_breadcrumb_two) %></li>
3
+ <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
@@ -1,2 +1,2 @@
1
- <title><%= yield(:phc_seo_title) %></title>
2
- <meta name="description" content=<%= yield(:phc_seo_description) %>"">
1
+ <title><%= yield(:phc_seo_title) %></title>
2
+ <meta name="description" content=<%= yield(:phc_seo_description) %>"">
@@ -1,12 +1,4 @@
1
1
  module PhcdevworksTitleseo
2
2
  class Engine < ::Rails::Engine
3
-
4
- # Theme Dependencies
5
- require "phcthemes_admin_panel_pack"
6
- require "phcthemes_web_theme_pack"
7
-
8
- # Plugin Namespace
9
- isolate_namespace PhcdevworksTitleseo
10
-
11
3
  end
12
4
  end
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksTitleseo
2
- VERSION = '3.2.3'
2
+ VERSION = "4.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_titleseo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-03 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.1'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: phcthemes_admin_panel_pack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '5.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: '5.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: phcthemes_web_theme_pack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.0'
47
+ version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.0'
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -89,7 +89,6 @@ homepage: https://phcdevworks.com/
89
89
  licenses:
90
90
  - MIT
91
91
  metadata:
92
- allowed_push_host: https://rubygems.org/
93
92
  homepage_uri: https://phcdevworks.com/
94
93
  source_code_uri: https://github.com/phcdevworks/phcdevworks_notifications
95
94
  changelog_uri: https://github.com/phcdevworks/phcdevworks_notifications/releases
@@ -108,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
107
  - !ruby/object:Gem::Version
109
108
  version: '0'
110
109
  requirements: []
111
- rubygems_version: 3.0.3
110
+ rubygems_version: 3.0.3.1
112
111
  signing_key:
113
112
  specification_version: 4
114
113
  summary: PHCDevworks - Helpers - TitleSEO