pact-ffi 0.5.3.0-aarch64-linux → 0.5.8.1-aarch64-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24a1e74e715d14b8d04142923015d16e5d3f50a7c19901eaf1d31df6a4c7c988
4
- data.tar.gz: e7dad5c56bfb2b207f65fc6710f84b2cc532d0c3fb54eceb72441b84747eb98d
3
+ metadata.gz: b1af18524dfda08cbb91af04986c207a8e5ee540617405d77be7984da632efdd
4
+ data.tar.gz: 9cb0214daf0aa4ac26c010426ab862ddcf5a945e54a80a9e1000ed44b9e8d9cb
5
5
  SHA512:
6
- metadata.gz: 7758114541904e9ed69e8ab583ad7789964b2218c104d845d8b16e6d937213c76f66c69e0d92227feb135716baacafb5b09eb63912982ef72d1b6156ded09723
7
- data.tar.gz: fc22e801db92ebb659f1195f73223dad30a969551877887448b580785866903512babd0479e8d7964e2a67b1078ce2193de11d19234fe0d7439f15f26d4a947a
6
+ metadata.gz: a7a175b4ac7e8b0583ee0ebb8da3ce1b5c11d21abfdbfb5abcad17eff608ef55cbffc6391caee7ae704527139b698581878397dec5327339a535a056e350eef4
7
+ data.tar.gz: eac3f2baa35bd62c5e3897810883885d1d78dda834e928920ae594af058b829a72fc6f6ddb47570a26da0366e40d11e8611347cb3765271e3efa3e8e99f4a893
data/CHANGELOG.md ADDED
@@ -0,0 +1,217 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ <!-- markdownlint-disable no-duplicate-heading -->
6
+ <!-- markdownlint-disable emph-style -->
7
+ <!-- markdownlint-disable strong-style -->
8
+
9
+ ## [0.5.8.1] _2026-09-14_
10
+
11
+ ### 📦 Other
12
+
13
+ - Bump pact-ffi to 0.5.7
14
+ - Copy ci test trigger to grpc job
15
+
16
+ ### 🛠️ Miscellaneous Tasks
17
+
18
+ - Use uint32 on windows as uint32_t not avail
19
+
20
+ ### Contributors
21
+
22
+ - @YOU54F
23
+
24
+ ## [0.5.4.0] _2026-07-10_
25
+
26
+ ### 🚀 Features
27
+
28
+ - Bind pactffi_add_interaction_reference
29
+
30
+ ### 🐛 Bug Fixes
31
+
32
+ - Add logger dependency for Ruby 4.0
33
+
34
+ ### 🚜 Refactor
35
+
36
+ - Replace bash download scripts with Ruby
37
+
38
+ ### 📚 Documentation
39
+
40
+ - Update developer documentation
41
+ - Note the FFI version is derived from version.rb
42
+
43
+ ### 🛠️ Miscellaneous Tasks
44
+
45
+ - Remove legacy files
46
+ - Add release tooling
47
+ - _(ci)_ Modernise test matrix and add PR-driven release workflow
48
+ - Fix buffer limit on Alpine Ruby 3.3
49
+ - _(ci)_ Minor refactor
50
+ - Add ruby version file
51
+
52
+ ### Contributors
53
+
54
+ - @JP-Ellis
55
+
56
+ ## [0.5.3.0] _2026-02-23_
57
+
58
+ ### 📦 Other
59
+
60
+ - Create publish workflow
61
+ - Update API token reference
62
+
63
+ ### 🛠️ Miscellaneous Tasks
64
+
65
+ - Bump version to 0.5.3.0
66
+ - _(ci)_ Add ruby-version to publish workflow [skip ci]
67
+ - _(ci)_ Add blank audience [skip ci]
68
+ - _(ci)_ Add publish step [skip ci]
69
+
70
+ ### Contributors
71
+
72
+ - @YOU54F
73
+ - @Copilot
74
+
75
+ ## [0.4.28.0] _2025-08-29_
76
+
77
+ ### 📦 Other
78
+
79
+ - Update to libpact_ffi-0.4.28
80
+
81
+ ### 🛠️ Miscellaneous Tasks
82
+
83
+ - Only download standalone as it contains rust tools now
84
+
85
+ ### Contributors
86
+
87
+ - @YOU54F
88
+
89
+ ## [0.4.26.0] _2024-12-21_
90
+
91
+ ### 🚀 Features
92
+
93
+ - Pact-ruby ffi
94
+ - Add specs to test
95
+ - _(ci)_ Test crossplatform
96
+ - _(examples)_ Add init grpc.io ruby example
97
+ - _(examples)_ Add area calculator grpc / test with pact plugin
98
+ - Run plugin in CI
99
+ - Test/publish/verify x-plat
100
+ - All fully converted ffi lib
101
+ - Rework for release
102
+ - Release multi-arch gems
103
+ - Support alpine/musl targets
104
+ - Add basic V1 consumer example
105
+ - Add basic fixture
106
+ - Setup features under spec version/feature type
107
+ - Add V1 scenarios for unexpected requests + requests with query parameters
108
+ - Add remaining V1 HTTP consumer scenarios
109
+ - Add V1 HTTP provider feature
110
+ - Add V1 HTTP provider examples using a Pact broker
111
+ - Correct the V1 HTTP provider feature
112
+ - Add scenarios for dealing with provider states
113
+ - Add scenarios for no provider state callback configured + request filters
114
+ - Add initial V2 HTTP scenarios
115
+ - _(V1)_ Add scenarios for verifying different HTTP response parts
116
+ - _(V2)_ Add scenarios for matching rules on different HTTP response parts
117
+ - _(V2)_ Add fixtures for matching rules on different HTTP response parts
118
+ - _(V2)_ Add scenarios for matching rules when verifying different HTTP response parts
119
+ - _(V2)_ Add negative scenario for repeated request query parameters
120
+ - _(V1)_ Add scenarios for other content types than JSON
121
+ - _(V1)_ Add scenarios for multipart bodies
122
+ - Add remaining V2 provider scenarios
123
+ - Add V3 HTTP + JSON features
124
+ - Add V3 matching rule scenarios
125
+ - Add V3 generator scenarios
126
+ - Add V3 HTTP generator scenarios
127
+ - Update V3 features and fixtures
128
+ - Add V3 message consumer feature
129
+ - Add V3 message provider feature
130
+ - Add V4 features
131
+ - Add missing V3 matching rule scenarios
132
+ - Add V3 generator and matching rule scenarios
133
+ - Update V4 mismatch errors
134
+ - Add V4 message scenarios
135
+ - Add Synchronous Messages feature
136
+ - Add interaction description to the published verification results
137
+ - Add some more ffi methods
138
+ - Add x64-mingw32 platform
139
+
140
+ ### 🐛 Bug Fixes
141
+
142
+ - Use uint32 on windows as uint32_t not avail
143
+ - Content_type_detection_plus_aarch64_musl_so
144
+ - Correct the pact broker fixtures to be inline with Pact-Rust
145
+ - Correct regex in the pact-broker_c1 fixture
146
+ - Correct the error messages in V2 HTTP consumer scenarios
147
+ - Correct V1 error message, which was not consistent with V3
148
+ - Correct grammar in error messages
149
+ - Update error steps to support regexes due to optional spaces
150
+ - Small typos + added message tag
151
+ - Add missing fixture file
152
+ - Make empty body explicit
153
+ - Ffi interface fixes
154
+
155
+ ### 📚 Documentation
156
+
157
+ - Add some doccos :)
158
+ - Update compat table
159
+
160
+ ### 🧪 Testing
161
+
162
+ - Add calculateOne test
163
+ - Refactor server to be started outside of test
164
+ - Add pact-compatibility-suite partially impl v4 spec
165
+ - _(ci)_ Add compat-suite to ci
166
+ - Replace sleep with healthchecks
167
+
168
+ ### 📦 Other
169
+
170
+ - Download libs for grpc example and test x rubies
171
+ - X-plat build/test - windows dll name
172
+ - Testy:
173
+ - Winnebago:
174
+ - Cirrus arm64 + osx arm64 install rspec
175
+ - Cirrus arm64 lookup
176
+ - Test grpc on arm64
177
+ - Test grpc on arm64
178
+ - _(test)_ Add sleep as set path sep for windows
179
+ - Alpine qemu slow so increase healthcheck duration
180
+ - Macos-12 -> macos-13
181
+ - Exclude grpc tests on linux/macos ruby 3.0
182
+
183
+ ### 🛠️ Miscellaneous Tasks
184
+
185
+ - Bundle on relative path not abs
186
+ - Use libs in users home folder
187
+ - Libpact_ffi-v0.4.4 - fiddle + arm64 aarch workaround
188
+ - Libpact_ffi-v0.4.4 - fiddle + arm64 aarch workaround
189
+ - Release 0.0.3
190
+ - Release 0.0.3
191
+ - Fixup grpc test
192
+ - Dont clobber defs
193
+ - Use webrick over thin
194
+ - Revert back to pf releases post libpact_ffi 0.4.21 release
195
+ - Minor update
196
+ - Re-arrange feature layout
197
+ - Add pact-foundation triage automation
198
+ - Correct V3 content type matcher scenarios
199
+ - Remove duplicated scenarios
200
+ - Add @wip tag to Kafka scenario
201
+ - Add smartbear supported jira integration
202
+ - Compat suite subtree
203
+ - Revert to pact-foundation libpact_ffi releases
204
+ - _(test)_ Add basic-server
205
+ - _(win)_ Sleep 2 use localhost for verifier
206
+ - _(release)_ 0.4.22 - musl support
207
+ - Fix plugin should be uint16 not pointer
208
+ - Update rel script to grab version from version.rb
209
+
210
+ ### Contributors
211
+
212
+ - @YOU54F
213
+ - @mefellows
214
+ - @rholshausen
215
+ - @tienvx
216
+
217
+ <!-- generated by git-cliff on 2026-06-19-->
Binary file
@@ -29,5 +29,6 @@ module PactFfi
29
29
  attach_function :iter_next, :pactffi_pact_async_message_iter_next, %i[pointer], :pointer
30
30
  attach_function :iter_delete, :pactffi_pact_async_message_iter_delete, %i[pointer], :void
31
31
  attach_function :get_iter, :pactffi_pact_handle_get_async_message_iter, %i[uint16], :pointer
32
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
32
33
  end
33
34
  end
@@ -38,5 +38,6 @@ module PactFfi
38
38
  attach_function :with_matching_rules, :pactffi_with_matching_rules, %i[uint32_type int32 string], :bool
39
39
  attach_function :with_generators, :pactffi_with_generators, %i[uint32_type int32 string], :bool
40
40
  attach_function :with_multipart_file_v2, :pactffi_with_multipart_file_v2, %i[uint32_type int32 string string string string], :pointer
41
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
41
42
  end
42
43
  end
@@ -126,5 +126,6 @@ module PactFfi
126
126
  attach_function :free_handle, :pactffi_free_message_pact_handle, %i[uint16], :uint32_type
127
127
  attach_function :pact_handle_get_message_iter, :pactffi_pact_handle_get_message_iter, %i[uint16], :pointer
128
128
  attach_function :with_metadata_v2, :pactffi_message_with_metadata_v2, %i[uint32_type string string], :void
129
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
129
130
  end
130
131
  end
@@ -33,8 +33,12 @@ module PactFfi
33
33
  ]
34
34
 
35
35
  attach_function :using_plugin, :pactffi_using_plugin, %i[uint16 string string], :uint32_type
36
+ attach_function :using_plugin_with_delay, :pactffi_using_plugin_with_delay, %i[uint16 string string ulong_long], :uint32_type
36
37
  attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[uint16], :void
37
38
  attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
38
39
  :uint32_type
40
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
41
+ attach_function :register_plugin_log_callback, :pactffi_register_plugin_log_callback, %i[pointer], :void
42
+ attach_function :get_plugin_logs, :pactffi_get_plugin_logs, %i[string], :string
39
43
  end
40
44
  end
@@ -32,5 +32,6 @@ module PactFfi
32
32
  attach_function :iter_next, :pactffi_pact_sync_http_iter_next, %i[pointer], :pointer
33
33
  attach_function :iter_delete, :pactffi_pact_sync_http_iter_delete, %i[pointer], :void
34
34
  attach_function :pact_handle_get_sync_http_iter, :pactffi_pact_handle_get_sync_http_iter, %i[uint16], :pointer
35
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
35
36
  end
36
37
  end
@@ -35,5 +35,6 @@ module PactFfi
35
35
  attach_function :get_provider_state_iter, :pactffi_sync_message_get_provider_state_iter, %i[pointer], :pointer
36
36
  attach_function :new_interaction, :pactffi_new_sync_message_interaction, %i[uint16 string], :uint32_type
37
37
  attach_function :get_iter, :pactffi_pact_handle_get_sync_message_iter, %i[uint16], :pointer
38
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
38
39
  end
39
40
  end
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Version
3
- VERSION = '0.5.3.0'
3
+ VERSION = '0.5.8.1'
4
4
  end
5
5
  end
data/lib/pact/ffi.rb CHANGED
@@ -412,6 +412,7 @@ module PactFfi
412
412
  attach_function :verifier_json, :pactffi_verifier_json, %i[pointer], :string
413
413
  attach_function :verifier_set_follow_redirects, :pactffi_verifier_set_follow_redirects, %i[pointer uint8], :void
414
414
  attach_function :using_plugin, :pactffi_using_plugin, %i[uint16 string string], :uint32_type
415
+ attach_function :using_plugin_with_delay, :pactffi_using_plugin_with_delay, %i[uint16 string string ulong_long], :uint32_type
415
416
  attach_function :cleanup_plugins, :pactffi_cleanup_plugins, %i[uint16], :void
416
417
  attach_function :interaction_contents, :pactffi_interaction_contents, %i[uint32_type int32 string string],
417
418
  :uint32_type
@@ -446,4 +447,8 @@ module PactFfi
446
447
  attach_function :set_comment, :pactffi_set_comment, %i[uint32_type string string], :bool
447
448
  attach_function :add_text_comment, :pactffi_add_text_comment, %i[uint32_type string], :bool
448
449
  attach_function :pact_handle_get_async_message_iter, :pactffi_pact_handle_get_async_message_iter, %i[uint16], :pointer
450
+ attach_function :add_interaction_reference, :pactffi_add_interaction_reference, %i[uint32_type string string string], :bool
451
+ attach_function :set_test_run_id, :pactffi_set_test_run_id, %i[string], :void
452
+ attach_function :register_plugin_log_callback, :pactffi_register_plugin_log_callback, %i[pointer], :void
453
+ attach_function :get_plugin_logs, :pactffi_get_plugin_logs, %i[string], :string
449
454
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3.0
4
+ version: 0.5.8.1
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Yousaf Nabi
@@ -37,6 +37,20 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: 0.21.0
40
+ - !ruby/object:Gem::Dependency
41
+ name: logger
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
40
54
  - !ruby/object:Gem::Dependency
41
55
  name: nokogiri
42
56
  requirement: !ruby/object:Gem::Requirement
@@ -130,6 +144,7 @@ executables: []
130
144
  extensions: []
131
145
  extra_rdoc_files: []
132
146
  files:
147
+ - CHANGELOG.md
133
148
  - LICENSE.txt
134
149
  - README.md
135
150
  - bin/console
@@ -166,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
181
  - !ruby/object:Gem::Version
167
182
  version: '0'
168
183
  requirements: []
169
- rubygems_version: 3.6.9
184
+ rubygems_version: 4.0.10
170
185
  specification_version: 4
171
186
  summary: Pact Reference FFI libpact_ffi library wrapper
172
187
  test_files: []