pact-ffi 0.4.22.2-aarch64-linux → 0.4.26.0-aarch64-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: f70ce88ee2f2cca14420b94cf7e9495b211f6510058e92e770abdd288a1cb329
4
- data.tar.gz: 41c4188a0de2acd577d86f49317883baa1f9368dd0c62721436d1076c5b69cb5
3
+ metadata.gz: 16a857013b2d4d48f29909ae588696a47ce1e268271497ae266cd129a47c4d46
4
+ data.tar.gz: 225fe14209634949a91a13cf0d1b95bc2e180a5d9f6111dd44c04edacc7302de
5
5
  SHA512:
6
- metadata.gz: 278e36a675cc924f26e668169d11825821d6f023b7dffa50bd5c38353ab3a538c276931e8d9d636ddd62317e672e50ab41672f6aa355980c0cfa5a02d1fb1f56
7
- data.tar.gz: 7e3931aa801658eec53004c85ae2793df3295af839177c03f69f599b7230e1dcb24ceaddc06a2596c31e02b89ecb2538bc5e8c200a08829542850188122e28ad
6
+ metadata.gz: fa6964bcee89cce716b1010ee6f4576c8efd94aae765630d3b31e1520efdd17c4f150e95953fc59cc4ac23e692ecafb96c3a22d00f4687ea6b03fcb8d26c7ce0
7
+ data.tar.gz: dcb0557d793fc97744069f5274a8ad92ef6c1053c8ebd3c039fbc9d949c1f174f2f1038bf04c7a9d75e6949c90c151122f0e0497beac751d32e6d46469908cc2
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: aarch64-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