talon_one 6.0.0 → 8.0.0

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.
Files changed (913) hide show
  1. checksums.yaml +4 -4
  2. data/.github/.example/.bundle/config +2 -0
  3. data/.github/.example/Gemfile +6 -0
  4. data/.github/.example/Gemfile.lock +47 -0
  5. data/.github/.example/example.rb +85 -0
  6. data/.github/.example/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-24/3.3.0/json-2.8.2/gem.build_complete +0 -0
  7. data/.github/.example/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-24/3.3.0/json-2.8.2/gem_make.out +24 -0
  8. data/.github/.example/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-24/3.3.0/json-2.8.2/json/ext/generator.bundle +0 -0
  9. data/.github/.example/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-24/3.3.0/json-2.8.2/json/ext/parser.bundle +0 -0
  10. data/.github/.example/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-24/3.3.0/json-2.8.2/mkmf.log +177 -0
  11. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
  12. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.gitignore +8 -0
  13. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.rspec +3 -0
  14. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  15. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Gemfile +43 -0
  16. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Guardfile +10 -0
  17. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/LICENSE +20 -0
  18. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/README.md +118 -0
  19. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Rakefile +40 -0
  20. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/ethon.gemspec +26 -0
  21. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curl.rb +90 -0
  22. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
  23. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/codes.rb +122 -0
  24. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/constants.rb +80 -0
  25. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/form_options.rb +37 -0
  26. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/functions.rb +58 -0
  27. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/infos.rb +151 -0
  28. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/messages.rb +19 -0
  29. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
  30. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/settings.rb +12 -0
  31. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
  32. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/debug_info.rb +47 -0
  33. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/features.rb +31 -0
  34. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/form.rb +107 -0
  35. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/header.rb +61 -0
  36. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/actionable.rb +157 -0
  37. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/custom.rb +29 -0
  38. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/delete.rb +25 -0
  39. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/get.rb +24 -0
  40. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/head.rb +24 -0
  41. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/options.rb +24 -0
  42. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/patch.rb +24 -0
  43. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/post.rb +26 -0
  44. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/postable.rb +32 -0
  45. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/put.rb +27 -0
  46. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/putable.rb +25 -0
  47. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http.rb +68 -0
  48. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
  49. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/mirror.rb +36 -0
  50. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/operations.rb +64 -0
  51. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/options.rb +50 -0
  52. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/params.rb +29 -0
  53. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/queryable.rb +154 -0
  54. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
  55. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/util.rb +28 -0
  56. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy.rb +315 -0
  57. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/ethon_error.rb +9 -0
  58. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/global_init.rb +13 -0
  59. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_option.rb +13 -0
  60. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_value.rb +13 -0
  61. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_add.rb +12 -0
  62. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_fdset.rb +12 -0
  63. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_remove.rb +12 -0
  64. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_timeout.rb +13 -0
  65. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/select.rb +13 -0
  66. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors.rb +17 -0
  67. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/libc.rb +21 -0
  68. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/loggable.rb +59 -0
  69. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/operations.rb +228 -0
  70. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/options.rb +117 -0
  71. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/stack.rb +49 -0
  72. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi.rb +126 -0
  73. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
  74. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon.rb +36 -0
  75. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/benchmarks.rb +104 -0
  76. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/memory_leaks.rb +114 -0
  77. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb +37 -0
  78. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/memory_test_helpers.rb +76 -0
  79. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/os_memory_leak_tracker.rb +48 -0
  80. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/ruby_object_leak_tracker.rb +49 -0
  81. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/curl_spec.rb +38 -0
  82. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
  83. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/debug_info_spec.rb +54 -0
  84. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/features_spec.rb +24 -0
  85. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/form_spec.rb +104 -0
  86. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/header_spec.rb +79 -0
  87. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/custom_spec.rb +177 -0
  88. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/delete_spec.rb +21 -0
  89. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/get_spec.rb +126 -0
  90. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/head_spec.rb +80 -0
  91. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/options_spec.rb +51 -0
  92. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/patch_spec.rb +51 -0
  93. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/post_spec.rb +317 -0
  94. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/put_spec.rb +168 -0
  95. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http_spec.rb +64 -0
  96. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
  97. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
  98. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
  99. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/options_spec.rb +193 -0
  100. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/queryable_spec.rb +235 -0
  101. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
  102. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/util_spec.rb +28 -0
  103. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy_spec.rb +203 -0
  104. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/libc_spec.rb +14 -0
  105. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb +22 -0
  106. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/operations_spec.rb +298 -0
  107. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/options_spec.rb +182 -0
  108. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/stack_spec.rb +80 -0
  109. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi_spec.rb +152 -0
  110. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/spec_helper.rb +28 -0
  111. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/localhost_server.rb +95 -0
  112. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/server.rb +115 -0
  113. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/CHANGELOG.md +456 -0
  114. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/COPYING +49 -0
  115. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/Gemfile +21 -0
  116. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/LICENSE +24 -0
  117. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/LICENSE.SPECS +22 -0
  118. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/README.md +137 -0
  119. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/Rakefile +206 -0
  120. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/ffi.gemspec +42 -0
  121. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/2.5/ffi_c.bundle +0 -0
  122. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/2.6/ffi_c.bundle +0 -0
  123. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/2.7/ffi_c.bundle +0 -0
  124. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/3.0/ffi_c.bundle +0 -0
  125. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/3.1/ffi_c.bundle +0 -0
  126. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/3.2/ffi_c.bundle +0 -0
  127. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/3.3/ffi_c.bundle +0 -0
  128. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/abstract_memory.rb +44 -0
  129. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/autopointer.rb +180 -0
  130. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/buffer.rb +4 -0
  131. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/callback.rb +4 -0
  132. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/compat.rb +43 -0
  133. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/data_converter.rb +67 -0
  134. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/dynamic_library.rb +118 -0
  135. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/enum.rb +302 -0
  136. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/errno.rb +43 -0
  137. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/ffi.rb +50 -0
  138. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/function.rb +71 -0
  139. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/io.rb +62 -0
  140. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/library.rb +576 -0
  141. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/library_path.rb +109 -0
  142. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/managedstruct.rb +84 -0
  143. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/memorypointer.rb +1 -0
  144. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
  145. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
  146. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
  147. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-linux/types.conf +175 -0
  148. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
  149. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/aarch64-windows/types.conf +52 -0
  150. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/arm-freebsd/types.conf +152 -0
  151. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
  152. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/arm-linux/types.conf +132 -0
  153. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/hppa1.1-linux/types.conf +178 -0
  154. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/hppa2.0-linux/types.conf +178 -0
  155. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-cygwin/types.conf +3 -0
  156. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-darwin/types.conf +100 -0
  157. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  158. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
  159. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-gnu/types.conf +107 -0
  160. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-linux/types.conf +103 -0
  161. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  162. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-openbsd/types.conf +128 -0
  163. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-solaris/types.conf +122 -0
  164. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/i386-windows/types.conf +52 -0
  165. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/ia64-linux/types.conf +104 -0
  166. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/loongarch64-linux/types.conf +141 -0
  167. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mips-linux/types.conf +102 -0
  168. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mips64-linux/types.conf +104 -0
  169. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mips64el-linux/types.conf +104 -0
  170. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  171. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
  172. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
  173. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
  174. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
  175. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc-aix/types.conf +180 -0
  176. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
  177. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc-linux/types.conf +130 -0
  178. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
  179. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
  180. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
  181. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/riscv64-linux/types.conf +104 -0
  182. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/s390-linux/types.conf +102 -0
  183. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/s390x-linux/types.conf +102 -0
  184. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sparc-linux/types.conf +102 -0
  185. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sparc-solaris/types.conf +128 -0
  186. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sparcv9-linux/types.conf +102 -0
  187. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
  188. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
  189. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/sw_64-linux/types.conf +141 -0
  190. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
  191. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
  192. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
  193. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
  194. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
  195. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
  196. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-linux/types.conf +132 -0
  197. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-msys/types.conf +119 -0
  198. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
  199. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
  200. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
  201. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform/x86_64-windows/types.conf +52 -0
  202. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/platform.rb +187 -0
  203. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/pointer.rb +167 -0
  204. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/struct.rb +317 -0
  205. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/struct_by_reference.rb +72 -0
  206. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/struct_layout.rb +96 -0
  207. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/struct_layout_builder.rb +227 -0
  208. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/tools/const_generator.rb +232 -0
  209. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/tools/generator.rb +105 -0
  210. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/tools/generator_task.rb +32 -0
  211. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/tools/struct_generator.rb +195 -0
  212. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/tools/types_generator.rb +137 -0
  213. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/types.rb +222 -0
  214. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/union.rb +43 -0
  215. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/variadic.rb +80 -0
  216. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi/version.rb +3 -0
  217. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/lib/ffi.rb +27 -0
  218. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/rakelib/ffi_gem_helper.rb +65 -0
  219. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/getlogin.rb +8 -0
  220. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/getpid.rb +8 -0
  221. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/gettimeofday.rb +18 -0
  222. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/hello.rb +8 -0
  223. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/hello_ractor.rb +11 -0
  224. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/inotify.rb +60 -0
  225. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/pty.rb +75 -0
  226. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/qsort.rb +20 -0
  227. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/samples/qsort_ractor.rb +28 -0
  228. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/abstract_memory.rbs +165 -0
  229. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/auto_pointer.rbs +27 -0
  230. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/buffer.rbs +18 -0
  231. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/data_converter.rbs +10 -0
  232. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/dynamic_library.rbs +9 -0
  233. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/enum.rbs +38 -0
  234. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/function.rbs +39 -0
  235. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/library.rbs +42 -0
  236. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/native_type.rbs +86 -0
  237. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/pointer.rbs +42 -0
  238. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/struct.rbs +76 -0
  239. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/struct_by_reference.rbs +11 -0
  240. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/struct_by_value.rbs +7 -0
  241. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/struct_layout.rbs +9 -0
  242. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/struct_layout_builder.rbs +5 -0
  243. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi/type.rbs +39 -0
  244. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.0-arm64-darwin/sig/ffi.rbs +26 -0
  245. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/BSDL +22 -0
  246. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/CHANGES.md +559 -0
  247. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/COPYING +56 -0
  248. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/LEGAL +60 -0
  249. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/README.md +195 -0
  250. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/fbuffer/fbuffer.h +184 -0
  251. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/generator/Makefile +270 -0
  252. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/generator/extconf.rb +10 -0
  253. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/generator/generator.c +1663 -0
  254. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/parser/Makefile +270 -0
  255. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/parser/extconf.rb +12 -0
  256. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/parser/parser.c +3238 -0
  257. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/parser/parser.rl +1465 -0
  258. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/json.gemspec +64 -0
  259. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/bigdecimal.rb +58 -0
  260. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/complex.rb +51 -0
  261. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/core.rb +12 -0
  262. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/date.rb +54 -0
  263. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/date_time.rb +67 -0
  264. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/exception.rb +49 -0
  265. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/ostruct.rb +54 -0
  266. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/range.rb +54 -0
  267. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/rational.rb +49 -0
  268. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/regexp.rb +48 -0
  269. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/set.rb +48 -0
  270. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/struct.rb +52 -0
  271. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/symbol.rb +47 -0
  272. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/add/time.rb +52 -0
  273. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/common.rb +876 -0
  274. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/ext/generator/state.rb +105 -0
  275. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/ext/generator.bundle +0 -0
  276. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/ext/parser.bundle +0 -0
  277. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/ext.rb +23 -0
  278. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/generic_object.rb +75 -0
  279. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/truffle_ruby/generator.rb +621 -0
  280. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json/version.rb +5 -0
  281. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/lib/json.rb +587 -0
  282. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.github/workflows/ci.yml +30 -0
  283. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.github/workflows/experimental.yml +33 -0
  284. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.gitignore +8 -0
  285. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/.rspec +4 -0
  286. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/CHANGELOG.md +410 -0
  287. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/CONTRIBUTING.md +20 -0
  288. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Gemfile +36 -0
  289. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Guardfile +9 -0
  290. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/LICENSE +22 -0
  291. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/README.md +588 -0
  292. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/Rakefile +38 -0
  293. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/UPGRADE.md +55 -0
  294. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
  295. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
  296. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/rack/typhoeus.rb +1 -0
  297. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/adapters/faraday.rb +180 -0
  298. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/dalli.rb +28 -0
  299. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/rails.rb +28 -0
  300. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/cache/redis.rb +35 -0
  301. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/config.rb +85 -0
  302. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/easy_factory.rb +206 -0
  303. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors/no_stub.rb +12 -0
  304. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors/typhoeus_error.rb +8 -0
  305. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/errors.rb +9 -0
  306. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/expectation.rb +217 -0
  307. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/addable.rb +23 -0
  308. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/before.rb +31 -0
  309. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/block_connection.rb +35 -0
  310. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/cacheable.rb +15 -0
  311. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/memoizable.rb +56 -0
  312. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/queueable.rb +83 -0
  313. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/runnable.rb +19 -0
  314. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra/stubbable.rb +28 -0
  315. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/hydra.rb +95 -0
  316. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/pool.rb +70 -0
  317. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/railtie.rb +12 -0
  318. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/actions.rb +125 -0
  319. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/before.rb +30 -0
  320. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/block_connection.rb +52 -0
  321. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/cacheable.rb +38 -0
  322. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/callbacks.rb +151 -0
  323. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/marshal.rb +22 -0
  324. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/memoizable.rb +38 -0
  325. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/operations.rb +40 -0
  326. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/responseable.rb +29 -0
  327. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/streamable.rb +34 -0
  328. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request/stubbable.rb +30 -0
  329. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/request.rb +223 -0
  330. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/cacheable.rb +14 -0
  331. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/header.rb +105 -0
  332. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/informations.rb +305 -0
  333. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response/status.rb +106 -0
  334. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/response.rb +68 -0
  335. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus/version.rb +5 -0
  336. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/lib/typhoeus.rb +143 -0
  337. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/perf/profile.rb +14 -0
  338. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/perf/vs_nethttp.rb +64 -0
  339. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
  340. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
  341. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/spec_helper.rb +29 -0
  342. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/localhost_server.rb +94 -0
  343. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/memory_cache.rb +15 -0
  344. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/support/server.rb +116 -0
  345. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/adapters/faraday_spec.rb +339 -0
  346. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/dalli_spec.rb +41 -0
  347. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/redis_spec.rb +41 -0
  348. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/config_spec.rb +15 -0
  349. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/easy_factory_spec.rb +143 -0
  350. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/errors/no_stub_spec.rb +13 -0
  351. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/expectation_spec.rb +280 -0
  352. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/addable_spec.rb +22 -0
  353. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/before_spec.rb +98 -0
  354. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
  355. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
  356. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
  357. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/queueable_spec.rb +98 -0
  358. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/runnable_spec.rb +137 -0
  359. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
  360. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra_spec.rb +22 -0
  361. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/pool_spec.rb +137 -0
  362. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/actions_spec.rb +19 -0
  363. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/before_spec.rb +93 -0
  364. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/block_connection_spec.rb +75 -0
  365. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/cacheable_spec.rb +94 -0
  366. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/callbacks_spec.rb +91 -0
  367. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/marshal_spec.rb +60 -0
  368. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/memoizable_spec.rb +34 -0
  369. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/operations_spec.rb +101 -0
  370. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/responseable_spec.rb +13 -0
  371. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request/stubbable_spec.rb +45 -0
  372. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/request_spec.rb +256 -0
  373. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/header_spec.rb +147 -0
  374. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/informations_spec.rb +323 -0
  375. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response/status_spec.rb +256 -0
  376. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus/response_spec.rb +100 -0
  377. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/spec/typhoeus_spec.rb +105 -0
  378. data/.github/.example/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.4.1/typhoeus.gemspec +25 -0
  379. data/.github/.example/vendor/bundle/ruby/3.3.0/specifications/ethon-0.16.0.gemspec +24 -0
  380. data/.github/.example/vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.0-arm64-darwin.gemspec +31 -0
  381. data/.github/.example/vendor/bundle/ruby/3.3.0/specifications/json-2.8.2.gemspec +0 -0
  382. data/.github/.example/vendor/bundle/ruby/3.3.0/specifications/typhoeus-1.4.1.gemspec +24 -0
  383. data/.github/dependabot.yml +10 -0
  384. data/.github/workflows/test.yml +75 -0
  385. data/README.md +563 -562
  386. data/docker-compose.yml +47 -0
  387. data/docs/AccountAnalytics.md +1 -1
  388. data/docs/Achievement.md +14 -4
  389. data/docs/AchievementAdditionalProperties.md +5 -3
  390. data/docs/AchievementProgress.md +3 -15
  391. data/docs/AddFreeItemEffectProps.md +3 -1
  392. data/docs/AdditionalCampaignProperties.md +5 -3
  393. data/docs/AnalyticsProduct.md +23 -0
  394. data/docs/AnalyticsProductSKU.md +21 -0
  395. data/docs/ApplicationCIF.md +1 -1
  396. data/docs/ApplicationCIFExpression.md +1 -1
  397. data/docs/ApplicationCampaignStats.md +2 -0
  398. data/docs/ApplicationCustomer.md +8 -8
  399. data/docs/ApplicationEntity.md +1 -1
  400. data/docs/ApplicationEvent.md +1 -1
  401. data/docs/ApplicationReferee.md +1 -1
  402. data/docs/ApplicationSession.md +4 -4
  403. data/docs/Audience.md +1 -1
  404. data/docs/AudienceCustomer.md +2 -2
  405. data/docs/BaseLoyaltyProgram.md +3 -1
  406. data/docs/Binding.md +1 -1
  407. data/docs/BulkOperationOnCampaigns.md +3 -1
  408. data/docs/Campaign.md +7 -3
  409. data/docs/CampaignEvaluationGroup.md +1 -1
  410. data/docs/CampaignNotificationPolicy.md +3 -1
  411. data/docs/CampaignSet.md +1 -1
  412. data/docs/CampaignStoreBudget.md +1 -1
  413. data/docs/CampaignTemplate.md +3 -1
  414. data/docs/CampaignTemplateCouponReservationSettings.md +19 -0
  415. data/docs/CampaignVersions.md +3 -1
  416. data/docs/CardExpiringPointsNotificationPolicy.md +3 -1
  417. data/docs/CatalogsStrikethroughNotificationPolicy.md +3 -1
  418. data/docs/Change.md +1 -1
  419. data/docs/CouponCreationJob.md +1 -1
  420. data/docs/CouponDeletionFilters.md +1 -1
  421. data/docs/CouponDeletionJob.md +1 -1
  422. data/docs/CouponsNotificationPolicy.md +5 -1
  423. data/docs/CreateAchievement.md +10 -2
  424. data/docs/CustomerInventory.md +1 -1
  425. data/docs/CustomerProfile.md +2 -2
  426. data/docs/CustomerProfileAudienceRequestItem.md +1 -1
  427. data/docs/CustomerSession.md +2 -2
  428. data/docs/CustomerSessionV2.md +8 -8
  429. data/docs/Environment.md +1 -1
  430. data/docs/Event.md +1 -1
  431. data/docs/ExpiringCouponsNotificationPolicy.md +3 -1
  432. data/docs/ExpiringPointsNotificationPolicy.md +3 -1
  433. data/docs/FeatureFlag.md +1 -1
  434. data/docs/GenerateCampaignDescription.md +2 -2
  435. data/docs/GenerateCampaignTags.md +2 -2
  436. data/docs/GenerateLoyaltyCard.md +3 -1
  437. data/docs/InlineResponse2001.md +3 -3
  438. data/docs/InlineResponse20010.md +3 -3
  439. data/docs/InlineResponse20011.md +3 -3
  440. data/docs/InlineResponse20012.md +1 -1
  441. data/docs/InlineResponse20013.md +1 -1
  442. data/docs/InlineResponse20014.md +1 -1
  443. data/docs/InlineResponse20015.md +3 -3
  444. data/docs/InlineResponse20016.md +3 -3
  445. data/docs/InlineResponse20017.md +3 -5
  446. data/docs/InlineResponse20018.md +2 -2
  447. data/docs/InlineResponse20019.md +3 -3
  448. data/docs/InlineResponse2002.md +3 -3
  449. data/docs/InlineResponse20020.md +5 -3
  450. data/docs/InlineResponse20021.md +3 -3
  451. data/docs/InlineResponse20022.md +3 -5
  452. data/docs/InlineResponse20023.md +3 -5
  453. data/docs/InlineResponse20024.md +4 -4
  454. data/docs/InlineResponse20025.md +4 -2
  455. data/docs/InlineResponse20026.md +4 -2
  456. data/docs/InlineResponse20027.md +2 -2
  457. data/docs/InlineResponse20028.md +1 -1
  458. data/docs/InlineResponse20029.md +3 -3
  459. data/docs/InlineResponse2003.md +1 -1
  460. data/docs/InlineResponse20030.md +2 -4
  461. data/docs/InlineResponse20031.md +3 -3
  462. data/docs/InlineResponse20032.md +3 -1
  463. data/docs/InlineResponse20033.md +1 -3
  464. data/docs/InlineResponse20034.md +3 -3
  465. data/docs/InlineResponse20035.md +1 -1
  466. data/docs/InlineResponse20036.md +1 -1
  467. data/docs/InlineResponse20037.md +5 -3
  468. data/docs/InlineResponse20038.md +1 -1
  469. data/docs/InlineResponse20039.md +1 -1
  470. data/docs/InlineResponse2004.md +1 -1
  471. data/docs/InlineResponse20040.md +1 -1
  472. data/docs/InlineResponse20041.md +1 -1
  473. data/docs/InlineResponse20042.md +2 -4
  474. data/docs/InlineResponse20043.md +1 -1
  475. data/docs/InlineResponse20044.md +4 -2
  476. data/docs/InlineResponse20045.md +3 -5
  477. data/docs/InlineResponse20046.md +3 -3
  478. data/docs/InlineResponse20047.md +5 -3
  479. data/docs/InlineResponse2005.md +3 -3
  480. data/docs/InlineResponse2006.md +3 -3
  481. data/docs/InlineResponse2007.md +1 -1
  482. data/docs/InlineResponse2008.md +1 -1
  483. data/docs/InlineResponse2009.md +3 -3
  484. data/docs/IntegrationApi.md +164 -26
  485. data/docs/IntegrationCustomerSessionResponse.md +1 -1
  486. data/docs/LedgerInfo.md +6 -2
  487. data/docs/LimitCounter.md +1 -1
  488. data/docs/ListCampaignStoreBudgets.md +23 -0
  489. data/docs/ListCampaignStoreBudgetsStore.md +21 -0
  490. data/docs/LoyaltyBalance.md +3 -1
  491. data/docs/LoyaltyBalanceWithTier.md +2 -0
  492. data/docs/LoyaltyBalances.md +1 -1
  493. data/docs/LoyaltyBalancesWithTiers.md +1 -1
  494. data/docs/LoyaltyCard.md +4 -0
  495. data/docs/LoyaltyCardBalances.md +1 -1
  496. data/docs/LoyaltyCardBatch.md +3 -1
  497. data/docs/LoyaltyLedger.md +1 -1
  498. data/docs/LoyaltyLedgerEntry.md +3 -1
  499. data/docs/LoyaltyMembership.md +1 -1
  500. data/docs/LoyaltyProgram.md +5 -3
  501. data/docs/LoyaltyProgramBalance.md +7 -3
  502. data/docs/LoyaltyProgramEntity.md +5 -1
  503. data/docs/LoyaltySubLedger.md +2 -0
  504. data/docs/LoyaltyTier.md +6 -2
  505. data/docs/ManagementApi.md +244 -250
  506. data/docs/ManagementKey.md +3 -1
  507. data/docs/MessageLogEntry.md +10 -2
  508. data/docs/ModelReturn.md +1 -1
  509. data/docs/NewAudience.md +1 -1
  510. data/docs/NewCampaignSet.md +1 -1
  511. data/docs/NewCampaignStoreBudget.md +21 -0
  512. data/docs/NewCampaignStoreBudgetStoreLimit.md +19 -0
  513. data/docs/NewCampaignTemplate.md +2 -0
  514. data/docs/NewCustomerSessionV2.md +4 -4
  515. data/docs/NewLoyaltyProgram.md +2 -0
  516. data/docs/NewLoyaltyTier.md +2 -2
  517. data/docs/NewManagementKey.md +2 -0
  518. data/docs/NewPicklist.md +1 -1
  519. data/docs/NewWebhook.md +1 -1
  520. data/docs/PendingPointsNotificationPolicy.md +3 -1
  521. data/docs/Picklist.md +1 -1
  522. data/docs/Product.md +1 -1
  523. data/docs/ProductSearchMatch.md +21 -0
  524. data/docs/ProductSkuUnitAnalytics.md +23 -0
  525. data/docs/ProductUnitAnalytics.md +19 -0
  526. data/docs/ScimNewUser.md +1 -1
  527. data/docs/ScimServiceProviderConfigResponse.md +3 -1
  528. data/docs/ScimServiceProviderConfigResponseSort.md +17 -0
  529. data/docs/ScimUser.md +1 -1
  530. data/docs/Store.md +3 -3
  531. data/docs/StrikethroughDebugResponse.md +19 -0
  532. data/docs/StrikethroughEffect.md +5 -1
  533. data/docs/StrikethroughLabelingNotification.md +4 -2
  534. data/docs/SummaryCampaignStoreBudget.md +23 -0
  535. data/docs/TemplateArgDef.md +2 -0
  536. data/docs/TemplateDef.md +1 -1
  537. data/docs/TierDowngradeNotificationPolicy.md +3 -1
  538. data/docs/TierUpgradeNotificationPolicy.md +3 -1
  539. data/docs/TierWillDowngradeNotificationPolicy.md +2 -0
  540. data/docs/UpdateAchievement.md +11 -3
  541. data/docs/UpdateCampaignTemplate.md +2 -0
  542. data/docs/UpdateLoyaltyProgram.md +2 -0
  543. data/docs/UpdateLoyaltyProgramTier.md +21 -0
  544. data/docs/UpdatePicklist.md +1 -1
  545. data/docs/User.md +2 -2
  546. data/docs/ValueMap.md +23 -0
  547. data/docs/Webhook.md +1 -1
  548. data/docs/WebhookLogEntry.md +1 -1
  549. data/docs/WebhookWithOutgoingIntegrationDetails.md +1 -1
  550. data/lib/talon_one/api/integration_api.rb +233 -42
  551. data/lib/talon_one/api/management_api.rb +323 -333
  552. data/lib/talon_one/models/account.rb +0 -1
  553. data/lib/talon_one/models/account_additional_cost.rb +0 -1
  554. data/lib/talon_one/models/achievement.rb +113 -16
  555. data/lib/talon_one/models/achievement_additional_properties.rb +49 -10
  556. data/lib/talon_one/models/achievement_progress.rb +4 -137
  557. data/lib/talon_one/models/add_free_item_effect_props.rb +14 -4
  558. data/lib/talon_one/models/add_loyalty_points_effect_props.rb +11 -0
  559. data/lib/talon_one/models/additional_campaign_properties.rb +19 -12
  560. data/lib/talon_one/models/analytics_product.rb +251 -0
  561. data/lib/talon_one/models/analytics_product_sku.rb +242 -0
  562. data/lib/talon_one/models/application.rb +0 -1
  563. data/lib/talon_one/models/application_api_key.rb +2 -3
  564. data/lib/talon_one/models/application_campaign_analytics.rb +2 -2
  565. data/lib/talon_one/models/application_campaign_stats.rb +16 -1
  566. data/lib/talon_one/models/application_cif.rb +1 -2
  567. data/lib/talon_one/models/application_cif_expression.rb +1 -2
  568. data/lib/talon_one/models/application_customer.rb +4 -5
  569. data/lib/talon_one/models/application_entity.rb +1 -1
  570. data/lib/talon_one/models/application_event.rb +1 -2
  571. data/lib/talon_one/models/application_referee.rb +1 -2
  572. data/lib/talon_one/models/application_session.rb +3 -4
  573. data/lib/talon_one/models/async_coupon_deletion_job_response.rb +0 -1
  574. data/lib/talon_one/models/attribute.rb +0 -1
  575. data/lib/talon_one/models/audience.rb +1 -2
  576. data/lib/talon_one/models/audience_customer.rb +1 -2
  577. data/lib/talon_one/models/base_loyalty_program.rb +26 -4
  578. data/lib/talon_one/models/base_notification.rb +0 -1
  579. data/lib/talon_one/models/base_notification_webhook.rb +0 -1
  580. data/lib/talon_one/models/bulk_operation_on_campaigns.rb +16 -6
  581. data/lib/talon_one/models/campaign.rb +39 -11
  582. data/lib/talon_one/models/campaign_analytics.rb +0 -1
  583. data/lib/talon_one/models/campaign_collection.rb +0 -1
  584. data/lib/talon_one/models/campaign_collection_without_payload.rb +0 -1
  585. data/lib/talon_one/models/campaign_evaluation_group.rb +1 -2
  586. data/lib/talon_one/models/campaign_group.rb +0 -1
  587. data/lib/talon_one/models/campaign_notification_policy.rb +14 -4
  588. data/lib/talon_one/models/campaign_set.rb +1 -2
  589. data/lib/talon_one/models/campaign_store_budget.rb +1 -2
  590. data/lib/talon_one/models/campaign_template.rb +10 -2
  591. data/lib/talon_one/models/campaign_template_coupon_reservation_settings.rb +243 -0
  592. data/lib/talon_one/models/campaign_versions.rb +45 -1
  593. data/lib/talon_one/models/card_expiring_points_notification_policy.rb +14 -4
  594. data/lib/talon_one/models/card_ledger_transaction_log_entry.rb +11 -0
  595. data/lib/talon_one/models/card_ledger_transaction_log_entry_integration_api.rb +11 -0
  596. data/lib/talon_one/models/catalog.rb +0 -1
  597. data/lib/talon_one/models/catalog_item.rb +0 -1
  598. data/lib/talon_one/models/catalogs_strikethrough_notification_policy.rb +38 -4
  599. data/lib/talon_one/models/change.rb +0 -1
  600. data/lib/talon_one/models/code_generator_settings.rb +11 -0
  601. data/lib/talon_one/models/collection.rb +0 -1
  602. data/lib/talon_one/models/collection_item.rb +0 -1
  603. data/lib/talon_one/models/collection_without_payload.rb +0 -1
  604. data/lib/talon_one/models/coupon.rb +0 -1
  605. data/lib/talon_one/models/coupon_creation_job.rb +1 -2
  606. data/lib/talon_one/models/coupon_deletion_filters.rb +0 -2
  607. data/lib/talon_one/models/coupon_deletion_job.rb +1 -2
  608. data/lib/talon_one/models/coupons_notification_policy.rb +24 -4
  609. data/lib/talon_one/models/create_achievement.rb +90 -9
  610. data/lib/talon_one/models/create_application_api_key.rb +2 -2
  611. data/lib/talon_one/models/custom_effect.rb +0 -1
  612. data/lib/talon_one/models/customer_inventory.rb +1 -1
  613. data/lib/talon_one/models/customer_profile.rb +1 -2
  614. data/lib/talon_one/models/customer_profile_audience_request_item.rb +1 -1
  615. data/lib/talon_one/models/customer_profile_integration_request_v2.rb +1 -1
  616. data/lib/talon_one/models/customer_session.rb +1 -2
  617. data/lib/talon_one/models/customer_session_v2.rb +7 -7
  618. data/lib/talon_one/models/deactivate_user_request.rb +0 -1
  619. data/lib/talon_one/models/deduct_loyalty_points_effect_props.rb +11 -0
  620. data/lib/talon_one/models/effect.rb +1 -1
  621. data/lib/talon_one/models/environment.rb +1 -2
  622. data/lib/talon_one/models/event.rb +1 -2
  623. data/lib/talon_one/models/event_type.rb +0 -1
  624. data/lib/talon_one/models/event_v2.rb +0 -1
  625. data/lib/talon_one/models/expiring_coupons_notification_policy.rb +14 -4
  626. data/lib/talon_one/models/expiring_points_notification_policy.rb +14 -4
  627. data/lib/talon_one/models/export.rb +0 -1
  628. data/lib/talon_one/models/features_feed.rb +0 -1
  629. data/lib/talon_one/models/generate_campaign_description.rb +11 -11
  630. data/lib/talon_one/models/generate_campaign_tags.rb +11 -11
  631. data/lib/talon_one/models/generate_loyalty_card.rb +40 -4
  632. data/lib/talon_one/models/giveaway.rb +0 -1
  633. data/lib/talon_one/models/import.rb +0 -1
  634. data/lib/talon_one/models/inline_response2001.rb +11 -11
  635. data/lib/talon_one/models/inline_response20010.rb +11 -11
  636. data/lib/talon_one/models/inline_response20011.rb +11 -11
  637. data/lib/talon_one/models/inline_response20012.rb +1 -1
  638. data/lib/talon_one/models/inline_response20013.rb +1 -1
  639. data/lib/talon_one/models/inline_response20014.rb +1 -1
  640. data/lib/talon_one/models/inline_response20015.rb +11 -11
  641. data/lib/talon_one/models/inline_response20016.rb +11 -13
  642. data/lib/talon_one/models/inline_response20017.rb +7 -11
  643. data/lib/talon_one/models/inline_response20018.rb +1 -1
  644. data/lib/talon_one/models/inline_response20019.rb +3 -1
  645. data/lib/talon_one/models/inline_response2002.rb +11 -11
  646. data/lib/talon_one/models/inline_response20020.rb +11 -7
  647. data/lib/talon_one/models/inline_response20021.rb +11 -11
  648. data/lib/talon_one/models/inline_response20022.rb +7 -11
  649. data/lib/talon_one/models/inline_response20023.rb +7 -11
  650. data/lib/talon_one/models/inline_response20024.rb +11 -11
  651. data/lib/talon_one/models/inline_response20025.rb +11 -7
  652. data/lib/talon_one/models/inline_response20026.rb +11 -7
  653. data/lib/talon_one/models/inline_response20027.rb +6 -1
  654. data/lib/talon_one/models/inline_response20028.rb +1 -1
  655. data/lib/talon_one/models/inline_response20029.rb +8 -13
  656. data/lib/talon_one/models/inline_response2003.rb +1 -1
  657. data/lib/talon_one/models/inline_response20030.rb +7 -11
  658. data/lib/talon_one/models/inline_response20031.rb +13 -8
  659. data/lib/talon_one/models/inline_response20032.rb +11 -2
  660. data/lib/talon_one/models/inline_response20033.rb +2 -11
  661. data/lib/talon_one/models/inline_response20034.rb +8 -13
  662. data/lib/talon_one/models/inline_response20035.rb +1 -1
  663. data/lib/talon_one/models/inline_response20036.rb +1 -1
  664. data/lib/talon_one/models/inline_response20037.rb +11 -7
  665. data/lib/talon_one/models/inline_response20038.rb +1 -1
  666. data/lib/talon_one/models/inline_response20039.rb +1 -1
  667. data/lib/talon_one/models/inline_response2004.rb +1 -1
  668. data/lib/talon_one/models/inline_response20040.rb +1 -1
  669. data/lib/talon_one/models/inline_response20041.rb +1 -1
  670. data/lib/talon_one/models/inline_response20042.rb +7 -11
  671. data/lib/talon_one/models/inline_response20043.rb +1 -1
  672. data/lib/talon_one/models/inline_response20044.rb +11 -7
  673. data/lib/talon_one/models/inline_response20045.rb +7 -11
  674. data/lib/talon_one/models/inline_response20046.rb +13 -8
  675. data/lib/talon_one/models/inline_response20047.rb +11 -7
  676. data/lib/talon_one/models/inline_response2005.rb +11 -11
  677. data/lib/talon_one/models/inline_response2006.rb +11 -11
  678. data/lib/talon_one/models/inline_response2007.rb +1 -1
  679. data/lib/talon_one/models/inline_response2008.rb +1 -1
  680. data/lib/talon_one/models/inline_response2009.rb +11 -11
  681. data/lib/talon_one/models/integration_coupon.rb +0 -1
  682. data/lib/talon_one/models/integration_customer_session_response.rb +1 -0
  683. data/lib/talon_one/models/integration_event.rb +0 -1
  684. data/lib/talon_one/models/integration_event_v2_request.rb +0 -1
  685. data/lib/talon_one/models/inventory_coupon.rb +0 -1
  686. data/lib/talon_one/models/inventory_referral.rb +0 -1
  687. data/lib/talon_one/models/item_attribute.rb +0 -1
  688. data/lib/talon_one/models/ledger_entry.rb +1 -1
  689. data/lib/talon_one/models/ledger_info.rb +34 -4
  690. data/lib/talon_one/models/library_attribute.rb +0 -1
  691. data/lib/talon_one/models/limit_counter.rb +1 -2
  692. data/lib/talon_one/models/list_campaign_store_budgets.rb +248 -0
  693. data/lib/talon_one/models/list_campaign_store_budgets_store.rb +239 -0
  694. data/lib/talon_one/models/login_params.rb +0 -1
  695. data/lib/talon_one/models/loyalty_balance.rb +14 -4
  696. data/lib/talon_one/models/loyalty_balance_with_tier.rb +12 -2
  697. data/lib/talon_one/models/loyalty_card.rb +54 -2
  698. data/lib/talon_one/models/loyalty_card_balances.rb +1 -1
  699. data/lib/talon_one/models/loyalty_card_batch.rb +13 -5
  700. data/lib/talon_one/models/loyalty_ledger_entry.rb +13 -4
  701. data/lib/talon_one/models/loyalty_program.rb +25 -3
  702. data/lib/talon_one/models/loyalty_program_balance.rb +36 -6
  703. data/lib/talon_one/models/loyalty_program_entity.rb +24 -4
  704. data/lib/talon_one/models/loyalty_program_transaction.rb +11 -0
  705. data/lib/talon_one/models/loyalty_sub_ledger.rb +16 -1
  706. data/lib/talon_one/models/loyalty_tier.rb +24 -4
  707. data/lib/talon_one/models/management_key.rb +14 -5
  708. data/lib/talon_one/models/message_log_entry.rb +67 -7
  709. data/lib/talon_one/models/model_return.rb +1 -2
  710. data/lib/talon_one/models/multiple_audiences_item.rb +0 -1
  711. data/lib/talon_one/models/multiple_customer_profile_integration_request_item.rb +1 -1
  712. data/lib/talon_one/models/new_account_sign_up.rb +0 -1
  713. data/lib/talon_one/models/new_additional_cost.rb +0 -1
  714. data/lib/talon_one/models/new_application_api_key.rb +2 -3
  715. data/lib/talon_one/models/new_attribute.rb +0 -1
  716. data/lib/talon_one/models/new_audience.rb +1 -2
  717. data/lib/talon_one/models/new_base_notification.rb +0 -1
  718. data/lib/talon_one/models/new_campaign.rb +0 -1
  719. data/lib/talon_one/models/new_campaign_collection.rb +0 -1
  720. data/lib/talon_one/models/new_campaign_set.rb +1 -2
  721. data/lib/talon_one/models/new_campaign_store_budget.rb +283 -0
  722. data/lib/talon_one/models/new_campaign_store_budget_store_limit.rb +227 -0
  723. data/lib/talon_one/models/new_campaign_template.rb +10 -1
  724. data/lib/talon_one/models/new_catalog.rb +0 -1
  725. data/lib/talon_one/models/new_collection.rb +0 -1
  726. data/lib/talon_one/models/new_coupon_creation_job.rb +0 -1
  727. data/lib/talon_one/models/new_coupons.rb +0 -1
  728. data/lib/talon_one/models/new_coupons_for_multiple_recipients.rb +0 -1
  729. data/lib/talon_one/models/new_custom_effect.rb +0 -1
  730. data/lib/talon_one/models/new_customer_session.rb +0 -1
  731. data/lib/talon_one/models/new_customer_session_v2.rb +3 -3
  732. data/lib/talon_one/models/new_event.rb +0 -1
  733. data/lib/talon_one/models/new_event_type.rb +0 -1
  734. data/lib/talon_one/models/new_loyalty_program.rb +24 -2
  735. data/lib/talon_one/models/new_loyalty_tier.rb +2 -2
  736. data/lib/talon_one/models/new_management_key.rb +11 -2
  737. data/lib/talon_one/models/new_multiple_audiences_item.rb +0 -1
  738. data/lib/talon_one/models/new_referral.rb +0 -1
  739. data/lib/talon_one/models/new_referrals_for_multiple_advocates.rb +0 -1
  740. data/lib/talon_one/models/new_role.rb +0 -1
  741. data/lib/talon_one/models/new_role_v2.rb +0 -1
  742. data/lib/talon_one/models/new_saml_connection.rb +1 -1
  743. data/lib/talon_one/models/new_store.rb +0 -1
  744. data/lib/talon_one/models/new_user.rb +0 -1
  745. data/lib/talon_one/models/new_webhook.rb +1 -2
  746. data/lib/talon_one/models/outgoing_integration_template_with_configuration_details.rb +0 -1
  747. data/lib/talon_one/models/pending_points_notification_policy.rb +14 -4
  748. data/lib/talon_one/models/picklist.rb +0 -1
  749. data/lib/talon_one/models/product.rb +1 -20
  750. data/lib/talon_one/models/product_search_match.rb +232 -0
  751. data/lib/talon_one/models/product_sku_unit_analytics.rb +256 -0
  752. data/lib/talon_one/models/product_unit_analytics.rb +227 -0
  753. data/lib/talon_one/models/referral.rb +0 -1
  754. data/lib/talon_one/models/revision.rb +0 -1
  755. data/lib/talon_one/models/revision_version.rb +0 -1
  756. data/lib/talon_one/models/role.rb +0 -1
  757. data/lib/talon_one/models/role_assign.rb +0 -1
  758. data/lib/talon_one/models/role_v2.rb +0 -1
  759. data/lib/talon_one/models/rollback_added_loyalty_points_effect_props.rb +11 -0
  760. data/lib/talon_one/models/rollback_deducted_loyalty_points_effect_props.rb +11 -0
  761. data/lib/talon_one/models/ruleset.rb +0 -1
  762. data/lib/talon_one/models/saml_connection.rb +1 -1
  763. data/lib/talon_one/models/scim_new_user.rb +5 -0
  764. data/lib/talon_one/models/scim_service_provider_config_response.rb +13 -4
  765. data/lib/talon_one/models/scim_service_provider_config_response_sort.rb +208 -0
  766. data/lib/talon_one/models/scim_user.rb +5 -0
  767. data/lib/talon_one/models/store.rb +2 -3
  768. data/lib/talon_one/models/strikethrough_debug_response.rb +221 -0
  769. data/lib/talon_one/models/strikethrough_effect.rb +24 -4
  770. data/lib/talon_one/models/strikethrough_labeling_notification.rb +46 -2
  771. data/lib/talon_one/models/summary_campaign_store_budget.rb +294 -0
  772. data/lib/talon_one/models/talang_attribute.rb +0 -1
  773. data/lib/talon_one/models/template_arg_def.rb +11 -2
  774. data/lib/talon_one/models/template_def.rb +1 -2
  775. data/lib/talon_one/models/template_limit_config.rb +0 -1
  776. data/lib/talon_one/models/tier_downgrade_notification_policy.rb +14 -4
  777. data/lib/talon_one/models/tier_upgrade_notification_policy.rb +14 -4
  778. data/lib/talon_one/models/tier_will_downgrade_notification_policy.rb +11 -1
  779. data/lib/talon_one/models/transfer_loyalty_card.rb +11 -0
  780. data/lib/talon_one/models/update_achievement.rb +92 -6
  781. data/lib/talon_one/models/update_campaign_evaluation_group.rb +0 -1
  782. data/lib/talon_one/models/update_campaign_group.rb +0 -1
  783. data/lib/talon_one/models/update_campaign_template.rb +10 -1
  784. data/lib/talon_one/models/update_coupon.rb +0 -1
  785. data/lib/talon_one/models/update_coupon_batch.rb +0 -1
  786. data/lib/talon_one/models/update_loyalty_program.rb +24 -2
  787. data/lib/talon_one/models/update_loyalty_program_tier.rb +257 -0
  788. data/lib/talon_one/models/update_picklist.rb +0 -1
  789. data/lib/talon_one/models/user.rb +0 -1
  790. data/lib/talon_one/models/value_map.rb +245 -0
  791. data/lib/talon_one/models/webhook.rb +1 -2
  792. data/lib/talon_one/models/webhook_log_entry.rb +1 -1
  793. data/lib/talon_one/models/webhook_with_outgoing_integration_details.rb +1 -2
  794. data/lib/talon_one/version.rb +1 -1
  795. data/lib/talon_one.rb +30 -5
  796. data/spec/api/integration_api_spec.rb +50 -14
  797. data/spec/api/management_api_spec.rb +106 -109
  798. data/spec/models/achievement_additional_properties_spec.rb +10 -0
  799. data/spec/models/achievement_base_spec.rb +103 -0
  800. data/spec/models/achievement_progress_spec.rb +1 -37
  801. data/spec/models/achievement_progress_with_definition_spec.rb +137 -0
  802. data/spec/models/achievement_spec.rb +42 -0
  803. data/spec/models/achievement_status_entry_spec.rb +137 -0
  804. data/spec/models/add_free_item_effect_props_spec.rb +6 -0
  805. data/spec/models/additional_campaign_properties_spec.rb +7 -1
  806. data/spec/models/analytics_product_sku_spec.rb +53 -0
  807. data/spec/models/analytics_product_spec.rb +59 -0
  808. data/spec/models/analytics_sku_spec.rb +59 -0
  809. data/spec/models/application_api_key_spec.rb +1 -1
  810. data/spec/models/application_campaign_analytics_spec.rb +1 -1
  811. data/spec/models/application_campaign_stats_spec.rb +6 -0
  812. data/spec/models/application_cif_references_spec.rb +47 -0
  813. data/spec/models/base_loyalty_program_spec.rb +10 -0
  814. data/spec/models/bulk_operation_on_campaigns_spec.rb +7 -1
  815. data/spec/models/campaign_detail_spec.rb +47 -0
  816. data/spec/models/campaign_notification_policy_spec.rb +6 -0
  817. data/spec/models/campaign_spec.rb +17 -1
  818. data/spec/models/campaign_store_budget_limit_config_spec.rb +73 -0
  819. data/spec/models/campaign_template_coupon_reservation_settings_spec.rb +47 -0
  820. data/spec/models/campaign_template_spec.rb +6 -0
  821. data/spec/models/campaign_versions_spec.rb +10 -0
  822. data/spec/models/card_expiring_points_notification_policy_spec.rb +6 -0
  823. data/spec/models/catalogs_strikethrough_notification_policy_spec.rb +6 -0
  824. data/spec/models/coupons_notification_policy_spec.rb +12 -0
  825. data/spec/models/create_achievement_spec.rb +32 -0
  826. data/spec/models/create_application_api_key_spec.rb +1 -1
  827. data/spec/models/expiring_coupons_notification_policy_spec.rb +6 -0
  828. data/spec/models/expiring_points_notification_policy_spec.rb +6 -0
  829. data/spec/models/generate_campaign_description_spec.rb +1 -1
  830. data/spec/models/generate_campaign_tags_spec.rb +1 -1
  831. data/spec/models/generate_loyalty_card_spec.rb +6 -0
  832. data/spec/models/hidden_conditions_effects_spec.rb +59 -0
  833. data/spec/models/inline_response20010_spec.rb +1 -1
  834. data/spec/models/inline_response20011_spec.rb +1 -1
  835. data/spec/models/inline_response20015_spec.rb +1 -1
  836. data/spec/models/inline_response20016_spec.rb +1 -1
  837. data/spec/models/inline_response20017_spec.rb +0 -6
  838. data/spec/models/inline_response2001_spec.rb +1 -1
  839. data/spec/models/inline_response20020_spec.rb +6 -0
  840. data/spec/models/inline_response20021_spec.rb +1 -1
  841. data/spec/models/inline_response20022_spec.rb +0 -6
  842. data/spec/models/inline_response20023_spec.rb +0 -6
  843. data/spec/models/inline_response20024_spec.rb +2 -2
  844. data/spec/models/inline_response20025_spec.rb +6 -0
  845. data/spec/models/inline_response20026_spec.rb +6 -0
  846. data/spec/models/inline_response20029_spec.rb +1 -1
  847. data/spec/models/inline_response2002_spec.rb +1 -1
  848. data/spec/models/inline_response20030_spec.rb +0 -6
  849. data/spec/models/inline_response20031_spec.rb +1 -1
  850. data/spec/models/inline_response20032_spec.rb +6 -0
  851. data/spec/models/inline_response20033_spec.rb +0 -6
  852. data/spec/models/inline_response20034_spec.rb +1 -1
  853. data/spec/models/inline_response20037_spec.rb +6 -0
  854. data/spec/models/inline_response20042_spec.rb +0 -6
  855. data/spec/models/inline_response20044_spec.rb +6 -0
  856. data/spec/models/inline_response20045_spec.rb +0 -6
  857. data/spec/models/inline_response20046_spec.rb +1 -1
  858. data/spec/models/inline_response20047_spec.rb +6 -0
  859. data/spec/models/inline_response20048_spec.rb +47 -0
  860. data/spec/models/inline_response20049_spec.rb +47 -0
  861. data/spec/models/inline_response2005_spec.rb +1 -1
  862. data/spec/models/inline_response2006_spec.rb +1 -1
  863. data/spec/models/inline_response2009_spec.rb +1 -1
  864. data/spec/models/ledger_info_spec.rb +12 -0
  865. data/spec/models/limit_config_spec.rb +1 -1
  866. data/spec/models/list_campaign_store_budgets_spec.rb +59 -0
  867. data/spec/models/list_campaign_store_budgets_store_spec.rb +53 -0
  868. data/spec/models/loyalty_balance_spec.rb +6 -0
  869. data/spec/models/loyalty_balance_with_tier_spec.rb +6 -0
  870. data/spec/models/loyalty_card_batch_spec.rb +6 -0
  871. data/spec/models/loyalty_card_spec.rb +12 -0
  872. data/spec/models/loyalty_ledger_entry_flags_spec.rb +41 -0
  873. data/spec/models/loyalty_ledger_entry_spec.rb +6 -0
  874. data/spec/models/loyalty_program_balance_spec.rb +12 -0
  875. data/spec/models/loyalty_program_entity_spec.rb +12 -0
  876. data/spec/models/loyalty_program_spec.rb +10 -0
  877. data/spec/models/loyalty_sub_ledger_spec.rb +6 -0
  878. data/spec/models/loyalty_tier_spec.rb +12 -0
  879. data/spec/models/management_key_spec.rb +6 -0
  880. data/spec/models/message_log_entry_spec.rb +25 -1
  881. data/spec/models/message_test_spec.rb +47 -0
  882. data/spec/models/new_application_api_key_spec.rb +1 -1
  883. data/spec/models/new_campaign_store_budget_spec.rb +61 -0
  884. data/spec/models/new_campaign_store_budget_store_limit_spec.rb +47 -0
  885. data/spec/models/new_campaign_template_spec.rb +6 -0
  886. data/spec/models/new_loyalty_program_spec.rb +10 -0
  887. data/spec/models/new_management_key_spec.rb +6 -0
  888. data/spec/models/new_message_test_spec.rb +79 -0
  889. data/spec/models/pending_points_notification_policy_spec.rb +6 -0
  890. data/spec/models/product_search_match_spec.rb +53 -0
  891. data/spec/models/product_sku_unit_analytics_spec.rb +59 -0
  892. data/spec/models/product_unit_analytics_data_point_spec.rb +65 -0
  893. data/spec/models/product_unit_analytics_spec.rb +47 -0
  894. data/spec/models/product_unit_analytics_totals_spec.rb +41 -0
  895. data/spec/models/scim_service_provider_config_response_sort_spec.rb +41 -0
  896. data/spec/models/scim_service_provider_config_response_spec.rb +6 -0
  897. data/spec/models/sku_unit_analytics_data_point_spec.rb +59 -0
  898. data/spec/models/sku_unit_analytics_spec.rb +47 -0
  899. data/spec/models/strikethrough_debug_response_spec.rb +47 -0
  900. data/spec/models/strikethrough_effect_spec.rb +12 -0
  901. data/spec/models/strikethrough_labeling_notification_spec.rb +10 -0
  902. data/spec/models/summary_campaign_store_budget_spec.rb +67 -0
  903. data/spec/models/template_arg_def_spec.rb +6 -0
  904. data/spec/models/template_limit_config_spec.rb +1 -1
  905. data/spec/models/tier_downgrade_notification_policy_spec.rb +6 -0
  906. data/spec/models/tier_upgrade_notification_policy_spec.rb +6 -0
  907. data/spec/models/tier_will_downgrade_notification_policy_spec.rb +6 -0
  908. data/spec/models/update_achievement_spec.rb +32 -0
  909. data/spec/models/update_campaign_template_spec.rb +6 -0
  910. data/spec/models/update_loyalty_program_spec.rb +10 -0
  911. data/spec/models/update_loyalty_program_tier_spec.rb +53 -0
  912. data/spec/models/value_map_spec.rb +59 -0
  913. metadata +481 -6
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+ require 'ethon/easy/http/actionable'
3
+ require 'ethon/easy/http/post'
4
+ require 'ethon/easy/http/get'
5
+ require 'ethon/easy/http/head'
6
+ require 'ethon/easy/http/put'
7
+ require 'ethon/easy/http/delete'
8
+ require 'ethon/easy/http/patch'
9
+ require 'ethon/easy/http/options'
10
+ require 'ethon/easy/http/custom'
11
+
12
+ module Ethon
13
+ class Easy
14
+
15
+ # This module contains logic about making valid HTTP requests.
16
+ module Http
17
+
18
+ # Set specified options in order to make a HTTP request.
19
+ # Look at {Ethon::Easy::Options Options} to see what you can
20
+ # provide in the options hash.
21
+ #
22
+ # @example Set options for HTTP request.
23
+ # easy.http_request("www.google.com", :get, {})
24
+ #
25
+ # @param [ String ] url The url.
26
+ # @param [ String ] action_name The HTTP action name.
27
+ # @param [ Hash ] options The options hash.
28
+ #
29
+ # @option options :params [ Hash ] Params hash which
30
+ # is attached to the url.
31
+ # @option options :body [ Hash ] Body hash which
32
+ # becomes the request body. It is a PUT body for
33
+ # PUT requests and a POST for everything else.
34
+ # @option options :headers [ Hash ] Request headers.
35
+ #
36
+ # @return [ void ]
37
+ #
38
+ # @see Ethon::Easy::Options
39
+ def http_request(url, action_name, options = {})
40
+ fabricate(url, action_name, options).setup(self)
41
+ end
42
+
43
+ private
44
+
45
+ # Return the corresponding action class.
46
+ #
47
+ # @example Return the action.
48
+ # Action.fabricate(:get)
49
+ # Action.fabricate(:smash)
50
+ #
51
+ # @param [ String ] url The url.
52
+ # @param [ String ] action_name The HTTP action name.
53
+ # @param [ Hash ] options The option hash.
54
+ #
55
+ # @return [ Easy::Ethon::Actionable ] The request instance.
56
+ def fabricate(url, action_name, options)
57
+ constant_name = action_name.to_s.capitalize
58
+
59
+ if Ethon::Easy::Http.const_defined?(constant_name)
60
+ Ethon::Easy::Http.const_get(constant_name).new(url, options)
61
+ else
62
+ Ethon::Easy::Http::Custom.new(constant_name.upcase, url, options)
63
+ end
64
+ end
65
+
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,116 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+
5
+ # This module contains the methods to return informations
6
+ # from the easy handle. See http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
7
+ # for more information.
8
+ module Informations
9
+
10
+ # Holds available informations and their type, which is needed to
11
+ # request the informations from libcurl.
12
+ AVAILABLE_INFORMATIONS = {
13
+ # Return the available HTTP auth methods.
14
+ :httpauth_avail => :long,
15
+
16
+ # Return the total time in seconds for the previous
17
+ # transfer, including name resolution, TCP connection, etc.
18
+ :total_time => :double,
19
+
20
+ # Return the time, in seconds, it took from the start
21
+ # until the first byte was received by libcurl. This
22
+ # includes pre-transfer time and also the time the
23
+ # server needs to calculate the result.
24
+ :starttransfer_time => :double,
25
+
26
+ # Return the time, in seconds, it took from the start
27
+ # until the SSL/SSH connect/handshake to the remote
28
+ # host was completed. This time is most often very near
29
+ # to the pre-transfer time, except for cases such as HTTP
30
+ # pipelining where the pre-transfer time can be delayed
31
+ # due to waits in line for the pipeline and more.
32
+ :appconnect_time => :double,
33
+
34
+ # Return the time, in seconds, it took from the start
35
+ # until the file transfer was just about to begin. This
36
+ # includes all pre-transfer commands and negotiations
37
+ # that are specific to the particular protocol(s) involved.
38
+ # It does not involve the sending of the protocol-
39
+ # specific request that triggers a transfer.
40
+ :pretransfer_time => :double,
41
+
42
+ # Return the time, in seconds, it took from the start
43
+ # until the connect to the remote host (or proxy) was completed.
44
+ :connect_time => :double,
45
+
46
+ # Return the time, in seconds, it took from the
47
+ # start until the name resolution was completed.
48
+ :namelookup_time => :double,
49
+
50
+ # Return the time, in seconds, it took for all redirection steps
51
+ # include name lookup, connect, pretransfer and transfer before the
52
+ # final transaction was started. time_redirect shows the complete
53
+ # execution time for multiple redirections. (Added in 7.12.3)
54
+ :redirect_time => :double,
55
+
56
+ # Return the last used effective url.
57
+ :effective_url => :string,
58
+
59
+ # Return the string holding the IP address of the most recent
60
+ # connection done with this curl handle. This string
61
+ # may be IPv6 if that's enabled.
62
+ :primary_ip => :string,
63
+
64
+ # Return the last received HTTP, FTP or SMTP response code.
65
+ # The value will be zero if no server response code has
66
+ # been received. Note that a proxy's CONNECT response should
67
+ # be read with http_connect_code and not this.
68
+ :response_code => :long,
69
+
70
+ :request_size => :long,
71
+
72
+ # Return the total number of redirections that were
73
+ # actually followed.
74
+ :redirect_count => :long,
75
+
76
+ # URL a redirect would take you to, had you enabled redirects (Added in 7.18.2)
77
+ :redirect_url => :string,
78
+
79
+ # Return the bytes, the total amount of bytes that were uploaded
80
+ :size_upload => :double,
81
+
82
+ # Return the bytes, the total amount of bytes that were downloaded.
83
+ # The amount is only for the latest transfer and will be reset again
84
+ # for each new transfer. This counts actual payload data, what's
85
+ # also commonly called body. All meta and header data are excluded
86
+ # and will not be counted in this number.
87
+ :size_download => :double,
88
+
89
+ # Return the bytes/second, the average upload speed that curl
90
+ # measured for the complete upload
91
+ :speed_upload => :double,
92
+
93
+ # Return the bytes/second, the average download speed that curl
94
+ # measured for the complete download
95
+ :speed_download => :double
96
+ }
97
+
98
+ AVAILABLE_INFORMATIONS.each do |name, type|
99
+ eval %Q|def #{name}; Curl.send(:get_info_#{type}, :#{name}, handle); end|
100
+ end
101
+
102
+ # Returns true if this curl version supports zlib.
103
+ #
104
+ # @example Return wether zlib is supported.
105
+ # easy.supports_zlib?
106
+ #
107
+ # @return [ Boolean ] True if supported, else false.
108
+ # @deprecated Please use the static version instead
109
+ def supports_zlib?
110
+ Kernel.warn("Ethon: Easy#supports_zlib? is deprecated and will be removed, please use Easy#.")
111
+ Easy.supports_zlib?
112
+ end
113
+
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ class Mirror
5
+ attr_reader :options
6
+ alias_method :to_hash, :options
7
+
8
+ INFORMATIONS_TO_MIRROR = Informations::AVAILABLE_INFORMATIONS.keys +
9
+ [:return_code, :response_headers, :response_body, :debug_info]
10
+
11
+ INFORMATIONS_TO_LOG = [:effective_url, :response_code, :return_code, :total_time]
12
+
13
+ def self.from_easy(easy)
14
+ options = {}
15
+ INFORMATIONS_TO_MIRROR.each do |info|
16
+ options[info] = easy.send(info)
17
+ end
18
+ new(options)
19
+ end
20
+
21
+ def initialize(options = {})
22
+ @options = options
23
+ end
24
+
25
+ def log_informations
26
+ Hash[*INFORMATIONS_TO_LOG.map do |info|
27
+ [info, options[info]]
28
+ end.flatten]
29
+ end
30
+
31
+ INFORMATIONS_TO_MIRROR.each do |info|
32
+ eval %Q|def #{info}; options[#{info}]; end|
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ # This module contains the logic to prepare and perform
5
+ # an easy.
6
+ module Operations
7
+ # Returns a pointer to the curl easy handle.
8
+ #
9
+ # @example Return the handle.
10
+ # easy.handle
11
+ #
12
+ # @return [ FFI::Pointer ] A pointer to the curl easy handle.
13
+ def handle
14
+ @handle ||= FFI::AutoPointer.new(Curl.easy_init, Curl.method(:easy_cleanup))
15
+ end
16
+
17
+ # Sets a pointer to the curl easy handle.
18
+ # @param [ ::FFI::Pointer ] Easy handle that will be assigned.
19
+ def handle=(h)
20
+ @handle = h
21
+ end
22
+
23
+ # Perform the easy request.
24
+ #
25
+ # @example Perform the request.
26
+ # easy.perform
27
+ #
28
+ # @return [ Integer ] The return code.
29
+ def perform
30
+ @return_code = Curl.easy_perform(handle)
31
+ if Ethon.logger.debug?
32
+ Ethon.logger.debug { "ETHON: performed #{log_inspect}" }
33
+ end
34
+ complete
35
+ @return_code
36
+ end
37
+
38
+ # Clean up the easy.
39
+ #
40
+ # @example Perform clean up.
41
+ # easy.cleanup
42
+ #
43
+ # @return the result of the free which is nil
44
+ def cleanup
45
+ handle.free
46
+ end
47
+
48
+ # Prepare the easy. Options, headers and callbacks
49
+ # were set.
50
+ #
51
+ # @example Prepare easy.
52
+ # easy.prepare
53
+ #
54
+ # @deprecated It is no longer necessary to call prepare.
55
+ def prepare
56
+ Ethon.logger.warn(
57
+ "ETHON: It is no longer necessary to call "+
58
+ "Easy#prepare. It's going to be removed "+
59
+ "in future versions."
60
+ )
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+
5
+ # This module contains the logic and knowledge about the
6
+ # available options on easy.
7
+ module Options
8
+ attr_reader :url
9
+
10
+ def url=(value)
11
+ @url = value
12
+ Curl.set_option(:url, value, handle)
13
+ end
14
+
15
+ def escape=( b )
16
+ @escape = b
17
+ end
18
+
19
+ def escape?
20
+ return true if !defined?(@escape) || @escape.nil?
21
+ @escape
22
+ end
23
+
24
+ def multipart=(b)
25
+ @multipart = b
26
+ end
27
+
28
+ def multipart?
29
+ !!@multipart
30
+ end
31
+
32
+ Curl.easy_options(nil).each do |opt, props|
33
+ method_name = "#{opt}=".freeze
34
+ unless method_defined? method_name
35
+ define_method(method_name) do |value|
36
+ Curl.set_option(opt, value, handle)
37
+ value
38
+ end
39
+ end
40
+ next if props[:type] != :callback || method_defined?(opt)
41
+ define_method(opt) do |&block|
42
+ @procs ||= {}
43
+ @procs[opt.to_sym] = block
44
+ Curl.set_option(opt, block, handle)
45
+ nil
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+ require 'ethon/easy/util'
3
+ require 'ethon/easy/queryable'
4
+
5
+ module Ethon
6
+ class Easy
7
+
8
+ # This class represents HTTP request parameters.
9
+ #
10
+ # @api private
11
+ class Params
12
+ include Ethon::Easy::Util
13
+ include Ethon::Easy::Queryable
14
+
15
+ # Create a new Params.
16
+ #
17
+ # @example Create a new Params.
18
+ # Params.new({})
19
+ #
20
+ # @param [ Hash ] params The params to use.
21
+ #
22
+ # @return [ Params ] A new Params.
23
+ def initialize(easy, params)
24
+ @easy = easy
25
+ @params = params || {}
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,154 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+
5
+ # This module contains logic about building
6
+ # query parameters for url or form.
7
+ module Queryable
8
+
9
+ # :nodoc:
10
+ def self.included(base)
11
+ base.send(:attr_accessor, :escape)
12
+ base.send(:attr_accessor, :params_encoding)
13
+ end
14
+
15
+ # Return wether there are elements in params or not.
16
+ #
17
+ # @example Return if params is empty.
18
+ # form.empty?
19
+ #
20
+ # @return [ Boolean ] True if params is empty, else false.
21
+ def empty?
22
+ @params.empty?
23
+ end
24
+
25
+ # Return the string representation of params.
26
+ #
27
+ # @example Return string representation.
28
+ # params.to_s
29
+ #
30
+ # @return [ String ] The string representation.
31
+ def to_s
32
+ @to_s ||= query_pairs.map{ |pair|
33
+ return pair if pair.is_a?(String)
34
+
35
+ if escape && @easy
36
+ pair.map{ |e| @easy.escape(e.to_s) }.join("=")
37
+ else
38
+ pair.join("=")
39
+ end
40
+ }.join('&')
41
+ end
42
+
43
+ # Return the query pairs.
44
+ #
45
+ # @example Return the query pairs.
46
+ # params.query_pairs
47
+ #
48
+ # @return [ Array ] The query pairs.
49
+ def query_pairs
50
+ @query_pairs ||= build_query_pairs(@params)
51
+ end
52
+
53
+ # Return query pairs build from a hash.
54
+ #
55
+ # @example Build query pairs.
56
+ # action.build_query_pairs({a: 1, b: 2})
57
+ # #=> [[:a, 1], [:b, 2]]
58
+ #
59
+ # @param [ Hash ] hash The hash to go through.
60
+ #
61
+ # @return [ Array ] The array of query pairs.
62
+ def build_query_pairs(hash)
63
+ return [hash] if hash.is_a?(String)
64
+
65
+ pairs = []
66
+ recursively_generate_pairs(hash, nil, pairs)
67
+ pairs
68
+ end
69
+
70
+ # Return file info for a file.
71
+ #
72
+ # @example Return file info.
73
+ # action.file_info(File.open('fubar', 'r'))
74
+ #
75
+ # @param [ File ] file The file to handle.
76
+ #
77
+ # @return [ Array ] Array of informations.
78
+ def file_info(file)
79
+ filename = File.basename(file.path)
80
+ [
81
+ filename,
82
+ mime_type(filename),
83
+ File.expand_path(file.path)
84
+ ]
85
+ end
86
+
87
+ private
88
+
89
+ def mime_type(filename)
90
+ if defined?(MIME) && t = MIME::Types.type_for(filename).first
91
+ t.to_s
92
+ else
93
+ 'application/octet-stream'
94
+ end
95
+ end
96
+
97
+ def recursively_generate_pairs(h, prefix, pairs)
98
+ case h
99
+ when Hash
100
+ encode_hash_pairs(h, prefix, pairs)
101
+ when Array
102
+ if params_encoding == :rack
103
+ encode_rack_array_pairs(h, prefix, pairs)
104
+ elsif params_encoding == :multi
105
+ encode_multi_array_pairs(h, prefix, pairs)
106
+ elsif params_encoding == :none
107
+ pairs << [prefix, h]
108
+ else
109
+ encode_indexed_array_pairs(h, prefix, pairs)
110
+ end
111
+ end
112
+ end
113
+
114
+ def encode_hash_pairs(h, prefix, pairs)
115
+ h.each_pair do |k,v|
116
+ key = prefix.nil? ? k : "#{prefix}[#{k}]"
117
+ pairs_for(v, key, pairs)
118
+ end
119
+ end
120
+
121
+ def encode_indexed_array_pairs(h, prefix, pairs)
122
+ h.each_with_index do |v, i|
123
+ key = "#{prefix}[#{i}]"
124
+ pairs_for(v, key, pairs)
125
+ end
126
+ end
127
+
128
+ def encode_rack_array_pairs(h, prefix, pairs)
129
+ h.each do |v|
130
+ key = "#{prefix}[]"
131
+ pairs_for(v, key, pairs)
132
+ end
133
+ end
134
+
135
+ def encode_multi_array_pairs(h, prefix, pairs)
136
+ h.each_with_index do |v, i|
137
+ key = prefix
138
+ pairs_for(v, key, pairs)
139
+ end
140
+ end
141
+
142
+ def pairs_for(v, key, pairs)
143
+ case v
144
+ when Hash, Array
145
+ recursively_generate_pairs(v, key, pairs)
146
+ when File, Tempfile
147
+ pairs << [key, file_info(v)]
148
+ else
149
+ pairs << [key, v]
150
+ end
151
+ end
152
+ end
153
+ end
154
+ end
@@ -0,0 +1,136 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+
5
+ # This module contains the logic for the response callbacks.
6
+ # The on_complete callback is the only one at the moment.
7
+ #
8
+ # You can set multiple callbacks, which are then executed
9
+ # in the same order.
10
+ #
11
+ # easy.on_complete { p 1 }
12
+ # easy.on_complete { p 2 }
13
+ # easy.complete
14
+ # #=> 1
15
+ # #=> 2
16
+ #
17
+ # You can clear the callbacks:
18
+ #
19
+ # easy.on_complete { p 1 }
20
+ # easy.on_complete { p 2 }
21
+ # easy.on_complete.clear
22
+ # easy.on_complete
23
+ # #=> []
24
+ module ResponseCallbacks
25
+
26
+ # Set on_headers callback.
27
+ #
28
+ # @example Set on_headers.
29
+ # request.on_headers { p "yay" }
30
+ #
31
+ # @param [ Block ] block The block to execute.
32
+ def on_headers(&block)
33
+ @on_headers ||= []
34
+ @on_headers << block if block_given?
35
+ @on_headers
36
+ end
37
+
38
+ # Execute on_headers callbacks.
39
+ #
40
+ # @example Execute on_headers.
41
+ # request.headers
42
+ def headers
43
+ return if @headers_called
44
+ @headers_called = true
45
+ if defined?(@on_headers) and not @on_headers.nil?
46
+ result = nil
47
+ @on_headers.each do |callback|
48
+ result = callback.call(self)
49
+ break if result == :abort
50
+ end
51
+ result
52
+ end
53
+ end
54
+
55
+ # Set on_complete callback.
56
+ #
57
+ # @example Set on_complete.
58
+ # request.on_complete { p "yay" }
59
+ #
60
+ # @param [ Block ] block The block to execute.
61
+ def on_complete(&block)
62
+ @on_complete ||= []
63
+ @on_complete << block if block_given?
64
+ @on_complete
65
+ end
66
+
67
+ # Execute on_complete callbacks.
68
+ #
69
+ # @example Execute on_completes.
70
+ # request.complete
71
+ def complete
72
+ headers unless @response_headers.empty?
73
+ if defined?(@on_complete) and not @on_complete.nil?
74
+ @on_complete.each{ |callback| callback.call(self) }
75
+ end
76
+ end
77
+
78
+ # Set on_progress callback.
79
+ #
80
+ # @example Set on_progress.
81
+ # request.on_progress {|dltotal, dlnow, ultotal, ulnow| p "#{dltotal} #{dlnow} #{ultotal} #{ulnow}" }
82
+ #
83
+ # @param [ Block ] block The block to execute.
84
+ def on_progress(&block)
85
+ @on_progress ||= []
86
+ if block_given?
87
+ @on_progress << block
88
+ set_progress_callback
89
+ self.noprogress = 0
90
+ end
91
+ @on_progress
92
+ end
93
+
94
+ # Execute on_progress callbacks.
95
+ #
96
+ # @example Execute on_progress.
97
+ # request.body(1, 1, 1, 1)
98
+ def progress(dltotal, dlnow, ultotal, ulnow)
99
+ if defined?(@on_progress) and not @on_progress.nil?
100
+ @on_progress.each{ |callback| callback.call(dltotal, dlnow, ultotal, ulnow) }
101
+ end
102
+ end
103
+
104
+ # Set on_body callback.
105
+ #
106
+ # @example Set on_body.
107
+ # request.on_body { |chunk| p "yay" }
108
+ #
109
+ # @param [ Block ] block The block to execute.
110
+ def on_body(&block)
111
+ @on_body ||= []
112
+ @on_body << block if block_given?
113
+ @on_body
114
+ end
115
+
116
+ # Execute on_body callbacks.
117
+ #
118
+ # @example Execute on_body.
119
+ # request.body("This data came from HTTP.")
120
+ #
121
+ # @return [ Object ] If there are no on_body callbacks, returns the symbol :unyielded.
122
+ def body(chunk)
123
+ if defined?(@on_body) and not @on_body.nil?
124
+ result = nil
125
+ @on_body.each do |callback|
126
+ result = callback.call(chunk, self)
127
+ break if result == :abort
128
+ end
129
+ result
130
+ else
131
+ :unyielded
132
+ end
133
+ end
134
+ end
135
+ end
136
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy # :nodoc:
4
+
5
+ # This module contains small helpers.
6
+ #
7
+ # @api private
8
+ module Util
9
+
10
+ # Escapes zero bytes in strings.
11
+ #
12
+ # @example Escape zero bytes.
13
+ # Util.escape_zero_byte("1\0")
14
+ # #=> "1\\0"
15
+ #
16
+ # @param [ Object ] value The value to escape.
17
+ #
18
+ # @return [ String, Object ] Escaped String if
19
+ # zero byte found, original object if not.
20
+ def escape_zero_byte(value)
21
+ return value unless value.to_s.include?(0.chr)
22
+ value.to_s.gsub(0.chr, '\\\0')
23
+ end
24
+
25
+ extend self
26
+ end
27
+ end
28
+ end