pact-ffi 0.4.22-x86_64-linux-musl → 0.4.22.1-x86_64-linux-musl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/pact/ffi/plugin_consumer.rb +3 -3
 - data/lib/pact/ffi/verifier.rb +1 -1
 - data/lib/pact/ffi/version.rb +1 -1
 - data/lib/pact/ffi.rb +115 -60
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 21e2a1d0d38cca5d53274057249ecf6613dcb6d2dee8ec296626655696fddbde
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0c76ab52a472855ef09575f78306f8ac19d256df9fe3c6a21d968e28b13ee2fb
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: aacf30b458303ebd399958f2097a62500d8cdee908287b1794f6e091e64eb5057ed452575cc6377fba82c9ae26a228553c5f897d573e9a6eaba6194d50f5b7cc
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 47ff1a3c8a4cc9a93cab7d7fcfaacbd4cfb391550606e8dbed0d9a5c837e31a1e1f7e81d4bd656622f5dd1eb48adacc882c9a8ecf7ad8e191ea803517af7be52
         
     | 
| 
         @@ -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[ 
     | 
| 
       36 
     | 
    
         
            -
                attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[ 
     | 
| 
      
 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
         
     | 
    
        data/lib/pact/ffi/verifier.rb
    CHANGED
    
    | 
         @@ -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  
     | 
| 
      
 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
         
     | 
    
        data/lib/pact/ffi/version.rb
    CHANGED
    
    
    
        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], 
     | 
| 
      
 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, 
     | 
| 
      
 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, 
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
      
 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, 
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
      
 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, 
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
              attach_function : 
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
              attach_function : 
     | 
| 
       170 
     | 
    
         
            -
             
     | 
| 
       171 
     | 
    
         
            -
              attach_function : 
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
       198 
     | 
    
         
            -
             
     | 
| 
       199 
     | 
    
         
            -
              attach_function : 
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
      
 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, 
     | 
| 
       204 
     | 
    
         
            -
             
     | 
| 
       205 
     | 
    
         
            -
              attach_function : 
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
      
 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], 
     | 
| 
      
 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, 
     | 
| 
       214 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
       272 
     | 
    
         
            -
             
     | 
| 
       273 
     | 
    
         
            -
              attach_function : 
     | 
| 
       274 
     | 
    
         
            -
             
     | 
| 
       275 
     | 
    
         
            -
              attach_function : 
     | 
| 
      
 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, 
     | 
| 
       279 
     | 
    
         
            -
             
     | 
| 
       280 
     | 
    
         
            -
              attach_function : 
     | 
| 
       281 
     | 
    
         
            -
             
     | 
| 
       282 
     | 
    
         
            -
              attach_function : 
     | 
| 
       283 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
       287 
     | 
    
         
            -
             
     | 
| 
      
 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, 
     | 
| 
      
 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], 
     | 
| 
      
 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], 
     | 
| 
      
 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], 
     | 
| 
      
 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], 
     | 
| 
      
 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, 
     | 
| 
       347 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
       350 
     | 
    
         
            -
             
     | 
| 
      
 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, 
     | 
| 
       354 
     | 
    
         
            -
             
     | 
| 
      
 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], 
     | 
| 
       360 
     | 
    
         
            -
             
     | 
| 
      
 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[ 
     | 
| 
       368 
     | 
    
         
            -
              attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[ 
     | 
| 
       369 
     | 
    
         
            -
              attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string 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
         
     | 
| 
      
 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, 
     | 
| 
      
 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], 
     | 
| 
      
 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, 
     | 
| 
      
 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: 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-08- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-08-16 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: cucumber
         
     |