railway-ipc 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/railway_ipc/rpc/client/client.rb +0 -4
- data/lib/railway_ipc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38510e51a7320246c8351c026b49b77a72c3886d96f39735749bb2d8b0c580e8
|
4
|
+
data.tar.gz: '06182d40648d84f3c1a421073fc566fae21c8d966f241602ab29d260aea74d8e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95f03fe787853fa46d71adba1bb452cbd6f514bae0c25a9c068df148769ac6aa1f22237162bdbbc6c099cc4f81623086be76d8b53083661eddfd3427835be5ba
|
7
|
+
data.tar.gz: f8a5736baf4ca3d84c57896d30db7deefcd26068b3c56c108b5f673d9e62368fea48fb9c9004479e92282edcdf77e86c0523374966f4e627530a665c6fec8f6f
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
10
10
|
### Removed
|
11
11
|
### Fixed
|
12
12
|
|
13
|
+
## [2.0.2] - 2020-08-27
|
14
|
+
### Changed
|
15
|
+
* RPC `RailwayIpc::Client` does not need to log the queue name.
|
16
|
+
|
13
17
|
## [2.0.1] - 2020-08-24
|
14
18
|
### Fixed
|
15
19
|
* `RailwayIpc::Logger` now handles block syntax (i.e. `logger.info { 'my message' }`) correctly.
|
@@ -58,7 +62,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
58
62
|
### Added
|
59
63
|
- Correlation ID and message UUID are auto generated for messages for IDs are not passed in [#23](https://github.com/learn-co/railway_ipc_gem/pull/23)
|
60
64
|
|
61
|
-
[Unreleased]: https://github.com/learn-co/railway_ipc_gem/compare/v2.0.
|
65
|
+
[Unreleased]: https://github.com/learn-co/railway_ipc_gem/compare/v2.0.2...HEAD
|
66
|
+
[2.0.2]: https://github.com/learn-co/railway_ipc_gem/compare/v2.0.1...v2.0.2
|
62
67
|
[2.0.1]: https://github.com/learn-co/railway_ipc_gem/compare/v2.0.0...v2.0.1
|
63
68
|
[2.0.0]: https://github.com/learn-co/railway_ipc_gem/compare/v1.1.0...v2.0.0
|
64
69
|
[1.1.0]: https://github.com/learn-co/railway_ipc_gem/compare/v1.0.1...v1.1.0
|
@@ -39,7 +39,6 @@ module RailwayIpc
|
|
39
39
|
end
|
40
40
|
|
41
41
|
# rubocop:disable Metrics/AbcSize
|
42
|
-
# rubocop:disable Metrics/MethodLength
|
43
42
|
def process_payload(response)
|
44
43
|
decoded_payload = decode_payload(response)
|
45
44
|
case decoded_payload.type
|
@@ -49,7 +48,6 @@ module RailwayIpc
|
|
49
48
|
'Handling response',
|
50
49
|
feature: 'railway_ipc_consumer',
|
51
50
|
exchange: self.class.exchange_name,
|
52
|
-
queue: self.class.queue_name,
|
53
51
|
protobuf: { type: message.class, data: message }
|
54
52
|
)
|
55
53
|
RailwayIpc::Response.new(message, success: true)
|
@@ -58,7 +56,6 @@ module RailwayIpc
|
|
58
56
|
raise RailwayIpc::UnhandledMessageError.new("#{self.class} does not know how to handle #{decoded_payload.type}")
|
59
57
|
end
|
60
58
|
end
|
61
|
-
# rubocop:enable Metrics/MethodLength
|
62
59
|
# rubocop:enable Metrics/AbcSize
|
63
60
|
|
64
61
|
def setup_rabbit_connection
|
@@ -90,7 +87,6 @@ module RailwayIpc
|
|
90
87
|
exception.message,
|
91
88
|
feature: 'railway_ipc_consumer',
|
92
89
|
exchange: self.class.exchange_name,
|
93
|
-
queue: self.class.queue_name,
|
94
90
|
error: exception.class,
|
95
91
|
payload: decode_for_error(exception, payload)
|
96
92
|
)
|
data/lib/railway_ipc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railway-ipc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|