wallee-ruby-sdk 4.4.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +32 -12
- data/LICENSE +1 -1
- data/Rakefile +2 -1
- data/lib/wallee-ruby-sdk/api/dunning_case_level_service_api.rb +228 -0
- data/lib/wallee-ruby-sdk/api/dunning_case_service_api.rb +366 -0
- data/lib/wallee-ruby-sdk/api/dunning_flow_level_service_api.rb +228 -0
- data/lib/wallee-ruby-sdk/api/dunning_flow_service_api.rb +228 -0
- data/lib/wallee-ruby-sdk/api/payment_terminal_service_api.rb +12 -10
- data/lib/wallee-ruby-sdk/api/refund_comment_service_api.rb +11 -12
- data/lib/wallee-ruby-sdk/api/subscription_suspension_service_api.rb +8 -18
- data/lib/wallee-ruby-sdk/api/token_service_api.rb +6 -6
- data/lib/wallee-ruby-sdk/api/transaction_comment_service_api.rb +11 -12
- data/lib/wallee-ruby-sdk/api/transaction_invoice_comment_service_api.rb +11 -12
- data/lib/wallee-ruby-sdk/api_client.rb +1 -1
- data/lib/wallee-ruby-sdk/encryption_util.rb +1 -2
- data/lib/wallee-ruby-sdk/models/abstract_debt_collection_case_update.rb +8 -8
- data/lib/wallee-ruby-sdk/models/abstract_payment_link_update.rb +24 -12
- data/lib/wallee-ruby-sdk/models/abstract_subscriber_update.rb +8 -8
- data/lib/wallee-ruby-sdk/models/abstract_subscription_affiliate_update.rb +1 -1
- data/lib/wallee-ruby-sdk/models/abstract_subscription_metric_update.rb +2 -2
- data/lib/wallee-ruby-sdk/models/abstract_subscription_product_active.rb +5 -5
- data/lib/wallee-ruby-sdk/models/abstract_token_update.rb +5 -5
- data/lib/wallee-ruby-sdk/models/abstract_transaction_pending.rb +17 -17
- data/lib/wallee-ruby-sdk/models/authenticated_card_data.rb +16 -6
- data/lib/wallee-ruby-sdk/models/authenticated_card_data_create.rb +21 -11
- data/lib/wallee-ruby-sdk/models/bank_account.rb +3 -3
- data/lib/wallee-ruby-sdk/models/bank_account_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/bank_transaction.rb +23 -13
- data/lib/wallee-ruby-sdk/models/billing_configuration.rb +271 -0
- data/lib/wallee-ruby-sdk/models/billing_cycle_model.rb +251 -0
- data/lib/wallee-ruby-sdk/models/billing_cycle_type.rb +37 -0
- data/lib/wallee-ruby-sdk/models/billing_day_customization.rb +35 -0
- data/lib/wallee-ruby-sdk/models/card_cryptogram.rb +10 -10
- data/lib/wallee-ruby-sdk/models/card_cryptogram_create.rb +10 -15
- data/lib/wallee-ruby-sdk/models/cardholder_authentication.rb +6 -6
- data/lib/wallee-ruby-sdk/models/cardholder_authentication_create.rb +6 -6
- data/lib/wallee-ruby-sdk/models/charge.rb +29 -39
- data/lib/wallee-ruby-sdk/models/charge_attempt.rb +52 -52
- data/lib/wallee-ruby-sdk/models/charge_bank_transaction.rb +36 -36
- data/lib/wallee-ruby-sdk/models/charge_flow.rb +3 -3
- data/lib/wallee-ruby-sdk/models/charge_flow_level.rb +36 -36
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration.rb +5 -5
- data/lib/wallee-ruby-sdk/models/charge_flow_level_configuration_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/charge_flow_level_payment_link.rb +12 -22
- data/lib/wallee-ruby-sdk/models/completion_line_item.rb +3 -3
- data/lib/wallee-ruby-sdk/models/completion_line_item_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/condition.rb +3 -3
- data/lib/wallee-ruby-sdk/models/connector_invocation.rb +14 -24
- data/lib/wallee-ruby-sdk/models/currency_bank_account.rb +3 -3
- data/lib/wallee-ruby-sdk/models/debt_collection_case.rb +25 -25
- data/lib/wallee-ruby-sdk/models/debt_collection_case_create.rb +11 -11
- data/lib/wallee-ruby-sdk/models/debt_collection_case_document.rb +6 -31
- data/lib/wallee-ruby-sdk/models/debt_collection_case_source.rb +2 -2
- data/lib/wallee-ruby-sdk/models/debt_collection_case_update.rb +8 -8
- data/lib/wallee-ruby-sdk/models/debt_collection_receipt.rb +5 -5
- data/lib/wallee-ruby-sdk/models/debt_collector.rb +1 -1
- data/lib/wallee-ruby-sdk/models/debt_collector_condition.rb +2 -2
- data/lib/wallee-ruby-sdk/models/debt_collector_condition_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/debt_collector_configuration.rb +6 -6
- data/lib/wallee-ruby-sdk/models/delivery_indication.rb +39 -39
- data/lib/wallee-ruby-sdk/models/displayable_day_of_week.rb +40 -0
- data/lib/wallee-ruby-sdk/models/displayable_month.rb +45 -0
- data/lib/wallee-ruby-sdk/models/document_template.rb +6 -6
- data/lib/wallee-ruby-sdk/models/document_template_type.rb +4 -4
- data/lib/wallee-ruby-sdk/models/document_template_type_group.rb +1 -1
- data/lib/wallee-ruby-sdk/models/dunning_case.rb +311 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_level.rb +351 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_level_state.rb +38 -0
- data/lib/wallee-ruby-sdk/models/dunning_case_state.rb +39 -0
- data/lib/wallee-ruby-sdk/models/dunning_condition.rb +266 -0
- data/lib/wallee-ruby-sdk/models/dunning_condition_type.rb +215 -0
- data/lib/wallee-ruby-sdk/models/dunning_flow.rb +273 -0
- data/lib/wallee-ruby-sdk/models/dunning_flow_level.rb +330 -0
- data/lib/wallee-ruby-sdk/models/dunning_flow_level_processor.rb +225 -0
- data/lib/wallee-ruby-sdk/models/dunning_flow_type.rb +225 -0
- data/lib/wallee-ruby-sdk/models/external_transfer_bank_transaction.rb +4 -4
- data/lib/wallee-ruby-sdk/models/failure_reason.rb +2 -14
- data/lib/wallee-ruby-sdk/models/feature.rb +1 -1
- data/lib/wallee-ruby-sdk/models/installment_payment_slice.rb +31 -31
- data/lib/wallee-ruby-sdk/models/installment_plan_configuration.rb +1 -1
- data/lib/wallee-ruby-sdk/models/installment_plan_slice_configuration.rb +1 -1
- data/lib/wallee-ruby-sdk/models/internal_transfer_bank_transaction.rb +2 -2
- data/lib/wallee-ruby-sdk/models/invoice_reconciliation_record.rb +31 -31
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement.rb +11 -1
- data/lib/wallee-ruby-sdk/models/invoice_reimbursement_with_refund_reference.rb +11 -1
- data/lib/wallee-ruby-sdk/models/item.rb +233 -0
- data/lib/wallee-ruby-sdk/models/label.rb +7 -27
- data/lib/wallee-ruby-sdk/models/line_item.rb +21 -21
- data/lib/wallee-ruby-sdk/models/line_item_attribute.rb +2 -2
- data/lib/wallee-ruby-sdk/models/line_item_attribute_create.rb +2 -2
- data/lib/wallee-ruby-sdk/models/line_item_create.rb +10 -10
- data/lib/wallee-ruby-sdk/models/line_item_reduction.rb +3 -3
- data/lib/wallee-ruby-sdk/models/line_item_reduction_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/metric_usage.rb +4 -4
- data/lib/wallee-ruby-sdk/models/pan_type.rb +41 -0
- data/lib/wallee-ruby-sdk/models/payment_adjustment.rb +16 -6
- data/lib/wallee-ruby-sdk/models/payment_app_completion_configuration.rb +5 -5
- data/lib/wallee-ruby-sdk/models/payment_app_completion_configuration_create.rb +5 -5
- data/lib/wallee-ruby-sdk/models/payment_app_connector.rb +10 -10
- data/lib/wallee-ruby-sdk/models/payment_app_processor.rb +11 -11
- data/lib/wallee-ruby-sdk/models/payment_app_refund_configuration.rb +3 -3
- data/lib/wallee-ruby-sdk/models/payment_app_refund_configuration_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/payment_connector.rb +11 -21
- data/lib/wallee-ruby-sdk/models/payment_connector_configuration.rb +20 -10
- data/lib/wallee-ruby-sdk/models/payment_connector_feature.rb +2 -12
- data/lib/wallee-ruby-sdk/models/payment_contract.rb +14 -14
- data/lib/wallee-ruby-sdk/models/payment_contract_type.rb +1 -11
- data/lib/wallee-ruby-sdk/models/payment_information_hash.rb +3 -3
- data/lib/wallee-ruby-sdk/models/payment_information_hash_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/payment_link.rb +28 -16
- data/lib/wallee-ruby-sdk/models/payment_link_active.rb +25 -13
- data/lib/wallee-ruby-sdk/models/payment_link_create.rb +32 -15
- data/lib/wallee-ruby-sdk/models/payment_link_update.rb +25 -13
- data/lib/wallee-ruby-sdk/models/payment_method.rb +4 -4
- data/lib/wallee-ruby-sdk/models/payment_method_brand.rb +3 -3
- data/lib/wallee-ruby-sdk/models/payment_method_configuration.rb +13 -13
- data/lib/wallee-ruby-sdk/models/payment_processor.rb +6 -16
- data/lib/wallee-ruby-sdk/models/payment_processor_configuration.rb +4 -4
- data/lib/wallee-ruby-sdk/models/payment_terminal.rb +19 -9
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration.rb +2 -2
- data/lib/wallee-ruby-sdk/models/payment_terminal_configuration_version.rb +8 -8
- data/lib/wallee-ruby-sdk/models/payment_terminal_location.rb +2 -2
- data/lib/wallee-ruby-sdk/models/payment_terminal_location_version.rb +5 -5
- data/lib/wallee-ruby-sdk/models/payment_terminal_transaction_summary.rb +24 -2
- data/lib/wallee-ruby-sdk/models/payment_terminal_transaction_summary_reference.rb +221 -0
- data/lib/wallee-ruby-sdk/models/product_metered_fee.rb +6 -6
- data/lib/wallee-ruby-sdk/models/product_metered_fee_update.rb +5 -5
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee.rb +3 -3
- data/lib/wallee-ruby-sdk/models/product_metered_tier_fee_update.rb +3 -3
- data/lib/wallee-ruby-sdk/models/product_period_fee.rb +7 -7
- data/lib/wallee-ruby-sdk/models/product_period_fee_update.rb +6 -6
- data/lib/wallee-ruby-sdk/models/product_setup_fee.rb +7 -7
- data/lib/wallee-ruby-sdk/models/product_setup_fee_update.rb +6 -6
- data/lib/wallee-ruby-sdk/models/refund.rb +26 -26
- data/lib/wallee-ruby-sdk/models/refund_bank_transaction.rb +26 -26
- data/lib/wallee-ruby-sdk/models/refund_comment.rb +1 -1
- data/lib/wallee-ruby-sdk/models/refund_comment_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/refund_create.rb +8 -8
- data/lib/wallee-ruby-sdk/models/refund_recovery_bank_transaction.rb +36 -36
- data/lib/wallee-ruby-sdk/models/rendered_document.rb +3 -3
- data/lib/wallee-ruby-sdk/models/rendered_terminal_receipt.rb +3 -3
- data/lib/wallee-ruby-sdk/models/rest_country.rb +1 -1
- data/lib/wallee-ruby-sdk/models/rest_country_state.rb +1 -11
- data/lib/wallee-ruby-sdk/models/sales_channel.rb +2 -22
- data/lib/wallee-ruby-sdk/models/scope.rb +51 -1
- data/lib/wallee-ruby-sdk/models/shopify_recurring_order.rb +51 -31
- data/lib/wallee-ruby-sdk/models/shopify_subscriber.rb +12 -2
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_active.rb +12 -2
- data/lib/wallee-ruby-sdk/models/shopify_subscriber_creation.rb +11 -1
- data/lib/wallee-ruby-sdk/models/shopify_subscription_creation_request.rb +3 -3
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product.rb +21 -1
- data/lib/wallee-ruby-sdk/models/shopify_subscription_product_create.rb +27 -7
- data/lib/wallee-ruby-sdk/models/shopify_subscription_update_request.rb +2 -2
- data/lib/wallee-ruby-sdk/models/shopify_transaction.rb +54 -34
- data/lib/wallee-ruby-sdk/models/shopify_v1_integration.rb +480 -0
- data/lib/wallee-ruby-sdk/models/space_create.rb +14 -4
- data/lib/wallee-ruby-sdk/models/space_view.rb +2 -2
- data/lib/wallee-ruby-sdk/models/static_value.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscriber.rb +9 -9
- data/lib/wallee-ruby-sdk/models/subscriber_active.rb +8 -8
- data/lib/wallee-ruby-sdk/models/subscriber_create.rb +9 -9
- data/lib/wallee-ruby-sdk/models/subscriber_update.rb +8 -8
- data/lib/wallee-ruby-sdk/models/subscription.rb +14 -14
- data/lib/wallee-ruby-sdk/models/subscription_affiliate.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleted.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_deleting.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_inactive.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_affiliate_update.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_charge.rb +15 -15
- data/lib/wallee-ruby-sdk/models/subscription_charge_create.rb +7 -7
- data/lib/wallee-ruby-sdk/models/subscription_component_configuration.rb +2 -2
- data/lib/wallee-ruby-sdk/models/subscription_component_reference_configuration.rb +2 -2
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry.rb +74 -9
- data/lib/wallee-ruby-sdk/models/subscription_ledger_entry_create.rb +26 -6
- data/lib/wallee-ruby-sdk/models/subscription_metric.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_metric_active.rb +2 -2
- data/lib/wallee-ruby-sdk/models/subscription_metric_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_metric_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/subscription_metric_update.rb +2 -2
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report.rb +7 -7
- data/lib/wallee-ruby-sdk/models/subscription_metric_usage_report_create.rb +5 -5
- data/lib/wallee-ruby-sdk/models/subscription_pending.rb +6 -6
- data/lib/wallee-ruby-sdk/models/subscription_period_bill.rb +5 -5
- data/lib/wallee-ruby-sdk/models/subscription_product.rb +7 -7
- data/lib/wallee-ruby-sdk/models/subscription_product_active.rb +5 -5
- data/lib/wallee-ruby-sdk/models/subscription_product_component.rb +11 -11
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group.rb +4 -4
- data/lib/wallee-ruby-sdk/models/subscription_product_component_group_update.rb +4 -4
- data/lib/wallee-ruby-sdk/models/subscription_product_component_reference.rb +25 -10
- data/lib/wallee-ruby-sdk/models/subscription_product_component_update.rb +11 -11
- data/lib/wallee-ruby-sdk/models/subscription_product_create.rb +6 -6
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement.rb +10 -10
- data/lib/wallee-ruby-sdk/models/subscription_product_retirement_create.rb +10 -10
- data/lib/wallee-ruby-sdk/models/subscription_product_version.rb +27 -17
- data/lib/wallee-ruby-sdk/models/subscription_product_version_pending.rb +9 -9
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement.rb +10 -10
- data/lib/wallee-ruby-sdk/models/subscription_product_version_retirement_create.rb +10 -10
- data/lib/wallee-ruby-sdk/models/subscription_suspension.rb +7 -7
- data/lib/wallee-ruby-sdk/models/subscription_suspension_create.rb +4 -4
- data/lib/wallee-ruby-sdk/models/subscription_suspension_running.rb +7 -7
- data/lib/wallee-ruby-sdk/models/subscription_update.rb +3 -3
- data/lib/wallee-ruby-sdk/models/subscription_update_request.rb +2 -2
- data/lib/wallee-ruby-sdk/models/subscription_version.rb +22 -24
- data/lib/wallee-ruby-sdk/models/tax.rb +2 -2
- data/lib/wallee-ruby-sdk/models/tax_class.rb +2 -12
- data/lib/wallee-ruby-sdk/models/tax_create.rb +2 -2
- data/lib/wallee-ruby-sdk/models/tax_line.rb +201 -0
- data/lib/wallee-ruby-sdk/models/token.rb +6 -6
- data/lib/wallee-ruby-sdk/models/token_create.rb +6 -6
- data/lib/wallee-ruby-sdk/models/token_update.rb +5 -5
- data/lib/wallee-ruby-sdk/models/token_version.rb +16 -16
- data/lib/wallee-ruby-sdk/models/token_version_type.rb +1 -1
- data/lib/wallee-ruby-sdk/models/tokenized_card_data.rb +15 -5
- data/lib/wallee-ruby-sdk/models/tokenized_card_data_create.rb +20 -10
- data/lib/wallee-ruby-sdk/models/transaction.rb +61 -61
- data/lib/wallee-ruby-sdk/models/transaction_comment.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction_comment_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction_completion.rb +54 -54
- data/lib/wallee-ruby-sdk/models/transaction_completion_request.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction_create.rb +25 -25
- data/lib/wallee-ruby-sdk/models/transaction_group.rb +3 -3
- data/lib/wallee-ruby-sdk/models/transaction_invoice.rb +48 -48
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction_invoice_comment_create.rb +1 -1
- data/lib/wallee-ruby-sdk/models/transaction_invoice_replacement.rb +6 -6
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version.rb +44 -44
- data/lib/wallee-ruby-sdk/models/transaction_line_item_version_create.rb +3 -3
- data/lib/wallee-ruby-sdk/models/transaction_pending.rb +17 -17
- data/lib/wallee-ruby-sdk/models/transaction_void.rb +42 -42
- data/lib/wallee-ruby-sdk/models/user_account_role.rb +4 -4
- data/lib/wallee-ruby-sdk/models/user_space_role.rb +3 -3
- data/lib/wallee-ruby-sdk/models/wallet_type.rb +34 -4
- data/lib/wallee-ruby-sdk/models/web_app_confirmation_response.rb +6 -6
- data/lib/wallee-ruby-sdk/models/webhook_listener.rb +11 -1
- data/lib/wallee-ruby-sdk/version.rb +1 -1
- data/lib/wallee-ruby-sdk.rb +42 -30
- data/test/constants.rb +82 -0
- data/test/encryption_util_test.rb +86 -0
- data/test/refund_service_test.rb +133 -0
- data/test/transaction_completion_service_test.rb +104 -0
- data/test/transaction_iframe_service_test.rb +25 -0
- data/test/transaction_lightbox_service_test.rb +25 -0
- data/test/transaction_payment_page_service_test.rb +17 -85
- data/test/transaction_service_test.rb +230 -0
- data/vendor/bundle/ruby/3.3.0/cache/addressable-2.8.7.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/ffi-1.17.2-x86_64-linux-gnu.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/json-2.15.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/power_assert-2.0.5.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/public_suffix-6.0.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/typhoeus-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/gem_make.out +25 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1/mkmf.log +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/CHANGELOG.md +301 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/Gemfile +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/Rakefile +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/addressable.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/template.rb +1029 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/uri.rb +2602 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/lib/addressable/version.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/addressable-2.8.7/tasks/gem.rake +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/README.md +95 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/CHANGELOG.md +473 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/Gemfile +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/README.md +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/Rakefile +206 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.6/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/2.7/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.0/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.1/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.2/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/3.4/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/autopointer.rb +180 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/dynamic_library.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/enum.rb +302 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/ffi.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/function.rb +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/library.rb +576 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/platform/aarch64-linux/types.conf +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct.rb +317 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/types.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/abstract_memory.rbs +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/auto_pointer.rbs +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/buffer.rbs +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/data_converter.rbs +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/dynamic_library.rbs +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/enum.rbs +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/function.rbs +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/library.rbs +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/native_type.rbs +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/pointer.rbs +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct.rbs +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_by_reference.rbs +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_by_value.rbs +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_layout.rbs +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi/type.rbs +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu/sig/ffi.rbs +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/BSDL +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/CHANGES.md +693 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/LEGAL +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/README.md +283 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/fbuffer/fbuffer.h +296 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/Makefile +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/extconf.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/generator/generator.c +2169 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/Makefile +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/extconf.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/parser/parser.c +1557 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/simd/conf.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/simd/simd.h +188 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/vendor/fpconv.c +480 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/ext/json/ext/vendor/jeaiii-ltoa.h +267 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/json.gemspec +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/bigdecimal.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/complex.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/core.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/date.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/date_time.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/exception.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/ostruct.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/range.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/rational.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/regexp.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/string.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/struct.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/symbol.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/add/time.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/common.rb +1130 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/generator/state.rb +99 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/ext.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/generic_object.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/truffle_ruby/generator.rb +708 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.15.1/lib/json.rb +642 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/.github/workflows/ci.yml +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/Gemfile +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/enable_tracepoint_events.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/inspector.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/lib/power_assert.rb +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/power_assert-2.0.5/power_assert.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/CHANGELOG.md +498 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/README.md +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/SECURITY.md +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/data/list.txt +15791 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix/version.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/public_suffix-6.0.2/lib/public_suffix.rb +177 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/CHANGELOG.md +452 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/expectation.rb +219 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/typhoeus-1.5.0/typhoeus.gemspec +35 -0
- data/vendor/bundle/ruby/3.3.0/specifications/addressable-2.8.7.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ethon-0.15.0.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ffi-1.17.2-x86_64-linux-gnu.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.15.1.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/power_assert-2.0.5.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/public_suffix-6.0.2.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/test-unit-3.3.9.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/typhoeus-1.5.0.gemspec +26 -0
- metadata +610 -1162
- data/lib/wallee-ruby-sdk/api/analytics_query_service_api.rb +0 -411
- data/lib/wallee-ruby-sdk/models/analytics_query.rb +0 -272
- data/lib/wallee-ruby-sdk/models/analytics_query_execution.rb +0 -303
- data/lib/wallee-ruby-sdk/models/analytics_query_execution_state.rb +0 -37
- data/lib/wallee-ruby-sdk/models/analytics_query_result_batch.rb +0 -225
- data/lib/wallee-ruby-sdk/models/analytics_schema_column.rb +0 -263
- data/lib/wallee-ruby-sdk/models/analytics_schema_table.rb +0 -215
- data/lib/wallee-ruby-sdk/models/card_cryptogram_type.rb +0 -34
- data/lib/wallee-ruby-sdk/models/shopify_integration.rb +0 -470
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_billing_configuration.rb +0 -271
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_item.rb +0 -233
- data/lib/wallee-ruby-sdk/models/shopify_subscription_model_tax_line.rb +0 -201
- data/lib/wallee-ruby-sdk/models/transaction_aware_entity.rb +0 -211
- data/test/condition_type_service_test.rb +0 -24
- data/test/transaction_create_service_test.rb +0 -91
- data/vendor/bundle/ruby/3.1.0/cache/addressable-2.8.6.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/ethon-0.16.0.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/ffi-1.16.3.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/json-2.7.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/power_assert-2.0.3.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/public_suffix-5.0.4.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/typhoeus-1.4.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.16.3/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.16.3/gem_make.out +0 -44
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.16.3/mkmf.log +0 -268
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/json-2.7.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/json-2.7.1/gem_make.out +0 -13
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/json-2.7.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/json-2.7.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/json-2.7.1/mkmf.log +0 -125
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/CHANGELOG.md +0 -296
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/Gemfile +0 -30
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/Rakefile +0 -40
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/addressable.gemspec +0 -28
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/template.rb +0 -1029
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/uri.rb +0 -2602
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/lib/addressable/version.rb +0 -31
- data/vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/tasks/gem.rake +0 -95
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/CHANGELOG.md +0 -375
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/README.md +0 -118
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +0 -65
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +0 -503
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +0 -149
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +0 -116
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +0 -136
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/lib/ethon/version.rb +0 -6
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +0 -81
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +0 -126
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +0 -47
- data/vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +0 -271
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/CHANGELOG.md +0 -414
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/Gemfile +0 -14
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/README.md +0 -137
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/Rakefile +0 -194
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.c +0 -1128
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.h +0 -176
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.c +0 -198
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.h +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Buffer.c +0 -417
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Call.c +0 -498
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Call.h +0 -107
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.c +0 -333
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.h +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.c +0 -397
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.h +0 -98
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Function.c +0 -1063
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Function.h +0 -84
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/FunctionInfo.c +0 -322
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LastError.c +0 -243
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LastError.h +0 -47
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.c +0 -65
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.h +0 -47
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +0 -267
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.c +0 -211
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.h +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.c +0 -219
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.h +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.c +0 -350
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.h +0 -56
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Platform.c +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Platform.h +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.c +0 -546
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.h +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Struct.c +0 -897
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Struct.h +0 -115
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.c +0 -177
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.h +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/StructLayout.c +0 -769
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Thread.c +0 -129
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Thread.h +0 -76
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Type.c +0 -447
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Type.h +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Types.c +0 -138
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Types.h +0 -88
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Variadic.c +0 -345
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/compat.h +0 -82
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/extconf.h +0 -8
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/extconf.rb +0 -115
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ffi.c +0 -97
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor/site.exp +0 -16
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor/unix-noexec.exp +0 -7
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.appveyor.yml +0 -84
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/ar-lib +0 -270
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/bfin-sim.exp +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build-cross-in-container.sh +0 -18
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build-in-container.sh +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/build.sh +0 -124
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/compile +0 -351
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/install.sh +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/m32r-sim.exp +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/moxie-sim.exp +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/msvs-detect +0 -1103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/or1k-sim.exp +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/powerpc-eabisim.exp +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/site.exp +0 -29
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.ci/wine-sim.exp +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.circleci/config.yml +0 -156
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.gitattributes +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/issue_template.md +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/workflows/build.yml +0 -460
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.github/workflows/emscripten.yml +0 -171
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/.gitignore +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/ChangeLog.old +0 -7407
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/LICENSE +0 -21
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +0 -353
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/Makefile.am +0 -157
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/Makefile.in +0 -2127
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/README.md +0 -526
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/acinclude.m4 +0 -377
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/autogen.sh +0 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/compile +0 -348
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/config.guess +0 -1754
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/config.sub +0 -1892
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/configure +0 -22791
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/configure.ac +0 -451
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/configure.host +0 -337
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/Makefile.am +0 -3
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/Makefile.in +0 -818
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/libffi.texi +0 -1046
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/doc/version.texi +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/fficonfig.h.in +0 -188
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +0 -312
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/Makefile.am +0 -9
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/Makefile.in +0 -609
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi.h.in +0 -527
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi_cfi.h +0 -76
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/ffi_common.h +0 -182
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/include/tramp.h +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/install-sh +0 -541
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.map.in +0 -76
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.pc.in +0 -11
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +0 -997
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libtool-ldflags +0 -106
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/libtool-version +0 -29
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/ltmain.sh +0 -11448
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/asmcfi.m4 +0 -13
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_append_flag.m4 +0 -50
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +0 -198
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +0 -158
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +0 -53
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +0 -119
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_configure_args.m4 +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +0 -302
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +0 -267
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +0 -89
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_prepend_flag.m4 +0 -51
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/m4/ax_require_defined.m4 +0 -37
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/make_sunver.pl +0 -333
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/Makefile.am +0 -8
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/Makefile.in +0 -565
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi.3 +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_call.3 +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_prep_cif.3 +0 -68
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +0 -73
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/missing +0 -215
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +0 -33
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +0 -130
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +0 -511
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +0 -219
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/msvcc.sh +0 -353
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/ffi.c +0 -1129
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/ffitarget.h +0 -97
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/internal.h +0 -100
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/sysv.S +0 -543
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +0 -506
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/ffi.c +0 -521
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/ffitarget.h +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/internal.h +0 -23
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/alpha/osf.S +0 -282
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/arcompact.S +0 -210
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/ffi.c +0 -443
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arc/ffitarget.h +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/ffi.c +0 -921
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/ffitarget.h +0 -89
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/internal.h +0 -17
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/sysv.S +0 -456
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +0 -311
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/ffi.c +0 -423
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/ffitarget.h +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/avr32/sysv.S +0 -208
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/ffi.c +0 -196
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/ffitarget.h +0 -43
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/bfin/sysv.S +0 -179
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/closures.c +0 -1107
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/ffi.c +0 -386
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/ffitarget.h +0 -56
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/cris/sysv.S +0 -215
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/ffi.c +0 -395
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/ffitarget.h +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/csky/sysv.S +0 -371
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/debug.c +0 -64
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/dlmalloc.c +0 -5171
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/eabi.S +0 -128
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/ffi.c +0 -292
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/frv/ffitarget.h +0 -62
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ffi.c +0 -616
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ffitarget.h +0 -56
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/ia64_flags.h +0 -40
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/ia64/unix.S +0 -585
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/java_raw_api.c +0 -374
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/asm.h +0 -5
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/ffi.c +0 -273
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/ffitarget.h +0 -75
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/kvx/sysv.S +0 -127
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/ffi.c +0 -621
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/ffitarget.h +0 -82
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/loongarch64/sysv.S +0 -327
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/ffi.c +0 -249
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/ffitarget.h +0 -53
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m32r/sysv.S +0 -121
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/ffi.c +0 -362
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/ffitarget.h +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m68k/sysv.S +0 -357
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/ffi.c +0 -400
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/ffitarget.h +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/m88k/obsd.S +0 -209
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/ffi.c +0 -330
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/ffitarget.h +0 -53
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/metag/sysv.S +0 -311
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/ffi.c +0 -321
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/ffitarget.h +0 -53
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/microblaze/sysv.S +0 -302
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/ffi.c +0 -1309
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/ffitarget.h +0 -251
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/n32.S +0 -772
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/mips/o32.S +0 -561
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/eabi.S +0 -101
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/ffi.c +0 -310
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/moxie/ffitarget.h +0 -52
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/ffi.c +0 -304
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/ffitarget.h +0 -52
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/nios2/sysv.S +0 -136
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/ffi.c +0 -341
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/ffitarget.h +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/or1k/sysv.S +0 -107
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffi.c +0 -673
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffi64.c +0 -614
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/ffitarget.h +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/hpux32.S +0 -417
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/hpux64.S +0 -681
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/pa/linux.S +0 -427
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/aix.S +0 -566
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/aix_closure.S +0 -694
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/asm.h +0 -125
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/darwin.S +0 -378
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +0 -571
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi.c +0 -175
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +0 -1452
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +0 -1153
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +0 -105
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +0 -923
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ffitarget.h +0 -204
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/linux64.S +0 -293
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +0 -566
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +0 -397
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/sysv.S +0 -173
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/powerpc/t-aix +0 -5
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/prep_cif.c +0 -283
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/raw_api.c +0 -267
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/ffi.c +0 -514
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/ffitarget.h +0 -69
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/riscv/sysv.S +0 -293
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/ffi.c +0 -756
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/ffitarget.h +0 -70
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/internal.h +0 -11
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/s390/sysv.S +0 -325
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/ffi.c +0 -717
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/ffitarget.h +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh/sysv.S +0 -850
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/ffi.c +0 -469
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/ffitarget.h +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sh64/sysv.S +0 -539
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffi.c +0 -468
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffi64.c +0 -624
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/ffitarget.h +0 -81
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/internal.h +0 -26
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/v8.S +0 -443
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/sparc/v9.S +0 -440
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/ffi.c +0 -355
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/ffitarget.h +0 -65
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tile/tile.S +0 -360
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/tramp.c +0 -716
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/types.c +0 -108
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/elfbsd.S +0 -195
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/ffi.c +0 -276
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/vax/ffitarget.h +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/wasm32/ffi.c +0 -934
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/wasm32/ffitarget.h +0 -62
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/asmnames.h +0 -30
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffi.c +0 -832
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffi64.c +0 -950
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffitarget.h +0 -164
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/ffiw64.c +0 -361
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/internal.h +0 -43
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/internal64.h +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/sysv.S +0 -1272
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/sysv_intel.S +0 -998
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/unix64.S +0 -711
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/win64.S +0 -254
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/x86/win64_intel.S +0 -238
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/ffi.c +0 -306
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/ffitarget.h +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/src/xtensa/sysv.S +0 -268
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/stamp-h.in +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/Makefile.am +0 -135
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/Makefile.in +0 -664
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/config/default.exp +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/build-tests.sh +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/build.sh +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/conftest.py +0 -80
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/node-tests.sh +0 -48
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/test.html +0 -7
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/emscripten/test_libffi.py +0 -51
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/libffi.exp +0 -682
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +0 -283
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +0 -28
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +0 -50
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +0 -1746
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +0 -2885
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +0 -747
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/bpo_38748.c +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +0 -26
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +0 -163
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float.c +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +0 -61
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +0 -74
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +0 -62
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +0 -110
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many.c +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +0 -70
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -52
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +0 -127
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc_tc.c +0 -114
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +0 -43
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +0 -42
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +0 -35
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +0 -42
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +0 -34
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +0 -48
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +0 -42
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +0 -38
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +0 -42
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/s55.c +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +0 -43
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +0 -57
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +0 -64
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +0 -66
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +0 -64
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +0 -74
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +0 -81
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +0 -68
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_2.c +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3.c +0 -65
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_3f.c +0 -65
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4.c +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_4f.c +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_big.c +0 -93
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_by_value_small.c +0 -61
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_2H.c +0 -63
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/struct_return_8H.c +0 -90
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +0 -61
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_2.c +0 -220
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_3.c +0 -154
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +0 -134
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +0 -134
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +0 -140
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +0 -90
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +0 -83
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +0 -83
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +0 -102
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +0 -91
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +0 -92
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +0 -96
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +0 -61
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +0 -112
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +0 -117
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +0 -120
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +0 -131
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +0 -93
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +0 -109
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +0 -113
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +0 -145
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +0 -114
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +0 -113
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +0 -120
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +0 -137
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +0 -116
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +0 -148
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +0 -140
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +0 -121
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +0 -155
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +0 -121
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +0 -102
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +0 -103
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +0 -111
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +0 -109
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +0 -111
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +0 -147
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +0 -152
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +0 -113
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +0 -108
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +0 -106
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +0 -109
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +0 -108
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +0 -109
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +0 -111
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +0 -68
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +0 -43
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +0 -69
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +0 -115
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +0 -80
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +0 -70
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +0 -79
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +0 -99
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +0 -79
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +0 -152
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +0 -47
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +0 -44
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +0 -125
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +0 -47
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +0 -46
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +0 -343
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +0 -175
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +0 -161
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +0 -146
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +0 -137
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct12.c +0 -86
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct13.c +0 -115
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +0 -119
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +0 -120
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +0 -120
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +0 -121
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +0 -142
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +0 -120
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +0 -142
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +0 -142
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +0 -90
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs1.c +0 -86
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs2.c +0 -102
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/single_entry_structs3.c +0 -101
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +0 -145
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +0 -148
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +0 -124
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +0 -125
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +0 -75
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +0 -118
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +0 -91
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +0 -42
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +0 -71
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +0 -80
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +0 -16
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +0 -51
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +0 -7
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +0 -7
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +0 -7
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +0 -86
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +0 -78
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +0 -37
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +0 -44
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +0 -10
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +0 -34
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +0 -28
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +0 -19
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.bsd.mk +0 -40
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.darwin.mk +0 -105
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.gnu.mk +0 -32
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.mk +0 -18
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.vc.mk +0 -26
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/libffi.vc64.mk +0 -26
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/rbffi.h +0 -55
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/ext/ffi_c/rbffi_endian.h +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb +0 -188
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/dynamic_library.rb +0 -89
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/enum.rb +0 -303
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/ffi.rb +0 -50
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/function.rb +0 -71
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/io.rb +0 -62
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/library.rb +0 -576
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/platform/aarch64-linux/types.conf +0 -104
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/pointer.rb +0 -167
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/struct.rb +0 -317
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/struct_layout.rb +0 -96
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/struct_layout_builder.rb +0 -227
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/types.rb +0 -220
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi/version.rb +0 -3
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.16.3/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/CHANGES.md +0 -503
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/README.md +0 -425
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/Makefile +0 -203
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/fbuffer/fbuffer.h +0 -187
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/Makefile +0 -268
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/depend +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/extconf.rb +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/generator.c +0 -1673
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/generator.h +0 -177
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/Makefile +0 -268
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/depend +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/extconf.rb +0 -32
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/parser.c +0 -2211
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/parser.h +0 -96
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/parser.rl +0 -971
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/ext/json/extconf.rb +0 -3
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/json.gemspec +0 -68
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/bigdecimal.rb +0 -58
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/complex.rb +0 -51
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/core.rb +0 -12
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/date.rb +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/date_time.rb +0 -67
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/exception.rb +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/ostruct.rb +0 -51
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/range.rb +0 -54
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/rational.rb +0 -49
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/regexp.rb +0 -48
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/struct.rb +0 -52
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/symbol.rb +0 -48
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/add/time.rb +0 -59
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/common.rb +0 -697
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/ext.rb +0 -15
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/generic_object.rb +0 -71
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/pure/generator.rb +0 -513
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/pure/parser.rb +0 -337
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/pure.rb +0 -15
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json/version.rb +0 -9
- data/vendor/bundle/ruby/3.1.0/gems/json-2.7.1/lib/json.rb +0 -592
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/.github/workflows/ci.yml +0 -32
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/Gemfile +0 -9
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/lib/power_assert/enable_tracepoint_events.rb +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/lib/power_assert/inspector.rb +0 -66
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/lib/power_assert/version.rb +0 -3
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/lib/power_assert.rb +0 -91
- data/vendor/bundle/ruby/3.1.0/gems/power_assert-2.0.3/power_assert.gemspec +0 -31
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/2.0-Upgrade.md +0 -52
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/CHANGELOG.md +0 -451
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/LICENSE.txt +0 -22
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/README.md +0 -224
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/SECURITY.md +0 -25
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/data/list.txt +0 -15431
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix/domain.rb +0 -235
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix/errors.rb +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix/list.rb +0 -247
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix/rule.rb +0 -350
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix/version.rb +0 -14
- data/vendor/bundle/ruby/3.1.0/gems/public_suffix-5.0.4/lib/public_suffix.rb +0 -177
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/.github/workflows/ci.yml +0 -30
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/.github/workflows/experimental.yml +0 -33
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/.gitignore +0 -8
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/.rspec +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/CHANGELOG.md +0 -410
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/Gemfile +0 -36
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/Guardfile +0 -9
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/Rakefile +0 -38
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/lib/typhoeus/expectation.rb +0 -217
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/lib/typhoeus/request/responseable.rb +0 -29
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/lib/typhoeus/version.rb +0 -5
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/perf/profile.rb +0 -14
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/perf/vs_nethttp.rb +0 -64
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +0 -156
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/rack/typhoeus/middleware/params_decoder_spec.rb +0 -31
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/spec_helper.rb +0 -29
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/support/localhost_server.rb +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/support/memory_cache.rb +0 -15
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/support/server.rb +0 -116
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/adapters/faraday_spec.rb +0 -339
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/dalli_spec.rb +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/cache/redis_spec.rb +0 -41
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/config_spec.rb +0 -15
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/easy_factory_spec.rb +0 -143
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/errors/no_stub_spec.rb +0 -13
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/expectation_spec.rb +0 -280
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/addable_spec.rb +0 -22
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/before_spec.rb +0 -98
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/block_connection_spec.rb +0 -18
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/cacheable_spec.rb +0 -88
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/memoizable_spec.rb +0 -53
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/queueable_spec.rb +0 -98
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/runnable_spec.rb +0 -137
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra/stubbable_spec.rb +0 -48
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/hydra_spec.rb +0 -22
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/pool_spec.rb +0 -137
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/actions_spec.rb +0 -19
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/before_spec.rb +0 -93
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/block_connection_spec.rb +0 -75
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/cacheable_spec.rb +0 -94
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/callbacks_spec.rb +0 -91
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/marshal_spec.rb +0 -60
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/memoizable_spec.rb +0 -34
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/operations_spec.rb +0 -101
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/responseable_spec.rb +0 -13
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request/stubbable_spec.rb +0 -45
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/request_spec.rb +0 -256
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/response/header_spec.rb +0 -147
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/response/informations_spec.rb +0 -323
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/response/status_spec.rb +0 -256
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus/response_spec.rb +0 -100
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/spec/typhoeus_spec.rb +0 -105
- data/vendor/bundle/ruby/3.1.0/gems/typhoeus-1.4.1/typhoeus.gemspec +0 -25
- data/vendor/bundle/ruby/3.1.0/specifications/addressable-2.8.6.gemspec +0 -37
- data/vendor/bundle/ruby/3.1.0/specifications/ethon-0.16.0.gemspec +0 -30
- data/vendor/bundle/ruby/3.1.0/specifications/ffi-1.16.3.gemspec +0 -43
- data/vendor/bundle/ruby/3.1.0/specifications/json-2.7.1.gemspec +0 -0
- data/vendor/bundle/ruby/3.1.0/specifications/power_assert-2.0.3.gemspec +0 -46
- data/vendor/bundle/ruby/3.1.0/specifications/public_suffix-5.0.4.gemspec +0 -24
- data/vendor/bundle/ruby/3.1.0/specifications/rake-13.0.6.gemspec +0 -26
- data/vendor/bundle/ruby/3.1.0/specifications/test-unit-3.3.9.gemspec +0 -41
- data/vendor/bundle/ruby/3.1.0/specifications/typhoeus-1.4.1.gemspec +0 -30
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/bin/rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/cache/rake-13.0.6.gem +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/cache/test-unit-3.3.9.gem +0 -0
- /data/vendor/bundle/ruby/{3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.16.3 → 3.3.0/extensions/x86_64-linux/3.3.0/json-2.15.1}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/data/unicode.data +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/lib/addressable/idna/native.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/lib/addressable/idna/pure.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/lib/addressable/idna.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/lib/addressable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/addressable/idna_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/addressable/net_http_compat_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/addressable/security_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/addressable/template_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/addressable/uri_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/spec/spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/clobber.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/git.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/metrics.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/profile.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/rspec.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/addressable-2.8.6 → 3.3.0/gems/addressable-2.8.7}/tasks/yard.rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/.gitignore +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/.rspec +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/Gemfile +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/Guardfile +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/Rakefile +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/ethon.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curl.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/codes.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/constants.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/form_options.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/functions.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/infos.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/messages.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/curls/settings.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/debug_info.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/features.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/form.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/header.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/actionable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/custom.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/delete.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/get.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/head.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/options.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/patch.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/post.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/postable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/put.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http/putable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/http.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/mirror.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/operations.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/options.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/params.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/queryable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy/util.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/easy.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/ethon_error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/global_init.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/invalid_option.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/invalid_value.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/multi_add.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/multi_remove.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors/select.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/errors.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/libc.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/loggable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/multi/operations.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/multi/options.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/multi/stack.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon/multi.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/lib/ethon.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/benchmarks.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/memory_leaks.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/perf_spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/support/memory_test_helpers.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/support/os_memory_leak_tracker.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/curl_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/features_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/form_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/header_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/get_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/head_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/options_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/post_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http/put_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/http_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/options_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/queryable_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy/util_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/easy_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/libc_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/loggable_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/multi/operations_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/multi/options_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/multi/stack_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/ethon/multi_spec.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/support/localhost_server.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ethon-0.16.0 → 3.3.0/gems/ethon-0.15.0}/spec/support/server.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/COPYING +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/LICENSE.SPECS +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/ffi.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/abstract_memory.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/buffer.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/callback.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/compat.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/data_converter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/errno.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/library_path.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/managedstruct.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/memorypointer.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/aarch64-darwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/aarch64-freebsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/aarch64-openbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/aarch64-windows/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/arm-freebsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/arm-freebsd12/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/arm-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/hppa1.1-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/hppa2.0-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-cygwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-darwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-freebsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-freebsd12/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-gnu/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-netbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-openbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-solaris/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/i386-windows/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/ia64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/loongarch64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mips-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mips64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mips64el-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mipsel-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc-aix/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc-darwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc-openbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/powerpc64le-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/riscv64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/s390-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/s390x-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sparc-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sparc-solaris/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sparcv9-solaris/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/sw_64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-cygwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-darwin/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-freebsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-haiku/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-linux/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-msys/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-netbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-openbsd/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-solaris/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform/x86_64-windows/types.conf +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/platform.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/struct_by_reference.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/tools/const_generator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/tools/generator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/tools/generator_task.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/tools/struct_generator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/tools/types_generator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/union.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi/variadic.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/lib/ffi.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/rakelib/ffi_gem_helper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/getlogin.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/getpid.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/gettimeofday.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/hello.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/hello_ractor.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/inotify.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/pty.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/qsort.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/ffi-1.16.3 → 3.3.0/gems/ffi-1.17.2-x86_64-linux-gnu}/samples/qsort_ractor.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/json-2.7.1/LICENSE → 3.3.0/gems/json-2.15.1/COPYING} +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/json-2.7.1 → 3.3.0/gems/json-2.15.1}/lib/json/add/set.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/.github/dependabot.yml +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/.gitignore +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/BSDL +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/COPYING +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/LEGAL +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/Rakefile +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/lib/power_assert/colorize.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/lib/power_assert/configuration.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/lib/power_assert/context.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/power_assert-2.0.3 → 3.3.0/gems/power_assert-2.0.5}/lib/power_assert/parser.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/public_suffix-5.0.4 → 3.3.0/gems/public_suffix-6.0.2}/.yardopts +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/History.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/README.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/command_line_usage.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/example/Rakefile1 +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/example/Rakefile2 +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/example/a.c +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/example/b.c +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/example/main.c +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/glossary.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/jamis.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/proto_rake.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/rake.1 +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/rakefile.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/doc/rational.rdoc +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/exe/rake +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/application.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/backtrace.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/clean.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/cloneable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/cpu_counter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/default_loader.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/dsl_definition.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/early_time.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/ext/core.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/ext/string.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/file_creation_task.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/file_list.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/file_task.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/file_utils.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/invocation_chain.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/late_time.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/linked_list.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/multi_task.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/name_space.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/packagetask.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/phony.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/private_reader.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/promise.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/pseudo_status.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/rake_module.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/scope.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/task.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/task_argument_error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/task_arguments.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/task_manager.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/tasklib.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/testtask.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/thread_history_display.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/thread_pool.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/trace_output.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/version.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake/win32.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/lib/rake.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/rake-13.0.6/rake.gemspec +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/BSDL +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/COPYING +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/PSFL +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/README.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/Rakefile +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/doc/text/getting-started.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/doc/text/how-to.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/doc/text/news.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/assertion-failed-error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/assertions.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/attribute-matcher.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/attribute.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/auto-runner-loader.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/autorunner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/code-snippet-fetcher.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector/descendant.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector/dir.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector/load.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector/objectspace.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector/xml.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/collector.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/color-scheme.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/color.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/data-sets.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/data.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/diff.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/exception-handler.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/failure.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/fault-location-detector.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/fixture.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/notification.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/omission.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/pending.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/priority.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/runner/console.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/runner/emacs.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/runner/xml.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/test-suite-creator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/testcase.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/testresult.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/testsuite.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/console/outputlevel.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/console/testrunner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/emacs/testrunner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/testrunner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnerutilities.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/ui/xml/testrunner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/util/backtracefilter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/util/method-owner-finder.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/util/observable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/util/output.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/util/procwrapper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit/version.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test/unit.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/lib/test-unit.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/sample/adder.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/sample/subtracter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/sample/test_adder.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/sample/test_subtracter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/sample/test_user.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/collector/test-descendant.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/collector/test-load.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/collector/test_dir.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/collector/test_objectspace.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/header-label.csv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/header-label.tsv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/header.csv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/header.tsv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/no-header.csv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/no-header.tsv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/fixtures/plus.csv +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/run-test.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-assertions.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-attribute-matcher.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-attribute.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-code-snippet.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-color-scheme.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-color.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-data.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-diff.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-emacs-runner.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-failure.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-fault-location-detector.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-fixture.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-notification.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-omission.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-pending.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-priority.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-test-case.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-test-result.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-test-suite-creator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/test-test-suite.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/testunit-test-util.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/ui/test_testrunmediator.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/util/test-method-owner-finder.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/util/test-output.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/util/test_backtracefilter.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/util/test_observable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0 → 3.3.0}/gems/test-unit-3.3.9/test/util/test_procwrapper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/README.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/UPGRADE.md +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/rack/typhoeus/middleware/params_decoder.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/rack/typhoeus.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/adapters/faraday.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/cache/dalli.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/cache/rails.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/cache/redis.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/config.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/easy_factory.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/errors/no_stub.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/errors/typhoeus_error.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/errors.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/addable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/before.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/queueable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/runnable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/hydra.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/pool.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/railtie.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/actions.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/before.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/block_connection.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/callbacks.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/marshal.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/memoizable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/operations.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/streamable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request/stubbable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/request.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/response/cacheable.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/response/header.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/response/informations.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/response/status.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus/response.rb +0 -0
- /data/vendor/bundle/ruby/{3.1.0/gems/typhoeus-1.4.1 → 3.3.0/gems/typhoeus-1.5.0}/lib/typhoeus.rb +0 -0
@@ -0,0 +1,2169 @@
|
|
1
|
+
#include "ruby.h"
|
2
|
+
#include "../fbuffer/fbuffer.h"
|
3
|
+
#include "../vendor/fpconv.c"
|
4
|
+
|
5
|
+
#include <math.h>
|
6
|
+
#include <ctype.h>
|
7
|
+
|
8
|
+
#include "../simd/simd.h"
|
9
|
+
|
10
|
+
/* ruby api and some helpers */
|
11
|
+
|
12
|
+
enum duplicate_key_action {
|
13
|
+
JSON_DEPRECATED = 0,
|
14
|
+
JSON_IGNORE,
|
15
|
+
JSON_RAISE,
|
16
|
+
};
|
17
|
+
|
18
|
+
typedef struct JSON_Generator_StateStruct {
|
19
|
+
VALUE indent;
|
20
|
+
VALUE space;
|
21
|
+
VALUE space_before;
|
22
|
+
VALUE object_nl;
|
23
|
+
VALUE array_nl;
|
24
|
+
VALUE as_json;
|
25
|
+
|
26
|
+
long max_nesting;
|
27
|
+
long depth;
|
28
|
+
long buffer_initial_length;
|
29
|
+
|
30
|
+
enum duplicate_key_action on_duplicate_key;
|
31
|
+
|
32
|
+
bool as_json_single_arg;
|
33
|
+
bool allow_nan;
|
34
|
+
bool ascii_only;
|
35
|
+
bool script_safe;
|
36
|
+
bool strict;
|
37
|
+
} JSON_Generator_State;
|
38
|
+
|
39
|
+
#ifndef RB_UNLIKELY
|
40
|
+
#define RB_UNLIKELY(cond) (cond)
|
41
|
+
#endif
|
42
|
+
|
43
|
+
static VALUE mJSON, cState, cFragment, eGeneratorError, eNestingError, Encoding_UTF_8;
|
44
|
+
|
45
|
+
static ID i_to_s, i_to_json, i_new, i_pack, i_unpack, i_create_id, i_extend, i_encode;
|
46
|
+
static VALUE sym_indent, sym_space, sym_space_before, sym_object_nl, sym_array_nl, sym_max_nesting, sym_allow_nan, sym_allow_duplicate_key,
|
47
|
+
sym_ascii_only, sym_depth, sym_buffer_initial_length, sym_script_safe, sym_escape_slash, sym_strict, sym_as_json;
|
48
|
+
|
49
|
+
|
50
|
+
#define GET_STATE_TO(self, state) \
|
51
|
+
TypedData_Get_Struct(self, JSON_Generator_State, &JSON_Generator_State_type, state)
|
52
|
+
|
53
|
+
#define GET_STATE(self) \
|
54
|
+
JSON_Generator_State *state; \
|
55
|
+
GET_STATE_TO(self, state)
|
56
|
+
|
57
|
+
struct generate_json_data;
|
58
|
+
|
59
|
+
typedef void (*generator_func)(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
60
|
+
|
61
|
+
struct generate_json_data {
|
62
|
+
FBuffer *buffer;
|
63
|
+
VALUE vstate;
|
64
|
+
JSON_Generator_State *state;
|
65
|
+
VALUE obj;
|
66
|
+
generator_func func;
|
67
|
+
};
|
68
|
+
|
69
|
+
static VALUE cState_from_state_s(VALUE self, VALUE opts);
|
70
|
+
static VALUE cState_partial_generate(VALUE self, VALUE obj, generator_func, VALUE io);
|
71
|
+
static void generate_json(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
72
|
+
static void generate_json_object(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
73
|
+
static void generate_json_array(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
74
|
+
static void generate_json_string(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
75
|
+
static void generate_json_null(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
76
|
+
static void generate_json_false(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
77
|
+
static void generate_json_true(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
78
|
+
#ifdef RUBY_INTEGER_UNIFICATION
|
79
|
+
static void generate_json_integer(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
80
|
+
#endif
|
81
|
+
static void generate_json_fixnum(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
82
|
+
static void generate_json_bignum(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
83
|
+
static void generate_json_float(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
84
|
+
static void generate_json_fragment(FBuffer *buffer, struct generate_json_data *data, VALUE obj);
|
85
|
+
|
86
|
+
static int usascii_encindex, utf8_encindex, binary_encindex;
|
87
|
+
|
88
|
+
#ifdef RBIMPL_ATTR_NORETURN
|
89
|
+
RBIMPL_ATTR_NORETURN()
|
90
|
+
#endif
|
91
|
+
static void raise_generator_error_str(VALUE invalid_object, VALUE str)
|
92
|
+
{
|
93
|
+
VALUE exc = rb_exc_new_str(eGeneratorError, str);
|
94
|
+
rb_ivar_set(exc, rb_intern("@invalid_object"), invalid_object);
|
95
|
+
rb_exc_raise(exc);
|
96
|
+
}
|
97
|
+
|
98
|
+
#ifdef RBIMPL_ATTR_NORETURN
|
99
|
+
RBIMPL_ATTR_NORETURN()
|
100
|
+
#endif
|
101
|
+
#ifdef RBIMPL_ATTR_FORMAT
|
102
|
+
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 2, 3)
|
103
|
+
#endif
|
104
|
+
static void raise_generator_error(VALUE invalid_object, const char *fmt, ...)
|
105
|
+
{
|
106
|
+
va_list args;
|
107
|
+
va_start(args, fmt);
|
108
|
+
VALUE str = rb_vsprintf(fmt, args);
|
109
|
+
va_end(args);
|
110
|
+
raise_generator_error_str(invalid_object, str);
|
111
|
+
}
|
112
|
+
|
113
|
+
// 0 - single byte char that don't need to be escaped.
|
114
|
+
// (x | 8) - char that needs to be escaped.
|
115
|
+
static const unsigned char CHAR_LENGTH_MASK = 7;
|
116
|
+
static const unsigned char ESCAPE_MASK = 8;
|
117
|
+
|
118
|
+
typedef struct _search_state {
|
119
|
+
const char *ptr;
|
120
|
+
const char *end;
|
121
|
+
const char *cursor;
|
122
|
+
FBuffer *buffer;
|
123
|
+
|
124
|
+
#ifdef HAVE_SIMD
|
125
|
+
const char *chunk_base;
|
126
|
+
const char *chunk_end;
|
127
|
+
bool has_matches;
|
128
|
+
|
129
|
+
#if defined(HAVE_SIMD_NEON)
|
130
|
+
uint64_t matches_mask;
|
131
|
+
#elif defined(HAVE_SIMD_SSE2)
|
132
|
+
int matches_mask;
|
133
|
+
#else
|
134
|
+
#error "Unknown SIMD Implementation."
|
135
|
+
#endif /* HAVE_SIMD_NEON */
|
136
|
+
#endif /* HAVE_SIMD */
|
137
|
+
} search_state;
|
138
|
+
|
139
|
+
#if (defined(__GNUC__ ) || defined(__clang__))
|
140
|
+
#define FORCE_INLINE __attribute__((always_inline))
|
141
|
+
#else
|
142
|
+
#define FORCE_INLINE
|
143
|
+
#endif
|
144
|
+
|
145
|
+
static inline FORCE_INLINE void search_flush(search_state *search)
|
146
|
+
{
|
147
|
+
// Do not remove this conditional without profiling, specifically escape-heavy text.
|
148
|
+
// escape_UTF8_char_basic will advance search->ptr and search->cursor (effectively a search_flush).
|
149
|
+
// For back-to-back characters that need to be escaped, specifically for the SIMD code paths, this method
|
150
|
+
// will be called just before calling escape_UTF8_char_basic. There will be no characters to append for the
|
151
|
+
// consecutive characters that need to be escaped. While the fbuffer_append is a no-op if
|
152
|
+
// nothing needs to be flushed, we can save a few memory references with this conditional.
|
153
|
+
if (search->ptr > search->cursor) {
|
154
|
+
fbuffer_append(search->buffer, search->cursor, search->ptr - search->cursor);
|
155
|
+
search->cursor = search->ptr;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
static const unsigned char escape_table_basic[256] = {
|
160
|
+
// ASCII Control Characters
|
161
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
162
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
163
|
+
// ASCII Characters
|
164
|
+
0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // '"'
|
165
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
166
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
167
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, // '\\'
|
168
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
169
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
170
|
+
};
|
171
|
+
|
172
|
+
static unsigned char (*search_escape_basic_impl)(search_state *);
|
173
|
+
|
174
|
+
static inline unsigned char search_escape_basic(search_state *search)
|
175
|
+
{
|
176
|
+
while (search->ptr < search->end) {
|
177
|
+
if (RB_UNLIKELY(escape_table_basic[(const unsigned char)*search->ptr])) {
|
178
|
+
search_flush(search);
|
179
|
+
return 1;
|
180
|
+
} else {
|
181
|
+
search->ptr++;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
search_flush(search);
|
185
|
+
return 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
static inline FORCE_INLINE void escape_UTF8_char_basic(search_state *search)
|
189
|
+
{
|
190
|
+
const unsigned char ch = (unsigned char)*search->ptr;
|
191
|
+
switch (ch) {
|
192
|
+
case '"': fbuffer_append(search->buffer, "\\\"", 2); break;
|
193
|
+
case '\\': fbuffer_append(search->buffer, "\\\\", 2); break;
|
194
|
+
case '/': fbuffer_append(search->buffer, "\\/", 2); break;
|
195
|
+
case '\b': fbuffer_append(search->buffer, "\\b", 2); break;
|
196
|
+
case '\f': fbuffer_append(search->buffer, "\\f", 2); break;
|
197
|
+
case '\n': fbuffer_append(search->buffer, "\\n", 2); break;
|
198
|
+
case '\r': fbuffer_append(search->buffer, "\\r", 2); break;
|
199
|
+
case '\t': fbuffer_append(search->buffer, "\\t", 2); break;
|
200
|
+
default: {
|
201
|
+
const char *hexdig = "0123456789abcdef";
|
202
|
+
char scratch[6] = { '\\', 'u', '0', '0', 0, 0 };
|
203
|
+
scratch[4] = hexdig[(ch >> 4) & 0xf];
|
204
|
+
scratch[5] = hexdig[ch & 0xf];
|
205
|
+
fbuffer_append(search->buffer, scratch, 6);
|
206
|
+
break;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
search->ptr++;
|
210
|
+
search->cursor = search->ptr;
|
211
|
+
}
|
212
|
+
|
213
|
+
/* Converts in_string to a JSON string (without the wrapping '"'
|
214
|
+
* characters) in FBuffer out_buffer.
|
215
|
+
*
|
216
|
+
* Character are JSON-escaped according to:
|
217
|
+
*
|
218
|
+
* - Always: ASCII control characters (0x00-0x1F), dquote, and
|
219
|
+
* backslash.
|
220
|
+
*
|
221
|
+
* - If out_ascii_only: non-ASCII characters (>0x7F)
|
222
|
+
*
|
223
|
+
* - If script_safe: forwardslash (/), line separator (U+2028), and
|
224
|
+
* paragraph separator (U+2029)
|
225
|
+
*
|
226
|
+
* Everything else (should be UTF-8) is just passed through and
|
227
|
+
* appended to the result.
|
228
|
+
*/
|
229
|
+
static inline void convert_UTF8_to_JSON(search_state *search)
|
230
|
+
{
|
231
|
+
while (search_escape_basic_impl(search)) {
|
232
|
+
escape_UTF8_char_basic(search);
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
static inline void escape_UTF8_char(search_state *search, unsigned char ch_len)
|
237
|
+
{
|
238
|
+
const unsigned char ch = (unsigned char)*search->ptr;
|
239
|
+
switch (ch_len) {
|
240
|
+
case 1: {
|
241
|
+
switch (ch) {
|
242
|
+
case '"': fbuffer_append(search->buffer, "\\\"", 2); break;
|
243
|
+
case '\\': fbuffer_append(search->buffer, "\\\\", 2); break;
|
244
|
+
case '/': fbuffer_append(search->buffer, "\\/", 2); break;
|
245
|
+
case '\b': fbuffer_append(search->buffer, "\\b", 2); break;
|
246
|
+
case '\f': fbuffer_append(search->buffer, "\\f", 2); break;
|
247
|
+
case '\n': fbuffer_append(search->buffer, "\\n", 2); break;
|
248
|
+
case '\r': fbuffer_append(search->buffer, "\\r", 2); break;
|
249
|
+
case '\t': fbuffer_append(search->buffer, "\\t", 2); break;
|
250
|
+
default: {
|
251
|
+
const char *hexdig = "0123456789abcdef";
|
252
|
+
char scratch[6] = { '\\', 'u', '0', '0', 0, 0 };
|
253
|
+
scratch[4] = hexdig[(ch >> 4) & 0xf];
|
254
|
+
scratch[5] = hexdig[ch & 0xf];
|
255
|
+
fbuffer_append(search->buffer, scratch, 6);
|
256
|
+
break;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
break;
|
260
|
+
}
|
261
|
+
case 3: {
|
262
|
+
if (search->ptr[2] & 1) {
|
263
|
+
fbuffer_append(search->buffer, "\\u2029", 6);
|
264
|
+
} else {
|
265
|
+
fbuffer_append(search->buffer, "\\u2028", 6);
|
266
|
+
}
|
267
|
+
break;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
search->cursor = (search->ptr += ch_len);
|
271
|
+
}
|
272
|
+
|
273
|
+
#ifdef HAVE_SIMD
|
274
|
+
|
275
|
+
static inline FORCE_INLINE char *copy_remaining_bytes(search_state *search, unsigned long vec_len, unsigned long len)
|
276
|
+
{
|
277
|
+
// Flush the buffer so everything up until the last 'len' characters are unflushed.
|
278
|
+
search_flush(search);
|
279
|
+
|
280
|
+
FBuffer *buf = search->buffer;
|
281
|
+
fbuffer_inc_capa(buf, vec_len);
|
282
|
+
|
283
|
+
char *s = (buf->ptr + buf->len);
|
284
|
+
|
285
|
+
// Pad the buffer with dummy characters that won't need escaping.
|
286
|
+
// This seem wateful at first sight, but memset of vector length is very fast.
|
287
|
+
memset(s, 'X', vec_len);
|
288
|
+
|
289
|
+
// Optimistically copy the remaining 'len' characters to the output FBuffer. If there are no characters
|
290
|
+
// to escape, then everything ends up in the correct spot. Otherwise it was convenient temporary storage.
|
291
|
+
MEMCPY(s, search->ptr, char, len);
|
292
|
+
|
293
|
+
return s;
|
294
|
+
}
|
295
|
+
|
296
|
+
#ifdef HAVE_SIMD_NEON
|
297
|
+
|
298
|
+
static inline FORCE_INLINE unsigned char neon_next_match(search_state *search)
|
299
|
+
{
|
300
|
+
uint64_t mask = search->matches_mask;
|
301
|
+
uint32_t index = trailing_zeros64(mask) >> 2;
|
302
|
+
|
303
|
+
// It is assumed escape_UTF8_char_basic will only ever increase search->ptr by at most one character.
|
304
|
+
// If we want to use a similar approach for full escaping we'll need to ensure:
|
305
|
+
// search->chunk_base + index >= search->ptr
|
306
|
+
// However, since we know escape_UTF8_char_basic only increases search->ptr by one, if the next match
|
307
|
+
// is one byte after the previous match then:
|
308
|
+
// search->chunk_base + index == search->ptr
|
309
|
+
search->ptr = search->chunk_base + index;
|
310
|
+
mask &= mask - 1;
|
311
|
+
search->matches_mask = mask;
|
312
|
+
search_flush(search);
|
313
|
+
return 1;
|
314
|
+
}
|
315
|
+
|
316
|
+
static inline unsigned char search_escape_basic_neon(search_state *search)
|
317
|
+
{
|
318
|
+
if (RB_UNLIKELY(search->has_matches)) {
|
319
|
+
// There are more matches if search->matches_mask > 0.
|
320
|
+
if (search->matches_mask > 0) {
|
321
|
+
return neon_next_match(search);
|
322
|
+
} else {
|
323
|
+
// neon_next_match will only advance search->ptr up to the last matching character.
|
324
|
+
// Skip over any characters in the last chunk that occur after the last match.
|
325
|
+
search->has_matches = false;
|
326
|
+
search->ptr = search->chunk_end;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
330
|
+
/*
|
331
|
+
* The code below implements an SIMD-based algorithm to determine if N bytes at a time
|
332
|
+
* need to be escaped.
|
333
|
+
*
|
334
|
+
* Assume the ptr = "Te\sting!" (the double quotes are included in the string)
|
335
|
+
*
|
336
|
+
* The explanation will be limited to the first 8 bytes of the string for simplicity. However
|
337
|
+
* the vector insructions may work on larger vectors.
|
338
|
+
*
|
339
|
+
* First, we load three constants 'lower_bound', 'backslash' and 'dblquote" in vector registers.
|
340
|
+
*
|
341
|
+
* lower_bound: [20 20 20 20 20 20 20 20]
|
342
|
+
* backslash: [5C 5C 5C 5C 5C 5C 5C 5C]
|
343
|
+
* dblquote: [22 22 22 22 22 22 22 22]
|
344
|
+
*
|
345
|
+
* Next we load the first chunk of the ptr:
|
346
|
+
* [22 54 65 5C 73 74 69 6E] (" T e \ s t i n)
|
347
|
+
*
|
348
|
+
* First we check if any byte in chunk is less than 32 (0x20). This returns the following vector
|
349
|
+
* as no bytes are less than 32 (0x20):
|
350
|
+
* [0 0 0 0 0 0 0 0]
|
351
|
+
*
|
352
|
+
* Next, we check if any byte in chunk is equal to a backslash:
|
353
|
+
* [0 0 0 FF 0 0 0 0]
|
354
|
+
*
|
355
|
+
* Finally we check if any byte in chunk is equal to a double quote:
|
356
|
+
* [FF 0 0 0 0 0 0 0]
|
357
|
+
*
|
358
|
+
* Now we have three vectors where each byte indicates if the corresponding byte in chunk
|
359
|
+
* needs to be escaped. We combine these vectors with a series of logical OR instructions.
|
360
|
+
* This is the needs_escape vector and it is equal to:
|
361
|
+
* [FF 0 0 FF 0 0 0 0]
|
362
|
+
*
|
363
|
+
* Next we compute the bitwise AND between each byte and 0x1 and compute the horizontal sum of
|
364
|
+
* the values in the vector. This computes how many bytes need to be escaped within this chunk.
|
365
|
+
*
|
366
|
+
* Finally we compute a mask that indicates which bytes need to be escaped. If the mask is 0 then,
|
367
|
+
* no bytes need to be escaped and we can continue to the next chunk. If the mask is not 0 then we
|
368
|
+
* have at least one byte that needs to be escaped.
|
369
|
+
*/
|
370
|
+
|
371
|
+
if (string_scan_simd_neon(&search->ptr, search->end, &search->matches_mask)) {
|
372
|
+
search->has_matches = true;
|
373
|
+
search->chunk_base = search->ptr;
|
374
|
+
search->chunk_end = search->ptr + sizeof(uint8x16_t);
|
375
|
+
return neon_next_match(search);
|
376
|
+
}
|
377
|
+
|
378
|
+
// There are fewer than 16 bytes left.
|
379
|
+
unsigned long remaining = (search->end - search->ptr);
|
380
|
+
if (remaining >= SIMD_MINIMUM_THRESHOLD) {
|
381
|
+
char *s = copy_remaining_bytes(search, sizeof(uint8x16_t), remaining);
|
382
|
+
|
383
|
+
uint64_t mask = compute_chunk_mask_neon(s);
|
384
|
+
|
385
|
+
if (!mask) {
|
386
|
+
// Nothing to escape, ensure search_flush doesn't do anything by setting
|
387
|
+
// search->cursor to search->ptr.
|
388
|
+
fbuffer_consumed(search->buffer, remaining);
|
389
|
+
search->ptr = search->end;
|
390
|
+
search->cursor = search->end;
|
391
|
+
return 0;
|
392
|
+
}
|
393
|
+
|
394
|
+
search->matches_mask = mask;
|
395
|
+
search->has_matches = true;
|
396
|
+
search->chunk_end = search->end;
|
397
|
+
search->chunk_base = search->ptr;
|
398
|
+
return neon_next_match(search);
|
399
|
+
}
|
400
|
+
|
401
|
+
if (search->ptr < search->end) {
|
402
|
+
return search_escape_basic(search);
|
403
|
+
}
|
404
|
+
|
405
|
+
search_flush(search);
|
406
|
+
return 0;
|
407
|
+
}
|
408
|
+
#endif /* HAVE_SIMD_NEON */
|
409
|
+
|
410
|
+
#ifdef HAVE_SIMD_SSE2
|
411
|
+
|
412
|
+
static inline FORCE_INLINE unsigned char sse2_next_match(search_state *search)
|
413
|
+
{
|
414
|
+
int mask = search->matches_mask;
|
415
|
+
int index = trailing_zeros(mask);
|
416
|
+
|
417
|
+
// It is assumed escape_UTF8_char_basic will only ever increase search->ptr by at most one character.
|
418
|
+
// If we want to use a similar approach for full escaping we'll need to ensure:
|
419
|
+
// search->chunk_base + index >= search->ptr
|
420
|
+
// However, since we know escape_UTF8_char_basic only increases search->ptr by one, if the next match
|
421
|
+
// is one byte after the previous match then:
|
422
|
+
// search->chunk_base + index == search->ptr
|
423
|
+
search->ptr = search->chunk_base + index;
|
424
|
+
mask &= mask - 1;
|
425
|
+
search->matches_mask = mask;
|
426
|
+
search_flush(search);
|
427
|
+
return 1;
|
428
|
+
}
|
429
|
+
|
430
|
+
#if defined(__clang__) || defined(__GNUC__)
|
431
|
+
#define TARGET_SSE2 __attribute__((target("sse2")))
|
432
|
+
#else
|
433
|
+
#define TARGET_SSE2
|
434
|
+
#endif
|
435
|
+
|
436
|
+
static inline TARGET_SSE2 FORCE_INLINE unsigned char search_escape_basic_sse2(search_state *search)
|
437
|
+
{
|
438
|
+
if (RB_UNLIKELY(search->has_matches)) {
|
439
|
+
// There are more matches if search->matches_mask > 0.
|
440
|
+
if (search->matches_mask > 0) {
|
441
|
+
return sse2_next_match(search);
|
442
|
+
} else {
|
443
|
+
// sse2_next_match will only advance search->ptr up to the last matching character.
|
444
|
+
// Skip over any characters in the last chunk that occur after the last match.
|
445
|
+
search->has_matches = false;
|
446
|
+
if (RB_UNLIKELY(search->chunk_base + sizeof(__m128i) >= search->end)) {
|
447
|
+
search->ptr = search->end;
|
448
|
+
} else {
|
449
|
+
search->ptr = search->chunk_base + sizeof(__m128i);
|
450
|
+
}
|
451
|
+
}
|
452
|
+
}
|
453
|
+
|
454
|
+
if (string_scan_simd_sse2(&search->ptr, search->end, &search->matches_mask)) {
|
455
|
+
search->has_matches = true;
|
456
|
+
search->chunk_base = search->ptr;
|
457
|
+
search->chunk_end = search->ptr + sizeof(__m128i);
|
458
|
+
return sse2_next_match(search);
|
459
|
+
}
|
460
|
+
|
461
|
+
// There are fewer than 16 bytes left.
|
462
|
+
unsigned long remaining = (search->end - search->ptr);
|
463
|
+
if (remaining >= SIMD_MINIMUM_THRESHOLD) {
|
464
|
+
char *s = copy_remaining_bytes(search, sizeof(__m128i), remaining);
|
465
|
+
|
466
|
+
int needs_escape_mask = compute_chunk_mask_sse2(s);
|
467
|
+
|
468
|
+
if (needs_escape_mask == 0) {
|
469
|
+
// Nothing to escape, ensure search_flush doesn't do anything by setting
|
470
|
+
// search->cursor to search->ptr.
|
471
|
+
fbuffer_consumed(search->buffer, remaining);
|
472
|
+
search->ptr = search->end;
|
473
|
+
search->cursor = search->end;
|
474
|
+
return 0;
|
475
|
+
}
|
476
|
+
|
477
|
+
search->has_matches = true;
|
478
|
+
search->matches_mask = needs_escape_mask;
|
479
|
+
search->chunk_base = search->ptr;
|
480
|
+
return sse2_next_match(search);
|
481
|
+
}
|
482
|
+
|
483
|
+
if (search->ptr < search->end) {
|
484
|
+
return search_escape_basic(search);
|
485
|
+
}
|
486
|
+
|
487
|
+
search_flush(search);
|
488
|
+
return 0;
|
489
|
+
}
|
490
|
+
|
491
|
+
#endif /* HAVE_SIMD_SSE2 */
|
492
|
+
|
493
|
+
#endif /* HAVE_SIMD */
|
494
|
+
|
495
|
+
static const unsigned char script_safe_escape_table[256] = {
|
496
|
+
// ASCII Control Characters
|
497
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
498
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
499
|
+
// ASCII Characters
|
500
|
+
0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, // '"' and '/'
|
501
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
502
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
503
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, // '\\'
|
504
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
505
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
506
|
+
// Continuation byte
|
507
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
508
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
509
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
510
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
511
|
+
// First byte of a 2-byte code point
|
512
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
513
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
514
|
+
// First byte of a 3-byte code point
|
515
|
+
3, 3,11, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 0xE2 is the start of \u2028 and \u2029
|
516
|
+
//First byte of a 4+ byte code point
|
517
|
+
4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 9, 9,
|
518
|
+
};
|
519
|
+
|
520
|
+
static inline unsigned char search_script_safe_escape(search_state *search)
|
521
|
+
{
|
522
|
+
while (search->ptr < search->end) {
|
523
|
+
unsigned char ch = (unsigned char)*search->ptr;
|
524
|
+
unsigned char ch_len = script_safe_escape_table[ch];
|
525
|
+
|
526
|
+
if (RB_UNLIKELY(ch_len)) {
|
527
|
+
if (ch_len & ESCAPE_MASK) {
|
528
|
+
if (RB_UNLIKELY(ch_len == 11)) {
|
529
|
+
const unsigned char *uptr = (const unsigned char *)search->ptr;
|
530
|
+
if (!(uptr[1] == 0x80 && (uptr[2] >> 1) == 0x54)) {
|
531
|
+
search->ptr += 3;
|
532
|
+
continue;
|
533
|
+
}
|
534
|
+
}
|
535
|
+
search_flush(search);
|
536
|
+
return ch_len & CHAR_LENGTH_MASK;
|
537
|
+
} else {
|
538
|
+
search->ptr += ch_len;
|
539
|
+
}
|
540
|
+
} else {
|
541
|
+
search->ptr++;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
search_flush(search);
|
545
|
+
return 0;
|
546
|
+
}
|
547
|
+
|
548
|
+
static void convert_UTF8_to_script_safe_JSON(search_state *search)
|
549
|
+
{
|
550
|
+
unsigned char ch_len;
|
551
|
+
while ((ch_len = search_script_safe_escape(search))) {
|
552
|
+
escape_UTF8_char(search, ch_len);
|
553
|
+
}
|
554
|
+
}
|
555
|
+
|
556
|
+
static const unsigned char ascii_only_escape_table[256] = {
|
557
|
+
// ASCII Control Characters
|
558
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
559
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
560
|
+
// ASCII Characters
|
561
|
+
0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // '"'
|
562
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
563
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
564
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, // '\\'
|
565
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
566
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
567
|
+
// Continuation byte
|
568
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
569
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
570
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
571
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
572
|
+
// First byte of a 2-byte code point
|
573
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
574
|
+
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
575
|
+
// First byte of a 3-byte code point
|
576
|
+
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
577
|
+
//First byte of a 4+ byte code point
|
578
|
+
4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 9, 9,
|
579
|
+
};
|
580
|
+
|
581
|
+
static inline unsigned char search_ascii_only_escape(search_state *search, const unsigned char escape_table[256])
|
582
|
+
{
|
583
|
+
while (search->ptr < search->end) {
|
584
|
+
unsigned char ch = (unsigned char)*search->ptr;
|
585
|
+
unsigned char ch_len = escape_table[ch];
|
586
|
+
|
587
|
+
if (RB_UNLIKELY(ch_len)) {
|
588
|
+
search_flush(search);
|
589
|
+
return ch_len & CHAR_LENGTH_MASK;
|
590
|
+
} else {
|
591
|
+
search->ptr++;
|
592
|
+
}
|
593
|
+
}
|
594
|
+
search_flush(search);
|
595
|
+
return 0;
|
596
|
+
}
|
597
|
+
|
598
|
+
static inline void full_escape_UTF8_char(search_state *search, unsigned char ch_len)
|
599
|
+
{
|
600
|
+
const unsigned char ch = (unsigned char)*search->ptr;
|
601
|
+
switch (ch_len) {
|
602
|
+
case 1: {
|
603
|
+
switch (ch) {
|
604
|
+
case '"': fbuffer_append(search->buffer, "\\\"", 2); break;
|
605
|
+
case '\\': fbuffer_append(search->buffer, "\\\\", 2); break;
|
606
|
+
case '/': fbuffer_append(search->buffer, "\\/", 2); break;
|
607
|
+
case '\b': fbuffer_append(search->buffer, "\\b", 2); break;
|
608
|
+
case '\f': fbuffer_append(search->buffer, "\\f", 2); break;
|
609
|
+
case '\n': fbuffer_append(search->buffer, "\\n", 2); break;
|
610
|
+
case '\r': fbuffer_append(search->buffer, "\\r", 2); break;
|
611
|
+
case '\t': fbuffer_append(search->buffer, "\\t", 2); break;
|
612
|
+
default: {
|
613
|
+
const char *hexdig = "0123456789abcdef";
|
614
|
+
char scratch[6] = { '\\', 'u', '0', '0', 0, 0 };
|
615
|
+
scratch[4] = hexdig[(ch >> 4) & 0xf];
|
616
|
+
scratch[5] = hexdig[ch & 0xf];
|
617
|
+
fbuffer_append(search->buffer, scratch, 6);
|
618
|
+
break;
|
619
|
+
}
|
620
|
+
}
|
621
|
+
break;
|
622
|
+
}
|
623
|
+
default: {
|
624
|
+
const char *hexdig = "0123456789abcdef";
|
625
|
+
char scratch[12] = { '\\', 'u', 0, 0, 0, 0, '\\', 'u' };
|
626
|
+
|
627
|
+
uint32_t wchar = 0;
|
628
|
+
|
629
|
+
switch (ch_len) {
|
630
|
+
case 2:
|
631
|
+
wchar = ch & 0x1F;
|
632
|
+
break;
|
633
|
+
case 3:
|
634
|
+
wchar = ch & 0x0F;
|
635
|
+
break;
|
636
|
+
case 4:
|
637
|
+
wchar = ch & 0x07;
|
638
|
+
break;
|
639
|
+
}
|
640
|
+
|
641
|
+
for (short i = 1; i < ch_len; i++) {
|
642
|
+
wchar = (wchar << 6) | (search->ptr[i] & 0x3F);
|
643
|
+
}
|
644
|
+
|
645
|
+
if (wchar <= 0xFFFF) {
|
646
|
+
scratch[2] = hexdig[wchar >> 12];
|
647
|
+
scratch[3] = hexdig[(wchar >> 8) & 0xf];
|
648
|
+
scratch[4] = hexdig[(wchar >> 4) & 0xf];
|
649
|
+
scratch[5] = hexdig[wchar & 0xf];
|
650
|
+
fbuffer_append(search->buffer, scratch, 6);
|
651
|
+
} else {
|
652
|
+
uint16_t hi, lo;
|
653
|
+
wchar -= 0x10000;
|
654
|
+
hi = 0xD800 + (uint16_t)(wchar >> 10);
|
655
|
+
lo = 0xDC00 + (uint16_t)(wchar & 0x3FF);
|
656
|
+
|
657
|
+
scratch[2] = hexdig[hi >> 12];
|
658
|
+
scratch[3] = hexdig[(hi >> 8) & 0xf];
|
659
|
+
scratch[4] = hexdig[(hi >> 4) & 0xf];
|
660
|
+
scratch[5] = hexdig[hi & 0xf];
|
661
|
+
|
662
|
+
scratch[8] = hexdig[lo >> 12];
|
663
|
+
scratch[9] = hexdig[(lo >> 8) & 0xf];
|
664
|
+
scratch[10] = hexdig[(lo >> 4) & 0xf];
|
665
|
+
scratch[11] = hexdig[lo & 0xf];
|
666
|
+
|
667
|
+
fbuffer_append(search->buffer, scratch, 12);
|
668
|
+
}
|
669
|
+
|
670
|
+
break;
|
671
|
+
}
|
672
|
+
}
|
673
|
+
search->cursor = (search->ptr += ch_len);
|
674
|
+
}
|
675
|
+
|
676
|
+
static void convert_UTF8_to_ASCII_only_JSON(search_state *search, const unsigned char escape_table[256])
|
677
|
+
{
|
678
|
+
unsigned char ch_len;
|
679
|
+
while ((ch_len = search_ascii_only_escape(search, escape_table))) {
|
680
|
+
full_escape_UTF8_char(search, ch_len);
|
681
|
+
}
|
682
|
+
}
|
683
|
+
|
684
|
+
/*
|
685
|
+
* Document-module: JSON::Ext::Generator
|
686
|
+
*
|
687
|
+
* This is the JSON generator implemented as a C extension. It can be
|
688
|
+
* configured to be used by setting
|
689
|
+
*
|
690
|
+
* JSON.generator = JSON::Ext::Generator
|
691
|
+
*
|
692
|
+
* with the method generator= in JSON.
|
693
|
+
*
|
694
|
+
*/
|
695
|
+
|
696
|
+
/* Explanation of the following: that's the only way to not pollute
|
697
|
+
* standard library's docs with GeneratorMethods::<ClassName> which
|
698
|
+
* are uninformative and take a large place in a list of classes
|
699
|
+
*/
|
700
|
+
|
701
|
+
/*
|
702
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods
|
703
|
+
* :nodoc:
|
704
|
+
*/
|
705
|
+
|
706
|
+
/*
|
707
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Array
|
708
|
+
* :nodoc:
|
709
|
+
*/
|
710
|
+
|
711
|
+
/*
|
712
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Bignum
|
713
|
+
* :nodoc:
|
714
|
+
*/
|
715
|
+
|
716
|
+
/*
|
717
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::FalseClass
|
718
|
+
* :nodoc:
|
719
|
+
*/
|
720
|
+
|
721
|
+
/*
|
722
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Fixnum
|
723
|
+
* :nodoc:
|
724
|
+
*/
|
725
|
+
|
726
|
+
/*
|
727
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Float
|
728
|
+
* :nodoc:
|
729
|
+
*/
|
730
|
+
|
731
|
+
/*
|
732
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Hash
|
733
|
+
* :nodoc:
|
734
|
+
*/
|
735
|
+
|
736
|
+
/*
|
737
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Integer
|
738
|
+
* :nodoc:
|
739
|
+
*/
|
740
|
+
|
741
|
+
/*
|
742
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::NilClass
|
743
|
+
* :nodoc:
|
744
|
+
*/
|
745
|
+
|
746
|
+
/*
|
747
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::Object
|
748
|
+
* :nodoc:
|
749
|
+
*/
|
750
|
+
|
751
|
+
/*
|
752
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::String
|
753
|
+
* :nodoc:
|
754
|
+
*/
|
755
|
+
|
756
|
+
/*
|
757
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::String::Extend
|
758
|
+
* :nodoc:
|
759
|
+
*/
|
760
|
+
|
761
|
+
/*
|
762
|
+
* Document-module: JSON::Ext::Generator::GeneratorMethods::TrueClass
|
763
|
+
* :nodoc:
|
764
|
+
*/
|
765
|
+
|
766
|
+
/*
|
767
|
+
* call-seq: to_json(state = nil)
|
768
|
+
*
|
769
|
+
* Returns a JSON string containing a JSON object, that is generated from
|
770
|
+
* this Hash instance.
|
771
|
+
* _state_ is a JSON::State object, that can also be used to configure the
|
772
|
+
* produced JSON string output further.
|
773
|
+
*/
|
774
|
+
static VALUE mHash_to_json(int argc, VALUE *argv, VALUE self)
|
775
|
+
{
|
776
|
+
rb_check_arity(argc, 0, 1);
|
777
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
778
|
+
return cState_partial_generate(Vstate, self, generate_json_object, Qfalse);
|
779
|
+
}
|
780
|
+
|
781
|
+
/*
|
782
|
+
* call-seq: to_json(state = nil)
|
783
|
+
*
|
784
|
+
* Returns a JSON string containing a JSON array, that is generated from
|
785
|
+
* this Array instance.
|
786
|
+
* _state_ is a JSON::State object, that can also be used to configure the
|
787
|
+
* produced JSON string output further.
|
788
|
+
*/
|
789
|
+
static VALUE mArray_to_json(int argc, VALUE *argv, VALUE self)
|
790
|
+
{
|
791
|
+
rb_check_arity(argc, 0, 1);
|
792
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
793
|
+
return cState_partial_generate(Vstate, self, generate_json_array, Qfalse);
|
794
|
+
}
|
795
|
+
|
796
|
+
#ifdef RUBY_INTEGER_UNIFICATION
|
797
|
+
/*
|
798
|
+
* call-seq: to_json(*)
|
799
|
+
*
|
800
|
+
* Returns a JSON string representation for this Integer number.
|
801
|
+
*/
|
802
|
+
static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self)
|
803
|
+
{
|
804
|
+
rb_check_arity(argc, 0, 1);
|
805
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
806
|
+
return cState_partial_generate(Vstate, self, generate_json_integer, Qfalse);
|
807
|
+
}
|
808
|
+
|
809
|
+
#else
|
810
|
+
/*
|
811
|
+
* call-seq: to_json(*)
|
812
|
+
*
|
813
|
+
* Returns a JSON string representation for this Integer number.
|
814
|
+
*/
|
815
|
+
static VALUE mFixnum_to_json(int argc, VALUE *argv, VALUE self)
|
816
|
+
{
|
817
|
+
rb_check_arity(argc, 0, 1);
|
818
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
819
|
+
return cState_partial_generate(Vstate, self, generate_json_fixnum, Qfalse);
|
820
|
+
}
|
821
|
+
|
822
|
+
/*
|
823
|
+
* call-seq: to_json(*)
|
824
|
+
*
|
825
|
+
* Returns a JSON string representation for this Integer number.
|
826
|
+
*/
|
827
|
+
static VALUE mBignum_to_json(int argc, VALUE *argv, VALUE self)
|
828
|
+
{
|
829
|
+
rb_check_arity(argc, 0, 1);
|
830
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
831
|
+
return cState_partial_generate(Vstate, self, generate_json_bignum, Qfalse);
|
832
|
+
}
|
833
|
+
#endif
|
834
|
+
|
835
|
+
/*
|
836
|
+
* call-seq: to_json(*)
|
837
|
+
*
|
838
|
+
* Returns a JSON string representation for this Float number.
|
839
|
+
*/
|
840
|
+
static VALUE mFloat_to_json(int argc, VALUE *argv, VALUE self)
|
841
|
+
{
|
842
|
+
rb_check_arity(argc, 0, 1);
|
843
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
844
|
+
return cState_partial_generate(Vstate, self, generate_json_float, Qfalse);
|
845
|
+
}
|
846
|
+
|
847
|
+
/*
|
848
|
+
* call-seq: to_json(*)
|
849
|
+
*
|
850
|
+
* This string should be encoded with UTF-8 A call to this method
|
851
|
+
* returns a JSON string encoded with UTF16 big endian characters as
|
852
|
+
* \u????.
|
853
|
+
*/
|
854
|
+
static VALUE mString_to_json(int argc, VALUE *argv, VALUE self)
|
855
|
+
{
|
856
|
+
rb_check_arity(argc, 0, 1);
|
857
|
+
VALUE Vstate = cState_from_state_s(cState, argc == 1 ? argv[0] : Qnil);
|
858
|
+
return cState_partial_generate(Vstate, self, generate_json_string, Qfalse);
|
859
|
+
}
|
860
|
+
|
861
|
+
/*
|
862
|
+
* call-seq: to_json(*)
|
863
|
+
*
|
864
|
+
* Returns a JSON string for true: 'true'.
|
865
|
+
*/
|
866
|
+
static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)
|
867
|
+
{
|
868
|
+
rb_check_arity(argc, 0, 1);
|
869
|
+
return rb_utf8_str_new("true", 4);
|
870
|
+
}
|
871
|
+
|
872
|
+
/*
|
873
|
+
* call-seq: to_json(*)
|
874
|
+
*
|
875
|
+
* Returns a JSON string for false: 'false'.
|
876
|
+
*/
|
877
|
+
static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)
|
878
|
+
{
|
879
|
+
rb_check_arity(argc, 0, 1);
|
880
|
+
return rb_utf8_str_new("false", 5);
|
881
|
+
}
|
882
|
+
|
883
|
+
/*
|
884
|
+
* call-seq: to_json(*)
|
885
|
+
*
|
886
|
+
* Returns a JSON string for nil: 'null'.
|
887
|
+
*/
|
888
|
+
static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
|
889
|
+
{
|
890
|
+
rb_check_arity(argc, 0, 1);
|
891
|
+
return rb_utf8_str_new("null", 4);
|
892
|
+
}
|
893
|
+
|
894
|
+
/*
|
895
|
+
* call-seq: to_json(*)
|
896
|
+
*
|
897
|
+
* Converts this object to a string (calling #to_s), converts
|
898
|
+
* it to a JSON string, and returns the result. This is a fallback, if no
|
899
|
+
* special method #to_json was defined for some object.
|
900
|
+
*/
|
901
|
+
static VALUE mObject_to_json(int argc, VALUE *argv, VALUE self)
|
902
|
+
{
|
903
|
+
VALUE state;
|
904
|
+
VALUE string = rb_funcall(self, i_to_s, 0);
|
905
|
+
rb_scan_args(argc, argv, "01", &state);
|
906
|
+
Check_Type(string, T_STRING);
|
907
|
+
state = cState_from_state_s(cState, state);
|
908
|
+
return cState_partial_generate(state, string, generate_json_string, Qfalse);
|
909
|
+
}
|
910
|
+
|
911
|
+
static void State_mark(void *ptr)
|
912
|
+
{
|
913
|
+
JSON_Generator_State *state = ptr;
|
914
|
+
rb_gc_mark_movable(state->indent);
|
915
|
+
rb_gc_mark_movable(state->space);
|
916
|
+
rb_gc_mark_movable(state->space_before);
|
917
|
+
rb_gc_mark_movable(state->object_nl);
|
918
|
+
rb_gc_mark_movable(state->array_nl);
|
919
|
+
rb_gc_mark_movable(state->as_json);
|
920
|
+
}
|
921
|
+
|
922
|
+
static void State_compact(void *ptr)
|
923
|
+
{
|
924
|
+
JSON_Generator_State *state = ptr;
|
925
|
+
state->indent = rb_gc_location(state->indent);
|
926
|
+
state->space = rb_gc_location(state->space);
|
927
|
+
state->space_before = rb_gc_location(state->space_before);
|
928
|
+
state->object_nl = rb_gc_location(state->object_nl);
|
929
|
+
state->array_nl = rb_gc_location(state->array_nl);
|
930
|
+
state->as_json = rb_gc_location(state->as_json);
|
931
|
+
}
|
932
|
+
|
933
|
+
static void State_free(void *ptr)
|
934
|
+
{
|
935
|
+
JSON_Generator_State *state = ptr;
|
936
|
+
ruby_xfree(state);
|
937
|
+
}
|
938
|
+
|
939
|
+
static size_t State_memsize(const void *ptr)
|
940
|
+
{
|
941
|
+
return sizeof(JSON_Generator_State);
|
942
|
+
}
|
943
|
+
|
944
|
+
#ifndef HAVE_RB_EXT_RACTOR_SAFE
|
945
|
+
# undef RUBY_TYPED_FROZEN_SHAREABLE
|
946
|
+
# define RUBY_TYPED_FROZEN_SHAREABLE 0
|
947
|
+
#endif
|
948
|
+
|
949
|
+
static const rb_data_type_t JSON_Generator_State_type = {
|
950
|
+
"JSON/Generator/State",
|
951
|
+
{
|
952
|
+
.dmark = State_mark,
|
953
|
+
.dfree = State_free,
|
954
|
+
.dsize = State_memsize,
|
955
|
+
.dcompact = State_compact,
|
956
|
+
},
|
957
|
+
0, 0,
|
958
|
+
RUBY_TYPED_WB_PROTECTED | RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_FROZEN_SHAREABLE,
|
959
|
+
};
|
960
|
+
|
961
|
+
static void state_init(JSON_Generator_State *state)
|
962
|
+
{
|
963
|
+
state->max_nesting = 100;
|
964
|
+
state->buffer_initial_length = FBUFFER_INITIAL_LENGTH_DEFAULT;
|
965
|
+
}
|
966
|
+
|
967
|
+
static VALUE cState_s_allocate(VALUE klass)
|
968
|
+
{
|
969
|
+
JSON_Generator_State *state;
|
970
|
+
VALUE obj = TypedData_Make_Struct(klass, JSON_Generator_State, &JSON_Generator_State_type, state);
|
971
|
+
state_init(state);
|
972
|
+
return obj;
|
973
|
+
}
|
974
|
+
|
975
|
+
static void vstate_spill(struct generate_json_data *data)
|
976
|
+
{
|
977
|
+
VALUE vstate = cState_s_allocate(cState);
|
978
|
+
GET_STATE(vstate);
|
979
|
+
MEMCPY(state, data->state, JSON_Generator_State, 1);
|
980
|
+
data->state = state;
|
981
|
+
data->vstate = vstate;
|
982
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->indent);
|
983
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->space);
|
984
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->space_before);
|
985
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->object_nl);
|
986
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->array_nl);
|
987
|
+
RB_OBJ_WRITTEN(vstate, Qundef, state->as_json);
|
988
|
+
}
|
989
|
+
|
990
|
+
static inline VALUE vstate_get(struct generate_json_data *data)
|
991
|
+
{
|
992
|
+
if (RB_UNLIKELY(!data->vstate)) {
|
993
|
+
vstate_spill(data);
|
994
|
+
}
|
995
|
+
return data->vstate;
|
996
|
+
}
|
997
|
+
|
998
|
+
struct hash_foreach_arg {
|
999
|
+
VALUE hash;
|
1000
|
+
struct generate_json_data *data;
|
1001
|
+
int first_key_type;
|
1002
|
+
bool first;
|
1003
|
+
bool mixed_keys_encountered;
|
1004
|
+
};
|
1005
|
+
|
1006
|
+
static VALUE
|
1007
|
+
convert_string_subclass(VALUE key)
|
1008
|
+
{
|
1009
|
+
VALUE key_to_s = rb_funcall(key, i_to_s, 0);
|
1010
|
+
|
1011
|
+
if (RB_UNLIKELY(!RB_TYPE_P(key_to_s, T_STRING))) {
|
1012
|
+
VALUE cname = rb_obj_class(key);
|
1013
|
+
rb_raise(rb_eTypeError,
|
1014
|
+
"can't convert %"PRIsVALUE" to %s (%"PRIsVALUE"#%s gives %"PRIsVALUE")",
|
1015
|
+
cname, "String", cname, "to_s", rb_obj_class(key_to_s));
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
return key_to_s;
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
NOINLINE()
|
1022
|
+
static void
|
1023
|
+
json_inspect_hash_with_mixed_keys(struct hash_foreach_arg *arg)
|
1024
|
+
{
|
1025
|
+
if (arg->mixed_keys_encountered) {
|
1026
|
+
return;
|
1027
|
+
}
|
1028
|
+
arg->mixed_keys_encountered = true;
|
1029
|
+
|
1030
|
+
JSON_Generator_State *state = arg->data->state;
|
1031
|
+
if (state->on_duplicate_key != JSON_IGNORE) {
|
1032
|
+
VALUE do_raise = state->on_duplicate_key == JSON_RAISE ? Qtrue : Qfalse;
|
1033
|
+
rb_funcall(mJSON, rb_intern("on_mixed_keys_hash"), 2, arg->hash, do_raise);
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
static VALUE
|
1038
|
+
json_call_as_json(JSON_Generator_State *state, VALUE object, VALUE is_key)
|
1039
|
+
{
|
1040
|
+
VALUE proc_args[2] = {object, is_key};
|
1041
|
+
return rb_proc_call_with_block(state->as_json, 2, proc_args, Qnil);
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
static int
|
1045
|
+
json_object_i(VALUE key, VALUE val, VALUE _arg)
|
1046
|
+
{
|
1047
|
+
struct hash_foreach_arg *arg = (struct hash_foreach_arg *)_arg;
|
1048
|
+
struct generate_json_data *data = arg->data;
|
1049
|
+
|
1050
|
+
FBuffer *buffer = data->buffer;
|
1051
|
+
JSON_Generator_State *state = data->state;
|
1052
|
+
|
1053
|
+
long depth = state->depth;
|
1054
|
+
int key_type = rb_type(key);
|
1055
|
+
|
1056
|
+
if (arg->first) {
|
1057
|
+
arg->first = false;
|
1058
|
+
arg->first_key_type = key_type;
|
1059
|
+
}
|
1060
|
+
else {
|
1061
|
+
fbuffer_append_char(buffer, ',');
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
if (RB_UNLIKELY(data->state->object_nl)) {
|
1065
|
+
fbuffer_append_str(buffer, data->state->object_nl);
|
1066
|
+
}
|
1067
|
+
if (RB_UNLIKELY(data->state->indent)) {
|
1068
|
+
fbuffer_append_str_repeat(buffer, data->state->indent, depth);
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
VALUE key_to_s;
|
1072
|
+
bool as_json_called = false;
|
1073
|
+
|
1074
|
+
start:
|
1075
|
+
switch (key_type) {
|
1076
|
+
case T_STRING:
|
1077
|
+
if (RB_UNLIKELY(arg->first_key_type != T_STRING)) {
|
1078
|
+
json_inspect_hash_with_mixed_keys(arg);
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
if (RB_LIKELY(RBASIC_CLASS(key) == rb_cString)) {
|
1082
|
+
key_to_s = key;
|
1083
|
+
} else {
|
1084
|
+
key_to_s = convert_string_subclass(key);
|
1085
|
+
}
|
1086
|
+
break;
|
1087
|
+
case T_SYMBOL:
|
1088
|
+
if (RB_UNLIKELY(arg->first_key_type != T_SYMBOL)) {
|
1089
|
+
json_inspect_hash_with_mixed_keys(arg);
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
key_to_s = rb_sym2str(key);
|
1093
|
+
break;
|
1094
|
+
default:
|
1095
|
+
if (data->state->strict) {
|
1096
|
+
if (RTEST(data->state->as_json) && !as_json_called) {
|
1097
|
+
key = json_call_as_json(data->state, key, Qtrue);
|
1098
|
+
key_type = rb_type(key);
|
1099
|
+
as_json_called = true;
|
1100
|
+
goto start;
|
1101
|
+
} else {
|
1102
|
+
raise_generator_error(key, "%"PRIsVALUE" not allowed as object key in JSON", CLASS_OF(key));
|
1103
|
+
}
|
1104
|
+
}
|
1105
|
+
key_to_s = rb_convert_type(key, T_STRING, "String", "to_s");
|
1106
|
+
break;
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
if (RB_LIKELY(RBASIC_CLASS(key_to_s) == rb_cString)) {
|
1110
|
+
generate_json_string(buffer, data, key_to_s);
|
1111
|
+
} else {
|
1112
|
+
generate_json(buffer, data, key_to_s);
|
1113
|
+
}
|
1114
|
+
if (RB_UNLIKELY(state->space_before)) fbuffer_append_str(buffer, data->state->space_before);
|
1115
|
+
fbuffer_append_char(buffer, ':');
|
1116
|
+
if (RB_UNLIKELY(state->space)) fbuffer_append_str(buffer, data->state->space);
|
1117
|
+
generate_json(buffer, data, val);
|
1118
|
+
|
1119
|
+
return ST_CONTINUE;
|
1120
|
+
}
|
1121
|
+
|
1122
|
+
static inline long increase_depth(struct generate_json_data *data)
|
1123
|
+
{
|
1124
|
+
JSON_Generator_State *state = data->state;
|
1125
|
+
long depth = ++state->depth;
|
1126
|
+
if (RB_UNLIKELY(depth > state->max_nesting && state->max_nesting)) {
|
1127
|
+
rb_raise(eNestingError, "nesting of %ld is too deep", --state->depth);
|
1128
|
+
}
|
1129
|
+
return depth;
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
static void generate_json_object(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1133
|
+
{
|
1134
|
+
long depth = increase_depth(data);
|
1135
|
+
|
1136
|
+
if (RHASH_SIZE(obj) == 0) {
|
1137
|
+
fbuffer_append(buffer, "{}", 2);
|
1138
|
+
--data->state->depth;
|
1139
|
+
return;
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
fbuffer_append_char(buffer, '{');
|
1143
|
+
|
1144
|
+
struct hash_foreach_arg arg = {
|
1145
|
+
.hash = obj,
|
1146
|
+
.data = data,
|
1147
|
+
.first = true,
|
1148
|
+
};
|
1149
|
+
rb_hash_foreach(obj, json_object_i, (VALUE)&arg);
|
1150
|
+
|
1151
|
+
depth = --data->state->depth;
|
1152
|
+
if (RB_UNLIKELY(data->state->object_nl)) {
|
1153
|
+
fbuffer_append_str(buffer, data->state->object_nl);
|
1154
|
+
if (RB_UNLIKELY(data->state->indent)) {
|
1155
|
+
fbuffer_append_str_repeat(buffer, data->state->indent, depth);
|
1156
|
+
}
|
1157
|
+
}
|
1158
|
+
fbuffer_append_char(buffer, '}');
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
static void generate_json_array(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1162
|
+
{
|
1163
|
+
long depth = increase_depth(data);
|
1164
|
+
|
1165
|
+
if (RARRAY_LEN(obj) == 0) {
|
1166
|
+
fbuffer_append(buffer, "[]", 2);
|
1167
|
+
--data->state->depth;
|
1168
|
+
return;
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
fbuffer_append_char(buffer, '[');
|
1172
|
+
if (RB_UNLIKELY(data->state->array_nl)) fbuffer_append_str(buffer, data->state->array_nl);
|
1173
|
+
for (int i = 0; i < RARRAY_LEN(obj); i++) {
|
1174
|
+
if (i > 0) {
|
1175
|
+
fbuffer_append_char(buffer, ',');
|
1176
|
+
if (RB_UNLIKELY(data->state->array_nl)) fbuffer_append_str(buffer, data->state->array_nl);
|
1177
|
+
}
|
1178
|
+
if (RB_UNLIKELY(data->state->indent)) {
|
1179
|
+
fbuffer_append_str_repeat(buffer, data->state->indent, depth);
|
1180
|
+
}
|
1181
|
+
generate_json(buffer, data, RARRAY_AREF(obj, i));
|
1182
|
+
}
|
1183
|
+
data->state->depth = --depth;
|
1184
|
+
if (RB_UNLIKELY(data->state->array_nl)) {
|
1185
|
+
fbuffer_append_str(buffer, data->state->array_nl);
|
1186
|
+
if (RB_UNLIKELY(data->state->indent)) {
|
1187
|
+
fbuffer_append_str_repeat(buffer, data->state->indent, depth);
|
1188
|
+
}
|
1189
|
+
}
|
1190
|
+
fbuffer_append_char(buffer, ']');
|
1191
|
+
}
|
1192
|
+
|
1193
|
+
static inline int enc_utf8_compatible_p(int enc_idx)
|
1194
|
+
{
|
1195
|
+
if (enc_idx == usascii_encindex) return 1;
|
1196
|
+
if (enc_idx == utf8_encindex) return 1;
|
1197
|
+
return 0;
|
1198
|
+
}
|
1199
|
+
|
1200
|
+
static VALUE encode_json_string_try(VALUE str)
|
1201
|
+
{
|
1202
|
+
return rb_funcall(str, i_encode, 1, Encoding_UTF_8);
|
1203
|
+
}
|
1204
|
+
|
1205
|
+
static VALUE encode_json_string_rescue(VALUE str, VALUE exception)
|
1206
|
+
{
|
1207
|
+
raise_generator_error_str(str, rb_funcall(exception, rb_intern("message"), 0));
|
1208
|
+
return Qundef;
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
static inline VALUE ensure_valid_encoding(VALUE str)
|
1212
|
+
{
|
1213
|
+
int encindex = RB_ENCODING_GET(str);
|
1214
|
+
VALUE utf8_string;
|
1215
|
+
if (RB_UNLIKELY(!enc_utf8_compatible_p(encindex))) {
|
1216
|
+
if (encindex == binary_encindex) {
|
1217
|
+
utf8_string = rb_enc_associate_index(rb_str_dup(str), utf8_encindex);
|
1218
|
+
switch (rb_enc_str_coderange(utf8_string)) {
|
1219
|
+
case ENC_CODERANGE_7BIT:
|
1220
|
+
return utf8_string;
|
1221
|
+
case ENC_CODERANGE_VALID:
|
1222
|
+
// For historical reason, we silently reinterpret binary strings as UTF-8 if it would work.
|
1223
|
+
// TODO: Raise in 3.0.0
|
1224
|
+
rb_warn("JSON.generate: UTF-8 string passed as BINARY, this will raise an encoding error in json 3.0");
|
1225
|
+
return utf8_string;
|
1226
|
+
break;
|
1227
|
+
}
|
1228
|
+
}
|
1229
|
+
|
1230
|
+
str = rb_rescue(encode_json_string_try, str, encode_json_string_rescue, str);
|
1231
|
+
}
|
1232
|
+
return str;
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
static void generate_json_string(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1236
|
+
{
|
1237
|
+
obj = ensure_valid_encoding(obj);
|
1238
|
+
|
1239
|
+
fbuffer_append_char(buffer, '"');
|
1240
|
+
|
1241
|
+
long len;
|
1242
|
+
search_state search;
|
1243
|
+
search.buffer = buffer;
|
1244
|
+
RSTRING_GETMEM(obj, search.ptr, len);
|
1245
|
+
search.cursor = search.ptr;
|
1246
|
+
search.end = search.ptr + len;
|
1247
|
+
|
1248
|
+
#ifdef HAVE_SIMD
|
1249
|
+
search.matches_mask = 0;
|
1250
|
+
search.has_matches = false;
|
1251
|
+
search.chunk_base = NULL;
|
1252
|
+
#endif /* HAVE_SIMD */
|
1253
|
+
|
1254
|
+
switch (rb_enc_str_coderange(obj)) {
|
1255
|
+
case ENC_CODERANGE_7BIT:
|
1256
|
+
case ENC_CODERANGE_VALID:
|
1257
|
+
if (RB_UNLIKELY(data->state->ascii_only)) {
|
1258
|
+
convert_UTF8_to_ASCII_only_JSON(&search, data->state->script_safe ? script_safe_escape_table : ascii_only_escape_table);
|
1259
|
+
} else if (RB_UNLIKELY(data->state->script_safe)) {
|
1260
|
+
convert_UTF8_to_script_safe_JSON(&search);
|
1261
|
+
} else {
|
1262
|
+
convert_UTF8_to_JSON(&search);
|
1263
|
+
}
|
1264
|
+
break;
|
1265
|
+
default:
|
1266
|
+
raise_generator_error(obj, "source sequence is illegal/malformed utf-8");
|
1267
|
+
break;
|
1268
|
+
}
|
1269
|
+
fbuffer_append_char(buffer, '"');
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
static void generate_json_fallback(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1273
|
+
{
|
1274
|
+
VALUE tmp;
|
1275
|
+
if (rb_respond_to(obj, i_to_json)) {
|
1276
|
+
tmp = rb_funcall(obj, i_to_json, 1, vstate_get(data));
|
1277
|
+
Check_Type(tmp, T_STRING);
|
1278
|
+
fbuffer_append_str(buffer, tmp);
|
1279
|
+
} else {
|
1280
|
+
tmp = rb_funcall(obj, i_to_s, 0);
|
1281
|
+
Check_Type(tmp, T_STRING);
|
1282
|
+
generate_json_string(buffer, data, tmp);
|
1283
|
+
}
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
static inline void generate_json_symbol(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1287
|
+
{
|
1288
|
+
if (data->state->strict) {
|
1289
|
+
generate_json_string(buffer, data, rb_sym2str(obj));
|
1290
|
+
} else {
|
1291
|
+
generate_json_fallback(buffer, data, obj);
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
|
1295
|
+
static void generate_json_null(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1296
|
+
{
|
1297
|
+
fbuffer_append(buffer, "null", 4);
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
static void generate_json_false(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1301
|
+
{
|
1302
|
+
fbuffer_append(buffer, "false", 5);
|
1303
|
+
}
|
1304
|
+
|
1305
|
+
static void generate_json_true(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1306
|
+
{
|
1307
|
+
fbuffer_append(buffer, "true", 4);
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
static void generate_json_fixnum(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1311
|
+
{
|
1312
|
+
fbuffer_append_long(buffer, FIX2LONG(obj));
|
1313
|
+
}
|
1314
|
+
|
1315
|
+
static void generate_json_bignum(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1316
|
+
{
|
1317
|
+
VALUE tmp = rb_funcall(obj, i_to_s, 0);
|
1318
|
+
fbuffer_append_str(buffer, tmp);
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
#ifdef RUBY_INTEGER_UNIFICATION
|
1322
|
+
static void generate_json_integer(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1323
|
+
{
|
1324
|
+
if (FIXNUM_P(obj))
|
1325
|
+
generate_json_fixnum(buffer, data, obj);
|
1326
|
+
else
|
1327
|
+
generate_json_bignum(buffer, data, obj);
|
1328
|
+
}
|
1329
|
+
#endif
|
1330
|
+
|
1331
|
+
static void generate_json_float(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1332
|
+
{
|
1333
|
+
double value = RFLOAT_VALUE(obj);
|
1334
|
+
char allow_nan = data->state->allow_nan;
|
1335
|
+
if (isinf(value) || isnan(value)) {
|
1336
|
+
/* for NaN and Infinity values we either raise an error or rely on Float#to_s. */
|
1337
|
+
if (!allow_nan) {
|
1338
|
+
if (data->state->strict && data->state->as_json) {
|
1339
|
+
VALUE casted_obj = json_call_as_json(data->state, obj, Qfalse);
|
1340
|
+
if (casted_obj != obj) {
|
1341
|
+
increase_depth(data);
|
1342
|
+
generate_json(buffer, data, casted_obj);
|
1343
|
+
data->state->depth--;
|
1344
|
+
return;
|
1345
|
+
}
|
1346
|
+
}
|
1347
|
+
raise_generator_error(obj, "%"PRIsVALUE" not allowed in JSON", rb_funcall(obj, i_to_s, 0));
|
1348
|
+
}
|
1349
|
+
|
1350
|
+
VALUE tmp = rb_funcall(obj, i_to_s, 0);
|
1351
|
+
fbuffer_append_str(buffer, tmp);
|
1352
|
+
return;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
/* This implementation writes directly into the buffer. We reserve
|
1356
|
+
* the 32 characters that fpconv_dtoa states as its maximum.
|
1357
|
+
*/
|
1358
|
+
fbuffer_inc_capa(buffer, 32);
|
1359
|
+
char* d = buffer->ptr + buffer->len;
|
1360
|
+
int len = fpconv_dtoa(value, d);
|
1361
|
+
/* fpconv_dtoa converts a float to its shortest string representation,
|
1362
|
+
* but it adds a ".0" if this is a plain integer.
|
1363
|
+
*/
|
1364
|
+
fbuffer_consumed(buffer, len);
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
static void generate_json_fragment(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1368
|
+
{
|
1369
|
+
VALUE fragment = RSTRUCT_GET(obj, 0);
|
1370
|
+
Check_Type(fragment, T_STRING);
|
1371
|
+
fbuffer_append_str(buffer, fragment);
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
static void generate_json(FBuffer *buffer, struct generate_json_data *data, VALUE obj)
|
1375
|
+
{
|
1376
|
+
bool as_json_called = false;
|
1377
|
+
start:
|
1378
|
+
if (obj == Qnil) {
|
1379
|
+
generate_json_null(buffer, data, obj);
|
1380
|
+
} else if (obj == Qfalse) {
|
1381
|
+
generate_json_false(buffer, data, obj);
|
1382
|
+
} else if (obj == Qtrue) {
|
1383
|
+
generate_json_true(buffer, data, obj);
|
1384
|
+
} else if (RB_SPECIAL_CONST_P(obj)) {
|
1385
|
+
if (RB_FIXNUM_P(obj)) {
|
1386
|
+
generate_json_fixnum(buffer, data, obj);
|
1387
|
+
} else if (RB_FLONUM_P(obj)) {
|
1388
|
+
generate_json_float(buffer, data, obj);
|
1389
|
+
} else if (RB_STATIC_SYM_P(obj)) {
|
1390
|
+
generate_json_symbol(buffer, data, obj);
|
1391
|
+
} else {
|
1392
|
+
goto general;
|
1393
|
+
}
|
1394
|
+
} else {
|
1395
|
+
VALUE klass = RBASIC_CLASS(obj);
|
1396
|
+
switch (RB_BUILTIN_TYPE(obj)) {
|
1397
|
+
case T_BIGNUM:
|
1398
|
+
generate_json_bignum(buffer, data, obj);
|
1399
|
+
break;
|
1400
|
+
case T_HASH:
|
1401
|
+
if (klass != rb_cHash) goto general;
|
1402
|
+
generate_json_object(buffer, data, obj);
|
1403
|
+
break;
|
1404
|
+
case T_ARRAY:
|
1405
|
+
if (klass != rb_cArray) goto general;
|
1406
|
+
generate_json_array(buffer, data, obj);
|
1407
|
+
break;
|
1408
|
+
case T_STRING:
|
1409
|
+
if (klass != rb_cString) goto general;
|
1410
|
+
generate_json_string(buffer, data, obj);
|
1411
|
+
break;
|
1412
|
+
case T_SYMBOL:
|
1413
|
+
generate_json_symbol(buffer, data, obj);
|
1414
|
+
break;
|
1415
|
+
case T_FLOAT:
|
1416
|
+
if (klass != rb_cFloat) goto general;
|
1417
|
+
generate_json_float(buffer, data, obj);
|
1418
|
+
break;
|
1419
|
+
case T_STRUCT:
|
1420
|
+
if (klass != cFragment) goto general;
|
1421
|
+
generate_json_fragment(buffer, data, obj);
|
1422
|
+
break;
|
1423
|
+
default:
|
1424
|
+
general:
|
1425
|
+
if (data->state->strict) {
|
1426
|
+
if (RTEST(data->state->as_json) && !as_json_called) {
|
1427
|
+
obj = json_call_as_json(data->state, obj, Qfalse);
|
1428
|
+
as_json_called = true;
|
1429
|
+
goto start;
|
1430
|
+
} else {
|
1431
|
+
raise_generator_error(obj, "%"PRIsVALUE" not allowed in JSON", CLASS_OF(obj));
|
1432
|
+
}
|
1433
|
+
} else {
|
1434
|
+
generate_json_fallback(buffer, data, obj);
|
1435
|
+
}
|
1436
|
+
}
|
1437
|
+
}
|
1438
|
+
}
|
1439
|
+
|
1440
|
+
static VALUE generate_json_try(VALUE d)
|
1441
|
+
{
|
1442
|
+
struct generate_json_data *data = (struct generate_json_data *)d;
|
1443
|
+
|
1444
|
+
data->func(data->buffer, data, data->obj);
|
1445
|
+
|
1446
|
+
return Qnil;
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
static VALUE generate_json_rescue(VALUE d, VALUE exc)
|
1450
|
+
{
|
1451
|
+
struct generate_json_data *data = (struct generate_json_data *)d;
|
1452
|
+
fbuffer_free(data->buffer);
|
1453
|
+
|
1454
|
+
rb_exc_raise(exc);
|
1455
|
+
|
1456
|
+
return Qundef;
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
static VALUE cState_partial_generate(VALUE self, VALUE obj, generator_func func, VALUE io)
|
1460
|
+
{
|
1461
|
+
GET_STATE(self);
|
1462
|
+
|
1463
|
+
char stack_buffer[FBUFFER_STACK_SIZE];
|
1464
|
+
FBuffer buffer = {
|
1465
|
+
.io = RTEST(io) ? io : Qfalse,
|
1466
|
+
};
|
1467
|
+
fbuffer_stack_init(&buffer, state->buffer_initial_length, stack_buffer, FBUFFER_STACK_SIZE);
|
1468
|
+
|
1469
|
+
struct generate_json_data data = {
|
1470
|
+
.buffer = &buffer,
|
1471
|
+
.vstate = self,
|
1472
|
+
.state = state,
|
1473
|
+
.obj = obj,
|
1474
|
+
.func = func
|
1475
|
+
};
|
1476
|
+
rb_rescue(generate_json_try, (VALUE)&data, generate_json_rescue, (VALUE)&data);
|
1477
|
+
|
1478
|
+
return fbuffer_finalize(&buffer);
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
/* call-seq:
|
1482
|
+
* generate(obj) -> String
|
1483
|
+
* generate(obj, anIO) -> anIO
|
1484
|
+
*
|
1485
|
+
* Generates a valid JSON document from object +obj+ and returns the
|
1486
|
+
* result. If no valid JSON document can be created this method raises a
|
1487
|
+
* GeneratorError exception.
|
1488
|
+
*/
|
1489
|
+
static VALUE cState_generate(int argc, VALUE *argv, VALUE self)
|
1490
|
+
{
|
1491
|
+
rb_check_arity(argc, 1, 2);
|
1492
|
+
VALUE obj = argv[0];
|
1493
|
+
VALUE io = argc > 1 ? argv[1] : Qnil;
|
1494
|
+
VALUE result = cState_partial_generate(self, obj, generate_json, io);
|
1495
|
+
GET_STATE(self);
|
1496
|
+
(void)state;
|
1497
|
+
return result;
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
static VALUE cState_initialize(int argc, VALUE *argv, VALUE self)
|
1501
|
+
{
|
1502
|
+
rb_warn("The json gem extension was loaded with the stdlib ruby code. You should upgrade rubygems with `gem update --system`");
|
1503
|
+
return self;
|
1504
|
+
}
|
1505
|
+
|
1506
|
+
/*
|
1507
|
+
* call-seq: initialize_copy(orig)
|
1508
|
+
*
|
1509
|
+
* Initializes this object from orig if it can be duplicated/cloned and returns
|
1510
|
+
* it.
|
1511
|
+
*/
|
1512
|
+
static VALUE cState_init_copy(VALUE obj, VALUE orig)
|
1513
|
+
{
|
1514
|
+
JSON_Generator_State *objState, *origState;
|
1515
|
+
|
1516
|
+
if (obj == orig) return obj;
|
1517
|
+
GET_STATE_TO(obj, objState);
|
1518
|
+
GET_STATE_TO(orig, origState);
|
1519
|
+
if (!objState) rb_raise(rb_eArgError, "unallocated JSON::State");
|
1520
|
+
|
1521
|
+
MEMCPY(objState, origState, JSON_Generator_State, 1);
|
1522
|
+
objState->indent = origState->indent;
|
1523
|
+
objState->space = origState->space;
|
1524
|
+
objState->space_before = origState->space_before;
|
1525
|
+
objState->object_nl = origState->object_nl;
|
1526
|
+
objState->array_nl = origState->array_nl;
|
1527
|
+
objState->as_json = origState->as_json;
|
1528
|
+
return obj;
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
/*
|
1532
|
+
* call-seq: from_state(opts)
|
1533
|
+
*
|
1534
|
+
* Creates a State object from _opts_, which ought to be Hash to create a
|
1535
|
+
* new State instance configured by _opts_, something else to create an
|
1536
|
+
* unconfigured instance. If _opts_ is a State object, it is just returned.
|
1537
|
+
*/
|
1538
|
+
static VALUE cState_from_state_s(VALUE self, VALUE opts)
|
1539
|
+
{
|
1540
|
+
if (rb_obj_is_kind_of(opts, self)) {
|
1541
|
+
return opts;
|
1542
|
+
} else if (rb_obj_is_kind_of(opts, rb_cHash)) {
|
1543
|
+
return rb_funcall(self, i_new, 1, opts);
|
1544
|
+
} else {
|
1545
|
+
return rb_class_new_instance(0, NULL, cState);
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
/*
|
1550
|
+
* call-seq: indent()
|
1551
|
+
*
|
1552
|
+
* Returns the string that is used to indent levels in the JSON text.
|
1553
|
+
*/
|
1554
|
+
static VALUE cState_indent(VALUE self)
|
1555
|
+
{
|
1556
|
+
GET_STATE(self);
|
1557
|
+
return state->indent ? state->indent : rb_str_freeze(rb_utf8_str_new("", 0));
|
1558
|
+
}
|
1559
|
+
|
1560
|
+
static VALUE string_config(VALUE config)
|
1561
|
+
{
|
1562
|
+
if (RTEST(config)) {
|
1563
|
+
Check_Type(config, T_STRING);
|
1564
|
+
if (RSTRING_LEN(config)) {
|
1565
|
+
return rb_str_new_frozen(config);
|
1566
|
+
}
|
1567
|
+
}
|
1568
|
+
return Qfalse;
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
/*
|
1572
|
+
* call-seq: indent=(indent)
|
1573
|
+
*
|
1574
|
+
* Sets the string that is used to indent levels in the JSON text.
|
1575
|
+
*/
|
1576
|
+
static VALUE cState_indent_set(VALUE self, VALUE indent)
|
1577
|
+
{
|
1578
|
+
GET_STATE(self);
|
1579
|
+
RB_OBJ_WRITE(self, &state->indent, string_config(indent));
|
1580
|
+
return Qnil;
|
1581
|
+
}
|
1582
|
+
|
1583
|
+
/*
|
1584
|
+
* call-seq: space()
|
1585
|
+
*
|
1586
|
+
* Returns the string that is used to insert a space between the tokens in a JSON
|
1587
|
+
* string.
|
1588
|
+
*/
|
1589
|
+
static VALUE cState_space(VALUE self)
|
1590
|
+
{
|
1591
|
+
GET_STATE(self);
|
1592
|
+
return state->space ? state->space : rb_str_freeze(rb_utf8_str_new("", 0));
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
/*
|
1596
|
+
* call-seq: space=(space)
|
1597
|
+
*
|
1598
|
+
* Sets _space_ to the string that is used to insert a space between the tokens in a JSON
|
1599
|
+
* string.
|
1600
|
+
*/
|
1601
|
+
static VALUE cState_space_set(VALUE self, VALUE space)
|
1602
|
+
{
|
1603
|
+
GET_STATE(self);
|
1604
|
+
RB_OBJ_WRITE(self, &state->space, string_config(space));
|
1605
|
+
return Qnil;
|
1606
|
+
}
|
1607
|
+
|
1608
|
+
/*
|
1609
|
+
* call-seq: space_before()
|
1610
|
+
*
|
1611
|
+
* Returns the string that is used to insert a space before the ':' in JSON objects.
|
1612
|
+
*/
|
1613
|
+
static VALUE cState_space_before(VALUE self)
|
1614
|
+
{
|
1615
|
+
GET_STATE(self);
|
1616
|
+
return state->space_before ? state->space_before : rb_str_freeze(rb_utf8_str_new("", 0));
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
/*
|
1620
|
+
* call-seq: space_before=(space_before)
|
1621
|
+
*
|
1622
|
+
* Sets the string that is used to insert a space before the ':' in JSON objects.
|
1623
|
+
*/
|
1624
|
+
static VALUE cState_space_before_set(VALUE self, VALUE space_before)
|
1625
|
+
{
|
1626
|
+
GET_STATE(self);
|
1627
|
+
RB_OBJ_WRITE(self, &state->space_before, string_config(space_before));
|
1628
|
+
return Qnil;
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
/*
|
1632
|
+
* call-seq: object_nl()
|
1633
|
+
*
|
1634
|
+
* This string is put at the end of a line that holds a JSON object (or
|
1635
|
+
* Hash).
|
1636
|
+
*/
|
1637
|
+
static VALUE cState_object_nl(VALUE self)
|
1638
|
+
{
|
1639
|
+
GET_STATE(self);
|
1640
|
+
return state->object_nl ? state->object_nl : rb_str_freeze(rb_utf8_str_new("", 0));
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
/*
|
1644
|
+
* call-seq: object_nl=(object_nl)
|
1645
|
+
*
|
1646
|
+
* This string is put at the end of a line that holds a JSON object (or
|
1647
|
+
* Hash).
|
1648
|
+
*/
|
1649
|
+
static VALUE cState_object_nl_set(VALUE self, VALUE object_nl)
|
1650
|
+
{
|
1651
|
+
GET_STATE(self);
|
1652
|
+
RB_OBJ_WRITE(self, &state->object_nl, string_config(object_nl));
|
1653
|
+
return Qnil;
|
1654
|
+
}
|
1655
|
+
|
1656
|
+
/*
|
1657
|
+
* call-seq: array_nl()
|
1658
|
+
*
|
1659
|
+
* This string is put at the end of a line that holds a JSON array.
|
1660
|
+
*/
|
1661
|
+
static VALUE cState_array_nl(VALUE self)
|
1662
|
+
{
|
1663
|
+
GET_STATE(self);
|
1664
|
+
return state->array_nl ? state->array_nl : rb_str_freeze(rb_utf8_str_new("", 0));
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
/*
|
1668
|
+
* call-seq: array_nl=(array_nl)
|
1669
|
+
*
|
1670
|
+
* This string is put at the end of a line that holds a JSON array.
|
1671
|
+
*/
|
1672
|
+
static VALUE cState_array_nl_set(VALUE self, VALUE array_nl)
|
1673
|
+
{
|
1674
|
+
GET_STATE(self);
|
1675
|
+
RB_OBJ_WRITE(self, &state->array_nl, string_config(array_nl));
|
1676
|
+
return Qnil;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
/*
|
1680
|
+
* call-seq: as_json()
|
1681
|
+
*
|
1682
|
+
* This string is put at the end of a line that holds a JSON array.
|
1683
|
+
*/
|
1684
|
+
static VALUE cState_as_json(VALUE self)
|
1685
|
+
{
|
1686
|
+
GET_STATE(self);
|
1687
|
+
return state->as_json;
|
1688
|
+
}
|
1689
|
+
|
1690
|
+
/*
|
1691
|
+
* call-seq: as_json=(as_json)
|
1692
|
+
*
|
1693
|
+
* This string is put at the end of a line that holds a JSON array.
|
1694
|
+
*/
|
1695
|
+
static VALUE cState_as_json_set(VALUE self, VALUE as_json)
|
1696
|
+
{
|
1697
|
+
GET_STATE(self);
|
1698
|
+
RB_OBJ_WRITE(self, &state->as_json, rb_convert_type(as_json, T_DATA, "Proc", "to_proc"));
|
1699
|
+
return Qnil;
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
/*
|
1703
|
+
* call-seq: check_circular?
|
1704
|
+
*
|
1705
|
+
* Returns true, if circular data structures should be checked,
|
1706
|
+
* otherwise returns false.
|
1707
|
+
*/
|
1708
|
+
static VALUE cState_check_circular_p(VALUE self)
|
1709
|
+
{
|
1710
|
+
GET_STATE(self);
|
1711
|
+
return state->max_nesting ? Qtrue : Qfalse;
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
/*
|
1715
|
+
* call-seq: max_nesting
|
1716
|
+
*
|
1717
|
+
* This integer returns the maximum level of data structure nesting in
|
1718
|
+
* the generated JSON, max_nesting = 0 if no maximum is checked.
|
1719
|
+
*/
|
1720
|
+
static VALUE cState_max_nesting(VALUE self)
|
1721
|
+
{
|
1722
|
+
GET_STATE(self);
|
1723
|
+
return LONG2FIX(state->max_nesting);
|
1724
|
+
}
|
1725
|
+
|
1726
|
+
static long long_config(VALUE num)
|
1727
|
+
{
|
1728
|
+
return RTEST(num) ? FIX2LONG(num) : 0;
|
1729
|
+
}
|
1730
|
+
|
1731
|
+
/*
|
1732
|
+
* call-seq: max_nesting=(depth)
|
1733
|
+
*
|
1734
|
+
* This sets the maximum level of data structure nesting in the generated JSON
|
1735
|
+
* to the integer depth, max_nesting = 0 if no maximum should be checked.
|
1736
|
+
*/
|
1737
|
+
static VALUE cState_max_nesting_set(VALUE self, VALUE depth)
|
1738
|
+
{
|
1739
|
+
GET_STATE(self);
|
1740
|
+
state->max_nesting = long_config(depth);
|
1741
|
+
return Qnil;
|
1742
|
+
}
|
1743
|
+
|
1744
|
+
/*
|
1745
|
+
* call-seq: script_safe
|
1746
|
+
*
|
1747
|
+
* If this boolean is true, the forward slashes will be escaped in
|
1748
|
+
* the json output.
|
1749
|
+
*/
|
1750
|
+
static VALUE cState_script_safe(VALUE self)
|
1751
|
+
{
|
1752
|
+
GET_STATE(self);
|
1753
|
+
return state->script_safe ? Qtrue : Qfalse;
|
1754
|
+
}
|
1755
|
+
|
1756
|
+
/*
|
1757
|
+
* call-seq: script_safe=(enable)
|
1758
|
+
*
|
1759
|
+
* This sets whether or not the forward slashes will be escaped in
|
1760
|
+
* the json output.
|
1761
|
+
*/
|
1762
|
+
static VALUE cState_script_safe_set(VALUE self, VALUE enable)
|
1763
|
+
{
|
1764
|
+
GET_STATE(self);
|
1765
|
+
state->script_safe = RTEST(enable);
|
1766
|
+
return Qnil;
|
1767
|
+
}
|
1768
|
+
|
1769
|
+
/*
|
1770
|
+
* call-seq: strict
|
1771
|
+
*
|
1772
|
+
* If this boolean is false, types unsupported by the JSON format will
|
1773
|
+
* be serialized as strings.
|
1774
|
+
* If this boolean is true, types unsupported by the JSON format will
|
1775
|
+
* raise a JSON::GeneratorError.
|
1776
|
+
*/
|
1777
|
+
static VALUE cState_strict(VALUE self)
|
1778
|
+
{
|
1779
|
+
GET_STATE(self);
|
1780
|
+
return state->strict ? Qtrue : Qfalse;
|
1781
|
+
}
|
1782
|
+
|
1783
|
+
/*
|
1784
|
+
* call-seq: strict=(enable)
|
1785
|
+
*
|
1786
|
+
* This sets whether or not to serialize types unsupported by the
|
1787
|
+
* JSON format as strings.
|
1788
|
+
* If this boolean is false, types unsupported by the JSON format will
|
1789
|
+
* be serialized as strings.
|
1790
|
+
* If this boolean is true, types unsupported by the JSON format will
|
1791
|
+
* raise a JSON::GeneratorError.
|
1792
|
+
*/
|
1793
|
+
static VALUE cState_strict_set(VALUE self, VALUE enable)
|
1794
|
+
{
|
1795
|
+
GET_STATE(self);
|
1796
|
+
state->strict = RTEST(enable);
|
1797
|
+
return Qnil;
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
/*
|
1801
|
+
* call-seq: allow_nan?
|
1802
|
+
*
|
1803
|
+
* Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise
|
1804
|
+
* returns false.
|
1805
|
+
*/
|
1806
|
+
static VALUE cState_allow_nan_p(VALUE self)
|
1807
|
+
{
|
1808
|
+
GET_STATE(self);
|
1809
|
+
return state->allow_nan ? Qtrue : Qfalse;
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
/*
|
1813
|
+
* call-seq: allow_nan=(enable)
|
1814
|
+
*
|
1815
|
+
* This sets whether or not to serialize NaN, Infinity, and -Infinity
|
1816
|
+
*/
|
1817
|
+
static VALUE cState_allow_nan_set(VALUE self, VALUE enable)
|
1818
|
+
{
|
1819
|
+
GET_STATE(self);
|
1820
|
+
state->allow_nan = RTEST(enable);
|
1821
|
+
return Qnil;
|
1822
|
+
}
|
1823
|
+
|
1824
|
+
/*
|
1825
|
+
* call-seq: ascii_only?
|
1826
|
+
*
|
1827
|
+
* Returns true, if only ASCII characters should be generated. Otherwise
|
1828
|
+
* returns false.
|
1829
|
+
*/
|
1830
|
+
static VALUE cState_ascii_only_p(VALUE self)
|
1831
|
+
{
|
1832
|
+
GET_STATE(self);
|
1833
|
+
return state->ascii_only ? Qtrue : Qfalse;
|
1834
|
+
}
|
1835
|
+
|
1836
|
+
/*
|
1837
|
+
* call-seq: ascii_only=(enable)
|
1838
|
+
*
|
1839
|
+
* This sets whether only ASCII characters should be generated.
|
1840
|
+
*/
|
1841
|
+
static VALUE cState_ascii_only_set(VALUE self, VALUE enable)
|
1842
|
+
{
|
1843
|
+
GET_STATE(self);
|
1844
|
+
state->ascii_only = RTEST(enable);
|
1845
|
+
return Qnil;
|
1846
|
+
}
|
1847
|
+
|
1848
|
+
static VALUE cState_allow_duplicate_key_p(VALUE self)
|
1849
|
+
{
|
1850
|
+
GET_STATE(self);
|
1851
|
+
switch (state->on_duplicate_key) {
|
1852
|
+
case JSON_IGNORE:
|
1853
|
+
return Qtrue;
|
1854
|
+
case JSON_DEPRECATED:
|
1855
|
+
return Qnil;
|
1856
|
+
default:
|
1857
|
+
return Qfalse;
|
1858
|
+
}
|
1859
|
+
}
|
1860
|
+
|
1861
|
+
/*
|
1862
|
+
* call-seq: depth
|
1863
|
+
*
|
1864
|
+
* This integer returns the current depth of data structure nesting.
|
1865
|
+
*/
|
1866
|
+
static VALUE cState_depth(VALUE self)
|
1867
|
+
{
|
1868
|
+
GET_STATE(self);
|
1869
|
+
return LONG2FIX(state->depth);
|
1870
|
+
}
|
1871
|
+
|
1872
|
+
/*
|
1873
|
+
* call-seq: depth=(depth)
|
1874
|
+
*
|
1875
|
+
* This sets the maximum level of data structure nesting in the generated JSON
|
1876
|
+
* to the integer depth, max_nesting = 0 if no maximum should be checked.
|
1877
|
+
*/
|
1878
|
+
static VALUE cState_depth_set(VALUE self, VALUE depth)
|
1879
|
+
{
|
1880
|
+
GET_STATE(self);
|
1881
|
+
state->depth = long_config(depth);
|
1882
|
+
return Qnil;
|
1883
|
+
}
|
1884
|
+
|
1885
|
+
/*
|
1886
|
+
* call-seq: buffer_initial_length
|
1887
|
+
*
|
1888
|
+
* This integer returns the current initial length of the buffer.
|
1889
|
+
*/
|
1890
|
+
static VALUE cState_buffer_initial_length(VALUE self)
|
1891
|
+
{
|
1892
|
+
GET_STATE(self);
|
1893
|
+
return LONG2FIX(state->buffer_initial_length);
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
static void buffer_initial_length_set(JSON_Generator_State *state, VALUE buffer_initial_length)
|
1897
|
+
{
|
1898
|
+
Check_Type(buffer_initial_length, T_FIXNUM);
|
1899
|
+
long initial_length = FIX2LONG(buffer_initial_length);
|
1900
|
+
if (initial_length > 0) {
|
1901
|
+
state->buffer_initial_length = initial_length;
|
1902
|
+
}
|
1903
|
+
}
|
1904
|
+
|
1905
|
+
/*
|
1906
|
+
* call-seq: buffer_initial_length=(length)
|
1907
|
+
*
|
1908
|
+
* This sets the initial length of the buffer to +length+, if +length+ > 0,
|
1909
|
+
* otherwise its value isn't changed.
|
1910
|
+
*/
|
1911
|
+
static VALUE cState_buffer_initial_length_set(VALUE self, VALUE buffer_initial_length)
|
1912
|
+
{
|
1913
|
+
GET_STATE(self);
|
1914
|
+
buffer_initial_length_set(state, buffer_initial_length);
|
1915
|
+
return Qnil;
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
struct configure_state_data {
|
1919
|
+
JSON_Generator_State *state;
|
1920
|
+
VALUE vstate; // Ruby object that owns the state, or Qfalse if stack-allocated
|
1921
|
+
};
|
1922
|
+
|
1923
|
+
static inline void state_write_value(struct configure_state_data *data, VALUE *field, VALUE value)
|
1924
|
+
{
|
1925
|
+
if (RTEST(data->vstate)) {
|
1926
|
+
RB_OBJ_WRITE(data->vstate, field, value);
|
1927
|
+
} else {
|
1928
|
+
*field = value;
|
1929
|
+
}
|
1930
|
+
}
|
1931
|
+
|
1932
|
+
static int configure_state_i(VALUE key, VALUE val, VALUE _arg)
|
1933
|
+
{
|
1934
|
+
struct configure_state_data *data = (struct configure_state_data *)_arg;
|
1935
|
+
JSON_Generator_State *state = data->state;
|
1936
|
+
|
1937
|
+
if (key == sym_indent) { state_write_value(data, &state->indent, string_config(val)); }
|
1938
|
+
else if (key == sym_space) { state_write_value(data, &state->space, string_config(val)); }
|
1939
|
+
else if (key == sym_space_before) { state_write_value(data, &state->space_before, string_config(val)); }
|
1940
|
+
else if (key == sym_object_nl) { state_write_value(data, &state->object_nl, string_config(val)); }
|
1941
|
+
else if (key == sym_array_nl) { state_write_value(data, &state->array_nl, string_config(val)); }
|
1942
|
+
else if (key == sym_max_nesting) { state->max_nesting = long_config(val); }
|
1943
|
+
else if (key == sym_allow_nan) { state->allow_nan = RTEST(val); }
|
1944
|
+
else if (key == sym_ascii_only) { state->ascii_only = RTEST(val); }
|
1945
|
+
else if (key == sym_depth) { state->depth = long_config(val); }
|
1946
|
+
else if (key == sym_buffer_initial_length) { buffer_initial_length_set(state, val); }
|
1947
|
+
else if (key == sym_script_safe) { state->script_safe = RTEST(val); }
|
1948
|
+
else if (key == sym_escape_slash) { state->script_safe = RTEST(val); }
|
1949
|
+
else if (key == sym_strict) { state->strict = RTEST(val); }
|
1950
|
+
else if (key == sym_allow_duplicate_key) { state->on_duplicate_key = RTEST(val) ? JSON_IGNORE : JSON_RAISE; }
|
1951
|
+
else if (key == sym_as_json) {
|
1952
|
+
VALUE proc = RTEST(val) ? rb_convert_type(val, T_DATA, "Proc", "to_proc") : Qfalse;
|
1953
|
+
state->as_json_single_arg = proc && rb_proc_arity(proc) == 1;
|
1954
|
+
state_write_value(data, &state->as_json, proc);
|
1955
|
+
}
|
1956
|
+
return ST_CONTINUE;
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
static void configure_state(JSON_Generator_State *state, VALUE vstate, VALUE config)
|
1960
|
+
{
|
1961
|
+
if (!RTEST(config)) return;
|
1962
|
+
|
1963
|
+
Check_Type(config, T_HASH);
|
1964
|
+
|
1965
|
+
if (!RHASH_SIZE(config)) return;
|
1966
|
+
|
1967
|
+
struct configure_state_data data = {
|
1968
|
+
.state = state,
|
1969
|
+
.vstate = vstate
|
1970
|
+
};
|
1971
|
+
|
1972
|
+
// We assume in most cases few keys are set so it's faster to go over
|
1973
|
+
// the provided keys than to check all possible keys.
|
1974
|
+
rb_hash_foreach(config, configure_state_i, (VALUE)&data);
|
1975
|
+
}
|
1976
|
+
|
1977
|
+
static VALUE cState_configure(VALUE self, VALUE opts)
|
1978
|
+
{
|
1979
|
+
GET_STATE(self);
|
1980
|
+
configure_state(state, self, opts);
|
1981
|
+
return self;
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
static VALUE cState_m_generate(VALUE klass, VALUE obj, VALUE opts, VALUE io)
|
1985
|
+
{
|
1986
|
+
JSON_Generator_State state = {0};
|
1987
|
+
state_init(&state);
|
1988
|
+
configure_state(&state, Qfalse, opts);
|
1989
|
+
|
1990
|
+
char stack_buffer[FBUFFER_STACK_SIZE];
|
1991
|
+
FBuffer buffer = {
|
1992
|
+
.io = RTEST(io) ? io : Qfalse,
|
1993
|
+
};
|
1994
|
+
fbuffer_stack_init(&buffer, state.buffer_initial_length, stack_buffer, FBUFFER_STACK_SIZE);
|
1995
|
+
|
1996
|
+
struct generate_json_data data = {
|
1997
|
+
.buffer = &buffer,
|
1998
|
+
.vstate = Qfalse,
|
1999
|
+
.state = &state,
|
2000
|
+
.obj = obj,
|
2001
|
+
.func = generate_json,
|
2002
|
+
};
|
2003
|
+
rb_rescue(generate_json_try, (VALUE)&data, generate_json_rescue, (VALUE)&data);
|
2004
|
+
|
2005
|
+
return fbuffer_finalize(&buffer);
|
2006
|
+
}
|
2007
|
+
|
2008
|
+
/*
|
2009
|
+
*
|
2010
|
+
*/
|
2011
|
+
void Init_generator(void)
|
2012
|
+
{
|
2013
|
+
#ifdef HAVE_RB_EXT_RACTOR_SAFE
|
2014
|
+
rb_ext_ractor_safe(true);
|
2015
|
+
#endif
|
2016
|
+
|
2017
|
+
#undef rb_intern
|
2018
|
+
rb_require("json/common");
|
2019
|
+
|
2020
|
+
mJSON = rb_define_module("JSON");
|
2021
|
+
|
2022
|
+
rb_global_variable(&cFragment);
|
2023
|
+
cFragment = rb_const_get(mJSON, rb_intern("Fragment"));
|
2024
|
+
|
2025
|
+
VALUE mExt = rb_define_module_under(mJSON, "Ext");
|
2026
|
+
VALUE mGenerator = rb_define_module_under(mExt, "Generator");
|
2027
|
+
|
2028
|
+
rb_global_variable(&eGeneratorError);
|
2029
|
+
eGeneratorError = rb_path2class("JSON::GeneratorError");
|
2030
|
+
|
2031
|
+
rb_global_variable(&eNestingError);
|
2032
|
+
eNestingError = rb_path2class("JSON::NestingError");
|
2033
|
+
|
2034
|
+
cState = rb_define_class_under(mGenerator, "State", rb_cObject);
|
2035
|
+
rb_define_alloc_func(cState, cState_s_allocate);
|
2036
|
+
rb_define_singleton_method(cState, "from_state", cState_from_state_s, 1);
|
2037
|
+
rb_define_method(cState, "initialize", cState_initialize, -1);
|
2038
|
+
rb_define_alias(cState, "initialize", "initialize"); // avoid method redefinition warnings
|
2039
|
+
rb_define_private_method(cState, "_configure", cState_configure, 1);
|
2040
|
+
|
2041
|
+
rb_define_method(cState, "initialize_copy", cState_init_copy, 1);
|
2042
|
+
rb_define_method(cState, "indent", cState_indent, 0);
|
2043
|
+
rb_define_method(cState, "indent=", cState_indent_set, 1);
|
2044
|
+
rb_define_method(cState, "space", cState_space, 0);
|
2045
|
+
rb_define_method(cState, "space=", cState_space_set, 1);
|
2046
|
+
rb_define_method(cState, "space_before", cState_space_before, 0);
|
2047
|
+
rb_define_method(cState, "space_before=", cState_space_before_set, 1);
|
2048
|
+
rb_define_method(cState, "object_nl", cState_object_nl, 0);
|
2049
|
+
rb_define_method(cState, "object_nl=", cState_object_nl_set, 1);
|
2050
|
+
rb_define_method(cState, "array_nl", cState_array_nl, 0);
|
2051
|
+
rb_define_method(cState, "array_nl=", cState_array_nl_set, 1);
|
2052
|
+
rb_define_method(cState, "as_json", cState_as_json, 0);
|
2053
|
+
rb_define_method(cState, "as_json=", cState_as_json_set, 1);
|
2054
|
+
rb_define_method(cState, "max_nesting", cState_max_nesting, 0);
|
2055
|
+
rb_define_method(cState, "max_nesting=", cState_max_nesting_set, 1);
|
2056
|
+
rb_define_method(cState, "script_safe", cState_script_safe, 0);
|
2057
|
+
rb_define_method(cState, "script_safe?", cState_script_safe, 0);
|
2058
|
+
rb_define_method(cState, "script_safe=", cState_script_safe_set, 1);
|
2059
|
+
rb_define_alias(cState, "escape_slash", "script_safe");
|
2060
|
+
rb_define_alias(cState, "escape_slash?", "script_safe?");
|
2061
|
+
rb_define_alias(cState, "escape_slash=", "script_safe=");
|
2062
|
+
rb_define_method(cState, "strict", cState_strict, 0);
|
2063
|
+
rb_define_method(cState, "strict?", cState_strict, 0);
|
2064
|
+
rb_define_method(cState, "strict=", cState_strict_set, 1);
|
2065
|
+
rb_define_method(cState, "check_circular?", cState_check_circular_p, 0);
|
2066
|
+
rb_define_method(cState, "allow_nan?", cState_allow_nan_p, 0);
|
2067
|
+
rb_define_method(cState, "allow_nan=", cState_allow_nan_set, 1);
|
2068
|
+
rb_define_method(cState, "ascii_only?", cState_ascii_only_p, 0);
|
2069
|
+
rb_define_method(cState, "ascii_only=", cState_ascii_only_set, 1);
|
2070
|
+
rb_define_method(cState, "depth", cState_depth, 0);
|
2071
|
+
rb_define_method(cState, "depth=", cState_depth_set, 1);
|
2072
|
+
rb_define_method(cState, "buffer_initial_length", cState_buffer_initial_length, 0);
|
2073
|
+
rb_define_method(cState, "buffer_initial_length=", cState_buffer_initial_length_set, 1);
|
2074
|
+
rb_define_method(cState, "generate", cState_generate, -1);
|
2075
|
+
rb_define_alias(cState, "generate_new", "generate"); // :nodoc:
|
2076
|
+
|
2077
|
+
rb_define_private_method(cState, "allow_duplicate_key?", cState_allow_duplicate_key_p, 0);
|
2078
|
+
|
2079
|
+
rb_define_singleton_method(cState, "generate", cState_m_generate, 3);
|
2080
|
+
|
2081
|
+
VALUE mGeneratorMethods = rb_define_module_under(mGenerator, "GeneratorMethods");
|
2082
|
+
|
2083
|
+
VALUE mObject = rb_define_module_under(mGeneratorMethods, "Object");
|
2084
|
+
rb_define_method(mObject, "to_json", mObject_to_json, -1);
|
2085
|
+
|
2086
|
+
VALUE mHash = rb_define_module_under(mGeneratorMethods, "Hash");
|
2087
|
+
rb_define_method(mHash, "to_json", mHash_to_json, -1);
|
2088
|
+
|
2089
|
+
VALUE mArray = rb_define_module_under(mGeneratorMethods, "Array");
|
2090
|
+
rb_define_method(mArray, "to_json", mArray_to_json, -1);
|
2091
|
+
|
2092
|
+
#ifdef RUBY_INTEGER_UNIFICATION
|
2093
|
+
VALUE mInteger = rb_define_module_under(mGeneratorMethods, "Integer");
|
2094
|
+
rb_define_method(mInteger, "to_json", mInteger_to_json, -1);
|
2095
|
+
#else
|
2096
|
+
VALUE mFixnum = rb_define_module_under(mGeneratorMethods, "Fixnum");
|
2097
|
+
rb_define_method(mFixnum, "to_json", mFixnum_to_json, -1);
|
2098
|
+
|
2099
|
+
VALUE mBignum = rb_define_module_under(mGeneratorMethods, "Bignum");
|
2100
|
+
rb_define_method(mBignum, "to_json", mBignum_to_json, -1);
|
2101
|
+
#endif
|
2102
|
+
VALUE mFloat = rb_define_module_under(mGeneratorMethods, "Float");
|
2103
|
+
rb_define_method(mFloat, "to_json", mFloat_to_json, -1);
|
2104
|
+
|
2105
|
+
VALUE mString = rb_define_module_under(mGeneratorMethods, "String");
|
2106
|
+
rb_define_method(mString, "to_json", mString_to_json, -1);
|
2107
|
+
|
2108
|
+
VALUE mTrueClass = rb_define_module_under(mGeneratorMethods, "TrueClass");
|
2109
|
+
rb_define_method(mTrueClass, "to_json", mTrueClass_to_json, -1);
|
2110
|
+
|
2111
|
+
VALUE mFalseClass = rb_define_module_under(mGeneratorMethods, "FalseClass");
|
2112
|
+
rb_define_method(mFalseClass, "to_json", mFalseClass_to_json, -1);
|
2113
|
+
|
2114
|
+
VALUE mNilClass = rb_define_module_under(mGeneratorMethods, "NilClass");
|
2115
|
+
rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1);
|
2116
|
+
|
2117
|
+
rb_global_variable(&Encoding_UTF_8);
|
2118
|
+
Encoding_UTF_8 = rb_const_get(rb_path2class("Encoding"), rb_intern("UTF_8"));
|
2119
|
+
|
2120
|
+
i_to_s = rb_intern("to_s");
|
2121
|
+
i_to_json = rb_intern("to_json");
|
2122
|
+
i_new = rb_intern("new");
|
2123
|
+
i_pack = rb_intern("pack");
|
2124
|
+
i_unpack = rb_intern("unpack");
|
2125
|
+
i_create_id = rb_intern("create_id");
|
2126
|
+
i_extend = rb_intern("extend");
|
2127
|
+
i_encode = rb_intern("encode");
|
2128
|
+
|
2129
|
+
sym_indent = ID2SYM(rb_intern("indent"));
|
2130
|
+
sym_space = ID2SYM(rb_intern("space"));
|
2131
|
+
sym_space_before = ID2SYM(rb_intern("space_before"));
|
2132
|
+
sym_object_nl = ID2SYM(rb_intern("object_nl"));
|
2133
|
+
sym_array_nl = ID2SYM(rb_intern("array_nl"));
|
2134
|
+
sym_max_nesting = ID2SYM(rb_intern("max_nesting"));
|
2135
|
+
sym_allow_nan = ID2SYM(rb_intern("allow_nan"));
|
2136
|
+
sym_ascii_only = ID2SYM(rb_intern("ascii_only"));
|
2137
|
+
sym_depth = ID2SYM(rb_intern("depth"));
|
2138
|
+
sym_buffer_initial_length = ID2SYM(rb_intern("buffer_initial_length"));
|
2139
|
+
sym_script_safe = ID2SYM(rb_intern("script_safe"));
|
2140
|
+
sym_escape_slash = ID2SYM(rb_intern("escape_slash"));
|
2141
|
+
sym_strict = ID2SYM(rb_intern("strict"));
|
2142
|
+
sym_as_json = ID2SYM(rb_intern("as_json"));
|
2143
|
+
sym_allow_duplicate_key = ID2SYM(rb_intern("allow_duplicate_key"));
|
2144
|
+
|
2145
|
+
usascii_encindex = rb_usascii_encindex();
|
2146
|
+
utf8_encindex = rb_utf8_encindex();
|
2147
|
+
binary_encindex = rb_ascii8bit_encindex();
|
2148
|
+
|
2149
|
+
rb_require("json/ext/generator/state");
|
2150
|
+
|
2151
|
+
|
2152
|
+
switch (find_simd_implementation()) {
|
2153
|
+
#ifdef HAVE_SIMD
|
2154
|
+
#ifdef HAVE_SIMD_NEON
|
2155
|
+
case SIMD_NEON:
|
2156
|
+
search_escape_basic_impl = search_escape_basic_neon;
|
2157
|
+
break;
|
2158
|
+
#endif /* HAVE_SIMD_NEON */
|
2159
|
+
#ifdef HAVE_SIMD_SSE2
|
2160
|
+
case SIMD_SSE2:
|
2161
|
+
search_escape_basic_impl = search_escape_basic_sse2;
|
2162
|
+
break;
|
2163
|
+
#endif /* HAVE_SIMD_SSE2 */
|
2164
|
+
#endif /* HAVE_SIMD */
|
2165
|
+
default:
|
2166
|
+
search_escape_basic_impl = search_escape_basic;
|
2167
|
+
break;
|
2168
|
+
}
|
2169
|
+
}
|