Skip to content

Conversation

@pboling
Copy link
Member

@pboling pboling commented May 23, 2025

Please help me support open source by sponsoring me - @pboling

Mirror of https://gitlab.com/oauth-xx/snaky_hash/-/merge_requests/3

[2.0.3] - 2025-05-23

  • TAG: [v2.0.3][2.0.3t]
  • COVERAGE: 100.00% -- 130/130 lines in 7 files
  • BRANCH COVERAGE: 100.00% -- 37/37 branches in 7 files
  • 100.00% documented

Added

  • #dump instance method injected by extend SnakyHash::Serializer (@pboling)
  • dump_hash_extensions - new feature, analogous to load_hash_extensions (@pboling)
  • dump_value_extensions - alternate name for dump_extensions (@pboling)
  • load_value_extensions - alternate name for load_extensions (@pboling)
  • Clarifying documentation (@pboling)

Fixed

  • gh4 - Serializer extensions dump and load empty values properly (@pboling)
    • Fixed dump_extensions, load_extensions, load_hash_extensions
    • Intended usage is primarily JSON, and oauth2 gem
    • OAuth2 spec can have legitimately empty values (e.g. scopes could be empty)
    • Previous logic was inherited from design decisions made by serialized_hashie gem; doesn't apply here

pboling added 2 commits May 23, 2025 07:47
### Added
- `#dump` instance method injected by `extend SnakyHash::Serializer` (@pboling)
- `dump_hash_extensions` - new feature, analogous to `load_hash_extensions` (@pboling)
- `dump_value_extensions` - alternate name for `dump_extensions` (@pboling)
- `load_value_extensions` - alternate name for `load_extensions` (@pboling)
- Clarifying documentation (@pboling)
### Fixed
- Serializer extensions dump and load empty values properly (@pboling)
  - Fixed `dump_extensions`, `load_extensions`, `load_hash_extensions`
  - Intended usage is primarily JSON, and oauth2 gem
  - OAuth2 spec can have legitimately empty values (e.g. scopes could be empty)
  - Previous logic was inherited from design decisions made by `serialized_hashie` gem; doesn't apply here
@pboling pboling self-assigned this May 23, 2025
@pboling pboling added bug Something isn't working enhancement New feature or request labels May 23, 2025
@coveralls
Copy link

coveralls commented May 23, 2025

Pull Request Test Coverage Report for Build 15200987200

Details

  • 26 of 26 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 15174456218: 0.0%
Covered Lines: 132
Relevant Lines: 132

💛 - Coveralls

@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Health
snaky_hash 100% 100%
Summary 100% (132 / 132) 100% (38 / 38)

Minimum allowed line rate is 100%

@pboling pboling merged commit 4791c62 into main May 23, 2025
31 checks passed
@pboling pboling deleted the release/v2.0.3 branch May 23, 2025 02:36
@codecov
Copy link

codecov bot commented May 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (0abfaff) to head (caccdc0).
Report is 5 commits behind head on main.

Additional details and impacted files
@@    Coverage Diff    @@
##   main   #4   +/-   ##
=========================
=========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants