jetstream_bridge 4.1.0 → 4.2.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: fad967e84777d57595bc3418e4b496da47aff3f1fdb7527f0e45acf3a1bafc60
4
- data.tar.gz: 11659b3c4107f5ac35ddf1b4b5a28831d9656e0c0facb710a1538baaaad15123
3
+ metadata.gz: 40f09bd9d0341dd242cbd29f7eaa4c848d180886f4e11c76ca97fca5f312e8d9
4
+ data.tar.gz: e2d8d22a90787f7824953c4d869ecc57e8eaebcd6948ed18a45033684dc45ce5
5
5
  SHA512:
6
- metadata.gz: fec1c6b96ded387683db458727028ece5de4d9d0307261654a92bd43d70314a5e01078f8d182ec422f226dd1cb08160909d0dd45014f08ec17b6b2c2f2b7169b
7
- data.tar.gz: 9357f058329804a848d32ad917807a9363482dd79963b2a7d4ba121b5ed83ed39aed5c6cb85e2163a35b892aa2f3d566dc1d5933aff5a3a86ffa49aa2fa4b7fc
6
+ metadata.gz: 0bdc25b39ba3fdd08c70795f2db348c2155951af8a88d5acbca55eac6a36850ffaa4b9cc103e8a9774080aa798ba871792a7d9604f79ef94734164b7b9bbc9f3
7
+ data.tar.gz: 54f528ac27f9031adbc794e4d31d7ba0d88f241dec379e063592b80a51a67cc0f3a9bb9af640a28d7d810de4686b17093ca79b3576ed48aa0198639f42fb1782
data/CHANGELOG.md CHANGED
@@ -5,6 +5,56 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.2.0] - 2025-11-24
9
+
10
+ ### Added
11
+
12
+ - **Modular Code Organization** - Restructured codebase with dedicated modules
13
+ - New `JetstreamBridge::Core` module for core utilities (connection, logging, model utils, helpers)
14
+ - New `JetstreamBridge::Rails` module for Rails-specific integration
15
+ - Improved separation of concerns and code discoverability
16
+ - Better namespace organization for future extensibility
17
+
18
+ - **Enhanced Test Helpers** - Comprehensive testing utilities split into focused modules
19
+ - `JetstreamBridge::TestHelpers::Fixtures` - Convenient fixture generation for events and messages
20
+ - `JetstreamBridge::TestHelpers::IntegrationHelpers` - Full NATS message simulation for integration tests
21
+ - `JetstreamBridge::TestHelpers::Matchers` - RSpec matchers for event publishing assertions
22
+ - Improved test doubles with realistic NATS message structure
23
+ - Better support for testing event-driven Rails applications
24
+
25
+ - **Getting Started Guide** - New comprehensive guide in `docs/GETTING_STARTED.md`
26
+ - Quick installation and setup instructions
27
+ - Publishing and consuming examples
28
+ - Rails integration patterns
29
+ - Links to advanced documentation
30
+
31
+ ### Changed
32
+
33
+ - **Rails Integration** - Reorganized Rails-specific code
34
+ - Moved from single `lib/jetstream_bridge/railtie.rb` to dedicated `lib/jetstream_bridge/rails/` directory
35
+ - `JetstreamBridge::Rails::Railtie` - Rails lifecycle integration
36
+ - `JetstreamBridge::Rails::Integration` - Autostart logic and Rails environment detection
37
+ - Cleaner separation between gem core and Rails integration
38
+
39
+ - **Documentation** - Restructured README for clarity
40
+ - Condensed README focusing on quick start and highlights
41
+ - Moved detailed guides to dedicated docs directory
42
+ - Improved navigation with links to specialized documentation
43
+ - More concise examples and clearer feature descriptions
44
+
45
+ - **Gemspec** - Enhanced package configuration
46
+ - Added `docs/**/*.md` to distributed files
47
+ - Added `extra_rdoc_files` for better documentation
48
+ - Updated description to emphasize production-readiness
49
+
50
+ ### Fixed
51
+
52
+ - **Code Quality** - Resolved all RuboCop style violations
53
+ - Fixed string literal consistency issues
54
+ - Improved code formatting and indentation
55
+ - Reduced complexity in conditional assignments
56
+ - Updated RuboCop configuration for new file structure
57
+
8
58
  ## [4.1.0] - 2025-11-23
9
59
 
10
60
  ### Added