postfinancecheckout-ruby-sdk 3.0.2 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +35 -0
- data/LICENSE +1 -1
- data/README.md +0 -2
- data/lib/postfinancecheckout-ruby-sdk/api/analytics_query_service_api.rb +381 -0
- data/lib/postfinancecheckout-ruby-sdk/api/charge_flow_service_api.rb +126 -0
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_invoice_link_service_api.rb +351 -0
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reconciliation_record_service_api.rb +399 -0
- data/lib/postfinancecheckout-ruby-sdk/api/invoice_reimbursement_service_api.rb +348 -0
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_service_api.rb +253 -0
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_till_service_api.rb +2 -2
- data/lib/postfinancecheckout-ruby-sdk/api/payment_terminal_transaction_summary_service_api.rb +275 -0
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_line_item_version_service_api.rb +275 -0
- data/lib/postfinancecheckout-ruby-sdk/api/transaction_service_api.rb +2 -64
- data/lib/postfinancecheckout-ruby-sdk/models/abstract_transaction_pending.rb +11 -11
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query.rb +272 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution.rb +293 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_execution_state.rb +37 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_query_result_batch.rb +225 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_schema_column.rb +263 -0
- data/lib/postfinancecheckout-ruby-sdk/models/analytics_schema_table.rb +215 -0
- data/lib/postfinancecheckout-ruby-sdk/models/charge_attempt.rb +11 -1
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record.rb +571 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_invoice_link.rb +241 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_rejection_status.rb +36 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reconciliation_record_state.rb +38 -0
- data/lib/postfinancecheckout-ruby-sdk/models/{transaction_line_item_update_request.rb → invoice_reconciliation_record_type.rb} +27 -20
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement.rb +391 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_state.rb +38 -0
- data/lib/postfinancecheckout-ruby-sdk/models/invoice_reimbursement_with_refund_reference.rb +401 -0
- data/lib/postfinancecheckout-ruby-sdk/models/line_item_type.rb +1 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file.rb +251 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_initiation_advice_file_state.rb +35 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_processor_configuration.rb +11 -1
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal.rb +11 -1
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_dcc_transaction_sum.rb +261 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location.rb +8 -8
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_location_version.rb +11 -1
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_state.rb +1 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_sum.rb +291 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary.rb +285 -0
- data/lib/postfinancecheckout-ruby-sdk/models/payment_terminal_transaction_summary_fetch_request.rb +221 -0
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_document.rb +17 -5
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_receipt.rb +17 -5
- data/lib/postfinancecheckout-ruby-sdk/models/rendered_terminal_transaction_summary.rb +215 -0
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber.rb +30 -0
- data/lib/postfinancecheckout-ruby-sdk/models/shopify_subscriber_active.rb +30 -0
- data/lib/postfinancecheckout-ruby-sdk/models/space_address.rb +51 -1
- data/lib/postfinancecheckout-ruby-sdk/models/space_address_create.rb +51 -1
- data/lib/postfinancecheckout-ruby-sdk/models/transaction.rb +26 -16
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_create.rb +12 -12
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version.rb +93 -1
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_create.rb +228 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_line_item_version_state.rb +38 -0
- data/lib/postfinancecheckout-ruby-sdk/models/transaction_pending.rb +11 -11
- data/lib/postfinancecheckout-ruby-sdk/version.rb +1 -1
- data/lib/postfinancecheckout-ruby-sdk.rb +29 -1
- data/vendor/bundle/ruby/2.4.0/bin/rake +22 -0
- data/vendor/bundle/ruby/2.4.0/cache/addressable-2.8.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/ffi-1.15.5.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/json-2.6.2.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/power_assert-2.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/public_suffix-4.0.7.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/rake-12.3.3.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/test-unit-3.2.9.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/typhoeus-1.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/gem_make.out +370 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.15.5/mkmf.log +405 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-2.6.2/mkmf.log +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/CHANGELOG.md +262 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/Gemfile +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/README.md +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/Rakefile +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna/native.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna/pure.rb +677 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/idna.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/template.rb +1030 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/uri.rb +2560 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable/version.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/idna_spec.rb +301 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/net_http_compat_spec.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/security_spec.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/template_spec.rb +1468 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/addressable/uri_spec.rb +6745 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/gem.rake +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/profile.rake +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/addressable-2.8.1/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/.rspec +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Gemfile +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Guardfile +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/README.md +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/Rakefile +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curl.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/errors.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/libc.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +228 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/multi.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/lib/ethon.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/benchmarks.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/memory_leaks.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +79 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +177 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +317 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +193 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ethon-0.15.0/spec/support/server.rb +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/CHANGELOG.md +338 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/COPYING +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/README.md +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/Rakefile +191 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.c +1104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.c +360 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.c +487 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.h +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.c +333 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.c +334 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.c +917 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.h +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.c +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.c +225 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.c +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.h +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.c +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.c +348 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.c +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.c +507 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.c +822 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.h +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.c +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.c +700 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.c +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.h +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.c +379 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.h +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.c +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.h +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.c +303 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/compat.h +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.h +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/extconf.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.appveyor.yml +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitattributes +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitignore +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/ar-lib +270 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build.sh +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/compile +351 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/install.sh +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/site.exp +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis.yml +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ChangeLog.old +7407 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.am +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.in +2060 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/README.md +486 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.guess +1687 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.sub +1851 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure +22050 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.ac +415 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.host +318 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.in +815 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/libffi.texi +997 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/fficonfig.h.in +223 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.in +608 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi.h.in +523 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_common.h +153 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/install-sh +518 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.map.in +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-ldflags +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh +11251 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in +562 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/missing +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvcc.sh +353 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffi.c +1025 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffitarget.h +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/internal.h +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/sysv.S +451 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffi.c +876 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/closures.c +1021 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffi.c +1134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/o32.S +504 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffi.c +674 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffitarget.h +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/hpux32.S +370 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/linux.S +380 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1452 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64.S +291 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +564 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/prep_cif.c +263 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi.c +770 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi64.c +895 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffitarget.h +160 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffiw64.c +318 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv.S +1138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/unix64.S +621 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64.S +241 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64_intel.S +238 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.am +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.in +648 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +660 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +115 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +61 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +142 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +121 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi.h +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/enum.rb +296 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/ffi.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/library.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/platform.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct.rb +316 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/tools/types_generator.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/variadic.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/rakelib/ffi_gem_helper.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/CHANGES.md +457 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/LICENSE +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/README.md +425 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/Makefile +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.c +1608 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.h +174 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +264 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/extconf.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.c +3347 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.h +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.rl +986 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/ext/json/extconf.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/json.gemspec +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/complex.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/rational.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/set.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/common.rb +703 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/generator.rb +479 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure/parser.rb +337 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/json-2.6.2/lib/json.rb +583 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.github/workflows/ci.yml +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/.gitignore +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/BSDL +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/COPYING +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Gemfile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/LEGAL +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/README.md +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/Rakefile +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/colorize.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/configuration.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/context.rb +233 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/enable_tracepoint_events.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/inspector.rb +62 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/parser.rb +251 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/lib/power_assert.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/power_assert-2.0.1/power_assert.gemspec +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/FUNDING.yml +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/dependabot.yml +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/release.yml +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.github/workflows/tests.yml +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop.yml +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.rubocop_opinionated.yml +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/.yardopts +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/CHANGELOG.md +417 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/README.md +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/Rakefile +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/SECURITY.md +104 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/bin/console +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/data/list.txt +14035 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/lib/public_suffix.rb +177 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/public_suffix.gemspec +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/.empty +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/acceptance_test.rb +131 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/psl_test.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/test_helper.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/list_test.rb +241 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/public_suffix-4.0.7/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Gemfile +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rake +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/exe/rake +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/COPYING +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/GPL +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/LGPL +502 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/PSFL +271 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/README.md +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/Rakefile +80 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/getting-started.md +246 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/how-to.md +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/doc/text/news.md +1374 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertion-failed-error.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/assertions.rb +2249 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute-matcher.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/attribute.rb +226 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/auto-runner-loader.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/autorunner.rb +533 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/code-snippet-fetcher.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/descendant.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/dir.rb +108 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/load.rb +199 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/objectspace.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector/xml.rb +249 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/collector.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color-scheme.rb +198 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/color.rb +134 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data-sets.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/data.rb +371 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/diff.rb +746 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/error.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/exception-handler.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/failure.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fault-location-detector.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/fixture.rb +298 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/notification.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/omission.rb +195 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/pending.rb +154 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/priority.rb +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/console.rb +84 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/emacs.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/runner/xml.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/test-suite-creator.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testcase.rb +862 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testresult.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/testsuite.rb +175 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/outputlevel.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/console/testrunner.rb +750 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunner.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnermediator.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/ui/xml/testrunner.rb +224 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/backtracefilter.rb +59 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/observable.rb +90 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/output.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/util/procwrapper.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test/unit.rb +505 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/lib/test-unit.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/subtracter.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_adder.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_subtracter.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/test_user.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-descendant.rb +182 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test-load.rb +442 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_dir.rb +407 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/collector/test_objectspace.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header-label.tsv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/header.tsv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.csv +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/no-header.tsv +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/fixtures/plus.csv +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/run-test.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-assertions.rb +2180 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute-matcher.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-attribute.rb +123 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-code-snippet.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color-scheme.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-color.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-data.rb +419 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-diff.rb +518 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-emacs-runner.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-error.rb +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-failure.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fault-location-detector.rb +163 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-fixture.rb +713 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-notification.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-omission.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-pending.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-priority.rb +173 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-case.rb +1279 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-result.rb +113 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite-creator.rb +97 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/test-test-suite.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/testunit-test-util.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/ui/test_testrunmediator.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-method-owner-finder.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test-output.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_backtracefilter.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_observable.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/test/util/test_procwrapper.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/.travis.yml +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CHANGELOG.md +406 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/CONTRIBUTING.md +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/README.md +584 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/dalli.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/rails.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/redis.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/config.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/easy_factory.rb +180 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/cacheable.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/callbacks.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/request.rb +221 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/header.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/informations.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response/status.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/lib/typhoeus.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/easy_factory_spec.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/pool_spec.rb +137 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/cacheable_spec.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/request_spec.rb +232 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/informations_spec.rb +283 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/2.4.0/gems/typhoeus-1.4.0/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/2.4.0/specifications/addressable-2.8.1.gemspec +40 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ethon-0.15.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.4.0/specifications/ffi-1.15.5.gemspec +47 -0
- data/vendor/bundle/ruby/2.4.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/specifications/power_assert-2.0.1.gemspec +54 -0
- data/vendor/bundle/ruby/2.4.0/specifications/public_suffix-4.0.7.gemspec +24 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rake-12.3.3.gemspec +49 -0
- data/vendor/bundle/ruby/2.4.0/specifications/test-unit-3.2.9.gemspec +48 -0
- data/vendor/bundle/ruby/2.4.0/specifications/typhoeus-1.4.0.gemspec +32 -0
- metadata +1180 -17
- data/lib/.DS_Store +0 -0
@@ -0,0 +1,677 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (C) Bob Aman
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#++
|
18
|
+
|
19
|
+
|
20
|
+
module Addressable
|
21
|
+
module IDNA
|
22
|
+
# This module is loosely based on idn_actionmailer by Mick Staugaard,
|
23
|
+
# the unicode library by Yoshida Masato, and the punycode implementation
|
24
|
+
# by Kazuhiro Nishiyama. Most of the code was copied verbatim, but
|
25
|
+
# some reformatting was done, and some translation from C was done.
|
26
|
+
#
|
27
|
+
# Without their code to work from as a base, we'd all still be relying
|
28
|
+
# on the presence of libidn. Which nobody ever seems to have installed.
|
29
|
+
#
|
30
|
+
# Original sources:
|
31
|
+
# http://github.com/staugaard/idn_actionmailer
|
32
|
+
# http://www.yoshidam.net/Ruby.html#unicode
|
33
|
+
# http://rubyforge.org/frs/?group_id=2550
|
34
|
+
|
35
|
+
|
36
|
+
UNICODE_TABLE = File.expand_path(
|
37
|
+
File.join(File.dirname(__FILE__), '../../..', 'data/unicode.data')
|
38
|
+
)
|
39
|
+
|
40
|
+
ACE_PREFIX = "xn--"
|
41
|
+
|
42
|
+
UTF8_REGEX = /\A(?:
|
43
|
+
[\x09\x0A\x0D\x20-\x7E] # ASCII
|
44
|
+
| [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte
|
45
|
+
| \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs
|
46
|
+
| [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte
|
47
|
+
| \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates
|
48
|
+
| \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3
|
49
|
+
| [\xF1-\xF3][\x80-\xBF]{3} # planes 4nil5
|
50
|
+
| \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16
|
51
|
+
)*\z/mnx
|
52
|
+
|
53
|
+
UTF8_REGEX_MULTIBYTE = /(?:
|
54
|
+
[\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte
|
55
|
+
| \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs
|
56
|
+
| [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte
|
57
|
+
| \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates
|
58
|
+
| \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3
|
59
|
+
| [\xF1-\xF3][\x80-\xBF]{3} # planes 4nil5
|
60
|
+
| \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16
|
61
|
+
)/mnx
|
62
|
+
|
63
|
+
# :startdoc:
|
64
|
+
|
65
|
+
# Converts from a Unicode internationalized domain name to an ASCII
|
66
|
+
# domain name as described in RFC 3490.
|
67
|
+
def self.to_ascii(input)
|
68
|
+
input = input.to_s unless input.is_a?(String)
|
69
|
+
input = input.dup
|
70
|
+
if input.respond_to?(:force_encoding)
|
71
|
+
input.force_encoding(Encoding::ASCII_8BIT)
|
72
|
+
end
|
73
|
+
if input =~ UTF8_REGEX && input =~ UTF8_REGEX_MULTIBYTE
|
74
|
+
parts = unicode_downcase(input).split('.')
|
75
|
+
parts.map! do |part|
|
76
|
+
if part.respond_to?(:force_encoding)
|
77
|
+
part.force_encoding(Encoding::ASCII_8BIT)
|
78
|
+
end
|
79
|
+
if part =~ UTF8_REGEX && part =~ UTF8_REGEX_MULTIBYTE
|
80
|
+
ACE_PREFIX + punycode_encode(unicode_normalize_kc(part))
|
81
|
+
else
|
82
|
+
part
|
83
|
+
end
|
84
|
+
end
|
85
|
+
parts.join('.')
|
86
|
+
else
|
87
|
+
input
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# Converts from an ASCII domain name to a Unicode internationalized
|
92
|
+
# domain name as described in RFC 3490.
|
93
|
+
def self.to_unicode(input)
|
94
|
+
input = input.to_s unless input.is_a?(String)
|
95
|
+
parts = input.split('.')
|
96
|
+
parts.map! do |part|
|
97
|
+
if part =~ /^#{ACE_PREFIX}(.+)/
|
98
|
+
begin
|
99
|
+
punycode_decode(part[/^#{ACE_PREFIX}(.+)/, 1])
|
100
|
+
rescue Addressable::IDNA::PunycodeBadInput
|
101
|
+
# toUnicode is explicitly defined as never-fails by the spec
|
102
|
+
part
|
103
|
+
end
|
104
|
+
else
|
105
|
+
part
|
106
|
+
end
|
107
|
+
end
|
108
|
+
output = parts.join('.')
|
109
|
+
if output.respond_to?(:force_encoding)
|
110
|
+
output.force_encoding(Encoding::UTF_8)
|
111
|
+
end
|
112
|
+
output
|
113
|
+
end
|
114
|
+
|
115
|
+
# Unicode normalization form KC.
|
116
|
+
def self.unicode_normalize_kc(input)
|
117
|
+
input = input.to_s unless input.is_a?(String)
|
118
|
+
unpacked = input.unpack("U*")
|
119
|
+
unpacked =
|
120
|
+
unicode_compose(unicode_sort_canonical(unicode_decompose(unpacked)))
|
121
|
+
return unpacked.pack("U*")
|
122
|
+
end
|
123
|
+
|
124
|
+
##
|
125
|
+
# Unicode aware downcase method.
|
126
|
+
#
|
127
|
+
# @api private
|
128
|
+
# @param [String] input
|
129
|
+
# The input string.
|
130
|
+
# @return [String] The downcased result.
|
131
|
+
def self.unicode_downcase(input)
|
132
|
+
input = input.to_s unless input.is_a?(String)
|
133
|
+
unpacked = input.unpack("U*")
|
134
|
+
unpacked.map! { |codepoint| lookup_unicode_lowercase(codepoint) }
|
135
|
+
return unpacked.pack("U*")
|
136
|
+
end
|
137
|
+
private_class_method :unicode_downcase
|
138
|
+
|
139
|
+
def self.unicode_compose(unpacked)
|
140
|
+
unpacked_result = []
|
141
|
+
length = unpacked.length
|
142
|
+
|
143
|
+
return unpacked if length == 0
|
144
|
+
|
145
|
+
starter = unpacked[0]
|
146
|
+
starter_cc = lookup_unicode_combining_class(starter)
|
147
|
+
starter_cc = 256 if starter_cc != 0
|
148
|
+
for i in 1...length
|
149
|
+
ch = unpacked[i]
|
150
|
+
|
151
|
+
if (starter_cc == 0 &&
|
152
|
+
(composite = unicode_compose_pair(starter, ch)) != nil)
|
153
|
+
starter = composite
|
154
|
+
else
|
155
|
+
unpacked_result << starter
|
156
|
+
starter = ch
|
157
|
+
end
|
158
|
+
end
|
159
|
+
unpacked_result << starter
|
160
|
+
return unpacked_result
|
161
|
+
end
|
162
|
+
private_class_method :unicode_compose
|
163
|
+
|
164
|
+
def self.unicode_compose_pair(ch_one, ch_two)
|
165
|
+
if ch_one >= HANGUL_LBASE && ch_one < HANGUL_LBASE + HANGUL_LCOUNT &&
|
166
|
+
ch_two >= HANGUL_VBASE && ch_two < HANGUL_VBASE + HANGUL_VCOUNT
|
167
|
+
# Hangul L + V
|
168
|
+
return HANGUL_SBASE + (
|
169
|
+
(ch_one - HANGUL_LBASE) * HANGUL_VCOUNT + (ch_two - HANGUL_VBASE)
|
170
|
+
) * HANGUL_TCOUNT
|
171
|
+
elsif ch_one >= HANGUL_SBASE &&
|
172
|
+
ch_one < HANGUL_SBASE + HANGUL_SCOUNT &&
|
173
|
+
(ch_one - HANGUL_SBASE) % HANGUL_TCOUNT == 0 &&
|
174
|
+
ch_two >= HANGUL_TBASE && ch_two < HANGUL_TBASE + HANGUL_TCOUNT
|
175
|
+
# Hangul LV + T
|
176
|
+
return ch_one + (ch_two - HANGUL_TBASE)
|
177
|
+
end
|
178
|
+
|
179
|
+
p = []
|
180
|
+
|
181
|
+
ucs4_to_utf8(ch_one, p)
|
182
|
+
ucs4_to_utf8(ch_two, p)
|
183
|
+
|
184
|
+
return lookup_unicode_composition(p)
|
185
|
+
end
|
186
|
+
private_class_method :unicode_compose_pair
|
187
|
+
|
188
|
+
def self.ucs4_to_utf8(char, buffer)
|
189
|
+
if char < 128
|
190
|
+
buffer << char
|
191
|
+
elsif char < 2048
|
192
|
+
buffer << (char >> 6 | 192)
|
193
|
+
buffer << (char & 63 | 128)
|
194
|
+
elsif char < 0x10000
|
195
|
+
buffer << (char >> 12 | 224)
|
196
|
+
buffer << (char >> 6 & 63 | 128)
|
197
|
+
buffer << (char & 63 | 128)
|
198
|
+
elsif char < 0x200000
|
199
|
+
buffer << (char >> 18 | 240)
|
200
|
+
buffer << (char >> 12 & 63 | 128)
|
201
|
+
buffer << (char >> 6 & 63 | 128)
|
202
|
+
buffer << (char & 63 | 128)
|
203
|
+
elsif char < 0x4000000
|
204
|
+
buffer << (char >> 24 | 248)
|
205
|
+
buffer << (char >> 18 & 63 | 128)
|
206
|
+
buffer << (char >> 12 & 63 | 128)
|
207
|
+
buffer << (char >> 6 & 63 | 128)
|
208
|
+
buffer << (char & 63 | 128)
|
209
|
+
elsif char < 0x80000000
|
210
|
+
buffer << (char >> 30 | 252)
|
211
|
+
buffer << (char >> 24 & 63 | 128)
|
212
|
+
buffer << (char >> 18 & 63 | 128)
|
213
|
+
buffer << (char >> 12 & 63 | 128)
|
214
|
+
buffer << (char >> 6 & 63 | 128)
|
215
|
+
buffer << (char & 63 | 128)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
private_class_method :ucs4_to_utf8
|
219
|
+
|
220
|
+
def self.unicode_sort_canonical(unpacked)
|
221
|
+
unpacked = unpacked.dup
|
222
|
+
i = 1
|
223
|
+
length = unpacked.length
|
224
|
+
|
225
|
+
return unpacked if length < 2
|
226
|
+
|
227
|
+
while i < length
|
228
|
+
last = unpacked[i-1]
|
229
|
+
ch = unpacked[i]
|
230
|
+
last_cc = lookup_unicode_combining_class(last)
|
231
|
+
cc = lookup_unicode_combining_class(ch)
|
232
|
+
if cc != 0 && last_cc != 0 && last_cc > cc
|
233
|
+
unpacked[i] = last
|
234
|
+
unpacked[i-1] = ch
|
235
|
+
i -= 1 if i > 1
|
236
|
+
else
|
237
|
+
i += 1
|
238
|
+
end
|
239
|
+
end
|
240
|
+
return unpacked
|
241
|
+
end
|
242
|
+
private_class_method :unicode_sort_canonical
|
243
|
+
|
244
|
+
def self.unicode_decompose(unpacked)
|
245
|
+
unpacked_result = []
|
246
|
+
for cp in unpacked
|
247
|
+
if cp >= HANGUL_SBASE && cp < HANGUL_SBASE + HANGUL_SCOUNT
|
248
|
+
l, v, t = unicode_decompose_hangul(cp)
|
249
|
+
unpacked_result << l
|
250
|
+
unpacked_result << v if v
|
251
|
+
unpacked_result << t if t
|
252
|
+
else
|
253
|
+
dc = lookup_unicode_compatibility(cp)
|
254
|
+
unless dc
|
255
|
+
unpacked_result << cp
|
256
|
+
else
|
257
|
+
unpacked_result.concat(unicode_decompose(dc.unpack("U*")))
|
258
|
+
end
|
259
|
+
end
|
260
|
+
end
|
261
|
+
return unpacked_result
|
262
|
+
end
|
263
|
+
private_class_method :unicode_decompose
|
264
|
+
|
265
|
+
def self.unicode_decompose_hangul(codepoint)
|
266
|
+
sindex = codepoint - HANGUL_SBASE;
|
267
|
+
if sindex < 0 || sindex >= HANGUL_SCOUNT
|
268
|
+
l = codepoint
|
269
|
+
v = t = nil
|
270
|
+
return l, v, t
|
271
|
+
end
|
272
|
+
l = HANGUL_LBASE + sindex / HANGUL_NCOUNT
|
273
|
+
v = HANGUL_VBASE + (sindex % HANGUL_NCOUNT) / HANGUL_TCOUNT
|
274
|
+
t = HANGUL_TBASE + sindex % HANGUL_TCOUNT
|
275
|
+
if t == HANGUL_TBASE
|
276
|
+
t = nil
|
277
|
+
end
|
278
|
+
return l, v, t
|
279
|
+
end
|
280
|
+
private_class_method :unicode_decompose_hangul
|
281
|
+
|
282
|
+
def self.lookup_unicode_combining_class(codepoint)
|
283
|
+
codepoint_data = UNICODE_DATA[codepoint]
|
284
|
+
(codepoint_data ?
|
285
|
+
(codepoint_data[UNICODE_DATA_COMBINING_CLASS] || 0) :
|
286
|
+
0)
|
287
|
+
end
|
288
|
+
private_class_method :lookup_unicode_combining_class
|
289
|
+
|
290
|
+
def self.lookup_unicode_compatibility(codepoint)
|
291
|
+
codepoint_data = UNICODE_DATA[codepoint]
|
292
|
+
(codepoint_data ?
|
293
|
+
codepoint_data[UNICODE_DATA_COMPATIBILITY] : nil)
|
294
|
+
end
|
295
|
+
private_class_method :lookup_unicode_compatibility
|
296
|
+
|
297
|
+
def self.lookup_unicode_lowercase(codepoint)
|
298
|
+
codepoint_data = UNICODE_DATA[codepoint]
|
299
|
+
(codepoint_data ?
|
300
|
+
(codepoint_data[UNICODE_DATA_LOWERCASE] || codepoint) :
|
301
|
+
codepoint)
|
302
|
+
end
|
303
|
+
private_class_method :lookup_unicode_lowercase
|
304
|
+
|
305
|
+
def self.lookup_unicode_composition(unpacked)
|
306
|
+
return COMPOSITION_TABLE[unpacked]
|
307
|
+
end
|
308
|
+
private_class_method :lookup_unicode_composition
|
309
|
+
|
310
|
+
HANGUL_SBASE = 0xac00
|
311
|
+
HANGUL_LBASE = 0x1100
|
312
|
+
HANGUL_LCOUNT = 19
|
313
|
+
HANGUL_VBASE = 0x1161
|
314
|
+
HANGUL_VCOUNT = 21
|
315
|
+
HANGUL_TBASE = 0x11a7
|
316
|
+
HANGUL_TCOUNT = 28
|
317
|
+
HANGUL_NCOUNT = HANGUL_VCOUNT * HANGUL_TCOUNT # 588
|
318
|
+
HANGUL_SCOUNT = HANGUL_LCOUNT * HANGUL_NCOUNT # 11172
|
319
|
+
|
320
|
+
UNICODE_DATA_COMBINING_CLASS = 0
|
321
|
+
UNICODE_DATA_EXCLUSION = 1
|
322
|
+
UNICODE_DATA_CANONICAL = 2
|
323
|
+
UNICODE_DATA_COMPATIBILITY = 3
|
324
|
+
UNICODE_DATA_UPPERCASE = 4
|
325
|
+
UNICODE_DATA_LOWERCASE = 5
|
326
|
+
UNICODE_DATA_TITLECASE = 6
|
327
|
+
|
328
|
+
begin
|
329
|
+
if defined?(FakeFS)
|
330
|
+
fakefs_state = FakeFS.activated?
|
331
|
+
FakeFS.deactivate!
|
332
|
+
end
|
333
|
+
# This is a sparse Unicode table. Codepoints without entries are
|
334
|
+
# assumed to have the value: [0, 0, nil, nil, nil, nil, nil]
|
335
|
+
UNICODE_DATA = File.open(UNICODE_TABLE, "rb") do |file|
|
336
|
+
Marshal.load(file.read)
|
337
|
+
end
|
338
|
+
ensure
|
339
|
+
if defined?(FakeFS)
|
340
|
+
FakeFS.activate! if fakefs_state
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
COMPOSITION_TABLE = {}
|
345
|
+
UNICODE_DATA.each do |codepoint, data|
|
346
|
+
canonical = data[UNICODE_DATA_CANONICAL]
|
347
|
+
exclusion = data[UNICODE_DATA_EXCLUSION]
|
348
|
+
|
349
|
+
if canonical && exclusion == 0
|
350
|
+
COMPOSITION_TABLE[canonical.unpack("C*")] = codepoint
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
UNICODE_MAX_LENGTH = 256
|
355
|
+
ACE_MAX_LENGTH = 256
|
356
|
+
|
357
|
+
PUNYCODE_BASE = 36
|
358
|
+
PUNYCODE_TMIN = 1
|
359
|
+
PUNYCODE_TMAX = 26
|
360
|
+
PUNYCODE_SKEW = 38
|
361
|
+
PUNYCODE_DAMP = 700
|
362
|
+
PUNYCODE_INITIAL_BIAS = 72
|
363
|
+
PUNYCODE_INITIAL_N = 0x80
|
364
|
+
PUNYCODE_DELIMITER = 0x2D
|
365
|
+
|
366
|
+
PUNYCODE_MAXINT = 1 << 64
|
367
|
+
|
368
|
+
PUNYCODE_PRINT_ASCII =
|
369
|
+
"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" +
|
370
|
+
"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" +
|
371
|
+
" !\"\#$%&'()*+,-./" +
|
372
|
+
"0123456789:;<=>?" +
|
373
|
+
"@ABCDEFGHIJKLMNO" +
|
374
|
+
"PQRSTUVWXYZ[\\]^_" +
|
375
|
+
"`abcdefghijklmno" +
|
376
|
+
"pqrstuvwxyz{|}~\n"
|
377
|
+
|
378
|
+
# Input is invalid.
|
379
|
+
class PunycodeBadInput < StandardError; end
|
380
|
+
# Output would exceed the space provided.
|
381
|
+
class PunycodeBigOutput < StandardError; end
|
382
|
+
# Input needs wider integers to process.
|
383
|
+
class PunycodeOverflow < StandardError; end
|
384
|
+
|
385
|
+
def self.punycode_encode(unicode)
|
386
|
+
unicode = unicode.to_s unless unicode.is_a?(String)
|
387
|
+
input = unicode.unpack("U*")
|
388
|
+
output = [0] * (ACE_MAX_LENGTH + 1)
|
389
|
+
input_length = input.size
|
390
|
+
output_length = [ACE_MAX_LENGTH]
|
391
|
+
|
392
|
+
# Initialize the state
|
393
|
+
n = PUNYCODE_INITIAL_N
|
394
|
+
delta = out = 0
|
395
|
+
max_out = output_length[0]
|
396
|
+
bias = PUNYCODE_INITIAL_BIAS
|
397
|
+
|
398
|
+
# Handle the basic code points:
|
399
|
+
input_length.times do |j|
|
400
|
+
if punycode_basic?(input[j])
|
401
|
+
if max_out - out < 2
|
402
|
+
raise PunycodeBigOutput,
|
403
|
+
"Output would exceed the space provided."
|
404
|
+
end
|
405
|
+
output[out] = input[j]
|
406
|
+
out += 1
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
h = b = out
|
411
|
+
|
412
|
+
# h is the number of code points that have been handled, b is the
|
413
|
+
# number of basic code points, and out is the number of characters
|
414
|
+
# that have been output.
|
415
|
+
|
416
|
+
if b > 0
|
417
|
+
output[out] = PUNYCODE_DELIMITER
|
418
|
+
out += 1
|
419
|
+
end
|
420
|
+
|
421
|
+
# Main encoding loop:
|
422
|
+
|
423
|
+
while h < input_length
|
424
|
+
# All non-basic code points < n have been
|
425
|
+
# handled already. Find the next larger one:
|
426
|
+
|
427
|
+
m = PUNYCODE_MAXINT
|
428
|
+
input_length.times do |j|
|
429
|
+
m = input[j] if (n...m) === input[j]
|
430
|
+
end
|
431
|
+
|
432
|
+
# Increase delta enough to advance the decoder's
|
433
|
+
# <n,i> state to <m,0>, but guard against overflow:
|
434
|
+
|
435
|
+
if m - n > (PUNYCODE_MAXINT - delta) / (h + 1)
|
436
|
+
raise PunycodeOverflow, "Input needs wider integers to process."
|
437
|
+
end
|
438
|
+
delta += (m - n) * (h + 1)
|
439
|
+
n = m
|
440
|
+
|
441
|
+
input_length.times do |j|
|
442
|
+
# Punycode does not need to check whether input[j] is basic:
|
443
|
+
if input[j] < n
|
444
|
+
delta += 1
|
445
|
+
if delta == 0
|
446
|
+
raise PunycodeOverflow,
|
447
|
+
"Input needs wider integers to process."
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
if input[j] == n
|
452
|
+
# Represent delta as a generalized variable-length integer:
|
453
|
+
|
454
|
+
q = delta; k = PUNYCODE_BASE
|
455
|
+
while true
|
456
|
+
if out >= max_out
|
457
|
+
raise PunycodeBigOutput,
|
458
|
+
"Output would exceed the space provided."
|
459
|
+
end
|
460
|
+
t = (
|
461
|
+
if k <= bias
|
462
|
+
PUNYCODE_TMIN
|
463
|
+
elsif k >= bias + PUNYCODE_TMAX
|
464
|
+
PUNYCODE_TMAX
|
465
|
+
else
|
466
|
+
k - bias
|
467
|
+
end
|
468
|
+
)
|
469
|
+
break if q < t
|
470
|
+
output[out] =
|
471
|
+
punycode_encode_digit(t + (q - t) % (PUNYCODE_BASE - t))
|
472
|
+
out += 1
|
473
|
+
q = (q - t) / (PUNYCODE_BASE - t)
|
474
|
+
k += PUNYCODE_BASE
|
475
|
+
end
|
476
|
+
|
477
|
+
output[out] = punycode_encode_digit(q)
|
478
|
+
out += 1
|
479
|
+
bias = punycode_adapt(delta, h + 1, h == b)
|
480
|
+
delta = 0
|
481
|
+
h += 1
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
delta += 1
|
486
|
+
n += 1
|
487
|
+
end
|
488
|
+
|
489
|
+
output_length[0] = out
|
490
|
+
|
491
|
+
outlen = out
|
492
|
+
outlen.times do |j|
|
493
|
+
c = output[j]
|
494
|
+
unless c >= 0 && c <= 127
|
495
|
+
raise StandardError, "Invalid output char."
|
496
|
+
end
|
497
|
+
unless PUNYCODE_PRINT_ASCII[c]
|
498
|
+
raise PunycodeBadInput, "Input is invalid."
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
output[0..outlen].map { |x| x.chr }.join("").sub(/\0+\z/, "")
|
503
|
+
end
|
504
|
+
private_class_method :punycode_encode
|
505
|
+
|
506
|
+
def self.punycode_decode(punycode)
|
507
|
+
input = []
|
508
|
+
output = []
|
509
|
+
|
510
|
+
if ACE_MAX_LENGTH * 2 < punycode.size
|
511
|
+
raise PunycodeBigOutput, "Output would exceed the space provided."
|
512
|
+
end
|
513
|
+
punycode.each_byte do |c|
|
514
|
+
unless c >= 0 && c <= 127
|
515
|
+
raise PunycodeBadInput, "Input is invalid."
|
516
|
+
end
|
517
|
+
input.push(c)
|
518
|
+
end
|
519
|
+
|
520
|
+
input_length = input.length
|
521
|
+
output_length = [UNICODE_MAX_LENGTH]
|
522
|
+
|
523
|
+
# Initialize the state
|
524
|
+
n = PUNYCODE_INITIAL_N
|
525
|
+
|
526
|
+
out = i = 0
|
527
|
+
max_out = output_length[0]
|
528
|
+
bias = PUNYCODE_INITIAL_BIAS
|
529
|
+
|
530
|
+
# Handle the basic code points: Let b be the number of input code
|
531
|
+
# points before the last delimiter, or 0 if there is none, then
|
532
|
+
# copy the first b code points to the output.
|
533
|
+
|
534
|
+
b = 0
|
535
|
+
input_length.times do |j|
|
536
|
+
b = j if punycode_delimiter?(input[j])
|
537
|
+
end
|
538
|
+
if b > max_out
|
539
|
+
raise PunycodeBigOutput, "Output would exceed the space provided."
|
540
|
+
end
|
541
|
+
|
542
|
+
b.times do |j|
|
543
|
+
unless punycode_basic?(input[j])
|
544
|
+
raise PunycodeBadInput, "Input is invalid."
|
545
|
+
end
|
546
|
+
output[out] = input[j]
|
547
|
+
out+=1
|
548
|
+
end
|
549
|
+
|
550
|
+
# Main decoding loop: Start just after the last delimiter if any
|
551
|
+
# basic code points were copied; start at the beginning otherwise.
|
552
|
+
|
553
|
+
in_ = b > 0 ? b + 1 : 0
|
554
|
+
while in_ < input_length
|
555
|
+
|
556
|
+
# in_ is the index of the next character to be consumed, and
|
557
|
+
# out is the number of code points in the output array.
|
558
|
+
|
559
|
+
# Decode a generalized variable-length integer into delta,
|
560
|
+
# which gets added to i. The overflow checking is easier
|
561
|
+
# if we increase i as we go, then subtract off its starting
|
562
|
+
# value at the end to obtain delta.
|
563
|
+
|
564
|
+
oldi = i; w = 1; k = PUNYCODE_BASE
|
565
|
+
while true
|
566
|
+
if in_ >= input_length
|
567
|
+
raise PunycodeBadInput, "Input is invalid."
|
568
|
+
end
|
569
|
+
digit = punycode_decode_digit(input[in_])
|
570
|
+
in_+=1
|
571
|
+
if digit >= PUNYCODE_BASE
|
572
|
+
raise PunycodeBadInput, "Input is invalid."
|
573
|
+
end
|
574
|
+
if digit > (PUNYCODE_MAXINT - i) / w
|
575
|
+
raise PunycodeOverflow, "Input needs wider integers to process."
|
576
|
+
end
|
577
|
+
i += digit * w
|
578
|
+
t = (
|
579
|
+
if k <= bias
|
580
|
+
PUNYCODE_TMIN
|
581
|
+
elsif k >= bias + PUNYCODE_TMAX
|
582
|
+
PUNYCODE_TMAX
|
583
|
+
else
|
584
|
+
k - bias
|
585
|
+
end
|
586
|
+
)
|
587
|
+
break if digit < t
|
588
|
+
if w > PUNYCODE_MAXINT / (PUNYCODE_BASE - t)
|
589
|
+
raise PunycodeOverflow, "Input needs wider integers to process."
|
590
|
+
end
|
591
|
+
w *= PUNYCODE_BASE - t
|
592
|
+
k += PUNYCODE_BASE
|
593
|
+
end
|
594
|
+
|
595
|
+
bias = punycode_adapt(i - oldi, out + 1, oldi == 0)
|
596
|
+
|
597
|
+
# I was supposed to wrap around from out + 1 to 0,
|
598
|
+
# incrementing n each time, so we'll fix that now:
|
599
|
+
|
600
|
+
if i / (out + 1) > PUNYCODE_MAXINT - n
|
601
|
+
raise PunycodeOverflow, "Input needs wider integers to process."
|
602
|
+
end
|
603
|
+
n += i / (out + 1)
|
604
|
+
i %= out + 1
|
605
|
+
|
606
|
+
# Insert n at position i of the output:
|
607
|
+
|
608
|
+
# not needed for Punycode:
|
609
|
+
# raise PUNYCODE_INVALID_INPUT if decode_digit(n) <= base
|
610
|
+
if out >= max_out
|
611
|
+
raise PunycodeBigOutput, "Output would exceed the space provided."
|
612
|
+
end
|
613
|
+
|
614
|
+
#memmove(output + i + 1, output + i, (out - i) * sizeof *output)
|
615
|
+
output[i + 1, out - i] = output[i, out - i]
|
616
|
+
output[i] = n
|
617
|
+
i += 1
|
618
|
+
|
619
|
+
out += 1
|
620
|
+
end
|
621
|
+
|
622
|
+
output_length[0] = out
|
623
|
+
|
624
|
+
output.pack("U*")
|
625
|
+
end
|
626
|
+
private_class_method :punycode_decode
|
627
|
+
|
628
|
+
def self.punycode_basic?(codepoint)
|
629
|
+
codepoint < 0x80
|
630
|
+
end
|
631
|
+
private_class_method :punycode_basic?
|
632
|
+
|
633
|
+
def self.punycode_delimiter?(codepoint)
|
634
|
+
codepoint == PUNYCODE_DELIMITER
|
635
|
+
end
|
636
|
+
private_class_method :punycode_delimiter?
|
637
|
+
|
638
|
+
def self.punycode_encode_digit(d)
|
639
|
+
d + 22 + 75 * ((d < 26) ? 1 : 0)
|
640
|
+
end
|
641
|
+
private_class_method :punycode_encode_digit
|
642
|
+
|
643
|
+
# Returns the numeric value of a basic codepoint
|
644
|
+
# (for use in representing integers) in the range 0 to
|
645
|
+
# base - 1, or PUNYCODE_BASE if codepoint does not represent a value.
|
646
|
+
def self.punycode_decode_digit(codepoint)
|
647
|
+
if codepoint - 48 < 10
|
648
|
+
codepoint - 22
|
649
|
+
elsif codepoint - 65 < 26
|
650
|
+
codepoint - 65
|
651
|
+
elsif codepoint - 97 < 26
|
652
|
+
codepoint - 97
|
653
|
+
else
|
654
|
+
PUNYCODE_BASE
|
655
|
+
end
|
656
|
+
end
|
657
|
+
private_class_method :punycode_decode_digit
|
658
|
+
|
659
|
+
# Bias adaptation method
|
660
|
+
def self.punycode_adapt(delta, numpoints, firsttime)
|
661
|
+
delta = firsttime ? delta / PUNYCODE_DAMP : delta >> 1
|
662
|
+
# delta >> 1 is a faster way of doing delta / 2
|
663
|
+
delta += delta / numpoints
|
664
|
+
difference = PUNYCODE_BASE - PUNYCODE_TMIN
|
665
|
+
|
666
|
+
k = 0
|
667
|
+
while delta > (difference * PUNYCODE_TMAX) / 2
|
668
|
+
delta /= difference
|
669
|
+
k += PUNYCODE_BASE
|
670
|
+
end
|
671
|
+
|
672
|
+
k + (difference + 1) * delta / (delta + PUNYCODE_SKEW)
|
673
|
+
end
|
674
|
+
private_class_method :punycode_adapt
|
675
|
+
end
|
676
|
+
# :startdoc:
|
677
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#--
|
4
|
+
# Copyright (C) Bob Aman
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#++
|
18
|
+
|
19
|
+
|
20
|
+
begin
|
21
|
+
require "addressable/idna/native"
|
22
|
+
rescue LoadError
|
23
|
+
# libidn or the idn gem was not available, fall back on a pure-Ruby
|
24
|
+
# implementation...
|
25
|
+
require "addressable/idna/pure"
|
26
|
+
end
|