pact-ffi 0.4.22.1-aarch64-linux-musl → 0.4.26.0-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: 28f547d98682d1270009331a193aa5b8278130bb2e830f185ca5e28925947096
4
- data.tar.gz: b49e93ab3b35b3fe33e24bce1dfdafe7f45bc8342d01bcb010d2cf049fc8ffc4
3
+ metadata.gz: c14e985f91bb4759e1f829d0348e45223c000c0d59ce5a2fdf405234169ea375
4
+ data.tar.gz: '0698a9aedc14a4446d75eb2d8461de30a558c8e1a0b452d454717fdad6a395ae'
5
5
  SHA512:
6
- metadata.gz: 006efde9f404164597830e05524703050085e12655801fc457b9f274423ad3eafff67cf2a884ef51e209152b0adfa60afb1cbceb4ceb31266ccad8ff042e24db
7
- data.tar.gz: 5ac075126cea2f6801c4287bf184e93890b1f4559dc792006bd9236d4c8ff4a8c50148ca685d2d1879ad8815cb2c4a21d2a963242cce071b33582c084a86a3b2
6
+ metadata.gz: 5a9765f46ba221f7e2f68ec8d25a8daf42a8ef79c9b646e4b4be08b1577c07009a2fd00549605d3623cc7bd5aade762ed6935c155f7b7d777eae2c0fd7af4a0d
7
+ data.tar.gz: '0996ac0b000d2e2ee4387a33bd4e52f1b336694878c7f19fbc7ea0ea75321f8ef4a8c095392ed10da9089dbc119c701b9d3763321d0c3be166a19c5ae21c13cb'
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
@@ -32,8 +32,8 @@ module PactFfi
32
32
  'RESULT_FAILED' => 1,
33
33
  ]
34
34
 
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
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
37
37
  attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
38
38
  :uint32_type
39
39
  end
@@ -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.1'
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,15 +407,15 @@ 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
415
414
  attach_function :verifier_logs_for_provider, :pactffi_verifier_logs_for_provider, %i[string], :string
416
415
  attach_function :verifier_output, :pactffi_verifier_output, %i[pointer uint8], :string
417
416
  attach_function :verifier_json, :pactffi_verifier_json, %i[pointer], :string
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
417
+ attach_function :using_plugin, :pactffi_using_plugin, %i[uint16 string string], :uint32_type
418
+ attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[uint16], :void
420
419
  attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
421
420
  :uint32_type
422
421
  attach_function :matches_string_value, :pactffi_matches_string_value, %i[pointer string string uint8], :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.1
4
+ version: 0.4.26.0
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-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
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -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