twirp-on-rails 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7200f05274651a90db8bd46ff410667dce35b41bb49da9a084f7a5c35fd6e1b
4
- data.tar.gz: d7a993fea396f5449315431cb545f49f0b417ee31aa82b7626d451a65a224985
3
+ metadata.gz: 4525c9180d9b5ee9316453fefadc8982793f5aee3ebe55db5136fb2970e3b764
4
+ data.tar.gz: 68cb9924021caeefa024616b0d68d28a4a20ec77bf663b658be973fbb9fea86b
5
5
  SHA512:
6
- metadata.gz: 4cb878f46022e40efe060ee312954d2bc6432ecd7fffbac2949173e2f13531f4992665fd2e218d7d6b5308740df5e6acd1ed46b7310ed03a1429f435e94c27a0
7
- data.tar.gz: 6a803bf6af2df2a8594cfcbc0b8844fc02651d1fc78d6241a25bd80ed9885b8cb3c0f63fba11bb1351000caf62f53400fc46f4478cb7713af6963f6c2e3912e0
6
+ metadata.gz: 545989b2edaa3b4e78291f6847042e0728053e677b2e144e5b0463bdc5e00acd86fd0ea95ff8de6ae3ff19a12ac99d3941e325a27188a2f2fb0e4b23e787d9f4
7
+ data.tar.gz: 9075fd125690021fa6c1f192f0474fcc53639677cfa4c08904a20e7d31c1fbd487773ac227d42200c3e7e894b4ba9605486b017400d64c6c12bdd8cc455e96fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.4.0] - 2025-01-28
4
+
5
+ - Fix middleware to not apply where it isn't expected.
6
+
3
7
  ## [1.3.0] - 2025-01-20
4
8
 
5
9
  - Add some logging.
@@ -27,9 +27,9 @@ module Twirp
27
27
  end
28
28
 
29
29
  # Set up logging
30
- app.config.middleware.use app.config.twirp.logger, ::Rails.logger
31
- app.config.twirp.middleware.each do |middleware|
32
- app.config.middleware.use middleware
30
+ middleware.use app.config.twirp.logger, ::Rails.logger
31
+ app.config.twirp.middleware.each do |user_middleware|
32
+ middleware.use user_middleware
33
33
  end
34
34
 
35
35
  # Load all Twirp files
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Twirp
4
4
  module Rails
5
- VERSION = "1.3.0"
5
+ VERSION = "1.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twirp-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Morrison
8
8
  - Darron Schall
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-20 00:00:00.000000000 Z
11
+ date: 2025-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails