cybrid_api_bank_ruby 0.122.34 → 0.122.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +5 -5
- data/cybrid_api_bank_ruby.gemspec +1 -1
- data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/counterparties_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/deposit_addresses_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/deposit_bank_accounts_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/external_bank_accounts_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/external_wallets_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/identity_verifications_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/invoices_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/payment_instructions_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/transfers_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api/workflows_bank_api.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_bank_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_bank_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/account_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/account_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/activity_limit_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/activity_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/asset_types_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/bank_feature_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/bank_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_check_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_check_outcome_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_check_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_decision_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_decision_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/compliance_decision_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_aliases_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/counterparty_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_aliases_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/customer_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_address_format_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_address_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_address_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_account_details_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_counterparty_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_routing_details_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_routing_number_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/deposit_bank_account_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_balances_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_kind_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_pii_inner_addresses_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_pii_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_pii_inner_routing_details_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_bank_account_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_wallet_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_wallet_environment_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_wallet_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/external_wallet_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identification_number_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_method_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_outcome_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_persona_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_pii_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_pii_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/identity_verification_with_details_pii_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/invoice_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/invoice_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/patch_customer_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/patch_external_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/payment_instruction_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/payment_instruction_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_counterparty_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_counterparty_aliases_inner_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_counterparty_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_counterparty_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_customer_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_customer_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_deposit_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_deposit_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_bank_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_external_bank_account_counterparty_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_external_wallet_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_fee_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_identification_number_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_identity_verification_address_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_identity_verification_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_identity_verification_name_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_invoice_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_payment_instruction_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_quote_entry_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_transfer_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_transfer_participant_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/post_workflow_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_entry_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_entry_destination_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_entry_source_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_side_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/quote_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_failure_code_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_side_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/trade_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_account_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_destination_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_entry_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_entry_destination_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_failure_code_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_participant_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_side_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_source_account_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/transfer_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflow_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflow_state_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflow_type_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflow_with_details_all_of_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflow_with_details_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/models/workflows_list_bank_model.rb +1 -1
- data/lib/cybrid_api_bank_ruby/version.rb +2 -2
- data/lib/cybrid_api_bank_ruby.rb +1 -1
- data/spec/api/accounts_bank_api_spec.rb +1 -1
- data/spec/api/assets_bank_api_spec.rb +1 -1
- data/spec/api/banks_bank_api_spec.rb +1 -1
- data/spec/api/counterparties_bank_api_spec.rb +1 -1
- data/spec/api/customers_bank_api_spec.rb +1 -1
- data/spec/api/deposit_addresses_bank_api_spec.rb +1 -1
- data/spec/api/deposit_bank_accounts_bank_api_spec.rb +1 -1
- data/spec/api/external_bank_accounts_bank_api_spec.rb +1 -1
- data/spec/api/external_wallets_bank_api_spec.rb +1 -1
- data/spec/api/identity_verifications_bank_api_spec.rb +1 -1
- data/spec/api/invoices_bank_api_spec.rb +1 -1
- data/spec/api/payment_instructions_bank_api_spec.rb +1 -1
- data/spec/api/prices_bank_api_spec.rb +1 -1
- data/spec/api/quotes_bank_api_spec.rb +1 -1
- data/spec/api/symbols_bank_api_spec.rb +1 -1
- data/spec/api/trades_bank_api_spec.rb +1 -1
- data/spec/api/transfers_bank_api_spec.rb +1 -1
- data/spec/api/workflows_bank_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_bank_model_spec.rb +1 -1
- data/spec/models/account_list_bank_model_spec.rb +1 -1
- data/spec/models/account_state_bank_model_spec.rb +1 -1
- data/spec/models/account_type_bank_model_spec.rb +1 -1
- data/spec/models/activity_limit_bank_model_spec.rb +1 -1
- data/spec/models/activity_type_bank_model_spec.rb +1 -1
- data/spec/models/asset_bank_model_spec.rb +1 -1
- data/spec/models/asset_list_bank_model_spec.rb +1 -1
- data/spec/models/asset_types_bank_model_spec.rb +1 -1
- data/spec/models/bank_bank_model_spec.rb +1 -1
- data/spec/models/bank_feature_bank_model_spec.rb +1 -1
- data/spec/models/bank_list_bank_model_spec.rb +1 -1
- data/spec/models/bank_type_bank_model_spec.rb +1 -1
- data/spec/models/compliance_check_bank_model_spec.rb +1 -1
- data/spec/models/compliance_check_outcome_bank_model_spec.rb +1 -1
- data/spec/models/compliance_check_type_bank_model_spec.rb +1 -1
- data/spec/models/compliance_decision_bank_model_spec.rb +1 -1
- data/spec/models/compliance_decision_state_bank_model_spec.rb +1 -1
- data/spec/models/compliance_decision_type_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_address_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_aliases_inner_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_list_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_name_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_state_bank_model_spec.rb +1 -1
- data/spec/models/counterparty_type_bank_model_spec.rb +1 -1
- data/spec/models/customer_address_bank_model_spec.rb +1 -1
- data/spec/models/customer_aliases_inner_bank_model_spec.rb +1 -1
- data/spec/models/customer_bank_model_spec.rb +1 -1
- data/spec/models/customer_list_bank_model_spec.rb +1 -1
- data/spec/models/customer_name_bank_model_spec.rb +1 -1
- data/spec/models/customer_state_bank_model_spec.rb +1 -1
- data/spec/models/customer_type_bank_model_spec.rb +1 -1
- data/spec/models/deposit_address_bank_model_spec.rb +1 -1
- data/spec/models/deposit_address_format_bank_model_spec.rb +1 -1
- data/spec/models/deposit_address_list_bank_model_spec.rb +1 -1
- data/spec/models/deposit_address_state_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_account_details_inner_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_counterparty_address_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_list_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_routing_details_inner_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_routing_number_type_bank_model_spec.rb +1 -1
- data/spec/models/deposit_bank_account_state_bank_model_spec.rb +1 -1
- data/spec/models/error_response_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_balances_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_kind_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_list_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_pii_inner_addresses_inner_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_pii_inner_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_pii_inner_routing_details_inner_bank_model_spec.rb +1 -1
- data/spec/models/external_bank_account_state_bank_model_spec.rb +1 -1
- data/spec/models/external_wallet_bank_model_spec.rb +1 -1
- data/spec/models/external_wallet_environment_bank_model_spec.rb +1 -1
- data/spec/models/external_wallet_list_bank_model_spec.rb +1 -1
- data/spec/models/external_wallet_state_bank_model_spec.rb +1 -1
- data/spec/models/identification_number_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_list_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_method_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_outcome_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_persona_state_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_state_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_type_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_with_details_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_with_details_pii_address_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_with_details_pii_bank_model_spec.rb +1 -1
- data/spec/models/identity_verification_with_details_pii_name_bank_model_spec.rb +1 -1
- data/spec/models/invoice_bank_model_spec.rb +1 -1
- data/spec/models/invoice_list_bank_model_spec.rb +1 -1
- data/spec/models/patch_bank_bank_model_spec.rb +1 -1
- data/spec/models/patch_customer_bank_model_spec.rb +1 -1
- data/spec/models/patch_external_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/payment_instruction_bank_model_spec.rb +1 -1
- data/spec/models/payment_instruction_list_bank_model_spec.rb +1 -1
- data/spec/models/post_account_bank_model_spec.rb +1 -1
- data/spec/models/post_bank_bank_model_spec.rb +1 -1
- data/spec/models/post_counterparty_address_bank_model_spec.rb +1 -1
- data/spec/models/post_counterparty_aliases_inner_bank_model_spec.rb +1 -1
- data/spec/models/post_counterparty_bank_model_spec.rb +1 -1
- data/spec/models/post_counterparty_name_bank_model_spec.rb +1 -1
- data/spec/models/post_customer_address_bank_model_spec.rb +1 -1
- data/spec/models/post_customer_bank_model_spec.rb +1 -1
- data/spec/models/post_customer_name_bank_model_spec.rb +1 -1
- data/spec/models/post_deposit_address_bank_model_spec.rb +1 -1
- data/spec/models/post_deposit_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/post_external_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/post_external_bank_account_counterparty_address_bank_model_spec.rb +1 -1
- data/spec/models/post_external_bank_account_counterparty_bank_account_bank_model_spec.rb +1 -1
- data/spec/models/post_external_bank_account_counterparty_name_bank_model_spec.rb +1 -1
- data/spec/models/post_external_wallet_bank_model_spec.rb +1 -1
- data/spec/models/post_fee_bank_model_spec.rb +1 -1
- data/spec/models/post_identification_number_bank_model_spec.rb +1 -1
- data/spec/models/post_identity_verification_address_bank_model_spec.rb +1 -1
- data/spec/models/post_identity_verification_bank_model_spec.rb +1 -1
- data/spec/models/post_identity_verification_name_bank_model_spec.rb +1 -1
- data/spec/models/post_invoice_bank_model_spec.rb +1 -1
- data/spec/models/post_payment_instruction_bank_model_spec.rb +1 -1
- data/spec/models/post_quote_bank_model_spec.rb +1 -1
- data/spec/models/post_quote_entry_bank_model_spec.rb +1 -1
- data/spec/models/post_trade_bank_model_spec.rb +1 -1
- data/spec/models/post_transfer_bank_model_spec.rb +1 -1
- data/spec/models/post_transfer_participant_bank_model_spec.rb +1 -1
- data/spec/models/post_workflow_bank_model_spec.rb +1 -1
- data/spec/models/quote_bank_model_spec.rb +1 -1
- data/spec/models/quote_entry_bank_model_spec.rb +1 -1
- data/spec/models/quote_entry_destination_account_bank_model_spec.rb +1 -1
- data/spec/models/quote_entry_source_account_bank_model_spec.rb +1 -1
- data/spec/models/quote_list_bank_model_spec.rb +1 -1
- data/spec/models/quote_side_bank_model_spec.rb +1 -1
- data/spec/models/quote_type_bank_model_spec.rb +1 -1
- data/spec/models/symbol_price_bank_model_spec.rb +1 -1
- data/spec/models/trade_bank_model_spec.rb +1 -1
- data/spec/models/trade_failure_code_bank_model_spec.rb +1 -1
- data/spec/models/trade_list_bank_model_spec.rb +1 -1
- data/spec/models/trade_side_bank_model_spec.rb +1 -1
- data/spec/models/trade_state_bank_model_spec.rb +1 -1
- data/spec/models/trade_type_bank_model_spec.rb +1 -1
- data/spec/models/transfer_account_type_bank_model_spec.rb +1 -1
- data/spec/models/transfer_bank_model_spec.rb +1 -1
- data/spec/models/transfer_destination_account_bank_model_spec.rb +1 -1
- data/spec/models/transfer_entry_bank_model_spec.rb +1 -1
- data/spec/models/transfer_entry_destination_account_bank_model_spec.rb +1 -1
- data/spec/models/transfer_failure_code_bank_model_spec.rb +1 -1
- data/spec/models/transfer_list_bank_model_spec.rb +1 -1
- data/spec/models/transfer_participant_bank_model_spec.rb +1 -1
- data/spec/models/transfer_side_bank_model_spec.rb +1 -1
- data/spec/models/transfer_source_account_bank_model_spec.rb +1 -1
- data/spec/models/transfer_state_bank_model_spec.rb +1 -1
- data/spec/models/transfer_type_bank_model_spec.rb +1 -1
- data/spec/models/workflow_bank_model_spec.rb +1 -1
- data/spec/models/workflow_state_bank_model_spec.rb +1 -1
- data/spec/models/workflow_type_bank_model_spec.rb +1 -1
- data/spec/models/workflow_with_details_all_of_bank_model_spec.rb +1 -1
- data/spec/models/workflow_with_details_bank_model_spec.rb +1 -1
- data/spec/models/workflows_list_bank_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/cache/psych-5.2.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/stringio-3.1.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.1.2 → psych-5.2.0}/gem_make.out +18 -18
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.1.2 → psych-5.2.0}/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{stringio-3.1.1 → stringio-3.1.2}/gem_make.out +18 -18
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.2/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych.c +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_emitter.c +154 -120
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.0/ext/psych/psych_parser.c +565 -0
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/node.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/scalar_scanner.rb +10 -9
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/to_ruby.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/yaml_tree.rb +7 -10
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych.rb +19 -3
- data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/NEWS.md +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/ext/stringio/stringio.c +23 -13
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.2/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{psych-5.1.2.gemspec → psych-5.2.0.gemspec} +5 -5
- data/vendor/bundle/ruby/3.3.0/specifications/{stringio-3.1.1.gemspec → stringio-3.1.2.gemspec} +4 -4
- metadata +79 -79
- data/vendor/bundle/ruby/3.3.0/cache/psych-5.1.2.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/stringio-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.1/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.1.2/ext/psych/psych_parser.c +0 -565
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.1/lib/stringio.so +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.1.2 → psych-5.2.0}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{psych-5.1.2 → psych-5.2.0}/mkmf.log +0 -0
- /data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/{stringio-3.1.1 → stringio-3.1.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/README.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/Makefile +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/depend +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/extconf.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_emitter.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_parser.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_to_ruby.c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_to_ruby.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_yaml_tree.c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/ext/psych/psych_yaml_tree.h +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/class_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/coder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/core_ext.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/exception.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/handler.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/handlers/document_stream.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/handlers/recorder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/json/ruby_events.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/json/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/json/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/json/yaml_events.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/alias.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/document.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/mapping.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/scalar.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/sequence.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/nodes.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/omap.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/set.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/streaming.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/depth_first.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/emitter.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/json_tree.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors/visitor.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/visitors.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{psych-5.1.2 → psych-5.2.0}/lib/psych/y.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/.document +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/.rdoc_options +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/README.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/docs/io.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/ext/stringio/.document +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/ext/stringio/Makefile +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{stringio-3.1.1 → stringio-3.1.2}/ext/stringio/extconf.rb +0 -0
@@ -17,7 +17,7 @@ static ID id_canonical;
|
|
17
17
|
static void emit(yaml_emitter_t * emitter, yaml_event_t * event)
|
18
18
|
{
|
19
19
|
if(!yaml_emitter_emit(emitter, event))
|
20
|
-
|
20
|
+
rb_raise(rb_eRuntimeError, "%s", emitter->problem);
|
21
21
|
}
|
22
22
|
|
23
23
|
static int writer(void *ctx, unsigned char *buffer, size_t size)
|
@@ -82,13 +82,13 @@ static VALUE initialize(int argc, VALUE *argv, VALUE self)
|
|
82
82
|
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
|
83
83
|
|
84
84
|
if (rb_scan_args(argc, argv, "11", &io, &options) == 2) {
|
85
|
-
|
86
|
-
|
87
|
-
|
85
|
+
line_width = rb_funcall(options, id_line_width, 0);
|
86
|
+
indent = rb_funcall(options, id_indentation, 0);
|
87
|
+
canonical = rb_funcall(options, id_canonical, 0);
|
88
88
|
|
89
|
-
|
90
|
-
|
91
|
-
|
89
|
+
yaml_emitter_set_width(emitter, NUM2INT(line_width));
|
90
|
+
yaml_emitter_set_indent(emitter, NUM2INT(indent));
|
91
|
+
yaml_emitter_set_canonical(emitter, Qtrue == canonical ? 1 : 0);
|
92
92
|
}
|
93
93
|
|
94
94
|
rb_ivar_set(self, id_io, io);
|
@@ -136,84 +136,118 @@ static VALUE end_stream(VALUE self)
|
|
136
136
|
return self;
|
137
137
|
}
|
138
138
|
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
139
|
+
struct start_document_data {
|
140
|
+
VALUE self;
|
141
|
+
VALUE version;
|
142
|
+
VALUE tags;
|
143
|
+
VALUE imp;
|
144
|
+
|
145
|
+
yaml_tag_directive_t * head;
|
146
|
+
};
|
147
|
+
|
148
|
+
static VALUE start_document_try(VALUE d)
|
147
149
|
{
|
150
|
+
struct start_document_data * data = (struct start_document_data *)d;
|
151
|
+
VALUE self = data->self;
|
152
|
+
VALUE version = data->version;
|
153
|
+
VALUE tags = data->tags;
|
154
|
+
VALUE imp = data->imp;
|
155
|
+
|
148
156
|
yaml_emitter_t * emitter;
|
149
|
-
yaml_tag_directive_t * head = NULL;
|
150
157
|
yaml_tag_directive_t * tail = NULL;
|
151
158
|
yaml_event_t event;
|
152
159
|
yaml_version_directive_t version_directive;
|
153
160
|
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
|
154
161
|
|
155
|
-
|
156
162
|
Check_Type(version, T_ARRAY);
|
157
163
|
|
158
164
|
if(RARRAY_LEN(version) > 0) {
|
159
|
-
|
160
|
-
|
165
|
+
VALUE major = rb_ary_entry(version, (long)0);
|
166
|
+
VALUE minor = rb_ary_entry(version, (long)1);
|
161
167
|
|
162
|
-
|
163
|
-
|
168
|
+
version_directive.major = NUM2INT(major);
|
169
|
+
version_directive.minor = NUM2INT(minor);
|
164
170
|
}
|
165
171
|
|
166
172
|
if(RTEST(tags)) {
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
173
|
+
long i = 0;
|
174
|
+
long len;
|
175
|
+
rb_encoding * encoding = rb_utf8_encoding();
|
176
|
+
|
177
|
+
Check_Type(tags, T_ARRAY);
|
178
|
+
|
179
|
+
len = RARRAY_LEN(tags);
|
180
|
+
data->head = xcalloc((size_t)len, sizeof(yaml_tag_directive_t));
|
181
|
+
tail = data->head;
|
182
|
+
|
183
|
+
for(i = 0; i < len && i < RARRAY_LEN(tags); i++) {
|
184
|
+
VALUE tuple = RARRAY_AREF(tags, i);
|
185
|
+
VALUE name;
|
186
|
+
VALUE value;
|
187
|
+
|
188
|
+
Check_Type(tuple, T_ARRAY);
|
189
|
+
|
190
|
+
if(RARRAY_LEN(tuple) < 2) {
|
191
|
+
rb_raise(rb_eRuntimeError, "tag tuple must be of length 2");
|
192
|
+
}
|
193
|
+
|
194
|
+
name = RARRAY_AREF(tuple, 0);
|
195
|
+
value = RARRAY_AREF(tuple, 1);
|
196
|
+
StringValue(name);
|
197
|
+
StringValue(value);
|
198
|
+
name = rb_str_export_to_enc(name, encoding);
|
199
|
+
value = rb_str_export_to_enc(value, encoding);
|
200
|
+
|
201
|
+
tail->handle = (yaml_char_t *)StringValueCStr(name);
|
202
|
+
tail->prefix = (yaml_char_t *)StringValueCStr(value);
|
203
|
+
|
204
|
+
tail++;
|
205
|
+
}
|
200
206
|
}
|
201
207
|
|
202
208
|
yaml_document_start_event_initialize(
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
+
&event,
|
210
|
+
(RARRAY_LEN(version) > 0) ? &version_directive : NULL,
|
211
|
+
data->head,
|
212
|
+
tail,
|
213
|
+
imp ? 1 : 0
|
214
|
+
);
|
209
215
|
|
210
216
|
emit(emitter, &event);
|
211
217
|
|
212
|
-
if(head) xfree(head);
|
213
|
-
|
214
218
|
return self;
|
215
219
|
}
|
216
220
|
|
221
|
+
static VALUE start_document_ensure(VALUE d)
|
222
|
+
{
|
223
|
+
struct start_document_data * data = (struct start_document_data *)d;
|
224
|
+
|
225
|
+
xfree(data->head);
|
226
|
+
|
227
|
+
return Qnil;
|
228
|
+
}
|
229
|
+
|
230
|
+
/* call-seq: emitter.start_document(version, tags, implicit)
|
231
|
+
*
|
232
|
+
* Start a document emission with YAML +version+, +tags+, and an +implicit+
|
233
|
+
* start.
|
234
|
+
*
|
235
|
+
* See Psych::Handler#start_document
|
236
|
+
*/
|
237
|
+
static VALUE start_document(VALUE self, VALUE version, VALUE tags, VALUE imp)
|
238
|
+
{
|
239
|
+
struct start_document_data data = {
|
240
|
+
.self = self,
|
241
|
+
.version = version,
|
242
|
+
.tags = tags,
|
243
|
+
.imp = imp,
|
244
|
+
|
245
|
+
.head = NULL,
|
246
|
+
};
|
247
|
+
|
248
|
+
return rb_ensure(start_document_try, (VALUE)&data, start_document_ensure, (VALUE)&data);
|
249
|
+
}
|
250
|
+
|
217
251
|
/* call-seq: emitter.end_document(implicit)
|
218
252
|
*
|
219
253
|
* End a document emission with an +implicit+ ending.
|
@@ -241,14 +275,14 @@ static VALUE end_document(VALUE self, VALUE imp)
|
|
241
275
|
* See Psych::Handler#scalar
|
242
276
|
*/
|
243
277
|
static VALUE scalar(
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
278
|
+
VALUE self,
|
279
|
+
VALUE value,
|
280
|
+
VALUE anchor,
|
281
|
+
VALUE tag,
|
282
|
+
VALUE plain,
|
283
|
+
VALUE quoted,
|
284
|
+
VALUE style
|
285
|
+
) {
|
252
286
|
yaml_emitter_t * emitter;
|
253
287
|
yaml_event_t event;
|
254
288
|
rb_encoding *encoding;
|
@@ -261,25 +295,25 @@ static VALUE scalar(
|
|
261
295
|
value = rb_str_export_to_enc(value, encoding);
|
262
296
|
|
263
297
|
if(!NIL_P(anchor)) {
|
264
|
-
|
265
|
-
|
298
|
+
Check_Type(anchor, T_STRING);
|
299
|
+
anchor = rb_str_export_to_enc(anchor, encoding);
|
266
300
|
}
|
267
301
|
|
268
302
|
if(!NIL_P(tag)) {
|
269
|
-
|
270
|
-
|
303
|
+
Check_Type(tag, T_STRING);
|
304
|
+
tag = rb_str_export_to_enc(tag, encoding);
|
271
305
|
}
|
272
306
|
|
273
307
|
yaml_scalar_event_initialize(
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
308
|
+
&event,
|
309
|
+
(yaml_char_t *)(NIL_P(anchor) ? NULL : StringValueCStr(anchor)),
|
310
|
+
(yaml_char_t *)(NIL_P(tag) ? NULL : StringValueCStr(tag)),
|
311
|
+
(yaml_char_t*)StringValuePtr(value),
|
312
|
+
(int)RSTRING_LEN(value),
|
313
|
+
plain ? 1 : 0,
|
314
|
+
quoted ? 1 : 0,
|
315
|
+
(yaml_scalar_style_t)NUM2INT(style)
|
316
|
+
);
|
283
317
|
|
284
318
|
emit(emitter, &event);
|
285
319
|
|
@@ -294,36 +328,36 @@ static VALUE scalar(
|
|
294
328
|
* See Psych::Handler#start_sequence
|
295
329
|
*/
|
296
330
|
static VALUE start_sequence(
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
331
|
+
VALUE self,
|
332
|
+
VALUE anchor,
|
333
|
+
VALUE tag,
|
334
|
+
VALUE implicit,
|
335
|
+
VALUE style
|
336
|
+
) {
|
303
337
|
yaml_emitter_t * emitter;
|
304
338
|
yaml_event_t event;
|
305
339
|
|
306
340
|
rb_encoding * encoding = rb_utf8_encoding();
|
307
341
|
|
308
342
|
if(!NIL_P(anchor)) {
|
309
|
-
|
310
|
-
|
343
|
+
Check_Type(anchor, T_STRING);
|
344
|
+
anchor = rb_str_export_to_enc(anchor, encoding);
|
311
345
|
}
|
312
346
|
|
313
347
|
if(!NIL_P(tag)) {
|
314
|
-
|
315
|
-
|
348
|
+
Check_Type(tag, T_STRING);
|
349
|
+
tag = rb_str_export_to_enc(tag, encoding);
|
316
350
|
}
|
317
351
|
|
318
352
|
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
|
319
353
|
|
320
354
|
yaml_sequence_start_event_initialize(
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
355
|
+
&event,
|
356
|
+
(yaml_char_t *)(NIL_P(anchor) ? NULL : StringValueCStr(anchor)),
|
357
|
+
(yaml_char_t *)(NIL_P(tag) ? NULL : StringValueCStr(tag)),
|
358
|
+
implicit ? 1 : 0,
|
359
|
+
(yaml_sequence_style_t)NUM2INT(style)
|
360
|
+
);
|
327
361
|
|
328
362
|
emit(emitter, &event);
|
329
363
|
|
@@ -357,12 +391,12 @@ static VALUE end_sequence(VALUE self)
|
|
357
391
|
* See Psych::Handler#start_mapping
|
358
392
|
*/
|
359
393
|
static VALUE start_mapping(
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
394
|
+
VALUE self,
|
395
|
+
VALUE anchor,
|
396
|
+
VALUE tag,
|
397
|
+
VALUE implicit,
|
398
|
+
VALUE style
|
399
|
+
) {
|
366
400
|
yaml_emitter_t * emitter;
|
367
401
|
yaml_event_t event;
|
368
402
|
rb_encoding *encoding;
|
@@ -372,22 +406,22 @@ static VALUE start_mapping(
|
|
372
406
|
encoding = rb_utf8_encoding();
|
373
407
|
|
374
408
|
if(!NIL_P(anchor)) {
|
375
|
-
|
376
|
-
|
409
|
+
Check_Type(anchor, T_STRING);
|
410
|
+
anchor = rb_str_export_to_enc(anchor, encoding);
|
377
411
|
}
|
378
412
|
|
379
413
|
if(!NIL_P(tag)) {
|
380
|
-
|
381
|
-
|
414
|
+
Check_Type(tag, T_STRING);
|
415
|
+
tag = rb_str_export_to_enc(tag, encoding);
|
382
416
|
}
|
383
417
|
|
384
418
|
yaml_mapping_start_event_initialize(
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
419
|
+
&event,
|
420
|
+
(yaml_char_t *)(NIL_P(anchor) ? NULL : StringValueCStr(anchor)),
|
421
|
+
(yaml_char_t *)(NIL_P(tag) ? NULL : StringValueCStr(tag)),
|
422
|
+
implicit ? 1 : 0,
|
423
|
+
(yaml_mapping_style_t)NUM2INT(style)
|
424
|
+
);
|
391
425
|
|
392
426
|
emit(emitter, &event);
|
393
427
|
|
@@ -426,14 +460,14 @@ static VALUE alias(VALUE self, VALUE anchor)
|
|
426
460
|
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
|
427
461
|
|
428
462
|
if(!NIL_P(anchor)) {
|
429
|
-
|
430
|
-
|
463
|
+
Check_Type(anchor, T_STRING);
|
464
|
+
anchor = rb_str_export_to_enc(anchor, rb_utf8_encoding());
|
431
465
|
}
|
432
466
|
|
433
467
|
yaml_alias_event_initialize(
|
434
|
-
|
435
|
-
|
436
|
-
|
468
|
+
&event,
|
469
|
+
(yaml_char_t *)(NIL_P(anchor) ? NULL : StringValueCStr(anchor))
|
470
|
+
);
|
437
471
|
|
438
472
|
emit(emitter, &event);
|
439
473
|
|