page_structured_data 1.0.5 → 1.0.7
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 +4 -4
- data/CHANGELOG.md +11 -1
- data/README.md +2 -2
- data/lib/page_structured_data/version.rb +1 -1
- metadata +7 -15
- data/app/assets/config/page_structured_data_manifest.js +0 -1
- data/app/assets/stylesheets/page_structured_data/application.css +0 -15
- data/app/controllers/page_structured_data/application_controller.rb +0 -4
- data/app/helpers/page_structured_data/application_helper.rb +0 -4
- data/app/jobs/page_structured_data/application_job.rb +0 -4
- data/app/mailers/page_structured_data/application_mailer.rb +0 -6
- data/app/models/page_structured_data/application_record.rb +0 -5
- data/app/views/layouts/page_structured_data/application.html.erb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9000350b01cd984cc3a81aba170b9afcf7a53793f750b7f532185832faba199e
|
|
4
|
+
data.tar.gz: 9bdfb9ebba8878118a646825c0e06f8050846a00786b54aff20c1f03f96f02dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9255931886ad66d7f2ee9769d31dfffd9dbe31f67ccece76292631be37c4596163d037591e5a6b0b4313474a435fcf2987c199aec2977590ac291556ff4cb4b3
|
|
7
|
+
data.tar.gz: c3e348bf9504483ab32a9819b2ab1f5b9d93a5e5e24305199171d9e29477ce56242cec8c3b31cf82a404403805c2d2f63d94025b9b8aacee5064a3b5453f748c
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,11 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
## 1.0.
|
|
7
|
+
## 1.0.7 - 2026-05-06
|
|
8
|
+
|
|
9
|
+
- Remove unused generated Rails engine boilerplate files.
|
|
10
|
+
|
|
11
|
+
## 1.0.6 - 2026-05-06
|
|
8
12
|
|
|
9
13
|
- Add tests for HTML escaping in rendered meta tags.
|
|
10
14
|
- Add tests for script-breaking content in JSON-LD output.
|
|
@@ -16,6 +20,12 @@ All notable changes to this project are documented here.
|
|
|
16
20
|
- Add GitHub Actions CI for tests, require verification, and gem build verification.
|
|
17
21
|
- Constrain the Rails dependency to Rails 7.x, matching the tested support baseline.
|
|
18
22
|
- Add `render_default_breadcrumb_json_ld` config to opt out of current-page-only breadcrumb JSON-LD.
|
|
23
|
+
- Add CI coverage for Rails 7.0, 7.1, 7.2, 8.0, and 8.1.
|
|
24
|
+
- Widen the Rails dependency to support Rails 7.x and 8.x.
|
|
25
|
+
|
|
26
|
+
## 1.0.5 - 2026-05-06
|
|
27
|
+
|
|
28
|
+
- Previous public release.
|
|
19
29
|
|
|
20
30
|
## 1.0.4 - 2026-05-06
|
|
21
31
|
|
data/README.md
CHANGED
|
@@ -17,10 +17,10 @@ It helps Rails applications render:
|
|
|
17
17
|
|
|
18
18
|
## Requirements
|
|
19
19
|
|
|
20
|
-
- Rails 7.x
|
|
20
|
+
- Rails 7.x or 8.x
|
|
21
21
|
- Ruby 2.7 or newer
|
|
22
22
|
|
|
23
|
-
Rails 7.0 requires Ruby 2.7 or newer, so this gem follows that same baseline. Rails 8
|
|
23
|
+
Rails 7.0 requires Ruby 2.7 or newer, so this gem follows that same baseline. Rails 8 requires Ruby 3.2 or newer, so Rails 8 applications must use a Ruby version supported by Rails 8.
|
|
24
24
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: page_structured_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jey Geethan
|
|
@@ -14,22 +14,22 @@ dependencies:
|
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '7.0'
|
|
20
17
|
- - ">="
|
|
21
18
|
- !ruby/object:Gem::Version
|
|
22
19
|
version: 7.0.0
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '9.0'
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- - "~>"
|
|
28
|
-
- !ruby/object:Gem::Version
|
|
29
|
-
version: '7.0'
|
|
30
27
|
- - ">="
|
|
31
28
|
- !ruby/object:Gem::Version
|
|
32
29
|
version: 7.0.0
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '9.0'
|
|
33
33
|
description: PageStructuredData gives Rails applications a small page object and view
|
|
34
34
|
partial for rendering page titles, basic meta tags, Open Graph tags, Twitter card
|
|
35
35
|
tags, breadcrumb JSON-LD, and article JSON-LD.
|
|
@@ -43,20 +43,12 @@ files:
|
|
|
43
43
|
- MIT-LICENSE
|
|
44
44
|
- README.md
|
|
45
45
|
- Rakefile
|
|
46
|
-
- app/assets/config/page_structured_data_manifest.js
|
|
47
|
-
- app/assets/stylesheets/page_structured_data/application.css
|
|
48
|
-
- app/controllers/page_structured_data/application_controller.rb
|
|
49
|
-
- app/helpers/page_structured_data/application_helper.rb
|
|
50
|
-
- app/jobs/page_structured_data/application_job.rb
|
|
51
|
-
- app/mailers/page_structured_data/application_mailer.rb
|
|
52
|
-
- app/models/page_structured_data/application_record.rb
|
|
53
46
|
- app/src/page_structured_data/anchors.rb
|
|
54
47
|
- app/src/page_structured_data/breadcrumbs.rb
|
|
55
48
|
- app/src/page_structured_data/page.rb
|
|
56
49
|
- app/src/page_structured_data/page_types/article.rb
|
|
57
50
|
- app/src/page_structured_data/page_types/blog_posting.rb
|
|
58
51
|
- app/src/page_structured_data/page_types/news_article.rb
|
|
59
|
-
- app/views/layouts/page_structured_data/application.html.erb
|
|
60
52
|
- app/views/page_structured_data/_meta_tags.html.erb
|
|
61
53
|
- config/routes.rb
|
|
62
54
|
- lib/page_structured_data.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//= link_directory ../stylesheets/page_structured_data .css
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
11
|
-
* It is generally better to create a new file per style scope.
|
|
12
|
-
*
|
|
13
|
-
*= require_tree .
|
|
14
|
-
*= require_self
|
|
15
|
-
*/
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page structured data</title>
|
|
5
|
-
<%= csrf_meta_tags %>
|
|
6
|
-
<%= csp_meta_tag %>
|
|
7
|
-
|
|
8
|
-
<%= stylesheet_link_tag "page_structured_data/application", media: "all" %>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
|
|
12
|
-
<%= yield %>
|
|
13
|
-
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|