pact-ffi 0.4.22.2-x86_64-linux → 0.4.26.0-x86_64-linux

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: eadc1ddd634d6192733f78b898da59fc5e8680d2a880bcca6901daac18f90711
4
- data.tar.gz: 3cfb9846ad047a1b3c4a766705cf94e5fbd2fdd74893cae6c5d7c6ec9e33508d
3
+ metadata.gz: 1e25e52eac10207249c2635499118a9e197a008eb324c75c26b7f606fc56ae1f
4
+ data.tar.gz: a46d512f3b998ad1ba4d4f69c7a4c89ce76e7bfb003ac3d1b090c5a8b85b94b4
5
5
  SHA512:
6
- metadata.gz: 4e83cfcbed775d1f02e6e829ab2510987a3d19648512a5b1a6ea5c0206b550396b82725b31503dfd42b38695a8a2e3ed5e58d726a73deaf587d741426d81be14
7
- data.tar.gz: 368d5fda788f114de05497c2e2bf9988b157a724cf4c3bc0c2993f7ae5bb4fcc10b69c0e8271cdde25ba99de07ce14dc409513d8384a377e3956a218f9815fc8
6
+ metadata.gz: 1ae7cf222347babb662fce8da0e6905bd2121c544fa36b524dc62395e7ff2264ffa16680557fbed1f9f75e89e4b8469c15d47816ea85ae1b5d7070263e31a087
7
+ data.tar.gz: a41ed7216cec92886e5e8cab2cfb838b7b3a19d4b54776fab3b4d8a1d254eab894e908ab5172ba19ab14952f7a626c04f8ee7b2361f98c8153e22d912c08e424
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
- | OSX | 2.6 - 3.3 | x86_64 | ✅ | x86_64-darwin |
46
- | OSX | 2.6 - 3.3 | aarch64 (arm)| ✅ | arm64-darwin |
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 :pact_handle_get_sync_message_iter, :pactffi_pact_handle_get_sync_message_iter, %i[uint16], :pointer
37
+ attach_function :get_iter, :pactffi_pact_handle_get_sync_message_iter, %i[uint16], :pointer
37
38
  end
38
39
  end
@@ -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
@@ -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], :void
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
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Version
3
- VERSION = '0.4.22.2'
3
+ VERSION = '0.4.26.0'
4
4
  end
5
5
  end
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 :message_with_metadata_v2, :pactffi_message_with_metadata_v2, %i[uint32_type string string], :void
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], :void
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 int string], :bool
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.22.2
4
+ version: 0.4.26.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Yousaf Nabi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-16 00:00:00.000000000 Z
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.11
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