Skip to content

Conversation

@cardmagic
Copy link
Owner

Summary

Modernizes README.md to follow current best practices for open source Ruby libraries.

Changes

  • Add badges (gem version, CI status, license)
  • Add table of contents for navigation
  • Add Ruby compatibility matrix (3.1-3.4)
  • Improve installation with Bundler instructions
  • Use collapsible <details> sections for GSL install and benchmarks
  • Add syntax highlighting to all code blocks
  • Add Development section (setup, tests, console)
  • Add Contributing guidelines
  • Improve examples (spam filter, persistence, LSI search)
  • Reorganize with Quick Start sections

Before/After

Before: Basic markdown without badges, mixed formatting, no development instructions

After: Professional README with badges, clear structure, collapsible sections, proper syntax highlighting

Closes #76

@cardmagic cardmagic force-pushed the docs/modernize-readme branch from 139a213 to d7fe2ab Compare December 27, 2025 09:25
- Add badges for gem version, CI status, and license
- Add table of contents for easier navigation
- Add Ruby compatibility matrix (3.1-3.4)
- Improve installation with Bundler instructions
- Use collapsible sections for GSL install and benchmarks
- Add syntax highlighting to all code blocks
- Add Development section with setup and test instructions
- Add Contributing guidelines
- Improve examples (spam filter, persistence, LSI search)
- Reorganize structure with Quick Start sections

Closes #76
@cardmagic cardmagic force-pushed the docs/modernize-readme branch from d7fe2ab to 3a2694d Compare December 27, 2025 09:26
@cardmagic cardmagic self-assigned this Dec 27, 2025
@cardmagic cardmagic requested a review from Copilot December 27, 2025 09:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the README.md to follow current Ruby open source best practices by adding professional formatting, badges, better navigation, and comprehensive documentation sections.

Key Changes:

  • Added gem version, CI status, and license badges at the top
  • Restructured content with table of contents and collapsible sections for optional content
  • Enhanced code examples with proper syntax highlighting and more realistic use cases
  • Added development setup and contributing guidelines

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Complete overhaul with badges, structured sections, improved examples, syntax highlighting, and development/contributing guidelines
.github/workflows/ruby.yml Added Ruby 4.0 to CI test matrix to match README compatibility table

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

README.md Outdated
</details>

<details>
<summary><strong>Ruby 2 and earlier</strong></summary>
Copy link

Copilot AI Dec 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The heading 'Ruby 2 and earlier' is inconsistent with the previous section 'Ruby 3+'. This should be 'Ruby 2.x and earlier' for clarity, or 'Ruby 3.3 and earlier' to match the original text if this section applies to Ruby 3.3 and below.

Suggested change
<summary><strong>Ruby 2 and earlier</strong></summary>
<summary><strong>Ruby 2.x and earlier</strong></summary>

Copilot uses AI. Check for mistakes.
@cardmagic cardmagic force-pushed the docs/modernize-readme branch from 78c6a02 to fedc833 Compare December 27, 2025 09:30
@cardmagic cardmagic force-pushed the docs/modernize-readme branch from 87ac518 to 8119d67 Compare December 27, 2025 09:35
@cardmagic cardmagic merged commit 6e43186 into master Dec 27, 2025
5 checks passed
@cardmagic cardmagic deleted the docs/modernize-readme branch December 27, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize README.md to follow Ruby open source best practices

2 participants