cybrid_api_organization_ruby 0.124.79 → 0.124.80

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 (160) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_organization_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
  6. data/lib/cybrid_api_organization_ruby/api/subscription_deliveries_organization_api.rb +1 -1
  7. data/lib/cybrid_api_organization_ruby/api/subscription_events_organization_api.rb +1 -1
  8. data/lib/cybrid_api_organization_ruby/api/subscriptions_organization_api.rb +1 -1
  9. data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
  10. data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
  11. data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
  12. data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
  13. data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
  14. data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
  15. data/lib/cybrid_api_organization_ruby/models/post_subscription_delivery_organization_model.rb +1 -1
  16. data/lib/cybrid_api_organization_ruby/models/post_subscription_organization_model.rb +1 -1
  17. data/lib/cybrid_api_organization_ruby/models/subscription_delivery_list_organization_model.rb +1 -1
  18. data/lib/cybrid_api_organization_ruby/models/subscription_delivery_organization_model.rb +1 -1
  19. data/lib/cybrid_api_organization_ruby/models/subscription_environment_organization_model.rb +1 -1
  20. data/lib/cybrid_api_organization_ruby/models/subscription_event_list_organization_model.rb +1 -1
  21. data/lib/cybrid_api_organization_ruby/models/subscription_event_organization_model.rb +1 -1
  22. data/lib/cybrid_api_organization_ruby/models/subscription_list_organization_model.rb +1 -1
  23. data/lib/cybrid_api_organization_ruby/models/subscription_organization_model.rb +1 -1
  24. data/lib/cybrid_api_organization_ruby/models/subscription_state_organization_model.rb +1 -1
  25. data/lib/cybrid_api_organization_ruby/models/subscription_type_organization_model.rb +1 -1
  26. data/lib/cybrid_api_organization_ruby/version.rb +2 -2
  27. data/lib/cybrid_api_organization_ruby.rb +1 -1
  28. data/spec/api/organizations_organization_api_spec.rb +1 -1
  29. data/spec/api/subscription_deliveries_organization_api_spec.rb +1 -1
  30. data/spec/api/subscription_events_organization_api_spec.rb +1 -1
  31. data/spec/api/subscriptions_organization_api_spec.rb +1 -1
  32. data/spec/api_client_spec.rb +1 -1
  33. data/spec/configuration_spec.rb +1 -1
  34. data/spec/models/error_response_organization_model_spec.rb +1 -1
  35. data/spec/models/organization_organization_model_spec.rb +1 -1
  36. data/spec/models/patch_organization_organization_model_spec.rb +1 -1
  37. data/spec/models/post_subscription_delivery_organization_model_spec.rb +1 -1
  38. data/spec/models/post_subscription_organization_model_spec.rb +1 -1
  39. data/spec/models/subscription_delivery_list_organization_model_spec.rb +1 -1
  40. data/spec/models/subscription_delivery_organization_model_spec.rb +1 -1
  41. data/spec/models/subscription_environment_organization_model_spec.rb +1 -1
  42. data/spec/models/subscription_event_list_organization_model_spec.rb +1 -1
  43. data/spec/models/subscription_event_organization_model_spec.rb +1 -1
  44. data/spec/models/subscription_list_organization_model_spec.rb +1 -1
  45. data/spec/models/subscription_organization_model_spec.rb +1 -1
  46. data/spec/models/subscription_state_organization_model_spec.rb +1 -1
  47. data/spec/models/subscription_type_organization_model_spec.rb +1 -1
  48. data/spec/spec_helper.rb +1 -1
  49. data/vendor/bundle/ruby/3.3.0/cache/ethon-0.17.0.gem +0 -0
  50. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-12.0.0/gem_make.out +5 -5
  51. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  52. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  53. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  54. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  55. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  56. data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/CHANGELOG.md +26 -1
  57. data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/README.md +1 -1
  58. data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/ethon.gemspec +6 -3
  59. data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/codes.rb +3 -2
  60. data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/version.rb +1 -1
  61. data/vendor/bundle/ruby/3.3.0/specifications/{ethon-0.16.0.gemspec → ethon-0.17.0.gemspec} +6 -5
  62. metadata +61 -105
  63. data/vendor/bundle/ruby/3.3.0/cache/ethon-0.16.0.gem +0 -0
  64. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +0 -41
  65. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.gitignore +0 -8
  66. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.rspec +0 -3
  67. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Gemfile +0 -43
  68. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Guardfile +0 -10
  69. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Rakefile +0 -40
  70. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/benchmarks.rb +0 -104
  71. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/memory_leaks.rb +0 -114
  72. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb +0 -37
  73. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/memory_test_helpers.rb +0 -76
  74. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/os_memory_leak_tracker.rb +0 -48
  75. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/ruby_object_leak_tracker.rb +0 -49
  76. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/curl_spec.rb +0 -38
  77. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +0 -81
  78. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/debug_info_spec.rb +0 -54
  79. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/features_spec.rb +0 -24
  80. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/form_spec.rb +0 -104
  81. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/header_spec.rb +0 -79
  82. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/custom_spec.rb +0 -177
  83. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/delete_spec.rb +0 -21
  84. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/get_spec.rb +0 -126
  85. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/head_spec.rb +0 -80
  86. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/options_spec.rb +0 -51
  87. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/patch_spec.rb +0 -51
  88. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/post_spec.rb +0 -317
  89. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/put_spec.rb +0 -168
  90. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http_spec.rb +0 -64
  91. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +0 -126
  92. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +0 -47
  93. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +0 -271
  94. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/options_spec.rb +0 -193
  95. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/queryable_spec.rb +0 -235
  96. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/response_callbacks_spec.rb +0 -152
  97. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/util_spec.rb +0 -28
  98. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy_spec.rb +0 -203
  99. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/libc_spec.rb +0 -14
  100. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb +0 -22
  101. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/operations_spec.rb +0 -298
  102. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/options_spec.rb +0 -182
  103. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/stack_spec.rb +0 -80
  104. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi_spec.rb +0 -152
  105. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/spec_helper.rb +0 -28
  106. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/localhost_server.rb +0 -95
  107. data/vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/server.rb +0 -115
  108. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/LICENSE +0 -0
  109. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curl.rb +0 -0
  110. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/classes.rb +0 -0
  111. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/constants.rb +0 -0
  112. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/form_options.rb +0 -0
  113. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/functions.rb +0 -0
  114. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/infos.rb +0 -0
  115. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/messages.rb +0 -0
  116. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/options.rb +0 -0
  117. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/curls/settings.rb +0 -0
  118. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/callbacks.rb +0 -0
  119. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/debug_info.rb +0 -0
  120. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/features.rb +0 -0
  121. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/form.rb +0 -0
  122. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/header.rb +0 -0
  123. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/actionable.rb +0 -0
  124. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/custom.rb +0 -0
  125. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/delete.rb +0 -0
  126. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/get.rb +0 -0
  127. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/head.rb +0 -0
  128. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/options.rb +0 -0
  129. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/patch.rb +0 -0
  130. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/post.rb +0 -0
  131. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/postable.rb +0 -0
  132. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/put.rb +0 -0
  133. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http/putable.rb +0 -0
  134. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/http.rb +0 -0
  135. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/informations.rb +0 -0
  136. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/mirror.rb +0 -0
  137. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/operations.rb +0 -0
  138. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/options.rb +0 -0
  139. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/params.rb +0 -0
  140. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/queryable.rb +0 -0
  141. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/response_callbacks.rb +0 -0
  142. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy/util.rb +0 -0
  143. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/easy.rb +0 -0
  144. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/ethon_error.rb +0 -0
  145. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/global_init.rb +0 -0
  146. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/invalid_option.rb +0 -0
  147. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/invalid_value.rb +0 -0
  148. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/multi_add.rb +0 -0
  149. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  150. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/multi_remove.rb +0 -0
  151. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  152. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors/select.rb +0 -0
  153. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/errors.rb +0 -0
  154. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/libc.rb +0 -0
  155. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/loggable.rb +0 -0
  156. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/multi/operations.rb +0 -0
  157. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/multi/options.rb +0 -0
  158. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/multi/stack.rb +0 -0
  159. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon/multi.rb +0 -0
  160. /data/vendor/bundle/ruby/3.3.0/gems/{ethon-0.16.0 → ethon-0.17.0}/lib/ethon.rb +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybrid_api_organization_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.124.79
4
+ version: 0.124.80
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cybrid
@@ -140,7 +140,7 @@ files:
140
140
  - vendor/bundle/ruby/3.3.0/cache/coderay-1.1.3.gem
141
141
  - vendor/bundle/ruby/3.3.0/cache/date-3.4.1.gem
142
142
  - vendor/bundle/ruby/3.3.0/cache/diff-lcs-1.6.2.gem
143
- - vendor/bundle/ruby/3.3.0/cache/ethon-0.16.0.gem
143
+ - vendor/bundle/ruby/3.3.0/cache/ethon-0.17.0.gem
144
144
  - vendor/bundle/ruby/3.3.0/cache/ffi-1.17.2-x86_64-linux-gnu.gem
145
145
  - vendor/bundle/ruby/3.3.0/cache/jaro_winkler-1.5.6.gem
146
146
  - vendor/bundle/ruby/3.3.0/cache/method_source-1.1.0.gem
@@ -525,108 +525,64 @@ files:
525
525
  - vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/spec_helper.rb
526
526
  - vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/traverse_balanced_spec.rb
527
527
  - vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/traverse_sequences_spec.rb
528
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.github/workflows/ruby.yml
529
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.gitignore
530
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/.rspec
531
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/CHANGELOG.md
532
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Gemfile
533
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Guardfile
534
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/LICENSE
535
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/README.md
536
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/Rakefile
537
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/ethon.gemspec
538
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon.rb
539
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curl.rb
540
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb
541
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/codes.rb
542
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/constants.rb
543
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/form_options.rb
544
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/functions.rb
545
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/infos.rb
546
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/messages.rb
547
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb
548
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/curls/settings.rb
549
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy.rb
550
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb
551
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/debug_info.rb
552
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/features.rb
553
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/form.rb
554
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/header.rb
555
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http.rb
556
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/actionable.rb
557
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/custom.rb
558
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/delete.rb
559
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/get.rb
560
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/head.rb
561
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/options.rb
562
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/patch.rb
563
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/post.rb
564
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/postable.rb
565
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/put.rb
566
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/http/putable.rb
567
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb
568
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/mirror.rb
569
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/operations.rb
570
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/options.rb
571
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/params.rb
572
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/queryable.rb
573
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb
574
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/easy/util.rb
575
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors.rb
576
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/ethon_error.rb
577
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/global_init.rb
578
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_option.rb
579
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/invalid_value.rb
580
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_add.rb
581
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_fdset.rb
582
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_remove.rb
583
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/multi_timeout.rb
584
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/errors/select.rb
585
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/libc.rb
586
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/loggable.rb
587
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi.rb
588
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/operations.rb
589
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/options.rb
590
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/multi/stack.rb
591
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/lib/ethon/version.rb
592
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/benchmarks.rb
593
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/memory_leaks.rb
594
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
595
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/memory_test_helpers.rb
596
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/os_memory_leak_tracker.rb
597
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/support/ruby_object_leak_tracker.rb
598
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/curl_spec.rb
599
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb
600
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/debug_info_spec.rb
601
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/features_spec.rb
602
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/form_spec.rb
603
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/header_spec.rb
604
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/custom_spec.rb
605
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/delete_spec.rb
606
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/get_spec.rb
607
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/head_spec.rb
608
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/options_spec.rb
609
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/patch_spec.rb
610
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/post_spec.rb
611
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http/put_spec.rb
612
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/http_spec.rb
613
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb
614
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb
615
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb
616
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/options_spec.rb
617
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/queryable_spec.rb
618
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/response_callbacks_spec.rb
619
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy/util_spec.rb
620
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/easy_spec.rb
621
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/libc_spec.rb
622
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
623
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/operations_spec.rb
624
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/options_spec.rb
625
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi/stack_spec.rb
626
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/multi_spec.rb
627
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/spec_helper.rb
628
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/localhost_server.rb
629
- - vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/support/server.rb
528
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/CHANGELOG.md
529
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/LICENSE
530
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/README.md
531
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/ethon.gemspec
532
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon.rb
533
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curl.rb
534
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/classes.rb
535
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/codes.rb
536
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/constants.rb
537
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/form_options.rb
538
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/functions.rb
539
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/infos.rb
540
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/messages.rb
541
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/options.rb
542
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/curls/settings.rb
543
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy.rb
544
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/callbacks.rb
545
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/debug_info.rb
546
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/features.rb
547
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/form.rb
548
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/header.rb
549
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http.rb
550
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/actionable.rb
551
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/custom.rb
552
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/delete.rb
553
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/get.rb
554
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/head.rb
555
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/options.rb
556
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/patch.rb
557
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/post.rb
558
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/postable.rb
559
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/put.rb
560
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/http/putable.rb
561
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/informations.rb
562
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/mirror.rb
563
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/operations.rb
564
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/options.rb
565
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/params.rb
566
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/queryable.rb
567
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/response_callbacks.rb
568
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/easy/util.rb
569
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors.rb
570
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/ethon_error.rb
571
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/global_init.rb
572
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/invalid_option.rb
573
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/invalid_value.rb
574
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/multi_add.rb
575
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/multi_fdset.rb
576
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/multi_remove.rb
577
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/multi_timeout.rb
578
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/errors/select.rb
579
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/libc.rb
580
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/loggable.rb
581
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/multi.rb
582
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/multi/operations.rb
583
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/multi/options.rb
584
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/multi/stack.rb
585
+ - vendor/bundle/ruby/3.3.0/gems/ethon-0.17.0/lib/ethon/version.rb
630
586
  - vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/CHANGELOG.md
631
587
  - vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/COPYING
632
588
  - vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/Gemfile
@@ -2222,7 +2178,7 @@ files:
2222
2178
  - vendor/bundle/ruby/3.3.0/specifications/coderay-1.1.3.gemspec
2223
2179
  - vendor/bundle/ruby/3.3.0/specifications/date-3.4.1.gemspec
2224
2180
  - vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.6.2.gemspec
2225
- - vendor/bundle/ruby/3.3.0/specifications/ethon-0.16.0.gemspec
2181
+ - vendor/bundle/ruby/3.3.0/specifications/ethon-0.17.0.gemspec
2226
2182
  - vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.2-x86_64-linux-gnu.gemspec
2227
2183
  - vendor/bundle/ruby/3.3.0/specifications/jaro_winkler-1.5.6.gemspec
2228
2184
  - vendor/bundle/ruby/3.3.0/specifications/method_source-1.1.0.gemspec
@@ -1,41 +0,0 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
- name: Ruby
9
-
10
- on:
11
- push:
12
- branches: [ master ]
13
- pull_request:
14
- branches: [ master ]
15
-
16
- jobs:
17
- test:
18
- runs-on: ${{ matrix.os }}-latest
19
- strategy:
20
- fail-fast: false
21
- matrix:
22
- os: [ubuntu, macos]
23
- ruby-version: [2.5, 2.6, 2.7, 3.0, head, debug, truffleruby]
24
- continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
25
- steps:
26
- - uses: actions/checkout@v2
27
- - name: Install libcurl header
28
- run: |
29
- if ${{ matrix.os == 'macos' }}
30
- then
31
- brew install curl
32
- else
33
- sudo apt update && sudo apt install -y --no-install-recommends libcurl4-openssl-dev
34
- fi
35
- - name: Set up Ruby
36
- uses: ruby/setup-ruby@v1
37
- with:
38
- ruby-version: ${{ matrix.ruby-version }}
39
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
40
- - name: Run tests
41
- run: bundle exec rake
@@ -1,8 +0,0 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- .DS_Store
5
- .yardoc
6
- doc
7
- coverage
8
- .idea
@@ -1,3 +0,0 @@
1
- --tty
2
- --color
3
- --format documentation
@@ -1,43 +0,0 @@
1
- # frozen_string_literal: true
2
- source "https://rubygems.org"
3
- gemspec
4
-
5
- if Gem.ruby_version < Gem::Version.new("1.9.3")
6
- gem "rake", "< 11"
7
- else
8
- gem "rake"
9
- end
10
-
11
- group :development, :test do
12
- gem "rspec", "~> 3.4"
13
-
14
- gem "sinatra"
15
-
16
- if Gem.ruby_version < Gem::Version.new("2.0.0")
17
- gem "json", "< 2"
18
- else
19
- gem "json"
20
- end
21
-
22
- if Gem.ruby_version >= Gem::Version.new("2.0.0")
23
- gem "mime-types", "~> 1.18"
24
- end
25
-
26
- if Gem.ruby_version >= Gem::Version.new("2.2.0")
27
- gem "mustermann"
28
- elsif Gem.ruby_version >= Gem::Version.new("2.1.0")
29
- gem "mustermann", "0.4.0"
30
- elsif Gem.ruby_version >= Gem::Version.new("2.0.0")
31
- gem "mustermann", "0.3.1"
32
- end
33
-
34
- if Gem.ruby_version >= Gem::Version.new("3.0.0")
35
- gem "webrick"
36
- end
37
- end
38
-
39
- group :perf do
40
- gem "benchmark-ips"
41
- gem "patron"
42
- gem "curb"
43
- end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
- # vim:set filetype=ruby:
3
- guard(
4
- "rspec",
5
- :all_after_pass => false,
6
- :cli => "--fail-fast --tty --format documentation --colour") do
7
-
8
- watch(%r{^spec/.+_spec\.rb$})
9
- watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
10
- end
@@ -1,40 +0,0 @@
1
- # frozen_string_literal: true
2
- require "bundler"
3
- Bundler.setup
4
-
5
- require "rake"
6
- require "rspec/core/rake_task"
7
- $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
8
- require "ethon/version"
9
-
10
- task :gem => :build
11
- task :build do
12
- system "gem build ethon.gemspec"
13
- end
14
-
15
- task :install => :build do
16
- system "gem install ethon-#{Ethon::VERSION}.gem"
17
- end
18
-
19
- task :release => :build do
20
- system "git tag -a v#{Ethon::VERSION} -m 'Tagging #{Ethon::VERSION}'"
21
- system "git push --tags"
22
- system "gem push ethon-#{Ethon::VERSION}.gem"
23
- end
24
-
25
- RSpec::Core::RakeTask.new(:spec) do |t|
26
- t.verbose = false
27
- t.ruby_opts = "-W -I./spec -rspec_helper"
28
- end
29
-
30
- desc "Start up the test servers"
31
- task :start do
32
- require_relative 'spec/support/boot'
33
- begin
34
- Boot.start_servers(:rake)
35
- rescue Exception
36
- end
37
- end
38
-
39
- task :default => :spec
40
-
@@ -1,104 +0,0 @@
1
- # encoding: utf-8
2
- # frozen_string_literal: true
3
- require 'ethon'
4
- require 'open-uri'
5
- require 'patron'
6
- require 'curb'
7
- require 'net/http'
8
- require 'cgi'
9
- require 'benchmark/ips'
10
-
11
- require_relative '../spec/support/server'
12
- require_relative '../spec/support/localhost_server'
13
-
14
- LocalhostServer.new(TESTSERVER.new, 3000)
15
- LocalhostServer.new(TESTSERVER.new, 3001)
16
- LocalhostServer.new(TESTSERVER.new, 3002)
17
-
18
- url = 'http://localhost:3000/'.freeze
19
- uri = URI.parse('http://localhost:3000/').freeze
20
- ethon = Ethon::Easy.new(url: url)
21
- patron = Patron::Session.new
22
- patron_url = Patron::Session.new(base_url: url)
23
- curb = Curl::Easy.new(url)
24
-
25
- puts '[Creation]'
26
- Benchmark.ips do |x|
27
- x.report('String.new') { '' }
28
- x.report('Easy.new') { Ethon::Easy.new }
29
- end
30
-
31
- puts '[Escape]'
32
- Benchmark.ips do |x|
33
- x.report('CGI.escape') { CGI.escape("まつもと") }
34
- x.report('Easy.escape') { ethon.escape("まつもと") }
35
- end
36
-
37
- puts '[Requests]'
38
- Benchmark.ips do |x|
39
- x.report('net/http') { Net::HTTP.get_response(uri) }
40
- x.report('open-uri') { open url }
41
-
42
- x.report('patron') do
43
- patron.base_url = url
44
- patron.get('/')
45
- end
46
-
47
- x.report('patron reuse') { patron_url.get('/') }
48
-
49
- x.report('curb') do
50
- curb.url = url
51
- curb.perform
52
- end
53
-
54
- x.report('curb reuse') { curb.perform }
55
-
56
- x.report('Easy.perform') do
57
- ethon.url = url
58
- ethon.perform
59
- end
60
-
61
- x.report('Easy.perform reuse') { ethon.perform }
62
- end
63
-
64
- puts "[ 4 delayed Requests ]"
65
- Benchmark.ips do |x|
66
- x.report('net/http') do
67
- 3.times do |i|
68
- uri = URI.parse("http://localhost:300#{i}/?delay=1")
69
- Net::HTTP.get_response(uri)
70
- end
71
- end
72
-
73
- x.report("open-uri") do
74
- 3.times do |i|
75
- open("http://localhost:300#{i}/?delay=1")
76
- end
77
- end
78
-
79
- x.report("patron") do
80
- sess = Patron::Session.new
81
- 3.times do |i|
82
- sess.base_url = "http://localhost:300#{i}/?delay=1"
83
- sess.get("/")
84
- end
85
- end
86
-
87
- x.report("Easy.perform") do
88
- easy = Ethon::Easy.new
89
- 3.times do |i|
90
- easy.url = "http://localhost:300#{i}/?delay=1"
91
- easy.perform
92
- end
93
- end
94
-
95
- x.report("Multi.perform") do
96
- multi = Ethon::Multi.new
97
- 3.times do |i|
98
- easy = Ethon::Easy.new
99
- easy.url = "http://localhost:300#{i}/?delay=1"
100
- multi.add(easy)
101
- end
102
- multi.perform
103
- end
104
- end
@@ -1,114 +0,0 @@
1
- # frozen_string_literal: true
2
- require 'ethon'
3
- require 'ethon/easy'
4
-
5
- require_relative 'perf_spec_helper'
6
- require 'rspec/autorun'
7
-
8
- describe "low-level interactions with libcurl" do
9
- describe Ethon::Multi do
10
- memory_leak_test("init") do
11
- Ethon::Multi.new
12
- end
13
-
14
- memory_leak_test("handle") do
15
- Ethon::Multi.new.handle
16
- end
17
- end
18
-
19
- describe Ethon::Easy do
20
- memory_leak_test("init") do
21
- Ethon::Easy.new
22
- end
23
-
24
- memory_leak_test("handle") do
25
- Ethon::Easy.new.handle
26
- end
27
-
28
- memory_leak_test("headers") do
29
- Ethon::Easy.new.headers = { "a" => 1, "b" => 2, "c" => 3, "d" => 4}
30
- end
31
-
32
- memory_leak_test("escape") do
33
- Ethon::Easy.new.escape("the_sky&is_blue")
34
- end
35
- end
36
-
37
-
38
- describe Ethon::Easy::Form do
39
- memory_leak_test("init") do
40
- Ethon::Easy::Form.new(nil, {})
41
- end
42
-
43
- memory_leak_test("first") do
44
- Ethon::Easy::Form.new(nil, {}).first
45
- end
46
-
47
- memory_leak_test("last") do
48
- Ethon::Easy::Form.new(nil, {}).last
49
- end
50
-
51
- memory_leak_test("materialized with some params") do
52
- form = Ethon::Easy::Form.new(nil, { "a" => "1" })
53
- form.materialize
54
- end
55
-
56
- memory_leak_test("materialized with a file") do
57
- File.open(__FILE__, "r") do |file|
58
- form = Ethon::Easy::Form.new(nil, { "a" => file })
59
- form.materialize
60
- end
61
- end
62
- end
63
- end
64
-
65
- describe "higher level operations" do
66
- memory_leak_test("a simple request") do
67
- Ethon::Easy.new(:url => "http://localhost:3001/",
68
- :forbid_reuse => true).perform
69
- end
70
-
71
- memory_leak_test("a request with headers") do
72
- Ethon::Easy.new(:url => "http://localhost:3001/",
73
- :headers => { "Content-Type" => "application/json",
74
- "Something" => "1",
75
- "Else" => "qwerty",
76
- "Long-String" => "aassddffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz"},
77
- :forbid_reuse => true).perform
78
- end
79
-
80
- memory_leak_test("a request with headers and params") do
81
- easy = Ethon::Easy.new(:url => "http://localhost:3001/",
82
- :headers => { "Content-Type" => "application/json",
83
- "Something" => "1",
84
- "Else" => "qwerty",
85
- "Long-String" => "aassddffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz"},
86
- :forbid_reuse => true)
87
- easy.http_request("http://localhost:3001/",
88
- :get,
89
- :params => { "param1" => "value1",
90
- "param2" => "value2",
91
- "param3" => "value3",
92
- "param4" => "value4"})
93
- end
94
-
95
- memory_leak_test("a request with headers, params, and body") do
96
- easy = Ethon::Easy.new(:url => "http://localhost:3001/",
97
- :headers => { "Content-Type" => "application/json",
98
- "Something" => "1",
99
- "Else" => "qwerty",
100
- "Long-String" => "aassddffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz"},
101
- :forbid_reuse => true)
102
- easy.http_request("http://localhost:3001/",
103
- :get,
104
- :params => { "param1" => "value1",
105
- "param2" => "value2",
106
- "param3" => "value3",
107
- "param4" => "value4"},
108
- :body => {
109
- "body1" => "value1",
110
- "body2" => "value2",
111
- "body3" => "value3"
112
- })
113
- end
114
- end
@@ -1,37 +0,0 @@
1
- # frozen_string_literal: true
2
- #### SETUP
3
- require 'bundler'
4
- Bundler.setup
5
- require 'rspec'
6
-
7
- require 'support/localhost_server'
8
- require 'support/server'
9
- require_relative 'support/memory_test_helpers'
10
-
11
- require 'logger'
12
-
13
- if ENV['VERBOSE']
14
- Ethon.logger = Logger.new($stdout)
15
- Ethon.logger.level = Logger::DEBUG
16
- end
17
-
18
- RSpec.configure do |config|
19
- config.before(:suite) do
20
- LocalhostServer.new(TESTSERVER.new, 3001)
21
- end
22
- config.include(MemoryTestHelpers)
23
- config.extend(MemoryTestHelpers::TestMethods)
24
- end
25
-
26
- MemoryTestHelpers.setup
27
- MemoryTestHelpers.logger = Logger.new($stdout)
28
- MemoryTestHelpers.logger.level = Logger::INFO
29
- MemoryTestHelpers.logger.formatter = proc do |severity, datetime, progname, msg|
30
- "\t\t#{msg}\n"
31
- end
32
-
33
- if ENV['VERBOSE']
34
- MemoryTestHelpers.logger.level = Logger::DEBUG
35
- end
36
-
37
- MemoryTestHelpers.iterations = ENV.fetch("ITERATIONS", 10_000).to_i