wasabi 5.0.1 → 5.0.3

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: fd8847efa2d8a3df38ee42e62d7c15f733c3b999235d399a870d5318c0ec0ad5
4
- data.tar.gz: 9797838f0732c481c07049d6fef398481853c22203c7f87dd628f69d2950762e
3
+ metadata.gz: aa7b2c3c621da06cf8c445204da8b3573e10bd72887524480787a447ea8d0433
4
+ data.tar.gz: b74bff5bdd7ad553ab8e53ab1466e612b92485a098ab517d7c2b2bafcbcef4c7
5
5
  SHA512:
6
- metadata.gz: 2ae94bc2457b051f3b644cf6241556afa8b47385536c92abcfeadcd9f17aee676eae8a56297e697e84429f773e90873f01fbc6758681235233db8c60fb580a1d
7
- data.tar.gz: d9e8717b05fcb6d0167399f875ac437e142a2b105b01333b7a3e3081733f7b3c938779f93615a0b92e7697d3c14efc74ee99caf4dd68570bdf6aa4f2d14511f0
6
+ metadata.gz: da865a6c0b63f62ba38282d19d0d3541afcbb122a9aff9a41574587e63a382911452e8abfc15c9a327c4697fe3cafe056676c3ade9a1cb040787e5568ba15ec0
7
+ data.tar.gz: 1e2e5f1932252056d5e65b481f58ea85e9c17d4391bb8ee405de844da8fa391963f56bfa816dfc7b6f6f6a5a66930ca47c0c821e12d274a5398cddd7ec777fe3
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@
4
4
 
5
5
  - _Your new line here. Mind the style of prefix used in the rest of the document._
6
6
 
7
+ ## 5.0.3 (2024-07-20)
8
+
9
+ - Relax faraday version restriction by @ChristopherBert in https://github.com/savonrb/wasabi/pull/120
10
+
11
+ ## 5.0.2 (2024-02-27)
12
+
13
+ - Fix input/output for style="rpc" operations ([#119](https://github.com/savonrb/wasabi/pull/119)).
14
+
7
15
  ## 5.0.1 (2024-02-13)
8
16
 
9
17
  - Restore support for HTTPI ([#117](https://github.com/savonrb/wasabi/issues/117)).
data/lib/wasabi/parser.rb CHANGED
@@ -144,7 +144,7 @@ module Wasabi
144
144
  # TODO: check for soap namespace?
145
145
  soap_operation = operation.element_children.find { |node| node.name == 'operation' }
146
146
  soap_action = soap_operation['soapAction'] if soap_operation
147
- soap_document = soap_operation["style"] if soap_operation
147
+ soap_document = soap_operation['style'] == 'document' if soap_operation
148
148
 
149
149
  if soap_action || soap_document
150
150
  soap_action = soap_action.to_s
@@ -260,8 +260,13 @@ module Wasabi
260
260
  end
261
261
 
262
262
  message_ns_id, message_type = nil
263
- message_ns_id = port_message_ns_id
264
- message_type = port_message_type
263
+
264
+ soap_operation = operation.element_children.find { |node| node.name == 'operation' }
265
+
266
+ if soap_operation.nil? || soap_operation['style'] != 'rpc'
267
+ message_ns_id = port_message_ns_id
268
+ message_type = port_message_type
269
+ end
265
270
 
266
271
  # When there is a parts attribute in soap:body element, we should use that value
267
272
  # to look up the message part from messages array.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wasabi
4
- VERSION = '5.0.1'
4
+ VERSION = '5.0.3'
5
5
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasabi
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Harrington
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-13 00:00:00.000000000 Z
11
+ date: 2024-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '2.8'
22
+ version: '3'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.9'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '2.8'
32
+ version: '3'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: nokogiri
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +79,7 @@ licenses:
73
79
  - MIT
74
80
  metadata:
75
81
  changelog_uri: https://github.com/savonrb/wasabi/blob/master/CHANGELOG.md
76
- documentation_uri: https://www.rubydoc.info/gems/wasabi/5.0.1
82
+ documentation_uri: https://www.rubydoc.info/gems/wasabi/5.0.3
77
83
  source_code_uri: https://github.com/savonrb/wasabi
78
84
  bug_tracker_uri: https://github.com/savonrb/wasabi/issues
79
85
  rubygems_mfa_required: 'true'