cybrid_api_id_ruby 0.129.1137 → 0.129.1138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -42
- data/README.md +22 -13
- data/cybrid_api_id_ruby.gemspec +10 -4
- data/docs/BankApplicationsIdpApi.md +20 -20
- data/docs/CustomerTokensIdpApi.md +4 -4
- data/docs/OrganizationApplicationsIdpApi.md +20 -20
- data/docs/UsersIdpApi.md +20 -20
- data/lib/cybrid_api_id_ruby/api/bank_applications_idp_api.rb +12 -12
- data/lib/cybrid_api_id_ruby/api/customer_tokens_idp_api.rb +4 -4
- data/lib/cybrid_api_id_ruby/api/organization_applications_idp_api.rb +12 -12
- data/lib/cybrid_api_id_ruby/api/users_idp_api.rb +12 -12
- data/lib/cybrid_api_id_ruby/api_client.rb +82 -104
- data/lib/cybrid_api_id_ruby/api_error.rb +3 -2
- data/lib/cybrid_api_id_ruby/configuration.rb +76 -60
- data/lib/cybrid_api_id_ruby/models/application_idp_model.rb +25 -20
- data/lib/cybrid_api_id_ruby/models/application_list_idp_model.rb +23 -20
- data/lib/cybrid_api_id_ruby/models/application_with_secret_idp_model.rb +28 -22
- data/lib/cybrid_api_id_ruby/models/customer_token_idp_model.rb +15 -20
- data/lib/cybrid_api_id_ruby/models/error_response_idp_model.rb +21 -20
- data/lib/cybrid_api_id_ruby/models/patch_application_idp_model.rb +21 -22
- data/lib/cybrid_api_id_ruby/models/patch_user_idp_model.rb +17 -20
- data/lib/cybrid_api_id_ruby/models/post_bank_application_idp_model.rb +23 -22
- data/lib/cybrid_api_id_ruby/models/post_customer_token_idp_model.rb +19 -20
- data/lib/cybrid_api_id_ruby/models/post_organization_application_idp_model.rb +17 -20
- data/lib/cybrid_api_id_ruby/models/post_user_idp_model.rb +17 -20
- data/lib/cybrid_api_id_ruby/models/user_idp_model.rb +33 -26
- data/lib/cybrid_api_id_ruby/models/user_list_idp_model.rb +23 -20
- data/lib/cybrid_api_id_ruby/version.rb +3 -3
- data/lib/cybrid_api_id_ruby.rb +2 -3
- data/spec/api/bank_applications_idp_api_spec.rb +7 -7
- data/spec/api/customer_tokens_idp_api_spec.rb +3 -3
- data/spec/api/organization_applications_idp_api_spec.rb +7 -7
- data/spec/api/users_idp_api_spec.rb +7 -7
- data/spec/models/application_idp_model_spec.rb +11 -9
- data/spec/models/application_list_idp_model_spec.rb +9 -7
- data/spec/models/application_with_secret_idp_model_spec.rb +12 -10
- data/spec/models/customer_token_idp_model_spec.rb +6 -4
- data/spec/models/error_response_idp_model_spec.rb +8 -6
- data/spec/models/patch_application_idp_model_spec.rb +7 -5
- data/spec/models/patch_user_idp_model_spec.rb +6 -4
- data/spec/models/post_bank_application_idp_model_spec.rb +8 -6
- data/spec/models/post_customer_token_idp_model_spec.rb +7 -5
- data/spec/models/post_organization_application_idp_model_spec.rb +7 -5
- data/spec/models/post_user_idp_model_spec.rb +7 -5
- data/spec/models/user_idp_model_spec.rb +12 -10
- data/spec/models/user_list_idp_model_spec.rb +9 -7
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/4.0.0/cache/http-2-1.2.3.gem +0 -0
- data/vendor/bundle/ruby/4.0.0/cache/httpx-1.8.4.gem +0 -0
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/io-console-0.9.4/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/psych-5.5.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/LICENSE +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/README.md +298 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/base64.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/client.rb +82 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/connection.rb +882 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/emitter.rb +40 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/error.rb +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/extensions.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/flow_buffer.rb +173 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/framer.rb +510 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header/compressor.rb +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header/decompressor.rb +133 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header/encoding_context.rb +313 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header/huffman.rb +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header/huffman_statemachine.rb +274 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/header.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/server.rb +160 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/settings.rb +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/stream.rb +695 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/lib/http/2.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/2.rbs +154 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/client.rbs +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/connection.rbs +102 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/emitter.rbs +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/error.rbs +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/extensions.rbs +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/flow_buffer.rbs +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/frame_buffer.rbs +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/framer.rbs +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/header/compressor.rbs +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/header/decompressor.rbs +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/header/encoding_context.rbs +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/header/huffman.rbs +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/header.rbs +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/server.rbs +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/settings.rbs +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/http-2-1.2.3/sig/stream.rbs +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/LICENSE.txt +191 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/README.md +164 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_0_1.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_0_2.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_0_3.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_0_4.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_0_5.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_10_0.md +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_10_1.md +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_10_2.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_11_0.md +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_11_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_11_2.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_11_3.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_12_0.md +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_13_0.md +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_13_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_13_2.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_0.md +79 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_1.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_2.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_3.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_4.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_14_5.md +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_15_0.md +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_15_1.md +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_15_2.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_15_3.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_15_4.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_16_0.md +93 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_16_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_17_0.md +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_0.md +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_1.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_2.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_3.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_4.md +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_5.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_6.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_18_7.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_0.md +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_2.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_3.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_4.md +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_5.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_6.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_7.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_19_8.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_1_0.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_0.md +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_2.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_3.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_4.md +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_20_5.md +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_21_0.md +96 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_21_1.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_0.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_1.md +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_2.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_3.md +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_4.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_22_5.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_23_0.md +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_23_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_23_2.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_23_3.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_23_4.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_0.md +48 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_1.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_2.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_3.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_4.md +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_5.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_6.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_24_7.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_2_0.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_2_1.md +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_3_0.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_3_1.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_4_0.md +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_4_1.md +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_5_0.md +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_5_1.md +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_0.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_1.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_2.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_3.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_4.md +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_5.md +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_6.md +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_6_7.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_7_0.md +46 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_8_0.md +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_8_1.md +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_8_2.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/0_9_0.md +38 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_0_0.md +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_0_1.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_0_2.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_0.md +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_1.md +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_2.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_3.md +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_4.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_1_5.md +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_0.md +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_1.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_2.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_3.md +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_4.md +8 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_5.md +7 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_2_6.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_3_0.md +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_3_1.md +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_3_2.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_3_3.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_3_4.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_4_0.md +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_4_1.md +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_4_2.md +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_4_3.md +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_4_4.md +14 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_5_0.md +126 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_5_1.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_6_0.md +50 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_6_1.md +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_6_2.md +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_6_3.md +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_0.md +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_1.md +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_2.md +6 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_3.md +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_4.md +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_5.md +10 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_6.md +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_7.md +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_7_8.md +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_8_0.md +100 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_8_1.md +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_8_2.md +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_8_3.md +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/doc/release_notes/1_8_4.md +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/adapters/datadog.rb +343 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/adapters/faraday.rb +293 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/adapters/sentry.rb +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/adapters/webmock.rb +190 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/altsvc.rb +167 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/base64.rb +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/buffer.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/callbacks.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/chainable.rb +106 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/connection/http1.rb +416 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/connection/http2.rb +601 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/connection.rb +1196 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/domain_name.rb +145 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/errors.rb +121 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/extensions.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/headers.rb +176 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/io/ssl.rb +184 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/io/tcp.rb +262 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/io/udp.rb +62 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/io/unix.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/io.rb +11 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/loggable.rb +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/options.rb +616 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/parser/http1.rb +202 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/auth/basic.rb +20 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/auth/digest.rb +149 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/auth/ntlm.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/auth/socks5.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/auth.rb +225 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/aws_sdk_authentication.rb +110 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/aws_sigv4.rb +239 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/basic_auth.rb +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/brotli.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cache/file_store.rb +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cache/store.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cache.rb +221 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/callbacks.rb +153 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/circuit_breaker/circuit.rb +101 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/circuit_breaker/circuit_store.rb +53 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/circuit_breaker.rb +147 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/content_digest.rb +204 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cookies/cookie.rb +197 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cookies/jar.rb +170 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cookies/set_cookie_parser.rb +143 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/cookies.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/digest_auth.rb +72 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/expect.rb +150 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/fiber_concurrency.rb +279 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/follow_redirects.rb +265 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/grpc/call.rb +63 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/grpc/grpc_encoding.rb +90 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/grpc/message.rb +55 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/grpc.rb +282 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/h2c.rb +117 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/internal_telemetry.rb +107 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/ntlm_auth.rb +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/ntlm_v2_auth.rb +92 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/oauth.rb +336 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/persistent.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/proxy/http.rb +236 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/proxy/socks4.rb +135 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/proxy/socks5.rb +194 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/proxy/ssh.rb +94 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/proxy.rb +370 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/push_promise.rb +81 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/query.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/rate_limiter.rb +60 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/response_cache.rb +268 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/retries.rb +299 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/server_sent_events.rb +158 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/ssrf_filter.rb +161 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/stream.rb +238 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/stream_bidi.rb +410 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/tracing.rb +156 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/upgrade/h2.rb +54 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/upgrade.rb +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/webdav.rb +86 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/plugins/xml.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/pmatch_extensions.rb +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/pool.rb +231 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/punycode.rb +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/request/body.rb +161 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/request.rb +387 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/cache/base.rb +129 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/cache/file.rb +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/cache/memory.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/cache.rb +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/entry.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/https.rb +326 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/multi.rb +84 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/native.rb +603 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/resolver.rb +213 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver/system.rb +284 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/resolver.rb +111 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/response/body.rb +246 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/response/buffer.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/response.rb +331 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/selector.rb +327 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/session.rb +605 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/session_extensions.rb +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/timers.rb +134 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/body.rb +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/chunker.rb +115 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/deflate.rb +42 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/form.rb +68 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/gzip.rb +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/json.rb +70 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/multipart/decoder.rb +141 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/multipart/encoder.rb +120 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/multipart/mime_type_detector.rb +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/multipart/part.rb +35 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/multipart.rb +39 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/utils/body_reader.rb +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder/utils/deflater.rb +73 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/transcoder.rb +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/utils.rb +88 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx/version.rb +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/lib/httpx.rb +66 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/altsvc.rbs +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/buffer.rbs +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/callbacks.rbs +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/chainable.rbs +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/connection/http1.rbs +89 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/connection/http2.rbs +140 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/connection.rbs +199 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/domain_name.rbs +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/errors.rbs +75 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/headers.rbs +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/httpx.rbs +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/io/ssl.rbs +33 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/io/tcp.rbs +74 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/io/udp.rbs +25 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/io/unix.rbs +26 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/io.rbs +3 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/loggable.rbs +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/options.rbs +232 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/parser/http1.rbs +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/auth/basic.rbs +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/auth/digest.rbs +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/auth/ntlm.rbs +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/auth/socks5.rbs +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/auth.rbs +59 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/aws_sdk_authentication.rbs +43 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/aws_sigv4.rbs +78 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/basic_auth.rbs +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/brotli.rbs +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cache/file_store.rbs +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cache/store.rbs +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cache.rbs +69 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/callbacks.rbs +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/circuit_breaker.rbs +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/compression.rbs +57 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/content_digest.rbs +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cookies/cookie.rbs +56 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cookies/jar.rbs +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cookies/set_cookie_parser.rbs +22 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/cookies.rbs +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/digest_auth.rbs +19 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/expect.rbs +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/fiber_concurrency.rbs +61 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/follow_redirects.rbs +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/grpc/call.rbs +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/grpc/grpc_encoding.rbs +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/grpc/message.rbs +17 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/grpc.rbs +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/h2c.rbs +27 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/ntlm_auth.rbs +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/ntlm_v2_auth.rbs +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/oauth.rbs +97 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/persistent.rbs +21 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/proxy/http.rbs +32 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/proxy/socks4.rbs +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/proxy/socks5.rbs +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/proxy/ssh.rbs +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/proxy.rbs +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/push_promise.rbs +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/query.rbs +18 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/rate_limiter.rbs +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/response_cache.rbs +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/retries.rbs +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/server_sent_events.rbs +45 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/ssrf_filter.rbs +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/stream.rbs +64 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/stream_bidi.rbs +67 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/tracing.rbs +41 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/upgrade/h2.rbs +9 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/upgrade.rbs +29 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/webdav.rbs +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/plugins/xml.rbs +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/pool.rbs +51 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/punycode.rbs +5 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/request/body.rbs +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/request.rbs +99 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/cache/base.rbs +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/cache/file.rbs +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/cache/memory.rbs +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/cache.rbs +16 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/entry.rbs +13 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/https.rbs +71 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/multi.rbs +31 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/native.rbs +76 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/resolver.rbs +65 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver/system.rbs +37 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/resolver.rbs +36 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/response/body.rbs +52 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/response/buffer.rbs +23 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/response.rbs +109 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/selector.rbs +80 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/session.rbs +104 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/timers.rbs +58 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/body.rbs +24 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/chunker.rbs +49 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/deflate.rbs +12 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/form.rbs +34 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/gzip.rbs +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/json.rbs +28 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/multipart.rbs +108 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/utils/body_reader.rbs +15 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder/utils/deflater.rbs +30 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/transcoder.rbs +47 -0
- data/vendor/bundle/ruby/4.0.0/gems/httpx-1.8.4/sig/utils.rbs +21 -0
- data/vendor/bundle/ruby/4.0.0/specifications/http-2-1.2.3.gemspec +22 -0
- data/vendor/bundle/ruby/4.0.0/specifications/httpx-1.8.4.gemspec +28 -0
- metadata +426 -258
- data/docs/ApplicationWithSecretAllOfIdpModel.md +0 -18
- data/lib/cybrid_api_id_ruby/models/application_with_secret_all_of_idp_model.rb +0 -225
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/application_with_secret_all_of_idp_model_spec.rb +0 -34
- data/vendor/bundle/ruby/4.0.0/cache/ethon-0.18.0.gem +0 -0
- data/vendor/bundle/ruby/4.0.0/cache/ffi-1.17.4-x86_64-linux-gnu.gem +0 -0
- data/vendor/bundle/ruby/4.0.0/cache/typhoeus-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/LICENSE +0 -20
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/README.md +0 -118
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/ethon.gemspec +0 -37
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curl.rb +0 -90
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/classes.rb +0 -65
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/codes.rb +0 -123
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/constants.rb +0 -80
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/form_options.rb +0 -37
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/functions.rb +0 -58
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/infos.rb +0 -151
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/messages.rb +0 -19
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/options.rb +0 -503
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/curls/settings.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/callbacks.rb +0 -155
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/debug_info.rb +0 -47
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/features.rb +0 -31
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/form.rb +0 -107
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/header.rb +0 -61
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/actionable.rb +0 -157
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/custom.rb +0 -29
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/delete.rb +0 -25
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/get.rb +0 -24
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/head.rb +0 -24
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/options.rb +0 -24
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/patch.rb +0 -24
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/post.rb +0 -26
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/postable.rb +0 -32
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/put.rb +0 -27
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http/putable.rb +0 -25
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/http.rb +0 -68
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/informations.rb +0 -116
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/mirror.rb +0 -36
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/operations.rb +0 -64
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/options.rb +0 -50
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/params.rb +0 -29
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/queryable.rb +0 -154
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/response_callbacks.rb +0 -136
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy/util.rb +0 -28
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/easy.rb +0 -315
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/ethon_error.rb +0 -9
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/global_init.rb +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/invalid_option.rb +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/invalid_value.rb +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/multi_add.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/multi_fdset.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/multi_remove.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/multi_timeout.rb +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors/select.rb +0 -13
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/errors.rb +0 -17
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/libc.rb +0 -21
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/loggable.rb +0 -58
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/multi/operations.rb +0 -228
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/multi/options.rb +0 -117
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/multi/stack.rb +0 -49
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/multi.rb +0 -126
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon/version.rb +0 -6
- data/vendor/bundle/ruby/4.0.0/gems/ethon-0.18.0/lib/ethon.rb +0 -36
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/CHANGELOG.md +0 -507
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/COPYING +0 -49
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/Gemfile +0 -26
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/LICENSE +0 -24
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/LICENSE.SPECS +0 -22
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/README.md +0 -138
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/Rakefile +0 -209
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/Steepfile +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/ffi.gemspec +0 -43
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/3.4/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/4.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/abstract_memory.rb +0 -44
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/autopointer.rb +0 -186
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/buffer.rb +0 -4
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/callback.rb +0 -4
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/compat.rb +0 -54
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/data_converter.rb +0 -67
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/dynamic_library.rb +0 -118
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/enum.rb +0 -302
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/errno.rb +0 -43
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/ffi.rb +0 -109
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/function.rb +0 -94
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/io.rb +0 -62
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/library.rb +0 -592
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/library_path.rb +0 -109
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/managedstruct.rb +0 -84
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/memorypointer.rb +0 -1
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-darwin/types.conf +0 -130
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -181
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-linux/types.conf +0 -175
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-openbsd/types.conf +0 -134
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/aarch64-windows/types.conf +0 -52
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd/types.conf +0 -152
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/arm-freebsd12/types.conf +0 -152
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/arm-linux/types.conf +0 -132
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/hppa1.1-linux/types.conf +0 -178
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/hppa2.0-linux/types.conf +0 -178
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-cygwin/types.conf +0 -3
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-darwin/types.conf +0 -100
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd/types.conf +0 -152
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-freebsd12/types.conf +0 -152
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-gnu/types.conf +0 -107
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-linux/types.conf +0 -103
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-netbsd/types.conf +0 -126
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-openbsd/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-solaris/types.conf +0 -122
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/i386-windows/types.conf +0 -52
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/ia64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/loongarch64-linux/types.conf +0 -141
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mips-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mips64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mips64el-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mipsel-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc-aix/types.conf +0 -180
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc-darwin/types.conf +0 -100
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc-linux/types.conf +0 -130
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc-openbsd/types.conf +0 -156
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/powerpc64le-linux/types.conf +0 -100
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/riscv64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/s390-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/s390x-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sparc-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sparc-solaris/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sparcv9-linux/types.conf +0 -102
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -156
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sparcv9-solaris/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/sw_64-linux/types.conf +0 -141
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-cygwin/types.conf +0 -3
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-darwin/types.conf +0 -130
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -130
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -158
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-haiku/types.conf +0 -117
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-linux/types.conf +0 -132
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-msys/types.conf +0 -119
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-netbsd/types.conf +0 -128
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-openbsd/types.conf +0 -134
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-solaris/types.conf +0 -122
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform/x86_64-windows/types.conf +0 -52
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/platform.rb +0 -187
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/pointer.rb +0 -167
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/struct.rb +0 -317
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/struct_by_reference.rb +0 -72
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/struct_layout.rb +0 -96
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/struct_layout_builder.rb +0 -227
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/tools/const_generator.rb +0 -232
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/tools/generator.rb +0 -105
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/tools/generator_task.rb +0 -32
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/tools/struct_generator.rb +0 -195
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/types.rb +0 -222
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/union.rb +0 -43
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/variadic.rb +0 -80
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi/version.rb +0 -3
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/lib/ffi.rb +0 -27
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/getlogin.rb +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/getpid.rb +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/gettimeofday.rb +0 -18
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/hello.rb +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/hello_ractor.rb +0 -19
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/inotify.rb +0 -60
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/pty.rb +0 -75
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/qsort.rb +0 -20
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/samples/qsort_ractor.rb +0 -36
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/abstract_memory.rbs +0 -165
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs +0 -26
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/buffer.rbs +0 -18
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/data_converter.rbs +0 -10
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/dynamic_library.rbs +0 -9
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/enum.rbs +0 -38
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/errno.rbs +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/function.rbs +0 -39
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/library.rbs +0 -42
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/native_type.rbs +0 -86
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/platform.rbs +0 -49
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/pointer.rbs +0 -42
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct.rbs +0 -76
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs +0 -11
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_by_value.rbs +0 -7
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout.rbs +0 -9
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs +0 -5
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/type.rbs +0 -39
- data/vendor/bundle/ruby/4.0.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi.rbs +0 -29
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/CHANGELOG.md +0 -465
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/CONTRIBUTING.md +0 -20
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/LICENSE +0 -22
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/README.md +0 -588
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/UPGRADE.md +0 -55
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -76
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/rack/typhoeus/middleware/params_decoder.rb +0 -57
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/rack/typhoeus.rb +0 -1
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/adapters/faraday.rb +0 -180
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/cache/dalli.rb +0 -28
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/cache/rails.rb +0 -28
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/cache/redis.rb +0 -35
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/config.rb +0 -85
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/easy_factory.rb +0 -206
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/errors/no_stub.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/errors/typhoeus_error.rb +0 -8
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/errors.rb +0 -9
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/expectation.rb +0 -219
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/addable.rb +0 -23
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/before.rb +0 -31
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/block_connection.rb +0 -35
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/cacheable.rb +0 -15
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/memoizable.rb +0 -56
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/queueable.rb +0 -83
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/runnable.rb +0 -19
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/stubbable.rb +0 -28
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra.rb +0 -95
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/pool.rb +0 -70
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/railtie.rb +0 -12
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/actions.rb +0 -125
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/before.rb +0 -30
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/block_connection.rb +0 -52
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/cacheable.rb +0 -38
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/callbacks.rb +0 -151
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/marshal.rb +0 -22
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/memoizable.rb +0 -38
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/operations.rb +0 -40
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/responseable.rb +0 -29
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/streamable.rb +0 -34
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request/stubbable.rb +0 -30
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/request.rb +0 -223
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/response/cacheable.rb +0 -14
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/response/header.rb +0 -105
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/response/informations.rb +0 -305
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/response/status.rb +0 -106
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/response.rb +0 -68
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus/version.rb +0 -5
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/lib/typhoeus.rb +0 -143
- data/vendor/bundle/ruby/4.0.0/gems/typhoeus-1.6.0/typhoeus.gemspec +0 -35
- data/vendor/bundle/ruby/4.0.0/specifications/ethon-0.18.0.gemspec +0 -27
- data/vendor/bundle/ruby/4.0.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec +0 -24
- data/vendor/bundle/ruby/4.0.0/specifications/typhoeus-1.6.0.gemspec +0 -26
|
@@ -1,503 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
module Ethon
|
|
3
|
-
module Curls
|
|
4
|
-
|
|
5
|
-
# This module contains logic for setting options on
|
|
6
|
-
# easy or multi interface.
|
|
7
|
-
module Options
|
|
8
|
-
|
|
9
|
-
OPTION_STRINGS = { :easy => 'easy_options', :multi => 'multi_options' }.freeze
|
|
10
|
-
FOPTION_STRINGS = { :easy => 'EASY_OPTIONS', :multi => 'MULTI_OPTIONS' }.freeze
|
|
11
|
-
FUNCS = { :easy => 'easy_setopt', :multi => 'multi_setopt' }.freeze
|
|
12
|
-
# Sets appropriate option for easy, depending on value type.
|
|
13
|
-
def set_option(option, value, handle, type = :easy)
|
|
14
|
-
type = type.to_sym unless type.is_a?(Symbol)
|
|
15
|
-
raise NameError, "Ethon::Curls::Options unknown type #{type}." unless respond_to?(OPTION_STRINGS[type])
|
|
16
|
-
opthash=send(OPTION_STRINGS[type], nil)
|
|
17
|
-
raise Errors::InvalidOption.new(option) unless opthash.include?(option)
|
|
18
|
-
|
|
19
|
-
case opthash[option][:type]
|
|
20
|
-
when :none
|
|
21
|
-
return if value.nil?
|
|
22
|
-
value=1
|
|
23
|
-
va_type=:long
|
|
24
|
-
when :int
|
|
25
|
-
return if value.nil?
|
|
26
|
-
va_type=:long
|
|
27
|
-
value=value.to_i
|
|
28
|
-
when :bool
|
|
29
|
-
return if value.nil?
|
|
30
|
-
va_type=:long
|
|
31
|
-
value=(value&&value!=0) ? 1 : 0
|
|
32
|
-
when :time
|
|
33
|
-
return if value.nil?
|
|
34
|
-
va_type=:long
|
|
35
|
-
value=value.to_i
|
|
36
|
-
when :enum
|
|
37
|
-
return if value.nil?
|
|
38
|
-
va_type=:long
|
|
39
|
-
value = case value
|
|
40
|
-
when Symbol
|
|
41
|
-
opthash[option][:opts][value]
|
|
42
|
-
when String
|
|
43
|
-
opthash[option][:opts][value.to_sym]
|
|
44
|
-
else
|
|
45
|
-
value
|
|
46
|
-
end.to_i
|
|
47
|
-
when :bitmask
|
|
48
|
-
return if value.nil?
|
|
49
|
-
va_type=:long
|
|
50
|
-
value = case value
|
|
51
|
-
when Symbol
|
|
52
|
-
opthash[option][:opts][value]
|
|
53
|
-
when Array
|
|
54
|
-
value.inject(0) { |res,v| res|opthash[option][:opts][v] }
|
|
55
|
-
else
|
|
56
|
-
value
|
|
57
|
-
end.to_i
|
|
58
|
-
when :string
|
|
59
|
-
va_type=:string
|
|
60
|
-
value=value.to_s unless value.nil?
|
|
61
|
-
when :string_as_pointer
|
|
62
|
-
va_type = :pointer
|
|
63
|
-
s = ''
|
|
64
|
-
s = value.to_s unless value.nil?
|
|
65
|
-
value = FFI::MemoryPointer.new(:char, s.bytesize)
|
|
66
|
-
value.put_bytes(0, s)
|
|
67
|
-
when :string_escape_null
|
|
68
|
-
va_type=:string
|
|
69
|
-
value=Util.escape_zero_byte(value) unless value.nil?
|
|
70
|
-
when :ffipointer
|
|
71
|
-
va_type=:pointer
|
|
72
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? FFI::Pointer
|
|
73
|
-
when :curl_slist
|
|
74
|
-
va_type=:pointer
|
|
75
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? FFI::Pointer
|
|
76
|
-
when :buffer
|
|
77
|
-
raise NotImplementedError, "Ethon::Curls::Options option #{option} buffer type not implemented."
|
|
78
|
-
when :dontuse_object
|
|
79
|
-
raise NotImplementedError, "Ethon::Curls::Options option #{option} type not implemented."
|
|
80
|
-
when :cbdata
|
|
81
|
-
raise NotImplementedError, "Ethon::Curls::Options option #{option} callback data type not implemented. Use Ruby closures."
|
|
82
|
-
when :callback
|
|
83
|
-
va_type=:callback
|
|
84
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? Proc
|
|
85
|
-
when :socket_callback
|
|
86
|
-
va_type=:socket_callback
|
|
87
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? Proc
|
|
88
|
-
when :timer_callback
|
|
89
|
-
va_type=:timer_callback
|
|
90
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? Proc
|
|
91
|
-
when :debug_callback
|
|
92
|
-
va_type=:debug_callback
|
|
93
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? Proc
|
|
94
|
-
when :progress_callback
|
|
95
|
-
va_type=:progress_callback
|
|
96
|
-
raise Errors::InvalidValue.new(option,value) unless value.nil? or value.is_a? Proc
|
|
97
|
-
when :off_t
|
|
98
|
-
return if value.nil?
|
|
99
|
-
va_type=:int64
|
|
100
|
-
value=value.to_i
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
if va_type==:long or va_type==:int64 then
|
|
104
|
-
bits=FFI.type_size(va_type)*8
|
|
105
|
-
tv=((value<0) ? value.abs-1 : value)
|
|
106
|
-
raise Errors::InvalidValue.new(option,value) unless tv<(1<<bits)
|
|
107
|
-
end
|
|
108
|
-
send(FUNCS[type], handle, opthash[option][:opt], va_type, value)
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
OPTION_TYPE_BASE = {
|
|
112
|
-
:long => 0,
|
|
113
|
-
:objectpoint => 10000,
|
|
114
|
-
:functionpoint => 20000,
|
|
115
|
-
:off_t => 30000
|
|
116
|
-
}
|
|
117
|
-
OPTION_TYPE_MAP = {
|
|
118
|
-
:none => :long,
|
|
119
|
-
:int => :long,
|
|
120
|
-
:bool => :long,
|
|
121
|
-
:time => :long,
|
|
122
|
-
:enum => :long, # Two ways to specify values (as opts parameter):
|
|
123
|
-
# * Array of symbols, these will number sequentially
|
|
124
|
-
# starting at 0. Skip elements with nil. (see :netrc)
|
|
125
|
-
# * Hash of :symbol => enum_value (See :proxytype)
|
|
126
|
-
:bitmask => :long, # Three ways to specify values (as opts parameter):
|
|
127
|
-
# * Hash of :symbol => bitmask_value or Array.
|
|
128
|
-
# An Array can be an array of already defined
|
|
129
|
-
# Symbols, which represents a bitwise or of those
|
|
130
|
-
# symbols. (See :httpauth)
|
|
131
|
-
# * Array of symbols, these will number the bits
|
|
132
|
-
# sequentially (i.e. 0, 1, 2, 4, etc.). Skip
|
|
133
|
-
# elements with nil. The last element can be a
|
|
134
|
-
# Hash, which will be interpreted as above.
|
|
135
|
-
# (See :protocols)
|
|
136
|
-
# :all defaults to all bits set
|
|
137
|
-
:string => :objectpoint,
|
|
138
|
-
:string_escape_null => :objectpoint,
|
|
139
|
-
:string_as_pointer => :objectpoint,
|
|
140
|
-
:ffipointer => :objectpoint, # FFI::Pointer
|
|
141
|
-
:curl_slist => :objectpoint,
|
|
142
|
-
:buffer => :objectpoint, # A memory buffer of size defined in the options
|
|
143
|
-
:dontuse_object => :objectpoint, # An object we don't support (e.g. FILE*)
|
|
144
|
-
:cbdata => :objectpoint,
|
|
145
|
-
:callback => :functionpoint,
|
|
146
|
-
:socket_callback => :functionpoint,
|
|
147
|
-
:timer_callback => :functionpoint,
|
|
148
|
-
:debug_callback => :functionpoint,
|
|
149
|
-
:progress_callback => :functionpoint,
|
|
150
|
-
:off_t => :off_t,
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
def self.option(ftype,name,type,num,opts=nil)
|
|
154
|
-
case type
|
|
155
|
-
when :enum
|
|
156
|
-
if opts.is_a? Array then
|
|
157
|
-
opts=Hash[opts.each_with_index.to_a]
|
|
158
|
-
elsif not opts.is_a? Hash then
|
|
159
|
-
raise TypeError, "Ethon::Curls::Options #{ftype} #{name} Expected opts to be an Array or a Hash."
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
when :bitmask
|
|
163
|
-
if opts.is_a? Array then
|
|
164
|
-
if opts.last.is_a? Hash then
|
|
165
|
-
hopts=opts.pop
|
|
166
|
-
else
|
|
167
|
-
hopts={}
|
|
168
|
-
end
|
|
169
|
-
opts.each_with_index do |v,i|
|
|
170
|
-
next if v.nil?
|
|
171
|
-
if i==0 then
|
|
172
|
-
hopts[v]=0
|
|
173
|
-
else
|
|
174
|
-
hopts[v]=1<<(i-1)
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
opts=hopts
|
|
178
|
-
elsif not opts.is_a? Hash then
|
|
179
|
-
raise TypeError, "Ethon::Curls::Options #{ftype} #{name} Expected opts to be an Array or a Hash."
|
|
180
|
-
end
|
|
181
|
-
opts[:all]=-1 unless opts.include? :all
|
|
182
|
-
opts.each do |k,v|
|
|
183
|
-
if v.is_a? Array then
|
|
184
|
-
opts[k]=v.map { |b| opts[b] }.inject :|
|
|
185
|
-
end
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
when :buffer
|
|
189
|
-
raise TypeError, "Ethon::Curls::Options #{ftype} #{name} Expected opts to be an Array or a Hash." unless opts.is_a? Integer
|
|
190
|
-
|
|
191
|
-
else
|
|
192
|
-
raise ArgumentError, "Ethon::Curls::Options #{ftype} #{name} Expected no opts." unless opts.nil?
|
|
193
|
-
end
|
|
194
|
-
opthash=const_get(FOPTION_STRINGS[ftype])
|
|
195
|
-
opthash[name] = { :type => type,
|
|
196
|
-
:opt => OPTION_TYPE_BASE[OPTION_TYPE_MAP[type]] + num,
|
|
197
|
-
:opts => opts }
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
def self.option_alias(ftype,name,*aliases)
|
|
201
|
-
opthash=const_get(FOPTION_STRINGS[ftype])
|
|
202
|
-
aliases.each { |a| opthash[a]=opthash[name] }
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
def self.option_type(type)
|
|
206
|
-
cname = FOPTION_STRINGS[type]
|
|
207
|
-
const_set(cname, {})
|
|
208
|
-
define_method(OPTION_STRINGS[type]) do |rt|
|
|
209
|
-
return Ethon::Curls::Options.const_get(cname).map { |k, v| [k, v[:opt]] } if rt == :enum
|
|
210
|
-
Ethon::Curls::Options.const_get(cname)
|
|
211
|
-
end
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
# Curl multi options, refer
|
|
215
|
-
# Defined @ https://github.com/bagder/curl/blob/master/include/curl/multi.h
|
|
216
|
-
# Documentation @ http://curl.haxx.se/libcurl/c/curl_multi_setopt.html
|
|
217
|
-
option_type :multi
|
|
218
|
-
|
|
219
|
-
option :multi, :socketfunction, :socket_callback, 1
|
|
220
|
-
option :multi, :socketdata, :cbdata, 2
|
|
221
|
-
option :multi, :pipelining, :int, 3
|
|
222
|
-
option :multi, :timerfunction, :timer_callback, 4
|
|
223
|
-
option :multi, :timerdata, :cbdata, 5
|
|
224
|
-
option :multi, :maxconnects, :int, 6
|
|
225
|
-
option :multi, :max_host_connections, :int, 7
|
|
226
|
-
option :multi, :max_pipeline_length, :int, 8
|
|
227
|
-
option :multi, :content_length_penalty_size, :off_t, 9
|
|
228
|
-
option :multi, :chunk_length_penalty_size, :off_t, 10
|
|
229
|
-
option :multi, :pipelining_site_bl, :dontuse_object, 11
|
|
230
|
-
option :multi, :pipelining_server_bl, :dontuse_object, 12
|
|
231
|
-
option :multi, :max_total_connections, :int, 3
|
|
232
|
-
|
|
233
|
-
# Curl easy options
|
|
234
|
-
# Defined @ https://github.com/bagder/curl/blob/master/include/curl/curl.h
|
|
235
|
-
# Documentation @ http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
|
|
236
|
-
## BEHAVIOR OPTIONS
|
|
237
|
-
option_type :easy
|
|
238
|
-
|
|
239
|
-
option :easy, :verbose, :bool, 41
|
|
240
|
-
option :easy, :header, :bool, 42
|
|
241
|
-
option :easy, :noprogress, :bool, 43
|
|
242
|
-
option :easy, :nosignal, :bool, 99
|
|
243
|
-
option :easy, :wildcardmatch, :bool, 197
|
|
244
|
-
## CALLBACK OPTIONS
|
|
245
|
-
option :easy, :writefunction, :callback, 11
|
|
246
|
-
option :easy, :file, :cbdata, 1
|
|
247
|
-
option_alias :easy, :file, :writedata
|
|
248
|
-
option :easy, :readfunction, :callback, 12
|
|
249
|
-
option :easy, :infile, :cbdata, 9
|
|
250
|
-
option_alias :easy, :infile, :readdata
|
|
251
|
-
option :easy, :ioctlfunction, :callback, 130
|
|
252
|
-
option :easy, :ioctldata, :cbdata, 131
|
|
253
|
-
option :easy, :seekfunction, :callback, 167
|
|
254
|
-
option :easy, :seekdata, :cbdata, 168
|
|
255
|
-
option :easy, :sockoptfunction, :callback, 148
|
|
256
|
-
option :easy, :sockoptdata, :cbdata, 149
|
|
257
|
-
option :easy, :opensocketfunction, :callback, 163
|
|
258
|
-
option :easy, :opensocketdata, :cbdata, 164
|
|
259
|
-
option :easy, :closesocketfunction, :callback, 208
|
|
260
|
-
option :easy, :closesocketdata, :cbdata, 209
|
|
261
|
-
option :easy, :path_as_is, :bool, 234
|
|
262
|
-
option :easy, :progressfunction, :progress_callback, 56
|
|
263
|
-
option :easy, :progressdata, :cbdata, 57
|
|
264
|
-
option :easy, :headerfunction, :callback, 79
|
|
265
|
-
option :easy, :writeheader, :cbdata, 29
|
|
266
|
-
option_alias :easy, :writeheader, :headerdata
|
|
267
|
-
option :easy, :debugfunction, :debug_callback, 94
|
|
268
|
-
option :easy, :debugdata, :cbdata, 95
|
|
269
|
-
option :easy, :ssl_ctx_function, :callback, 108
|
|
270
|
-
option :easy, :ssl_ctx_data, :cbdata, 109
|
|
271
|
-
option :easy, :conv_to_network_function, :callback, 143
|
|
272
|
-
option :easy, :conv_from_network_function, :callback, 142
|
|
273
|
-
option :easy, :conv_from_utf8_function, :callback, 144
|
|
274
|
-
option :easy, :interleavefunction, :callback, 196
|
|
275
|
-
option :easy, :interleavedata, :cbdata, 195
|
|
276
|
-
option :easy, :chunk_bgn_function, :callback, 198
|
|
277
|
-
option :easy, :chunk_end_function, :callback, 199
|
|
278
|
-
option :easy, :chunk_data, :cbdata, 201
|
|
279
|
-
option :easy, :fnmatch_function, :callback, 200
|
|
280
|
-
option :easy, :fnmatch_data, :cbdata, 202
|
|
281
|
-
option :easy, :xferinfofunction, :progress_callback, 219
|
|
282
|
-
option :easy, :xferinfodata, :cbdata, 57
|
|
283
|
-
## ERROR OPTIONS
|
|
284
|
-
option :easy, :errorbuffer, :buffer, 10, 256
|
|
285
|
-
option :easy, :stderr, :dontuse_object, 37
|
|
286
|
-
option :easy, :failonerror, :bool, 45
|
|
287
|
-
## NETWORK OPTIONS
|
|
288
|
-
option :easy, :url, :string, 2
|
|
289
|
-
option :easy, :protocols, :bitmask, 181, [nil, :http, :https, :ftp, :ftps, :scp, :sftp, :telnet, :ldap, :ldaps, :dict, :file, :tftp, :imap, :imaps, :pop3, :pop3s, :smtp, :smtps, :rtsp, :rtmp, :rtmpt, :rtmpe, :rtmpte, :rtmps, :rtmpts, :gopher]
|
|
290
|
-
option :easy, :redir_protocols, :bitmask, 182, [nil, :http, :https, :ftp, :ftps, :scp, :sftp, :telnet, :ldap, :ldaps, :dict, :file, :tftp, :imap, :imaps, :pop3, :pop3s, :smtp, :smtps, :rtsp, :rtmp, :rtmpt, :rtmpe, :rtmpte, :rtmps, :rtmpts, :gopher]
|
|
291
|
-
option :easy, :proxy, :string, 4
|
|
292
|
-
option :easy, :proxyport, :int, 59
|
|
293
|
-
option :easy, :proxytype, :enum, 101, [:http, :http_1_0, :https, nil, :socks4, :socks5, :socks4a, :socks5_hostname]
|
|
294
|
-
option :easy, :noproxy, :string, 177
|
|
295
|
-
option :easy, :httpproxytunnel, :bool, 61
|
|
296
|
-
option :easy, :socks5_gssapi_service, :string, 179
|
|
297
|
-
option :easy, :socks5_gssapi_nec, :bool, 180
|
|
298
|
-
option :easy, :interface, :string, 62
|
|
299
|
-
option :easy, :localport, :int, 139
|
|
300
|
-
option :easy, :localportrange, :int, 140
|
|
301
|
-
option :easy, :dns_cache_timeout, :int, 92
|
|
302
|
-
option :easy, :dns_use_global_cache, :bool, 91 # Obsolete
|
|
303
|
-
option :easy, :dns_interface, :string, 221
|
|
304
|
-
option :easy, :dns_local_ip4, :string, 222
|
|
305
|
-
option :easy, :dns_shuffle_addresses, :bool, 275
|
|
306
|
-
option :easy, :buffersize, :int, 98
|
|
307
|
-
option :easy, :port, :int, 3
|
|
308
|
-
option :easy, :tcp_nodelay, :bool, 121
|
|
309
|
-
option :easy, :address_scope, :int, 171
|
|
310
|
-
option :easy, :tcp_fastopen, :bool, 212
|
|
311
|
-
option :easy, :tcp_keepalive, :bool, 213
|
|
312
|
-
option :easy, :tcp_keepidle, :int, 214
|
|
313
|
-
option :easy, :tcp_keepintvl, :int, 215
|
|
314
|
-
## NAMES and PASSWORDS OPTIONS (Authentication)
|
|
315
|
-
option :easy, :netrc, :enum, 51, [:ignored, :optional, :required]
|
|
316
|
-
option :easy, :netrc_file, :string, 118
|
|
317
|
-
option :easy, :userpwd, :string, 5
|
|
318
|
-
option :easy, :proxyuserpwd, :string, 6
|
|
319
|
-
option :easy, :username, :string, 173
|
|
320
|
-
option :easy, :password, :string, 174
|
|
321
|
-
option :easy, :proxyusername, :string, 175
|
|
322
|
-
option :easy, :proxypassword, :string, 176
|
|
323
|
-
option :easy, :httpauth, :bitmask, 107, [:none, :basic, :digest, :gssnegotiate, :ntlm, :digest_ie, :ntlm_wb, {:only => 1<<31, :any => ~0x10, :anysafe => ~0x11, :auto => 0x1f}]
|
|
324
|
-
option :easy, :tlsauth_type, :enum, 206, [:none, :srp]
|
|
325
|
-
option :easy, :tlsauth_username, :string, 204
|
|
326
|
-
option :easy, :tlsauth_password, :string, 205
|
|
327
|
-
option :easy, :proxyauth, :bitmask, 111, [:none, :basic, :digest, :gssnegotiate, :ntlm, :digest_ie, :ntlm_wb, {:only => 1<<31, :any => ~0x10, :anysafe => ~0x11, :auto => 0x1f}]
|
|
328
|
-
option :easy, :sasl_ir, :bool, 218
|
|
329
|
-
## HTTP OPTIONS
|
|
330
|
-
option :easy, :autoreferer, :bool, 58
|
|
331
|
-
option :easy, :accept_encoding, :string, 102
|
|
332
|
-
option_alias :easy, :accept_encoding, :encoding
|
|
333
|
-
option :easy, :transfer_encoding, :bool, 207
|
|
334
|
-
option :easy, :followlocation, :bool, 52
|
|
335
|
-
option :easy, :unrestricted_auth, :bool, 105
|
|
336
|
-
option :easy, :maxredirs, :int, 68
|
|
337
|
-
option :easy, :postredir, :bitmask, 161, [:get_all, :post_301, :post_302, :post_303, {:post_all => [:post_301, :post_302, :post_303]}]
|
|
338
|
-
option_alias :easy, :postredir, :post301
|
|
339
|
-
option :easy, :put, :bool, 54
|
|
340
|
-
option :easy, :post, :bool, 47
|
|
341
|
-
option :easy, :postfields, :string, 15
|
|
342
|
-
option :easy, :postfieldsize, :int, 60
|
|
343
|
-
option :easy, :postfieldsize_large, :off_t, 120
|
|
344
|
-
option :easy, :copypostfields, :string_as_pointer, 165
|
|
345
|
-
option :easy, :httppost, :ffipointer, 24
|
|
346
|
-
option :easy, :referer, :string, 16
|
|
347
|
-
option :easy, :useragent, :string, 18
|
|
348
|
-
option :easy, :httpheader, :curl_slist, 23
|
|
349
|
-
option :easy, :http200aliases, :curl_slist, 104
|
|
350
|
-
option :easy, :cookie, :string, 22
|
|
351
|
-
option :easy, :cookiefile, :string, 31
|
|
352
|
-
option :easy, :cookiejar, :string, 82
|
|
353
|
-
option :easy, :cookiesession, :bool, 96
|
|
354
|
-
option :easy, :cookielist, :string, 135
|
|
355
|
-
option :easy, :httpget, :bool, 80
|
|
356
|
-
option :easy, :http_version, :enum, 84, [:none, :httpv1_0, :httpv1_1, :httpv2_0, :httpv2_tls, :httpv2_prior_knowledge]
|
|
357
|
-
option :easy, :ignore_content_length, :bool, 136
|
|
358
|
-
option :easy, :http_content_decoding, :bool, 158
|
|
359
|
-
option :easy, :http_transfer_decoding, :bool, 157
|
|
360
|
-
## SMTP OPTIONS
|
|
361
|
-
option :easy, :mail_from, :string, 186
|
|
362
|
-
option :easy, :mail_rcpt, :curl_slist, 187
|
|
363
|
-
option :easy, :mail_auth, :string, 217
|
|
364
|
-
## TFTP OPTIONS
|
|
365
|
-
option :easy, :tftp_blksize, :int, 178
|
|
366
|
-
## FTP OPTIONS
|
|
367
|
-
option :easy, :ftpport, :string, 17
|
|
368
|
-
option :easy, :quote, :curl_slist, 28
|
|
369
|
-
option :easy, :postquote, :curl_slist, 39
|
|
370
|
-
option :easy, :prequote, :curl_slist, 93
|
|
371
|
-
option :easy, :dirlistonly, :bool, 48
|
|
372
|
-
option_alias :easy, :dirlistonly, :ftplistonly
|
|
373
|
-
option :easy, :append, :bool, 50
|
|
374
|
-
option_alias :easy, :append, :ftpappend
|
|
375
|
-
option :easy, :ftp_use_eprt, :bool, 106
|
|
376
|
-
option :easy, :ftp_use_epsv, :bool, 85
|
|
377
|
-
option :easy, :ftp_use_pret, :bool, 188
|
|
378
|
-
option :easy, :ftp_create_missing_dirs, :bool, 110
|
|
379
|
-
option :easy, :ftp_response_timeout, :int, 112
|
|
380
|
-
option_alias :easy, :ftp_response_timeout, :server_response_timeout
|
|
381
|
-
option :easy, :ftp_alternative_to_user, :string, 147
|
|
382
|
-
option :easy, :ftp_skip_pasv_ip, :bool, 137
|
|
383
|
-
option :easy, :ftpsslauth, :enum, 129, [:default, :ssl, :tls]
|
|
384
|
-
option :easy, :ftp_ssl_ccc, :enum, 154, [:none, :passive, :active]
|
|
385
|
-
option :easy, :ftp_account, :string, 134
|
|
386
|
-
option :easy, :ftp_filemethod, :enum, 138, [:default, :multicwd, :nocwd, :singlecwd]
|
|
387
|
-
## RTSP OPTIONS
|
|
388
|
-
option :easy, :rtsp_request, :enum, 189, [:none, :options, :describe, :announce, :setup, :play, :pause, :teardown, :get_parameter, :set_parameter, :record, :receive]
|
|
389
|
-
option :easy, :rtsp_session_id, :string, 190
|
|
390
|
-
option :easy, :rtsp_stream_uri, :string, 191
|
|
391
|
-
option :easy, :rtsp_transport, :string, 192
|
|
392
|
-
option_alias :easy, :httpheader, :rtspheader
|
|
393
|
-
option :easy, :rtsp_client_cseq, :int, 193
|
|
394
|
-
option :easy, :rtsp_server_cseq, :int, 194
|
|
395
|
-
## PROTOCOL OPTIONS
|
|
396
|
-
option :easy, :transfertext, :bool, 53
|
|
397
|
-
option :easy, :proxy_transfer_mode, :bool, 166
|
|
398
|
-
option :easy, :crlf, :bool, 27
|
|
399
|
-
option :easy, :range, :string, 7
|
|
400
|
-
option :easy, :resume_from, :int, 21
|
|
401
|
-
option :easy, :resume_from_large, :off_t, 116
|
|
402
|
-
option :easy, :customrequest, :string, 36
|
|
403
|
-
option :easy, :filetime, :bool, 69
|
|
404
|
-
option :easy, :nobody, :bool, 44
|
|
405
|
-
option :easy, :infilesize, :int, 14
|
|
406
|
-
option :easy, :infilesize_large, :off_t, 115
|
|
407
|
-
option :easy, :upload, :bool, 46
|
|
408
|
-
option :easy, :maxfilesize, :int, 114
|
|
409
|
-
option :easy, :maxfilesize_large, :off_t, 117
|
|
410
|
-
option :easy, :timecondition, :enum, 33, [:none, :ifmodsince, :ifunmodsince, :lastmod]
|
|
411
|
-
option :easy, :timevalue, :time, 34
|
|
412
|
-
## CONNECTION OPTIONS
|
|
413
|
-
option :easy, :timeout, :int, 13
|
|
414
|
-
option :easy, :timeout_ms, :int, 155
|
|
415
|
-
option :easy, :low_speed_limit, :int, 19
|
|
416
|
-
option :easy, :low_speed_time, :int, 20
|
|
417
|
-
option :easy, :max_send_speed_large, :off_t, 145
|
|
418
|
-
option :easy, :max_recv_speed_large, :off_t, 146
|
|
419
|
-
option :easy, :maxconnects, :int, 71
|
|
420
|
-
option :easy, :fresh_connect, :bool, 74
|
|
421
|
-
option :easy, :forbid_reuse, :bool, 75
|
|
422
|
-
option :easy, :connecttimeout, :int, 78
|
|
423
|
-
option :easy, :connecttimeout_ms, :int, 156
|
|
424
|
-
option :easy, :ipresolve, :enum, 113, [:whatever, :v4, :v6]
|
|
425
|
-
option :easy, :connect_only, :bool, 141
|
|
426
|
-
option :easy, :use_ssl, :enum, 119, [:none, :try, :control, :all]
|
|
427
|
-
option_alias :easy, :use_ssl, :ftp_ssl
|
|
428
|
-
option :easy, :resolve, :curl_slist, 203
|
|
429
|
-
option :easy, :dns_servers, :string, 211
|
|
430
|
-
option :easy, :accepttimeout_ms, :int, 212
|
|
431
|
-
option :easy, :unix_socket_path, :string, 231
|
|
432
|
-
option :easy, :pipewait, :bool, 237
|
|
433
|
-
option_alias :easy, :unix_socket_path, :unix_socket
|
|
434
|
-
## SSL and SECURITY OPTIONS
|
|
435
|
-
option :easy, :sslcert, :string, 25
|
|
436
|
-
option :easy, :sslcerttype, :string, 86
|
|
437
|
-
option :easy, :sslkey, :string, 87
|
|
438
|
-
option :easy, :sslkeytype, :string, 88
|
|
439
|
-
option :easy, :keypasswd, :string, 26
|
|
440
|
-
option_alias :easy, :keypasswd, :sslcertpasswd
|
|
441
|
-
option_alias :easy, :keypasswd, :sslkeypasswd
|
|
442
|
-
option :easy, :sslengine, :string, 89
|
|
443
|
-
option :easy, :sslengine_default, :none, 90
|
|
444
|
-
option :easy, :sslversion, :enum, 32, [:default, :tlsv1, :sslv2, :sslv3, :tlsv1_0, :tlsv1_1, :tlsv1_2, :tlsv1_3]
|
|
445
|
-
option :easy, :ssl_verifypeer, :bool, 64
|
|
446
|
-
option :easy, :cainfo, :string, 65
|
|
447
|
-
option :easy, :issuercert, :string, 170
|
|
448
|
-
option :easy, :capath, :string, 97
|
|
449
|
-
option :easy, :crlfile, :string, 169
|
|
450
|
-
option :easy, :ssl_verifyhost, :int, 81
|
|
451
|
-
option :easy, :certinfo, :bool, 172
|
|
452
|
-
option :easy, :random_file, :string, 76
|
|
453
|
-
option :easy, :egdsocket, :string, 77
|
|
454
|
-
option :easy, :ssl_cipher_list, :string, 83
|
|
455
|
-
option :easy, :ssl_sessionid_cache, :bool, 150
|
|
456
|
-
option :easy, :ssl_options, :bitmask, 216, [nil, :allow_beast]
|
|
457
|
-
option :easy, :krblevel, :string, 63
|
|
458
|
-
option_alias :easy, :krblevel, :krb4level
|
|
459
|
-
option :easy, :gssapi_delegation, :bitmask, 210, [:none, :policy_flag, :flag]
|
|
460
|
-
option :easy, :pinnedpublickey, :string, 230
|
|
461
|
-
option_alias :easy, :pinnedpublickey, :pinned_public_key
|
|
462
|
-
## PROXY SSL OPTIONS
|
|
463
|
-
option :easy, :proxy_cainfo, :string, 246
|
|
464
|
-
option :easy, :proxy_capath, :string, 247
|
|
465
|
-
option :easy, :proxy_ssl_verifypeer, :bool, 248
|
|
466
|
-
option :easy, :proxy_ssl_verifyhost, :int, 249
|
|
467
|
-
option :easy, :proxy_sslversion, :enum, 250, [:default, :tlsv1, :sslv2, :sslv3, :tlsv1_0, :tlsv1_1, :tlsv1_2, :tlsv1_3]
|
|
468
|
-
option :easy, :proxy_tlsauth_username, :string, 251
|
|
469
|
-
option :easy, :proxy_tlsauth_password, :string, 252
|
|
470
|
-
option :easy, :proxy_tlsauth_type, :enum, 253, [:none, :srp]
|
|
471
|
-
option :easy, :proxy_sslcert, :string, 254
|
|
472
|
-
option :easy, :proxy_sslcerttype, :string, 255
|
|
473
|
-
option :easy, :proxy_sslkey, :string, 256
|
|
474
|
-
option :easy, :proxy_sslkeytype, :string, 257
|
|
475
|
-
option :easy, :proxy_keypasswd, :string, 258
|
|
476
|
-
option_alias :easy, :proxy_keypasswd, :proxy_sslcertpasswd
|
|
477
|
-
option_alias :easy, :proxy_keypasswd, :proxy_sslkeypasswd
|
|
478
|
-
option :easy, :proxy_ssl_cipher_list, :string, 259
|
|
479
|
-
option :easy, :proxy_crlfile, :string, 260
|
|
480
|
-
option :easy, :proxy_ssl_options, :bitmask, 261, [nil, :allow_beast]
|
|
481
|
-
option :easy, :pre_proxy, :string, 262
|
|
482
|
-
option :easy, :proxy_pinnedpublickey, :string, 263
|
|
483
|
-
option_alias :easy, :proxy_pinnedpublickey, :proxy_pinned_public_key
|
|
484
|
-
option :easy, :proxy_issuercert, :string, 296
|
|
485
|
-
## SSH OPTIONS
|
|
486
|
-
option :easy, :ssh_auth_types, :bitmask, 151, [:none, :publickey, :password, :host, :keyboard, :agent, {:any => [:all], :default => [:any]}]
|
|
487
|
-
option :easy, :ssh_host_public_key_md5, :string, 162
|
|
488
|
-
option :easy, :ssh_public_keyfile, :string, 152
|
|
489
|
-
option :easy, :ssh_private_keyfile, :string, 153
|
|
490
|
-
option :easy, :ssh_knownhosts, :string, 183
|
|
491
|
-
option :easy, :ssh_keyfunction, :callback, 184
|
|
492
|
-
option :easy, :khstat, :enum, -1, [:fine_add_to_file, :fine, :reject, :defer] # Kludge to make this enum available... Access via CurL::EASY_OPTIONS[:khstat][:opt]
|
|
493
|
-
option :easy, :ssh_keydata, :cbdata, 185
|
|
494
|
-
## OTHER OPTIONS
|
|
495
|
-
option :easy, :private, :cbdata, 103
|
|
496
|
-
option :easy, :share, :dontuse_object, 100
|
|
497
|
-
option :easy, :new_file_perms, :int, 159
|
|
498
|
-
option :easy, :new_directory_perms, :int, 160
|
|
499
|
-
## TELNET OPTIONS
|
|
500
|
-
option :easy, :telnetoptions, :curl_slist, 70
|
|
501
|
-
end
|
|
502
|
-
end
|
|
503
|
-
end
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
module Ethon
|
|
3
|
-
module Curl
|
|
4
|
-
callback :callback, [:pointer, :size_t, :size_t, :pointer], :size_t
|
|
5
|
-
callback :socket_callback, [:pointer, :int, :poll_action, :pointer, :pointer], :multi_code
|
|
6
|
-
callback :timer_callback, [:pointer, :long, :pointer], :multi_code
|
|
7
|
-
callback :debug_callback, [:pointer, :debug_info_type, :pointer, :size_t, :pointer], :int
|
|
8
|
-
callback :progress_callback, [:pointer, :long_long, :long_long, :long_long, :long_long], :int
|
|
9
|
-
ffi_lib_flags :now, :global
|
|
10
|
-
ffi_lib ['libcurl', 'libcurl.so.4']
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
module Ethon
|
|
3
|
-
class Easy
|
|
4
|
-
|
|
5
|
-
# This module contains all the logic around the callbacks,
|
|
6
|
-
# which are needed to interact with libcurl.
|
|
7
|
-
#
|
|
8
|
-
# @api private
|
|
9
|
-
module Callbacks
|
|
10
|
-
|
|
11
|
-
# :nodoc:
|
|
12
|
-
def self.included(base)
|
|
13
|
-
base.send(:attr_accessor, *[:response_body, :response_headers, :debug_info])
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
# Set writefunction and headerfunction callback.
|
|
17
|
-
# They are called by libcurl in order to provide the header and
|
|
18
|
-
# the body from the request.
|
|
19
|
-
#
|
|
20
|
-
# @example Set callbacks.
|
|
21
|
-
# easy.set_callbacks
|
|
22
|
-
def set_callbacks
|
|
23
|
-
Curl.set_option(:writefunction, body_write_callback, handle)
|
|
24
|
-
Curl.set_option(:headerfunction, header_write_callback, handle)
|
|
25
|
-
Curl.set_option(:debugfunction, debug_callback, handle)
|
|
26
|
-
@response_body = String.new
|
|
27
|
-
@response_headers = String.new
|
|
28
|
-
@headers_called = false
|
|
29
|
-
@debug_info = Ethon::Easy::DebugInfo.new
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# Returns the body write callback.
|
|
33
|
-
#
|
|
34
|
-
# @example Return the callback.
|
|
35
|
-
# easy.body_write_callback
|
|
36
|
-
#
|
|
37
|
-
# @return [ Proc ] The callback.
|
|
38
|
-
def body_write_callback
|
|
39
|
-
@body_write_callback ||= proc do |stream, size, num, object|
|
|
40
|
-
headers_user_callback_result = headers
|
|
41
|
-
result = body(chunk = stream.read_string(size * num))
|
|
42
|
-
@response_body << chunk if result == :unyielded
|
|
43
|
-
(result != :abort && headers_user_callback_result != :abort) ? size * num : -1
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
# Returns the header write callback.
|
|
48
|
-
#
|
|
49
|
-
# @example Return the callback.
|
|
50
|
-
# easy.header_write_callback
|
|
51
|
-
#
|
|
52
|
-
# @return [ Proc ] The callback.
|
|
53
|
-
def header_write_callback
|
|
54
|
-
@header_write_callback ||= proc {|stream, size, num, object|
|
|
55
|
-
@response_headers << stream.read_string(size * num)
|
|
56
|
-
size * num
|
|
57
|
-
}
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
# Returns the debug callback. This callback is currently used
|
|
61
|
-
# write the raw http request headers.
|
|
62
|
-
#
|
|
63
|
-
# @example Return the callback.
|
|
64
|
-
# easy.debug_callback
|
|
65
|
-
#
|
|
66
|
-
# @return [ Proc ] The callback.
|
|
67
|
-
def debug_callback
|
|
68
|
-
@debug_callback ||= proc {|handle, type, data, size, udata|
|
|
69
|
-
message = data.read_string(size)
|
|
70
|
-
@debug_info.add type, message
|
|
71
|
-
|
|
72
|
-
if [:ssl_data_in, :ssl_data_out].include?(type)
|
|
73
|
-
print "[#{size} bytes data]\n"
|
|
74
|
-
elsif [:data_in, :data_out].include?(type)
|
|
75
|
-
# print "} [#{size} bytes data]\n"
|
|
76
|
-
else
|
|
77
|
-
print message
|
|
78
|
-
end
|
|
79
|
-
0
|
|
80
|
-
}
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
def set_progress_callback
|
|
84
|
-
if Curl.version_info[:version] >= "7.32.0"
|
|
85
|
-
Curl.set_option(:xferinfofunction, progress_callback, handle)
|
|
86
|
-
else
|
|
87
|
-
Curl.set_option(:progressfunction, progress_callback, handle)
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
# Returns the progress callback.
|
|
92
|
-
#
|
|
93
|
-
# @example Return the callback.
|
|
94
|
-
# easy.progress_callback
|
|
95
|
-
#
|
|
96
|
-
# @return [ Proc ] The callback.
|
|
97
|
-
def progress_callback
|
|
98
|
-
@progress_callback ||= proc { |_, dltotal, dlnow, ultotal, ulnow|
|
|
99
|
-
progress(dltotal, dlnow, ultotal, ulnow)
|
|
100
|
-
0
|
|
101
|
-
}
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
# Set the read callback. This callback is used by libcurl to
|
|
105
|
-
# read data when performing a PUT request.
|
|
106
|
-
#
|
|
107
|
-
# @example Set the callback.
|
|
108
|
-
# easy.set_read_callback("a=1")
|
|
109
|
-
#
|
|
110
|
-
# @param [ String ] body The body.
|
|
111
|
-
def set_read_callback(body)
|
|
112
|
-
@request_body_read = 0
|
|
113
|
-
readfunction do |stream, size, num, object|
|
|
114
|
-
size = size * num
|
|
115
|
-
body_size = if body.respond_to?(:bytesize)
|
|
116
|
-
body.bytesize
|
|
117
|
-
elsif body.respond_to?(:size)
|
|
118
|
-
body.size
|
|
119
|
-
elsif body.is_a?(File)
|
|
120
|
-
File.size(body.path)
|
|
121
|
-
end
|
|
122
|
-
|
|
123
|
-
left = body_size - @request_body_read
|
|
124
|
-
size = left if size > left
|
|
125
|
-
|
|
126
|
-
if size > 0
|
|
127
|
-
chunk = if body.respond_to?(:byteslice)
|
|
128
|
-
body.byteslice(@request_body_read, size)
|
|
129
|
-
elsif body.respond_to?(:read)
|
|
130
|
-
body.read(size)
|
|
131
|
-
else
|
|
132
|
-
body[@request_body_read, size]
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
stream.write_string(
|
|
136
|
-
chunk, size
|
|
137
|
-
)
|
|
138
|
-
@request_body_read += size
|
|
139
|
-
end
|
|
140
|
-
size
|
|
141
|
-
end
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
# Returns the body read callback.
|
|
145
|
-
#
|
|
146
|
-
# @example Return the callback.
|
|
147
|
-
# easy.read_callback
|
|
148
|
-
#
|
|
149
|
-
# @return [ Proc ] The callback.
|
|
150
|
-
def read_callback
|
|
151
|
-
@read_callback
|
|
152
|
-
end
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
end
|