pact-ffi 0.4.22.2-x86_64-linux-musl → 0.4.26.0-x86_64-linux-musl
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/ffi/linux-x64-musl/libpact_ffi.so +0 -0
- data/lib/pact/ffi/async_message_pact.rb +4 -0
- data/lib/pact/ffi/http_consumer.rb +2 -0
- data/lib/pact/ffi/message_consumer.rb +1 -0
- data/lib/pact/ffi/sync_message_consumer.rb +2 -1
- data/lib/pact/ffi/utils.rb +1 -0
- data/lib/pact/ffi/verifier.rb +1 -1
- data/lib/pact/ffi/version.rb +1 -1
- data/lib/pact/ffi.rb +17 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23b65410c71f6de22d2b12857b2468b3bf921ddcf7637a1a0493e0552de5e633
|
4
|
+
data.tar.gz: a41b624304fa16ee3c0da1264b52252c730d3ecea3fcd190ed9b81f1371c0a0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 793801bdf333b2186df6261352d4f00bd0f27a122810806ae76b138df53e193940264a3c4d44a562591034819e009c62348d33294ef8f780c046edb376cf31c0
|
7
|
+
data.tar.gz: 3329337c252a87bca03c9752acb54ffc65c9a5681a2d5877c6fc65281dd68cdc4bd85aa0330705858fdb51b2f1b1d9174a4bc57858fcda4b8ff7dda1ff982e73
|
data/README.md
CHANGED
@@ -42,8 +42,8 @@ puts PactFfi.pactffi_version
|
|
42
42
|
|
43
43
|
| OS | Ruby | Architecture | Supported | Ruby Platform |
|
44
44
|
| ------- | ------- | ------------ | --------- | --------- |
|
45
|
-
|
|
46
|
-
|
|
45
|
+
| MacOS | 2.6 - 3.3 | x86_64 | ✅ | x86_64-darwin |
|
46
|
+
| MacOS | 2.6 - 3.3 | aarch64 (arm)| ✅ | arm64-darwin |
|
47
47
|
| Linux | 2.6 - 3.3 | x86_64 | ✅ | x86_64-linux |
|
48
48
|
| Linux | 2.6 - 3.3 | aarch64 (arm)| ✅ | aarch64-linux |
|
49
49
|
| Linux (musl) | 2.6 - 3.3 | x86_64 | ✅ | x86_64-linux-musl |
|
Binary file
|
@@ -13,6 +13,7 @@ module PactFfi
|
|
13
13
|
attach_function :new_async_message, :pactffi_async_message_new, %i[], :pointer
|
14
14
|
attach_function :delete, :pactffi_async_message_delete, %i[pointer], :void
|
15
15
|
attach_function :get_contents, :pactffi_async_message_get_contents, %i[pointer], :pointer
|
16
|
+
attach_function :generate_contents, :pactffi_async_message_generate_contents, %i[pointer], :pointer
|
16
17
|
attach_function :get_contents_str, :pactffi_async_message_get_contents_str, %i[pointer], :string
|
17
18
|
attach_function :set_contents_str, :pactffi_async_message_set_contents_str, %i[pointer string string], :void
|
18
19
|
attach_function :get_contents_length, :pactffi_async_message_get_contents_length, %i[pointer], :size_t
|
@@ -25,5 +26,8 @@ module PactFfi
|
|
25
26
|
attach_function :new, :pactffi_new_async_message, %i[uint16 string], :uint32_type
|
26
27
|
attach_function :pact_interaction_as_asynchronous_message, :pactffi_pact_interaction_as_asynchronous_message,
|
27
28
|
%i[pointer], :pointer
|
29
|
+
attach_function :iter_next, :pactffi_pact_async_message_iter_next, %i[pointer], :pointer
|
30
|
+
attach_function :iter_delete, :pactffi_pact_async_message_iter_delete, %i[pointer], :void
|
31
|
+
attach_function :get_iter, :pactffi_pact_handle_get_async_message_iter, %i[uint16], :pointer
|
28
32
|
end
|
29
33
|
end
|
@@ -29,12 +29,14 @@ module PactFfi
|
|
29
29
|
attach_function :with_header, :pactffi_with_header, %i[uint32_type int32 string size_t string], :bool
|
30
30
|
attach_function :with_header_v2, :pactffi_with_header_v2, %i[uint32_type int32 string size_t string], :bool
|
31
31
|
attach_function :response_status, :pactffi_response_status, %i[uint32_type uint16], :bool
|
32
|
+
attach_function :response_status_v2, :pactffi_response_status_v2, %i[uint32_type string], :bool
|
32
33
|
attach_function :with_body, :pactffi_with_body, %i[uint32_type int32 string string], :bool
|
33
34
|
attach_function :with_binary_file, :pactffi_with_binary_file, %i[uint32_type int32 string pointer size_t], :bool
|
34
35
|
attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string], :pointer
|
35
36
|
attach_function :set_header, :pactffi_set_header, %i[uint32_type int32 string string], :bool
|
36
37
|
attach_function :with_binary_body, :pactffi_with_binary_body, %i[uint32_type int32 string pointer size_t], :bool
|
37
38
|
attach_function :with_matching_rules, :pactffi_with_matching_rules, %i[uint32_type int32 string], :bool
|
39
|
+
attach_function :with_generators, :pactffi_with_generators, %i[uint32_type int32 string], :bool
|
38
40
|
attach_function :with_multipart_file_v2, :pactffi_with_multipart_file_v2, %i[uint32_type int32 string string string string], :pointer
|
39
41
|
end
|
40
42
|
end
|
@@ -72,6 +72,7 @@ module PactFfi
|
|
72
72
|
]
|
73
73
|
|
74
74
|
attach_function :contents_get_contents_str, :pactffi_message_contents_get_contents_str, %i[pointer], :string
|
75
|
+
attach_function :contents_delete, :pactffi_message_contents_delete, %i[pointer], :void
|
75
76
|
attach_function :contents_set_contents_str, :pactffi_message_contents_set_contents_str, %i[pointer string string], :void
|
76
77
|
attach_function :contents_get_contents_length, :pactffi_message_contents_get_contents_length, %i[pointer], :size_t
|
77
78
|
attach_function :contents_get_contents_bin, :pactffi_message_contents_get_contents_bin, %i[pointer], :pointer
|
@@ -21,6 +21,7 @@ module PactFfi
|
|
21
21
|
attach_function :get_request_contents_bin, :pactffi_sync_message_get_request_contents_bin, %i[pointer], :pointer
|
22
22
|
attach_function :set_request_contents_bin, :pactffi_sync_message_set_request_contents_bin, %i[pointer pointer size_t string], :void
|
23
23
|
attach_function :get_request_contents, :pactffi_sync_message_get_request_contents, %i[pointer], :pointer
|
24
|
+
attach_function :generate_request_contents, :pactffi_sync_message_generate_request_contents, %i[pointer], :pointer
|
24
25
|
attach_function :get_number_responses, :pactffi_sync_message_get_number_responses, %i[pointer], :size_t
|
25
26
|
attach_function :get_response_contents_str, :pactffi_sync_message_get_response_contents_str, %i[pointer size_t], :string
|
26
27
|
attach_function :set_response_contents_str, :pactffi_sync_message_set_response_contents_str, %i[pointer size_t string string], :void
|
@@ -33,6 +34,6 @@ module PactFfi
|
|
33
34
|
attach_function :get_provider_state, :pactffi_sync_message_get_provider_state, %i[pointer uint32_type], :pointer
|
34
35
|
attach_function :get_provider_state_iter, :pactffi_sync_message_get_provider_state_iter, %i[pointer], :pointer
|
35
36
|
attach_function :new_interaction, :pactffi_new_sync_message_interaction, %i[uint16 string], :uint32_type
|
36
|
-
attach_function :
|
37
|
+
attach_function :get_iter, :pactffi_pact_handle_get_sync_message_iter, %i[uint16], :pointer
|
37
38
|
end
|
38
39
|
end
|
data/lib/pact/ffi/utils.rb
CHANGED
@@ -146,5 +146,6 @@ module PactFfi
|
|
146
146
|
attach_function :matches_json_value, :pactffi_matches_json_value, %i[pointer string string uint8], :string
|
147
147
|
attach_function :pact_handle_to_pointer, :pactffi_pact_handle_to_pointer, %i[uint16], :pointer
|
148
148
|
attach_function :handle_get_pact_spec_version, :pactffi_handle_get_pact_spec_version, %i[uint16], :int32
|
149
|
+
attach_function :with_metadata, :pactffi_with_metadata, %i[uint32_type string string int32], :bool
|
149
150
|
end
|
150
151
|
end
|
data/lib/pact/ffi/verifier.rb
CHANGED
@@ -51,7 +51,7 @@ module PactFfi
|
|
51
51
|
attach_function :url_source, :pactffi_verifier_url_source, %i[pointer string string string string], :void
|
52
52
|
attach_function :broker_source, :pactffi_verifier_broker_source, %i[pointer string string string string], :void
|
53
53
|
attach_function :broker_source_with_selectors, :pactffi_verifier_broker_source_with_selectors,
|
54
|
-
%i[pointer string string string string uint8 string pointer uint16 string pointer uint16 pointer uint16], :
|
54
|
+
%i[pointer string string string string uint8 string pointer uint16 string pointer uint16 pointer uint16], :int32
|
55
55
|
attach_function :execute, :pactffi_verifier_execute, %i[pointer], :int32
|
56
56
|
attach_function :cli_args, :pactffi_verifier_cli_args, %i[], :string
|
57
57
|
attach_function :logs, :pactffi_verifier_logs, %i[pointer], :string
|
data/lib/pact/ffi/version.rb
CHANGED
data/lib/pact/ffi.rb
CHANGED
@@ -372,8 +372,7 @@ module PactFfi
|
|
372
372
|
:void
|
373
373
|
attach_function :message_with_contents, :pactffi_message_with_contents, %i[uint32_type string pointer size_t], :void
|
374
374
|
attach_function :message_with_metadata, :pactffi_message_with_metadata, %i[uint32_type string string], :void
|
375
|
-
attach_function :
|
376
|
-
attach_function :with_metadata, :pactffi_with_metadata, %i[uint32_type string string int], :void
|
375
|
+
attach_function :with_metadata, :pactffi_with_metadata, %i[uint32_type string string int32], :bool
|
377
376
|
attach_function :message_reify, :pactffi_message_reify, %i[uint32_type], :string
|
378
377
|
attach_function :write_message_pact_file, :pactffi_write_message_pact_file, %i[uint16 string bool], :int32
|
379
378
|
attach_function :with_message_pact_metadata, :pactffi_with_message_pact_metadata, %i[uint16 string string string],
|
@@ -408,7 +407,7 @@ module PactFfi
|
|
408
407
|
attach_function :verifier_broker_source, :pactffi_verifier_broker_source, %i[pointer string string string string],
|
409
408
|
:void
|
410
409
|
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], :
|
410
|
+
%i[pointer string string string string uint8 string pointer uint16 string pointer uint16 pointer uint16], :int32
|
412
411
|
attach_function :verifier_execute, :pactffi_verifier_execute, %i[pointer], :int32
|
413
412
|
attach_function :verifier_cli_args, :pactffi_verifier_cli_args, %i[], :string
|
414
413
|
attach_function :verifier_logs, :pactffi_verifier_logs, %i[pointer], :string
|
@@ -429,13 +428,25 @@ module PactFfi
|
|
429
428
|
attach_function :matches_json_value, :pactffi_matches_json_value, %i[pointer string string uint8], :string
|
430
429
|
attach_function :pact_handle_to_pointer, :pactffi_pact_handle_to_pointer, %i[uint16], :pointer
|
431
430
|
attach_function :handle_get_pact_spec_version, :pactffi_handle_get_pact_spec_version, %i[uint16], :int32
|
432
|
-
attach_function :with_multipart_file, :pactffi_with_multipart_file, %i[uint32_type int32 string string string],
|
433
|
-
:pointer
|
434
431
|
attach_function :set_header, :pactffi_set_header, %i[uint32_type int32 string string], :bool
|
435
432
|
attach_function :with_binary_body, :pactffi_with_binary_body, %i[uint32_type int32 string pointer size_t], :bool
|
436
433
|
attach_function :with_matching_rules, :pactffi_with_matching_rules, %i[uint32_type int32 string], :bool
|
437
434
|
attach_function :with_multipart_file_v2, :pactffi_with_multipart_file_v2,
|
438
435
|
%i[uint32_type int32 string string string string], :pointer
|
439
436
|
attach_function :message_with_metadata_v2, :pactffi_message_with_metadata_v2, %i[uint32_type string string], :void
|
440
|
-
attach_function :with_generators, :pactffi_with_generators, %i[uint32_type
|
437
|
+
attach_function :with_generators, :pactffi_with_generators, %i[uint32_type int32 string], :bool
|
438
|
+
attach_function :async_message_generate_contents, :pactffi_async_message_generate_contents, %i[pointer], :pointer
|
439
|
+
attach_function :message_contents_delete, :pactffi_message_contents_delete, %i[pointer], :void
|
440
|
+
attach_function :pact_async_message_iter_next, :pactffi_pact_async_message_iter_next, %i[pointer], :pointer
|
441
|
+
attach_function :pact_async_message_iter_delete, :pactffi_pact_async_message_iter_delete, %i[pointer], :void
|
442
|
+
attach_function :sync_message_generate_request_contents, :pactffi_sync_message_generate_request_contents,
|
443
|
+
%i[pointer], :pointer
|
444
|
+
attach_function :sync_message_generate_response_contents, :pactffi_sync_message_generate_response_contents,
|
445
|
+
%i[pointer size_t], :pointer
|
446
|
+
attach_function :response_status_v2, :pactffi_response_status_v2, %i[uint32_type string], :bool
|
447
|
+
attach_function :set_key, :pactffi_set_key, %i[uint32_type string], :bool
|
448
|
+
attach_function :set_pending, :pactffi_set_pending, %i[uint32_type bool], :bool
|
449
|
+
attach_function :set_comment, :pactffi_set_comment, %i[uint32_type string string], :bool
|
450
|
+
attach_function :add_text_comment, :pactffi_add_text_comment, %i[uint32_type string], :bool
|
451
|
+
attach_function :pact_handle_get_async_message_iter, :pactffi_pact_handle_get_async_message_iter, %i[uint16], :pointer
|
441
452
|
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.
|
4
|
+
version: 0.4.26.0
|
5
5
|
platform: x86_64-linux-musl
|
6
6
|
authors:
|
7
7
|
- Yousaf Nabi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
|
-
rubygems_version: 3.5.
|
157
|
+
rubygems_version: 3.5.22
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Pact Reference FFI libpact_ffi library wrapper
|