better_seo 0.1.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9636cfad8403d7c6f0433fd5a0434b0fb46b4a51a4e1076ed6a348f81185b1f
4
- data.tar.gz: 9a7fa5ea86498ef3c77ee6adb69c40ccd63739879fe7574cbaef70503c87bb3d
3
+ metadata.gz: 96812d57f991f56ae85d042ed90d67cd804da41be917f557c9035b7103704fa0
4
+ data.tar.gz: ba04b33847262251dbce411840acee273e7f36c3f25e3b02a6fd2aaacf88bbe9
5
5
  SHA512:
6
- metadata.gz: 364c805e5bf4da2d5b738727a8786b44f62ea621396d3b307985b54e0141f9f4c48ff58c1d9964b2df972976f78312893d1d603bd7e5e01f06c57340c3e59d71
7
- data.tar.gz: fe9f49347a0ce696876b1e946151a77fa2a8b1f637a24b2bcbdf9f88437e94c9a59af1850161d9a43883867634b44540f866efb624fc282b39c28a2ea27806f8
6
+ metadata.gz: 587ba80330156dc5a305ea2d92831939fa9f80b6341bdb1052d639d371b8892d9827ddd0ce24b4b07c0c67714aec87151dcc31bc515031aee055a10703d3bf0f
7
+ data.tar.gz: 8dfe3c3526d621ee904535484e70529c68550d2388f289408a40f044651f154f6cb424f8715967d3d9dcaf8aa652f48bdb0ddda1e505c882c37f8fe01c9a1dbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,100 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
1
8
  ## [Unreleased]
2
9
 
3
- ## [0.1.0] - 2025-10-05
10
+ ## [0.5.0] - 2025-01-23
11
+
12
+ ### Added
13
+ - Sitemap generation system with comprehensive XML sitemap support
14
+ - `Sitemap::UrlEntry` - Individual URL entry with full sitemap.org protocol support
15
+ - `Sitemap::Builder` - Fluent API for building sitemaps with method chaining
16
+ - `Sitemap::Generator` - High-level generator with multiple generation strategies
17
+ - Sitemap generation methods
18
+ - `generate` - Generate from block with fluent builder
19
+ - `generate_from` - Generate from array of URLs
20
+ - `generate_from_collection` - Generate from model collections with lambda support
21
+ - `write_to_file` - Write sitemap directly to file with automatic directory creation
22
+ - URL entry features
23
+ - Support for all sitemap attributes: loc, lastmod, changefreq, priority
24
+ - Automatic date formatting (Date, Time, DateTime objects)
25
+ - XML entity escaping for security
26
+ - Validation for URL format, protocol (HTTP/HTTPS), and required fields
27
+ - Dynamic attribute generation
28
+ - Lambda/Proc support for dynamic lastmod, changefreq, and priority
29
+ - Conditional logic based on model attributes
30
+ - Rails integration examples
31
+ - Controller actions for dynamic sitemap serving
32
+ - Rake tasks for sitemap generation
33
+ - Service object patterns for production use
34
+ - Multi-model sitemap examples
35
+ - Comprehensive error handling
36
+ - 28 error class tests added
37
+ - Full coverage of all error types
38
+
39
+ ### Test Coverage
40
+ - 384 tests passing (+98 from v0.4.0)
41
+ - 99.71% code coverage (681/683 lines)
42
+ - 69 new tests for sitemap functionality
43
+
44
+ ## [0.4.0] - 2025-01-23
45
+
46
+ ### Added
47
+ - Rails view helpers for easy integration
48
+ - `seo_meta_tags` - Generate HTML meta tags
49
+ - `seo_open_graph_tags` - Generate Open Graph tags
50
+ - `seo_twitter_tags` - Generate Twitter Card tags
51
+ - `seo_tags` - Generate all SEO tags at once
52
+ - Support for both hash configuration and DSL blocks in helpers
53
+ - Automatic HTML safety with `raw` helper
54
+ - Controller integration patterns and examples
55
+ - Complete Rails integration documentation
56
+
57
+ ### Test Coverage
58
+ - 286 tests passing
59
+ - 100% code coverage (562/562 lines)
60
+
61
+ ## [0.3.0] - 2025-01-23
62
+
63
+ ### Added
64
+ - HTML Generators for converting DSL to HTML tags
65
+ - `MetaTagsGenerator` - Converts meta tags DSL to HTML
66
+ - `OpenGraphGenerator` - Converts Open Graph DSL to HTML
67
+ - `TwitterCardsGenerator` - Converts Twitter Cards DSL to HTML
68
+ - HTML entity escaping for security (XSS prevention)
69
+
70
+ ### Test Coverage
71
+ - 271 tests passing
72
+ - 100% code coverage (505/505 lines)
73
+
74
+ ## [0.2.0] - 2025-01-22
75
+
76
+ ### Added
77
+ - DSL Builders for creating SEO configurations
78
+ - `DSL::MetaTags` - For HTML meta tags
79
+ - `DSL::OpenGraph` - For Open Graph protocol
80
+ - `DSL::TwitterCards` - For Twitter Cards
81
+ - Fluent interface with method chaining
82
+ - Automatic validation for all DSL builders
83
+
84
+ ### Test Coverage
85
+ - 175 tests passing
86
+ - 100% code coverage (327/327 lines)
87
+
88
+ ## [0.1.0] - 2025-01-22
89
+
90
+ ### Added
91
+ - Core configuration system with singleton pattern
92
+ - Nested configuration objects
93
+ - Feature flags for enabling/disabling modules
94
+ - Validation with detailed error messages
95
+ - i18n support with multiple locales
96
+ - Custom error classes
4
97
 
5
- - Initial release
98
+ ### Test Coverage
99
+ - 74 tests passing
100
+ - 100% code coverage (179/179 lines)