Changed
-
RTT Measurement - Enhanced NATS round-trip time measurement with fallback support
- Added automatic unit normalization (seconds to milliseconds) for RTT values
- Implemented fallback RTT measurement using
flushfor NATS clients without nativerttmethod - Supports both nats-pure and other NATS client implementations
- Better compatibility across different NATS client versions
-
Rails Integration - Improved Rake task detection reliability
- Changed from
defined?(::Rake)check to$PROGRAM_NAMEinspection - More reliable detection of Rake execution context
- Prevents false positives when Rake is loaded but not executing
- Changed from
Fixed
- Test Coverage - Comprehensive test suite improvements
- Added complete test coverage for Rails integration lifecycle methods
- Added tests for test helper matchers (
have_published,be_publish_success,be_publish_failure) - Added tests for fixture builders (
sample_event,sample_events,event) - Added test for RTT fallback behavior when client lacks
rttmethod - Added spec file for
bridge_helpersmodule