pact-ffi 0.4.22-aarch64-linux-musl → 0.4.22.1-aarch64-linux-musl

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: c1ae236db58ea3eb6e0c05ca4235381eb4ca14a74e0f823aa879afd8df4d3696
4
- data.tar.gz: 65b2e59cf7d739e7f8b8c649410f661f147dd9f3c4d27859d3fc879d5a8829e7
3
+ metadata.gz: 28f547d98682d1270009331a193aa5b8278130bb2e830f185ca5e28925947096
4
+ data.tar.gz: b49e93ab3b35b3fe33e24bce1dfdafe7f45bc8342d01bcb010d2cf049fc8ffc4
5
5
  SHA512:
6
- metadata.gz: ea98f5a485cc510a007d747b4d170e76e84bb5afcdb6fa9492f2e9211cbe21441c230175cfc07fbbfea2a4b26968aaa3b8cf99798155e1b0d39947b80673691f
7
- data.tar.gz: 499b6790390d1da5f58b6f0c1479ca485ea4a34e7106ae646fda9844167b2f6455b451221d00909eb4ebbb954b586ad88d6e51bb9d9b7219a012aa04d79ab0b7
6
+ metadata.gz: 006efde9f404164597830e05524703050085e12655801fc457b9f274423ad3eafff67cf2a884ef51e209152b0adfa60afb1cbceb4ceb31266ccad8ff042e24db
7
+ data.tar.gz: 5ac075126cea2f6801c4287bf184e93890b1f4559dc792006bd9236d4c8ff4a8c50148ca685d2d1879ad8815cb2c4a21d2a963242cce071b33582c084a86a3b2
@@ -8,7 +8,7 @@ module PactFfi
8
8
  ffi_lib DetectOS.get_bin_path
9
9
 
10
10
  # DetectOS.windows? || DetectOS.linux_arm? ? (typedef :uint32, :uint32_type) : (typedef :uint32_t, :uint32_type)
11
- (typedef :uint32, :uint32_type)
11
+ (typedef :uint32, :uint32_type)
12
12
 
13
13
  # /*
14
14
  # -1 A null pointer was received
@@ -32,8 +32,8 @@ module PactFfi
32
32
  'RESULT_FAILED' => 1,
33
33
  ]
34
34
 
35
- attach_function :using_plugin, :pactffi_using_plugin, %i[uint16 string string], :uint32_type
36
- attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[uint16], :void
35
+ attach_function :using_plugin, :pactffi_using_plugin, %i[pointer string string], :uint32_type
36
+ attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[pointer], :void
37
37
  attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
38
38
  :uint32_type
39
39
  end
@@ -33,7 +33,7 @@ module PactFfi
33
33
  attach_function :new_for_application, :pactffi_verifier_new_for_application, %i[string string], :pointer
34
34
  attach_function :shutdown, :pactffi_verifier_shutdown, %i[pointer], :void
35
35
  attach_function :set_provider_info, :pactffi_verifier_set_provider_info,
36
- %i[pointer string string string uint16 string], :void
36
+ %i[pointer string string string ushort string], :void
37
37
  attach_function :add_provider_transport, :pactffi_verifier_add_provider_transport,
38
38
  %i[pointer string uint16 string string], :void
39
39
  attach_function :set_filter_info, :pactffi_verifier_set_filter_info, %i[pointer string string uint8], :void
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Version
3
- VERSION = '0.4.22'
3
+ VERSION = '0.4.22.1'
4
4
  end
5
5
  end
data/lib/pact/ffi.rb CHANGED
@@ -8,7 +8,7 @@ module PactFfi
8
8
 
9
9
  # at least neccessary on x64-mingw-ucrt as uint32_type is undefined
10
10
  # also neccessary on linux aarch64 it seems
11
- # DetectOS.windows? || DetectOS.linux_arm? ? (typedef :uint32, :uint32_type) : (typedef :uint32_t, :uint32_type) (typedef :uint32, :uint32_type)
11
+ # DetectOS.windows? || DetectOS.linux_arm? ? (typedef :uint32, :uint32_type) : (typedef :uint32_t, :uint32_type) (typedef :uint32, :uint32_type)
12
12
  (typedef :uint32, :uint32_type)
13
13
  FfiSpecificationVersion = Hash[
14
14
  'SPECIFICATION_VERSION_UNKNOWN' => 0,
@@ -147,29 +147,43 @@ module PactFfi
147
147
  attach_function :async_message_delete, :pactffi_async_message_delete, %i[pointer], :void
148
148
  attach_function :async_message_get_contents, :pactffi_async_message_get_contents, %i[pointer], :pointer
149
149
  attach_function :async_message_get_contents_str, :pactffi_async_message_get_contents_str, %i[pointer], :string
150
- attach_function :async_message_set_contents_str, :pactffi_async_message_set_contents_str, %i[pointer string string], :void
150
+ attach_function :async_message_set_contents_str, :pactffi_async_message_set_contents_str, %i[pointer string string],
151
+ :void
151
152
  attach_function :async_message_get_contents_length, :pactffi_async_message_get_contents_length, %i[pointer], :size_t
152
153
  attach_function :async_message_get_contents_bin, :pactffi_async_message_get_contents_bin, %i[pointer], :pointer
153
- attach_function :async_message_set_contents_bin, :pactffi_async_message_set_contents_bin, %i[pointer pointer size_t string], :void
154
+ attach_function :async_message_set_contents_bin, :pactffi_async_message_set_contents_bin,
155
+ %i[pointer pointer size_t string], :void
154
156
  attach_function :async_message_get_description, :pactffi_async_message_get_description, %i[pointer], :string
155
157
  attach_function :async_message_set_description, :pactffi_async_message_set_description, %i[pointer string], :int32
156
- attach_function :async_message_get_provider_state, :pactffi_async_message_get_provider_state, %i[pointer uint32_type], :pointer
157
- attach_function :async_message_get_provider_state_iter, :pactffi_async_message_get_provider_state_iter, %i[pointer], :pointer
158
+ attach_function :async_message_get_provider_state, :pactffi_async_message_get_provider_state,
159
+ %i[pointer uint32_type], :pointer
160
+ attach_function :async_message_get_provider_state_iter, :pactffi_async_message_get_provider_state_iter, %i[pointer],
161
+ :pointer
158
162
  attach_function :consumer_get_name, :pactffi_consumer_get_name, %i[pointer], :string
159
163
  attach_function :pact_get_consumer, :pactffi_pact_get_consumer, %i[pointer], :pointer
160
164
  attach_function :pact_consumer_delete, :pactffi_pact_consumer_delete, %i[pointer], :void
161
165
  attach_function :message_contents_get_contents_str, :pactffi_message_contents_get_contents_str, %i[pointer], :string
162
- attach_function :message_contents_set_contents_str, :pactffi_message_contents_set_contents_str, %i[pointer string string], :void
163
- attach_function :message_contents_get_contents_length, :pactffi_message_contents_get_contents_length, %i[pointer], :size_t
166
+ attach_function :message_contents_set_contents_str, :pactffi_message_contents_set_contents_str,
167
+ %i[pointer string string], :void
168
+ attach_function :message_contents_get_contents_length, :pactffi_message_contents_get_contents_length, %i[pointer],
169
+ :size_t
164
170
  attach_function :message_contents_get_contents_bin, :pactffi_message_contents_get_contents_bin, %i[pointer], :pointer
165
- attach_function :message_contents_set_contents_bin, :pactffi_message_contents_set_contents_bin, %i[pointer pointer size_t string], :void
166
- attach_function :message_contents_get_metadata_iter, :pactffi_message_contents_get_metadata_iter, %i[pointer], :pointer
167
- attach_function :message_contents_get_matching_rule_iter, :pactffi_message_contents_get_matching_rule_iter, %i[pointer int32], :pointer
168
- attach_function :request_contents_get_matching_rule_iter, :pactffi_request_contents_get_matching_rule_iter, %i[pointer int32], :pointer
169
- attach_function :response_contents_get_matching_rule_iter, :pactffi_response_contents_get_matching_rule_iter, %i[pointer int32], :pointer
170
- attach_function :message_contents_get_generators_iter, :pactffi_message_contents_get_generators_iter, %i[pointer int32], :pointer
171
- attach_function :request_contents_get_generators_iter, :pactffi_request_contents_get_generators_iter, %i[pointer int32], :pointer
172
- attach_function :response_contents_get_generators_iter, :pactffi_response_contents_get_generators_iter, %i[pointer int32], :pointer
171
+ attach_function :message_contents_set_contents_bin, :pactffi_message_contents_set_contents_bin,
172
+ %i[pointer pointer size_t string], :void
173
+ attach_function :message_contents_get_metadata_iter, :pactffi_message_contents_get_metadata_iter, %i[pointer],
174
+ :pointer
175
+ attach_function :message_contents_get_matching_rule_iter, :pactffi_message_contents_get_matching_rule_iter,
176
+ %i[pointer int32], :pointer
177
+ attach_function :request_contents_get_matching_rule_iter, :pactffi_request_contents_get_matching_rule_iter,
178
+ %i[pointer int32], :pointer
179
+ attach_function :response_contents_get_matching_rule_iter, :pactffi_response_contents_get_matching_rule_iter,
180
+ %i[pointer int32], :pointer
181
+ attach_function :message_contents_get_generators_iter, :pactffi_message_contents_get_generators_iter,
182
+ %i[pointer int32], :pointer
183
+ attach_function :request_contents_get_generators_iter, :pactffi_request_contents_get_generators_iter,
184
+ %i[pointer int32], :pointer
185
+ attach_function :response_contents_get_generators_iter, :pactffi_response_contents_get_generators_iter,
186
+ %i[pointer int32], :pointer
173
187
  attach_function :parse_matcher_definition, :pactffi_parse_matcher_definition, %i[string], :pointer
174
188
  attach_function :matcher_definition_error, :pactffi_matcher_definition_error, %i[pointer], :string
175
189
  attach_function :matcher_definition_value, :pactffi_matcher_definition_value, %i[pointer], :string
@@ -194,24 +208,36 @@ module PactFfi
194
208
  attach_function :sync_http_delete, :pactffi_sync_http_delete, %i[pointer], :void
195
209
  attach_function :sync_http_get_request, :pactffi_sync_http_get_request, %i[pointer], :pointer
196
210
  attach_function :sync_http_get_request_contents, :pactffi_sync_http_get_request_contents, %i[pointer], :string
197
- attach_function :sync_http_set_request_contents, :pactffi_sync_http_set_request_contents, %i[pointer string string], :void
198
- attach_function :sync_http_get_request_contents_length, :pactffi_sync_http_get_request_contents_length, %i[pointer], :size_t
199
- attach_function :sync_http_get_request_contents_bin, :pactffi_sync_http_get_request_contents_bin, %i[pointer], :pointer
200
- attach_function :sync_http_set_request_contents_bin, :pactffi_sync_http_set_request_contents_bin, %i[pointer pointer size_t string], :void
211
+ attach_function :sync_http_set_request_contents, :pactffi_sync_http_set_request_contents, %i[pointer string string],
212
+ :void
213
+ attach_function :sync_http_get_request_contents_length, :pactffi_sync_http_get_request_contents_length, %i[pointer],
214
+ :size_t
215
+ attach_function :sync_http_get_request_contents_bin, :pactffi_sync_http_get_request_contents_bin, %i[pointer],
216
+ :pointer
217
+ attach_function :sync_http_set_request_contents_bin, :pactffi_sync_http_set_request_contents_bin,
218
+ %i[pointer pointer size_t string], :void
201
219
  attach_function :sync_http_get_response, :pactffi_sync_http_get_response, %i[pointer], :pointer
202
220
  attach_function :sync_http_get_response_contents, :pactffi_sync_http_get_response_contents, %i[pointer], :string
203
- attach_function :sync_http_set_response_contents, :pactffi_sync_http_set_response_contents, %i[pointer string string], :void
204
- attach_function :sync_http_get_response_contents_length, :pactffi_sync_http_get_response_contents_length, %i[pointer], :size_t
205
- attach_function :sync_http_get_response_contents_bin, :pactffi_sync_http_get_response_contents_bin, %i[pointer], :pointer
206
- attach_function :sync_http_set_response_contents_bin, :pactffi_sync_http_set_response_contents_bin, %i[pointer pointer size_t string], :void
221
+ attach_function :sync_http_set_response_contents, :pactffi_sync_http_set_response_contents,
222
+ %i[pointer string string], :void
223
+ attach_function :sync_http_get_response_contents_length, :pactffi_sync_http_get_response_contents_length,
224
+ %i[pointer], :size_t
225
+ attach_function :sync_http_get_response_contents_bin, :pactffi_sync_http_get_response_contents_bin, %i[pointer],
226
+ :pointer
227
+ attach_function :sync_http_set_response_contents_bin, :pactffi_sync_http_set_response_contents_bin,
228
+ %i[pointer pointer size_t string], :void
207
229
  attach_function :sync_http_get_description, :pactffi_sync_http_get_description, %i[pointer], :string
208
230
  attach_function :sync_http_set_description, :pactffi_sync_http_set_description, %i[pointer string], :int32
209
- attach_function :sync_http_get_provider_state, :pactffi_sync_http_get_provider_state, %i[pointer uint32_type], :pointer
231
+ attach_function :sync_http_get_provider_state, :pactffi_sync_http_get_provider_state, %i[pointer uint32_type],
232
+ :pointer
210
233
  attach_function :sync_http_get_provider_state_iter, :pactffi_sync_http_get_provider_state_iter, %i[pointer], :pointer
211
- attach_function :pact_interaction_as_synchronous_http, :pactffi_pact_interaction_as_synchronous_http, %i[pointer], :pointer
234
+ attach_function :pact_interaction_as_synchronous_http, :pactffi_pact_interaction_as_synchronous_http, %i[pointer],
235
+ :pointer
212
236
  attach_function :pact_interaction_as_message, :pactffi_pact_interaction_as_message, %i[pointer], :pointer
213
- attach_function :pact_interaction_as_asynchronous_message, :pactffi_pact_interaction_as_asynchronous_message, %i[pointer], :pointer
214
- attach_function :pact_interaction_as_synchronous_message, :pactffi_pact_interaction_as_synchronous_message, %i[pointer], :pointer
237
+ attach_function :pact_interaction_as_asynchronous_message, :pactffi_pact_interaction_as_asynchronous_message,
238
+ %i[pointer], :pointer
239
+ attach_function :pact_interaction_as_synchronous_message, :pactffi_pact_interaction_as_synchronous_message,
240
+ %i[pointer], :pointer
215
241
  attach_function :pact_message_iter_delete, :pactffi_pact_message_iter_delete, %i[pointer], :void
216
242
  attach_function :pact_message_iter_next, :pactffi_pact_message_iter_next, %i[pointer], :pointer
217
243
  attach_function :pact_sync_message_iter_next, :pactffi_pact_sync_message_iter_next, %i[pointer], :pointer
@@ -268,28 +294,42 @@ module PactFfi
268
294
  attach_function :provider_state_param_pair_delete, :pactffi_provider_state_param_pair_delete, %i[pointer], :void
269
295
  attach_function :sync_message_new, :pactffi_sync_message_new, %i[], :pointer
270
296
  attach_function :sync_message_delete, :pactffi_sync_message_delete, %i[pointer], :void
271
- attach_function :sync_message_get_request_contents_str, :pactffi_sync_message_get_request_contents_str, %i[pointer], :string
272
- attach_function :sync_message_set_request_contents_str, :pactffi_sync_message_set_request_contents_str, %i[pointer string string], :void
273
- attach_function :sync_message_get_request_contents_length, :pactffi_sync_message_get_request_contents_length, %i[pointer], :size_t
274
- attach_function :sync_message_get_request_contents_bin, :pactffi_sync_message_get_request_contents_bin, %i[pointer], :pointer
275
- attach_function :sync_message_set_request_contents_bin, :pactffi_sync_message_set_request_contents_bin, %i[pointer pointer size_t string], :void
297
+ attach_function :sync_message_get_request_contents_str, :pactffi_sync_message_get_request_contents_str, %i[pointer],
298
+ :string
299
+ attach_function :sync_message_set_request_contents_str, :pactffi_sync_message_set_request_contents_str,
300
+ %i[pointer string string], :void
301
+ attach_function :sync_message_get_request_contents_length, :pactffi_sync_message_get_request_contents_length,
302
+ %i[pointer], :size_t
303
+ attach_function :sync_message_get_request_contents_bin, :pactffi_sync_message_get_request_contents_bin, %i[pointer],
304
+ :pointer
305
+ attach_function :sync_message_set_request_contents_bin, :pactffi_sync_message_set_request_contents_bin,
306
+ %i[pointer pointer size_t string], :void
276
307
  attach_function :sync_message_get_request_contents, :pactffi_sync_message_get_request_contents, %i[pointer], :pointer
277
308
  attach_function :sync_message_get_number_responses, :pactffi_sync_message_get_number_responses, %i[pointer], :size_t
278
- attach_function :sync_message_get_response_contents_str, :pactffi_sync_message_get_response_contents_str, %i[pointer size_t], :string
279
- attach_function :sync_message_set_response_contents_str, :pactffi_sync_message_set_response_contents_str, %i[pointer size_t string string], :void
280
- attach_function :sync_message_get_response_contents_length, :pactffi_sync_message_get_response_contents_length, %i[pointer size_t], :size_t
281
- attach_function :sync_message_get_response_contents_bin, :pactffi_sync_message_get_response_contents_bin, %i[pointer size_t], :pointer
282
- attach_function :sync_message_set_response_contents_bin, :pactffi_sync_message_set_response_contents_bin, %i[pointer size_t pointer size_t string], :void
283
- attach_function :sync_message_get_response_contents, :pactffi_sync_message_get_response_contents, %i[pointer size_t], :pointer
309
+ attach_function :sync_message_get_response_contents_str, :pactffi_sync_message_get_response_contents_str,
310
+ %i[pointer size_t], :string
311
+ attach_function :sync_message_set_response_contents_str, :pactffi_sync_message_set_response_contents_str,
312
+ %i[pointer size_t string string], :void
313
+ attach_function :sync_message_get_response_contents_length, :pactffi_sync_message_get_response_contents_length,
314
+ %i[pointer size_t], :size_t
315
+ attach_function :sync_message_get_response_contents_bin, :pactffi_sync_message_get_response_contents_bin,
316
+ %i[pointer size_t], :pointer
317
+ attach_function :sync_message_set_response_contents_bin, :pactffi_sync_message_set_response_contents_bin,
318
+ %i[pointer size_t pointer size_t string], :void
319
+ attach_function :sync_message_get_response_contents, :pactffi_sync_message_get_response_contents, %i[pointer size_t],
320
+ :pointer
284
321
  attach_function :sync_message_get_description, :pactffi_sync_message_get_description, %i[pointer], :string
285
322
  attach_function :sync_message_set_description, :pactffi_sync_message_set_description, %i[pointer string], :int32
286
- attach_function :sync_message_get_provider_state, :pactffi_sync_message_get_provider_state, %i[pointer uint32_type], :pointer
287
- attach_function :sync_message_get_provider_state_iter, :pactffi_sync_message_get_provider_state_iter, %i[pointer], :pointer
323
+ attach_function :sync_message_get_provider_state, :pactffi_sync_message_get_provider_state, %i[pointer uint32_type],
324
+ :pointer
325
+ attach_function :sync_message_get_provider_state_iter, :pactffi_sync_message_get_provider_state_iter, %i[pointer],
326
+ :pointer
288
327
  attach_function :string_delete, :pactffi_string_delete, %i[string], :void
289
328
  attach_function :create_mock_server, :pactffi_create_mock_server, %i[string string bool], :int32
290
329
  attach_function :get_tls_ca_certificate, :pactffi_get_tls_ca_certificate, %i[], :string
291
330
  attach_function :create_mock_server_for_pact, :pactffi_create_mock_server_for_pact, %i[uint16 string bool], :int32
292
- attach_function :create_mock_server_for_transport, :pactffi_create_mock_server_for_transport, %i[uint16 string uint16 string string], :int32
331
+ attach_function :create_mock_server_for_transport, :pactffi_create_mock_server_for_transport,
332
+ %i[uint16 string uint16 string string], :int32
293
333
  attach_function :mock_server_matched, :pactffi_mock_server_matched, %i[int32], :bool
294
334
  attach_function :mock_server_mismatches, :pactffi_mock_server_mismatches, %i[int32], :string
295
335
  attach_function :cleanup_mock_server, :pactffi_cleanup_mock_server, %i[int32], :bool
@@ -305,13 +345,13 @@ module PactFfi
305
345
  attach_function :new_sync_message_interaction, :pactffi_new_sync_message_interaction, %i[uint16 string], :uint32_type
306
346
  attach_function :upon_receiving, :pactffi_upon_receiving, %i[uint32_type string], :bool
307
347
  attach_function :given, :pactffi_given, %i[uint32_type string], :bool
308
- attach_function :given, :pactffi_given, %i[uint32_type string], :bool
309
348
  attach_function :given_with_params, :pactffi_given_with_params, %i[uint32_type string string], :int32
310
349
  attach_function :interaction_test_name, :pactffi_interaction_test_name, %i[uint32_type string], :uint32_type
311
350
  attach_function :given_with_param, :pactffi_given_with_param, %i[uint32_type string string string], :bool
312
351
  attach_function :with_request, :pactffi_with_request, %i[uint32_type string string], :bool
313
352
  attach_function :with_query_parameter, :pactffi_with_query_parameter, %i[uint32_type string size_t string], :bool
314
- attach_function :with_query_parameter_v2, :pactffi_with_query_parameter_v2, %i[uint32_type string size_t string], :bool
353
+ attach_function :with_query_parameter_v2, :pactffi_with_query_parameter_v2, %i[uint32_type string size_t string],
354
+ :bool
315
355
  attach_function :with_specification, :pactffi_with_specification, %i[uint16 int32], :bool
316
356
  attach_function :with_pact_metadata, :pactffi_with_pact_metadata, %i[uint16 string string string], :bool
317
357
  attach_function :with_header, :pactffi_with_header, %i[uint32_type int32 string size_t string], :bool
@@ -319,7 +359,8 @@ module PactFfi
319
359
  attach_function :response_status, :pactffi_response_status, %i[uint32_type uint16], :bool
320
360
  attach_function :with_body, :pactffi_with_body, %i[uint32_type int32 string string], :bool
321
361
  attach_function :with_binary_file, :pactffi_with_binary_file, %i[uint32_type int32 string pointer size_t], :bool
322
- attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string], :pointer
362
+ attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string],
363
+ :pointer
323
364
  attach_function :pact_handle_get_message_iter, :pactffi_pact_handle_get_message_iter, %i[uint16], :pointer
324
365
  attach_function :pact_handle_get_sync_message_iter, :pactffi_pact_handle_get_sync_message_iter, %i[uint16], :pointer
325
366
  attach_function :pact_handle_get_sync_http_iter, :pactffi_pact_handle_get_sync_http_iter, %i[uint16], :pointer
@@ -327,14 +368,16 @@ module PactFfi
327
368
  attach_function :new_message, :pactffi_new_message, %i[uint16 string], :uint32_type
328
369
  attach_function :message_expects_to_receive, :pactffi_message_expects_to_receive, %i[uint32_type string], :void
329
370
  attach_function :message_given, :pactffi_message_given, %i[uint32_type string], :void
330
- attach_function :message_given_with_param, :pactffi_message_given_with_param, %i[uint32_type string string string], :void
371
+ attach_function :message_given_with_param, :pactffi_message_given_with_param, %i[uint32_type string string string],
372
+ :void
331
373
  attach_function :message_with_contents, :pactffi_message_with_contents, %i[uint32_type string pointer size_t], :void
332
374
  attach_function :message_with_metadata, :pactffi_message_with_metadata, %i[uint32_type string string], :void
333
375
  attach_function :message_with_metadata_v2, :pactffi_message_with_metadata_v2, %i[uint32_type string string], :void
334
376
  attach_function :with_metadata, :pactffi_with_metadata, %i[uint32_type string string int], :void
335
377
  attach_function :message_reify, :pactffi_message_reify, %i[uint32_type], :string
336
378
  attach_function :write_message_pact_file, :pactffi_write_message_pact_file, %i[uint16 string bool], :int32
337
- attach_function :with_message_pact_metadata, :pactffi_with_message_pact_metadata, %i[uint16 string string string], :void
379
+ attach_function :with_message_pact_metadata, :pactffi_with_message_pact_metadata, %i[uint16 string string string],
380
+ :void
338
381
  attach_function :pact_handle_write_file, :pactffi_pact_handle_write_file, %i[uint16 string bool], :int32
339
382
  attach_function :new_async_message, :pactffi_new_async_message, %i[uint16 string], :uint32_type
340
383
  attach_function :free_pact_handle, :pactffi_free_pact_handle, %i[uint16], :uint32_type
@@ -343,44 +386,56 @@ module PactFfi
343
386
  attach_function :verifier_new, :pactffi_verifier_new, %i[], :pointer
344
387
  attach_function :verifier_new_for_application, :pactffi_verifier_new_for_application, %i[string string], :pointer
345
388
  attach_function :verifier_shutdown, :pactffi_verifier_shutdown, %i[pointer], :void
346
- attach_function :verifier_set_provider_info, :pactffi_verifier_set_provider_info, %i[pointer string string string uint16 string], :void
347
- attach_function :verifier_add_provider_transport, :pactffi_verifier_add_provider_transport, %i[pointer string uint16 string string], :void
389
+ attach_function :verifier_set_provider_info, :pactffi_verifier_set_provider_info,
390
+ %i[pointer string string string ushort string], :void
391
+ attach_function :verifier_add_provider_transport, :pactffi_verifier_add_provider_transport,
392
+ %i[pointer string uint16 string string], :void
348
393
  attach_function :verifier_set_filter_info, :pactffi_verifier_set_filter_info, %i[pointer string string uint8], :void
349
- attach_function :verifier_set_provider_state, :pactffi_verifier_set_provider_state, %i[pointer string uint8 uint8], :void
350
- attach_function :verifier_set_verification_options, :pactffi_verifier_set_verification_options, %i[pointer uint8 ulong_long], :int32
394
+ attach_function :verifier_set_provider_state, :pactffi_verifier_set_provider_state, %i[pointer string uint8 uint8],
395
+ :void
396
+ attach_function :verifier_set_verification_options, :pactffi_verifier_set_verification_options,
397
+ %i[pointer uint8 ulong_long], :int32
351
398
  attach_function :verifier_set_coloured_output, :pactffi_verifier_set_coloured_output, %i[pointer uint8], :int32
352
399
  attach_function :verifier_set_no_pacts_is_error, :pactffi_verifier_set_no_pacts_is_error, %i[pointer uint8], :int32
353
- attach_function :verifier_set_publish_options, :pactffi_verifier_set_publish_options, %i[pointer string string pointer uint16 string], :int32
354
- attach_function :verifier_set_consumer_filters, :pactffi_verifier_set_consumer_filters, %i[pointer pointer uint16], :void
400
+ attach_function :verifier_set_publish_options, :pactffi_verifier_set_publish_options,
401
+ %i[pointer string string pointer uint16 string], :int32
402
+ attach_function :verifier_set_consumer_filters, :pactffi_verifier_set_consumer_filters, %i[pointer pointer uint16],
403
+ :void
355
404
  attach_function :verifier_add_custom_header, :pactffi_verifier_add_custom_header, %i[pointer string string], :void
356
405
  attach_function :verifier_add_file_source, :pactffi_verifier_add_file_source, %i[pointer string], :void
357
406
  attach_function :verifier_add_directory_source, :pactffi_verifier_add_directory_source, %i[pointer string], :void
358
407
  attach_function :verifier_url_source, :pactffi_verifier_url_source, %i[pointer string string string string], :void
359
- attach_function :verifier_broker_source, :pactffi_verifier_broker_source, %i[pointer string string string string], :void
360
- attach_function :verifier_broker_source_with_selectors, :pactffi_verifier_broker_source_with_selectors, %i[pointer string string string string uint8 string pointer uint16 string pointer uint16 pointer uint16], :void
408
+ attach_function :verifier_broker_source, :pactffi_verifier_broker_source, %i[pointer string string string string],
409
+ :void
410
+ attach_function :verifier_broker_source_with_selectors, :pactffi_verifier_broker_source_with_selectors,
411
+ %i[pointer string string string string uint8 string pointer uint16 string pointer uint16 pointer uint16], :void
361
412
  attach_function :verifier_execute, :pactffi_verifier_execute, %i[pointer], :int32
362
413
  attach_function :verifier_cli_args, :pactffi_verifier_cli_args, %i[], :string
363
414
  attach_function :verifier_logs, :pactffi_verifier_logs, %i[pointer], :string
364
415
  attach_function :verifier_logs_for_provider, :pactffi_verifier_logs_for_provider, %i[string], :string
365
416
  attach_function :verifier_output, :pactffi_verifier_output, %i[pointer uint8], :string
366
417
  attach_function :verifier_json, :pactffi_verifier_json, %i[pointer], :string
367
- attach_function :using_plugin, :pactffi_using_plugin, %i[uint16 string string], :uint32_type
368
- attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[uint16], :void
369
- attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string], :uint32_type
418
+ attach_function :using_plugin, :pactffi_using_plugin, %i[pointer string string], :uint32_type
419
+ attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[pointer], :void
420
+ attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
421
+ :uint32_type
370
422
  attach_function :matches_string_value, :pactffi_matches_string_value, %i[pointer string string uint8], :string
371
423
  attach_function :matches_u64_value, :pactffi_matches_u64_value, %i[pointer ulong_long ulong_long uint8], :string
372
424
  attach_function :matches_i64_value, :pactffi_matches_i64_value, %i[pointer int64 int64 uint8], :string
373
425
  attach_function :matches_f64_value, :pactffi_matches_f64_value, %i[pointer double double uint8], :string
374
426
  attach_function :matches_bool_value, :pactffi_matches_bool_value, %i[pointer uint8 uint8 uint8], :string
375
- attach_function :matches_binary_value, :pactffi_matches_binary_value, %i[pointer pointer ulong_long pointer ulong_long uint8], :string
427
+ attach_function :matches_binary_value, :pactffi_matches_binary_value,
428
+ %i[pointer pointer ulong_long pointer ulong_long uint8], :string
376
429
  attach_function :matches_json_value, :pactffi_matches_json_value, %i[pointer string string uint8], :string
377
430
  attach_function :pact_handle_to_pointer, :pactffi_pact_handle_to_pointer, %i[uint16], :pointer
378
431
  attach_function :handle_get_pact_spec_version, :pactffi_handle_get_pact_spec_version, %i[uint16], :int32
379
- attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string], :pointer
432
+ attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string],
433
+ :pointer
380
434
  attach_function :set_header, :pactffi_set_header, %i[uint32_type int32 string string], :bool
381
435
  attach_function :with_binary_body, :pactffi_with_binary_body, %i[uint32_type int32 string pointer size_t], :bool
382
436
  attach_function :with_matching_rules, :pactffi_with_matching_rules, %i[uint32_type int32 string], :bool
383
- attach_function :with_multipart_file_v2, :pactffi_with_multipart_file_v2, %i[uint32_type int32 string string string string], :pointer
437
+ attach_function :with_multipart_file_v2, :pactffi_with_multipart_file_v2,
438
+ %i[uint32_type int32 string string string string], :pointer
384
439
  attach_function :message_with_metadata_v2, :pactffi_message_with_metadata_v2, %i[uint32_type string string], :void
385
440
  attach_function :with_generators, :pactffi_with_generators, %i[uint32_type int string], :bool
386
441
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.22
4
+ version: 0.4.22.1
5
5
  platform: aarch64-linux-musl
6
6
  authors:
7
7
  - Yousaf Nabi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-02 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber