Skip to content

Ruby 3.4 Compatibility, Linting Updates, and Expanded Test Coverage#8

Merged
positronicninja merged 7 commits intomainfrom
docs-and-testing
Jan 13, 2026
Merged

Ruby 3.4 Compatibility, Linting Updates, and Expanded Test Coverage#8
positronicninja merged 7 commits intomainfrom
docs-and-testing

Conversation

@positronicninja
Copy link
Member

Changelog:

  • Add ostruct and logger as runtime dependencies for Ruby 3.4+ stdlib compatibility
  • Update minitest to ~> 5.21 for better Ruby 3.4 support
  • Update standardrb to ~> 1.52 for Ruby 3.4.5 linting support
  • Fix literal string mutation in Fields class to avoid Ruby 3 warnings
  • Update .standard.yml ruby_version to 3.4.5
  • Resolve test warnings related to deprecated stdlib gems and string handling
  • Enhanced AGENTS.md with targeted testing usage examples (e.g., commands for GraphQL field generation and path configuration tests) and a comprehensive "Using the Gem" guide, drawing from test suite patterns and README documentation for better developer onboarding
  • Enhanced test suite with comprehensive edge case coverage for gem usage:
    • Error handling tests for API failures and invalid configurations
    • Boundary condition tests for field generation and data handling
    • Invalid input validation for queries and attributes
    • Concurrency tests for thread-safe query loading
    • Rails integration tests for caching, routing, and localization
  • Added test dependencies: webmock, mocha, concurrent-ruby for mocking and simulation
  • Improved gem reliability and developer confidence through test-demonstrated usage patterns

@positronicninja positronicninja self-assigned this Dec 19, 2025
@positronicninja positronicninja added documentation Improvements or additions to documentation tech debt labels Dec 19, 2025
This should assist in writing rails queries for data in conjunction with the graph docs.
@positronicninja positronicninja merged commit 582503a into main Jan 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant