mountapi 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +112 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +42 -0
- data/README.md +404 -0
- data/Rakefile +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/mountapi/adapters/user_info_adapter.rb +23 -0
- data/lib/mountapi/config.rb +25 -0
- data/lib/mountapi/doc_rack_app.rb +29 -0
- data/lib/mountapi/error/forbidden.rb +26 -0
- data/lib/mountapi/error/handler_missing.rb +23 -0
- data/lib/mountapi/error/invalid_parameter.rb +26 -0
- data/lib/mountapi/error/invalid_response.rb +25 -0
- data/lib/mountapi/error/missing_response_status.rb +9 -0
- data/lib/mountapi/error/route_not_found.rb +24 -0
- data/lib/mountapi/error.rb +6 -0
- data/lib/mountapi/handler/behaviour.rb +99 -0
- data/lib/mountapi/handler/registry.rb +19 -0
- data/lib/mountapi/open_api/document.rb +26 -0
- data/lib/mountapi/open_api/operation.rb +62 -0
- data/lib/mountapi/open_api/path.rb +33 -0
- data/lib/mountapi/open_api.rb +12 -0
- data/lib/mountapi/rack_app.rb +74 -0
- data/lib/mountapi/railtie.rb +9 -0
- data/lib/mountapi/request/param_parser.rb +39 -0
- data/lib/mountapi/request/parameters.rb +17 -0
- data/lib/mountapi/request.rb +45 -0
- data/lib/mountapi/response/bad_request.rb +20 -0
- data/lib/mountapi/response/base.rb +56 -0
- data/lib/mountapi/response/forbidden.rb +21 -0
- data/lib/mountapi/response/internal_error.rb +20 -0
- data/lib/mountapi/response/not_found.rb +20 -0
- data/lib/mountapi/response/ok.rb +16 -0
- data/lib/mountapi/response.rb +13 -0
- data/lib/mountapi/route/handler.rb +29 -0
- data/lib/mountapi/route/method.rb +21 -0
- data/lib/mountapi/route/parameter.rb +42 -0
- data/lib/mountapi/route/parameters.rb +89 -0
- data/lib/mountapi/route/path.rb +66 -0
- data/lib/mountapi/route/response/json-api.json +383 -0
- data/lib/mountapi/route/response.rb +32 -0
- data/lib/mountapi/route/responses.rb +25 -0
- data/lib/mountapi/route.rb +81 -0
- data/lib/mountapi/router.rb +73 -0
- data/lib/mountapi/schema/array.rb +29 -0
- data/lib/mountapi/schema/base.rb +65 -0
- data/lib/mountapi/schema/boolean.rb +20 -0
- data/lib/mountapi/schema/integer.rb +17 -0
- data/lib/mountapi/schema/number.rb +17 -0
- data/lib/mountapi/schema/object.rb +37 -0
- data/lib/mountapi/schema/string.rb +16 -0
- data/lib/mountapi/schema/validator.rb +10 -0
- data/lib/mountapi/schema.rb +31 -0
- data/lib/mountapi/templates/list.html.erb +74 -0
- data/lib/mountapi/templates/redoc.html.erb +24 -0
- data/lib/mountapi/version.rb +3 -0
- data/lib/mountapi.rb +65 -0
- data/lib/tasks/routes.rake +17 -0
- data/mountapi-0.11.0.gem +0 -0
- data/mountapi.gemspec +48 -0
- data/pkg/mountapi-0.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/bin/byebug +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/commonmarker +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rack-app +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rackup +27 -0
- data/vendor/bundle/ruby/2.7.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/CHANGELOG.md +75 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/CONTRIBUTING.md +7 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/CONTRIBUTORS.md +35 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/Gemfile +19 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/LICENSE.md +19 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/README.md +496 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/Rakefile +68 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/VERSION.yml +3 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/json-schema.gemspec +40 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attribute.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/additionalitems.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/additionalproperties.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/allof.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/anyof.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/dependencies.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/dependencies_v4.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/disallow.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/divisibleby.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/enum.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/extends.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/format.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/custom.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/date.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/date_time.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/date_time_v4.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/ip.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/formats/uri.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/items.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limit.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/items.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/length.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/max_items.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/max_length.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/max_properties.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/maximum.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/maximum_inclusive.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/min_items.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/min_length.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/min_properties.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/minimum.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/minimum_inclusive.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/numeric.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/limits/properties.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/maxdecimal.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/multipleof.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/not.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/oneof.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/pattern.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/patternproperties.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/properties.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/properties_optional.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/properties_v4.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/ref.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/required.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/type.rb +73 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/type_v4.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/attributes/uniqueitems.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/custom_format_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/json_load_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/json_parse_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/schema_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/schema_parse_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/uri_error.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/errors/validation_error.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/schema/reader.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/schema/validator.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/schema.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/util/array_set.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/util/uri.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/util/uuid.rb +284 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validator.rb +609 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/draft1.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/draft2.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/draft3.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/draft4.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/draft6.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft1.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft2.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft3.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft4.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft6.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/resources/draft-01.json +155 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/resources/draft-02.json +166 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/resources/draft-03.json +174 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/resources/draft-04.json +150 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/resources/draft-06.json +150 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/all_of_ref_schema_test.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/any_of_ref_schema_test.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/bad_schema_ref_test.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/caching_test.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/common_test_suite_test.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/custom_format_test.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/data/all_of_ref_data.json +3 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/data/any_of_ref_data.json +7 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/data/bad_data_1.json +3 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/data/good_data_1.json +3 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/data/one_of_ref_links_data.json +5 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/draft1_test.rb +140 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/draft2_test.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/draft3_test.rb +449 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/draft4_test.rb +687 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/extended_schema_test.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/extends_nested_test.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/files_test.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/fragment_resolution_test.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/fragment_validation_with_ref_test.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/full_validation_test.rb +203 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/initialize_data_test.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/list_option_test.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/load_ref_schema_test.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/merge_missing_values_test.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/min_items_test.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/one_of_test.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/relative_definition_test.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/ruby_schema_test.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schema_reader_test.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schema_validation_test.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/address_microformat.json +18 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/all_of_ref_base_schema.json +6 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/all_of_ref_schema.json +7 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/any_of_ref_jane_schema.json +4 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/any_of_ref_jimmy_schema.json +4 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/any_of_ref_john_schema.json +4 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/any_of_ref_schema.json +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/definition_schema.json +15 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/definition_schema_with_special_characters.json +14 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/extends_and_additionalProperties_false_schema.json +29 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/extends_and_patternProperties_schema.json +28 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/good_schema_1.json +9 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/good_schema_2.json +9 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/good_schema_extends1.json +8 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/good_schema_extends2.json +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/inner_schema.json +17 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/one_of_ref_links_schema.json +16 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/ref john with spaces schema.json +11 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/relative_definition_schema.json +8 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/self_link_schema.json +17 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/schemas/up_link_schema.json +17 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/stringify_test.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/array_validation.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/enum_validation.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/number_validation.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/object_validation.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/strict_validation.rb +88 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/string_validation.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/test_helper.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/test_suite_ignored_tests.yml +109 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/support/type_validation.rb +81 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/type_attribute_test.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/uri_parsing_test.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/uri_util_test.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/test/validator_schema_reader_test.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/cache/addressable-2.8.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/HEAD +1 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/config +8 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/description +1 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/applypatch-msg.sample +15 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/commit-msg.sample +24 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/fsmonitor-watchman.sample +173 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/post-update.sample +8 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-applypatch.sample +14 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-commit.sample +49 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-merge-commit.sample +13 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-push.sample +53 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-rebase.sample +169 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/pre-receive.sample +24 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/prepare-commit-msg.sample +42 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/push-to-checkout.sample +78 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/hooks/update.sample +128 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/info/exclude +6 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/objects/pack/pack-eaf964bf8d486c1c08bd1ea2d0d48e8248d7b4d6.idx +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/objects/pack/pack-eaf964bf8d486c1c08bd1ea2d0d48e8248d7b4d6.pack +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/bundler/git/json-schema-dd8cc715ab6d6fe82bad281fbe96e8dfe3928a4e/packed-refs +98 -0
- data/vendor/bundle/ruby/2.7.0/cache/byebug-10.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/commonmarker-0.23.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/minitest-5.11.3.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/openapi3_parser-0.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/psych-3.3.2.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/public_suffix-4.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rack-2.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rack-app-7.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rack-test-1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/cache/rake-13.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/byebug-10.0.2/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/byebug-10.0.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/byebug-10.0.2/gem_make.out +51 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/commonmarker-0.23.2/commonmarker/commonmarker.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/commonmarker-0.23.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/commonmarker-0.23.2/gem_make.out +58 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/psych-3.3.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/psych-3.3.2/gem_make.out +21 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/psych-3.3.2/mkmf.log +70 -0
- data/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-19/2.7.0/psych-3.3.2/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/CHANGELOG.md +246 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/Gemfile +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/README.md +121 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/Rakefile +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/addressable.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/idna/native.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/idna/pure.rb +678 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/idna.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/template.rb +1031 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/uri.rb +2556 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable/version.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/lib/addressable.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/addressable/idna_spec.rb +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/addressable/net_http_compat_spec.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/addressable/security_spec.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/addressable/template_spec.rb +1460 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/addressable/uri_spec.rb +6665 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/spec/spec_helper.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/clobber.rake +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/gem.rake +92 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/git.rake +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/metrics.rake +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/profile.rake +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/rspec.rake +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/addressable-2.8.0/tasks/yard.rake +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/CHANGELOG.md +856 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/CONTRIBUTING.md +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/GUIDE.md +1805 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/LICENSE +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/README.md +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/exe/byebug +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/byebug.c +905 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/byebug.h +143 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/context.c +673 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/byebug.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/break.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/catch.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/condition.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/continue.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/delete.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/edit.rb +68 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info/breakpoints.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info/display.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info/file.rb +82 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/irb.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/kill.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/pry.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/source.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread/resume.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/tracevar.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/undisplay.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/const.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/commands.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/core.rb +114 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/parse.rb +77 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/string.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/toggle.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/interfaces/local_interface.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/interfaces/script_interface.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/printers/base.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/remote/client.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/byebug-10.0.2/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/README.md +288 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/Rakefile +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/bin/commonmarker +123 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/commonmarker.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/Makefile +267 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/arena.c +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/arena.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/autolink.c +425 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/autolink.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/autolink.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/blocks.c +1596 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/blocks.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/buffer.c +278 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/buffer.h +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/buffer.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/case_fold_switch.inc +4327 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/chunk.h +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm-core-extensions.h +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm-extension_api.h +736 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm-extensions_export.h +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm.h +817 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm_export.h +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark-gfm_version.h +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark.c +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark_ctype.c +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark_ctype.h +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/cmark_ctype.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmark.c +529 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmark.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmarker.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmarker.c +1321 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmarker.h +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/commonmarker.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/config.h +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/core-extensions.c +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/core-extensions.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/entities.inc +2138 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/ext_scanners.c +879 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/ext_scanners.h +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/ext_scanners.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/extconf.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/footnotes.c +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/footnotes.h +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/footnotes.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini.h +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_href_e.c +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_href_e.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_html_e.c +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_html_e.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_html_u.c +149 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/houdini_html_u.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/html.c +486 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/html.h +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/html.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/inlines.c +1691 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/inlines.h +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/inlines.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/iterator.c +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/iterator.h +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/iterator.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/latex.c +466 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/latex.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/linked_list.c +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/linked_list.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/man.c +278 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/man.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/map.c +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/map.h +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/map.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/node.c +979 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/node.h +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/node.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/parser.h +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/plaintext.c +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/plaintext.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/plugin.c +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/plugin.h +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/plugin.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/references.c +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/references.h +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/references.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/registry.c +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/registry.h +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/registry.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/render.c +205 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/render.h +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/render.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/scanners.c +10520 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/scanners.h +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/scanners.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/scanners.re +341 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/strikethrough.c +167 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/strikethrough.h +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/strikethrough.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/syntax_extension.c +149 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/syntax_extension.h +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/syntax_extension.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/table.c +822 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/table.h +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/table.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tagfilter.c +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tagfilter.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tagfilter.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tasklist.c +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tasklist.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/tasklist.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/utf8.c +317 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/utf8.h +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/utf8.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/xml.c +181 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/xml.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/commonmarker.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/config.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/errors.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/node/inspect.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/node.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/renderer/html_renderer.rb +252 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/renderer.rb +135 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/lib/commonmarker.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/benchmark.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/fixtures/curly.md +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/fixtures/dingus.md +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/fixtures/strong.md +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/fixtures/table.md +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_attributes.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_basics.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_commands.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_commonmark.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_doc.rb +130 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_encoding.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_extensions.rb +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_footnotes.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_gc.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_helper.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_linebreaks.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_maliciousness.rb +262 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_node.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_options.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_pathological_inputs.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_plaintext.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_renderer.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_smartpunct.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_spec.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_tasklists.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/test/test_xml.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/History.rdoc +1310 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/Manifest.txt +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/README.rdoc +746 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/Rakefile +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/design_rationale.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/lib/minitest.rb +987 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
- data/vendor/bundle/ruby/2.7.0/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/CHANGELOG.md +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/Gemfile +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/LICENCE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/README.md +139 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/Rakefile +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/TODO.md +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/array_sentence.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/cautious_dig.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/document/reference_registry.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/document.rb +217 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/error.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/markdown.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/array.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/callback.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/components.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/contact.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/context.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/discriminator.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/encoding.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/example.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/external_documentation.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/header.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/info.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/license.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/link.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/map.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/media_type.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/oauth_flow.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/oauth_flows.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/object.rb +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/openapi.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/operation.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/parameter.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/parameter_like.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/path_item.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/paths.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/placeholder.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/request_body.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/response.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/responses.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/schema.rb +248 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/security_requirement.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/security_scheme.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/server.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/server_variable.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/tag.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/xml.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/array.rb +202 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/callback.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/components.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/contact.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/context.rb +118 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/discriminator.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/encoding.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/example.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/external_documentation.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/field.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/fields/reference.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/header.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/info.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/license.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/link.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/map.rb +221 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/media_type.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/oauth_flow.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/oauth_flows.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/object.rb +115 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/object_factory/dsl.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/object_factory/field_config.rb +87 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/object_factory/node_builder.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/object_factory/validator.rb +169 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/openapi.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/operation.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/optional_reference.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/parameter.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/parameter_like.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/path_item.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/paths.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/reference.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/request_body.rb +48 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/response.rb +53 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/responses.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/schema.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/security_requirement.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/security_scheme.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/server.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/server_variable.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/tag.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/type_checker.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory/xml.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node_factory.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source/location.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source/pointer.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source/reference.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source/resolved_reference.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input/file.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input/raw.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input/resolve_next.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input/string_parser.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input/url.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/source_input.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validation/error.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validation/error_collection.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validation/input_validator.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validation/validatable.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/absolute_uri.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/component_keys.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/duplicate_parameters.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/email.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/media_type.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/mutually_exclusive_fields.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/reference.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/required_fields.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/unexpected_fields.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/validators/url.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/openapi3_parser.gemspec +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/Gemfile +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/README.md +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/Makefile +274 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/scalar_scanner.rb +136 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors/yaml_tree.rb +539 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych.bundle +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/lib/psych.rb +665 -0
- data/vendor/bundle/ruby/2.7.0/gems/psych-3.3.2/psych.gemspec +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/CHANGELOG.md +406 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/Gemfile +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/README.md +207 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/Rakefile +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/SECURITY.md +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/bin/console +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/codecov.yml +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/data/list.txt +13380 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix/errors.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix/list.rb +247 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix/rule.rb +350 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix/version.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/lib/public_suffix.rb +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/public_suffix.gemspec +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/acceptance_test.rb +131 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/psl_test.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/test_helper.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/unit/domain_test.rb +106 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/unit/errors_test.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/unit/list_test.rb +241 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/unit/public_suffix_test.rb +188 -0
- data/vendor/bundle/ruby/2.7.0/gems/public_suffix-4.0.6/test/unit/rule_test.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/COPYING +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/HISTORY.md +505 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/README.rdoc +302 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/Rakefile +116 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/SPEC +263 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/bin/rackup +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/contrib/rack.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/contrib/rack.svg +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/contrib/rack_logo.svg +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/contrib/rdoc.css +412 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/example/lobster.ru +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/example/protectedlobster.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/example/protectedlobster.ru +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/abstract/handler.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/abstract/request.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/basic.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/digest/md5.rb +129 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/digest/nonce.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/digest/params.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/auth/digest/request.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/body_proxy.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/builder.rb +164 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/cascade.rb +52 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/chunked.rb +69 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/common_logger.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/conditional_get.rb +79 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/config.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/content_length.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/content_type.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/deflater.rb +119 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/directory.rb +179 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/etag.rb +74 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/events.rb +154 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/file.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/cgi.rb +60 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/fastcgi.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/lsws.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/scgi.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/thin.rb +36 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler/webrick.rb +120 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/handler.rb +99 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/head.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/lint.rb +760 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/lobster.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/lock.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/logger.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/media_type.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/method_override.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/mime.rb +677 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/mock.rb +196 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/multipart/generator.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/multipart/parser.rb +369 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/multipart/uploaded_file.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/multipart.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/null_logger.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/query_parser.rb +192 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/recursive.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/reloader.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/request.rb +487 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/response.rb +235 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/rewindable_input.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/runtime.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/sendfile.rb +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/server.rb +395 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb +445 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/session/cookie.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/session/memcache.rb +93 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/session/pool.rb +76 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/show_exceptions.rb +386 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/show_status.rb +113 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/static.rb +175 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/tempfile_reaper.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/urlmap.rb +91 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack/utils.rb +620 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/lib/rack.rb +147 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/rack.gemspec +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/an_underscore_app.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/anything.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/comment.ru +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/end.ru +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/line.ru +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/builder/options.ru +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/folder/test.js +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/fonts/font.eot +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/images/image.png +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/index.html +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/javascripts/app.js +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/assets/stylesheets/app.css +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/lighttpd.conf +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/rackup_stub.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/sample_rackup.ru +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/test +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/test+directory/test+file +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/test.fcgi +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/test.gz +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/cgi/test.ru +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/gemloader.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/helper.rb +34 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/bad_robots +259 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/binary +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/content_type_and_no_filename +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/empty +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/fail_16384_nofile +814 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/file1.txt +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_and_no_name +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_encoded_words +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_null_byte +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_single_quote +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_unescaped_percentages +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_unescaped_percentages2 +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_unescaped_percentages3 +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/filename_with_unescaped_quotes +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/ie +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/invalid_character +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/mixed_files +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/nested +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/none +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/quoted +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/rack-logo.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/semicolon +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/text +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/three_files_three_fields +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/unity3d_wwwform +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/multipart/webkit +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/rackup/config.ru +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_auth_basic.rb +89 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_auth_digest.rb +260 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_body_proxy.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_builder.rb +233 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_cascade.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_cgi.rb +84 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_chunked.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_common_logger.rb +95 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_conditional_get.rb +103 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_config.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_content_length.rb +86 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_content_type.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_deflater.rb +375 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_directory.rb +148 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_etag.rb +108 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_events.rb +133 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_fastcgi.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_file.rb +264 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_handler.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_head.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_lint.rb +515 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_lobster.rb +59 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_lock.rb +204 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_logger.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_media_type.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_method_override.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_mime.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_mock.rb +359 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_multipart.rb +722 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_null_logger.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_recursive.rb +75 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_request.rb +1393 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_response.rb +510 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_rewindable_input.rb +128 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_runtime.rb +50 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_sendfile.rb +125 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_server.rb +193 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_session_abstract_id.rb +31 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_session_abstract_session_hash.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_session_cookie.rb +442 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_session_memcache.rb +320 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_session_pool.rb +210 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_show_exceptions.rb +80 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_show_status.rb +104 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_static.rb +184 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_tempfile_reaper.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_thin.rb +96 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_urlmap.rb +237 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_utils.rb +742 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_version.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/spec_webrick.rb +206 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/static/another/index.html +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/static/foo.html +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/static/index.html +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/testrequest.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-2.0.5/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/CODE_OF_CONDUCT.md +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/CONTRIBUTING.md +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/Gemfile +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/LICENSE +201 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/README.md +390 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/Rakefile +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/Vagrantfile +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/_config.yml +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/assets/rack-app-logo.png +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/bin/rack-app +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/dev/console +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/dev/rack-app +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/block.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/bundled_extensions/logger.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/bundled_extensions/payload.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/bundled_extensions.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/command/configurator.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/command.rb +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/default_commands/irb.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/default_commands/list_commands.rb +58 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/default_commands/show_routes.rb +110 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/default_commands.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/fetcher/server.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/fetcher.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli/runner.rb +72 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/cli.rb +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/constants/http_status_codes.rb +65 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/constants.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/endpoint/builder.rb +62 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/endpoint/catcher.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/endpoint/config.rb +98 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/endpoint/executor.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/endpoint.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/error_handler.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/extension.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/file_server.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/core.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/http_status.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/params.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/path_to.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/payload.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/redirect_to.rb +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/serve_file.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods/streaming.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/instance_methods.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/logger.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/configuration.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/header_setter.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/hooks/after.rb +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/hooks/base.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/hooks/before.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/hooks.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params/definition/options.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params/definition.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params/parser.rb +40 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params/setter.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params/validator.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/params.rb +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/path_info_cutter.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/payload/parser_setter.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/payload.rb +3 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares/set_path_params.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/middlewares.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/params.rb +64 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/payload/builder.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/payload/parser/builder/formats.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/payload/parser/builder.rb +47 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/payload/parser.rb +32 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/payload.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/request_configurator.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/request_stream.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/error.rb +4 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/branch.rb +37 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/env.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/leaf/mounted/application.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/leaf/mounted.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/leaf.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree/vein.rb +44 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router/tree.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/router.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/serializer/formats_builder.rb +39 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/serializer.rb +56 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/extensions.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/formats.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/hooks.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/http_methods.rb +55 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/inheritance.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/middleware.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/mounting.rb +61 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/params_validator.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/payload.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/rack_interface.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/route_handling.rb +46 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods/settings.rb +28 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/singleton_methods.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/streamer/scheduler/null.rb +13 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/streamer/scheduler.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/streamer.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/test/singleton_methods.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/test/utils.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/test.rb +70 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/deep_dup.rb +122 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/boolean.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/custom.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/float.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/integer.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/numeric.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser/string.rb +9 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils/parser.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/utils.rb +159 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app/version.rb +2 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack/app.rb +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/lib/rack-app.rb +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/old_ruby.sh +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/rack-app.gemspec +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spec_files.txt +1 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/array_vs_proc.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/enum.rb +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/long_endpoint.rb +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/method_vs_hash.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/method_vs_instance_exec.rb +33 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/return_vs_throw.rb +45 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/slice_vs_sub.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/validator_with_minitest.rb +94 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/spike/xml.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-app-7.7.0/src/Net__HTTP Cheat Sheet.pdf +0 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/History.md +256 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/MIT-LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/README.md +150 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/mock_session.rb +63 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/cookie_jar.rb +194 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/methods.rb +83 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/mock_digest_request.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/uploaded_file.rb +85 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/utils.rb +144 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test/version.rb +5 -0
- data/vendor/bundle/ruby/2.7.0/gems/rack-test-1.1.0/lib/rack/test.rb +334 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/CONTRIBUTING.rdoc +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/Gemfile +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/History.rdoc +2368 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/Rakefile +41 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/bundle +105 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/console +7 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/rake +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/rdoc +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/rubocop +29 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/bin/setup +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/rake.gemspec +43 -0
- data/vendor/bundle/ruby/2.7.0/specifications/addressable-2.8.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/byebug-10.0.2.gemspec +37 -0
- data/vendor/bundle/ruby/2.7.0/specifications/commonmarker-0.23.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.7.0/specifications/minitest-5.11.3.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/openapi3_parser-0.9.1.gemspec +52 -0
- data/vendor/bundle/ruby/2.7.0/specifications/psych-3.3.2.gemspec +26 -0
- data/vendor/bundle/ruby/2.7.0/specifications/public_suffix-4.0.6.gemspec +24 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rack-2.0.5.gemspec +38 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rack-app-7.7.0.gemspec +36 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rack-test-1.1.0.gemspec +45 -0
- data/vendor/bundle/ruby/2.7.0/specifications/rake-13.0.1.gemspec +26 -0
- data/vendor/json-schema/CHANGELOG.md +75 -0
- data/vendor/json-schema/CONTRIBUTING.md +7 -0
- data/vendor/json-schema/CONTRIBUTORS.md +35 -0
- data/vendor/json-schema/Gemfile +19 -0
- data/vendor/json-schema/LICENSE.md +19 -0
- data/vendor/json-schema/README.md +496 -0
- data/vendor/json-schema/Rakefile +68 -0
- data/vendor/json-schema/VERSION.yml +3 -0
- data/vendor/json-schema/json-schema.gemspec +27 -0
- data/vendor/json-schema/lib/json-schema/attribute.rb +57 -0
- data/vendor/json-schema/lib/json-schema/attributes/additionalitems.rb +28 -0
- data/vendor/json-schema/lib/json-schema/attributes/additionalproperties.rb +58 -0
- data/vendor/json-schema/lib/json-schema/attributes/allof.rb +39 -0
- data/vendor/json-schema/lib/json-schema/attributes/anyof.rb +47 -0
- data/vendor/json-schema/lib/json-schema/attributes/dependencies.rb +38 -0
- data/vendor/json-schema/lib/json-schema/attributes/dependencies_v4.rb +11 -0
- data/vendor/json-schema/lib/json-schema/attributes/disallow.rb +12 -0
- data/vendor/json-schema/lib/json-schema/attributes/divisibleby.rb +22 -0
- data/vendor/json-schema/lib/json-schema/attributes/enum.rb +24 -0
- data/vendor/json-schema/lib/json-schema/attributes/extends.rb +48 -0
- data/vendor/json-schema/lib/json-schema/attributes/format.rb +14 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/custom.rb +21 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/date.rb +25 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/date_time.rb +34 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/date_time_v4.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/ip.rb +41 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/time.rb +22 -0
- data/vendor/json-schema/lib/json-schema/attributes/formats/uri.rb +18 -0
- data/vendor/json-schema/lib/json-schema/attributes/items.rb +27 -0
- data/vendor/json-schema/lib/json-schema/attributes/limit.rb +52 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/items.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/length.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/max_items.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/max_length.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/max_properties.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/maximum.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/maximum_inclusive.rb +11 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/min_items.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/min_length.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/min_properties.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/minimum.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/minimum_inclusive.rb +11 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/numeric.rb +16 -0
- data/vendor/json-schema/lib/json-schema/attributes/limits/properties.rb +15 -0
- data/vendor/json-schema/lib/json-schema/attributes/maxdecimal.rb +18 -0
- data/vendor/json-schema/lib/json-schema/attributes/multipleof.rb +11 -0
- data/vendor/json-schema/lib/json-schema/attributes/not.rb +30 -0
- data/vendor/json-schema/lib/json-schema/attributes/oneof.rb +56 -0
- data/vendor/json-schema/lib/json-schema/attributes/pattern.rb +18 -0
- data/vendor/json-schema/lib/json-schema/attributes/patternproperties.rb +22 -0
- data/vendor/json-schema/lib/json-schema/attributes/properties.rb +66 -0
- data/vendor/json-schema/lib/json-schema/attributes/properties_optional.rb +26 -0
- data/vendor/json-schema/lib/json-schema/attributes/properties_v4.rb +13 -0
- data/vendor/json-schema/lib/json-schema/attributes/ref.rb +61 -0
- data/vendor/json-schema/lib/json-schema/attributes/required.rb +28 -0
- data/vendor/json-schema/lib/json-schema/attributes/type.rb +73 -0
- data/vendor/json-schema/lib/json-schema/attributes/type_v4.rb +29 -0
- data/vendor/json-schema/lib/json-schema/attributes/uniqueitems.rb +20 -0
- data/vendor/json-schema/lib/json-schema/errors/custom_format_error.rb +6 -0
- data/vendor/json-schema/lib/json-schema/errors/json_load_error.rb +6 -0
- data/vendor/json-schema/lib/json-schema/errors/json_parse_error.rb +6 -0
- data/vendor/json-schema/lib/json-schema/errors/schema_error.rb +6 -0
- data/vendor/json-schema/lib/json-schema/errors/schema_parse_error.rb +8 -0
- data/vendor/json-schema/lib/json-schema/errors/uri_error.rb +6 -0
- data/vendor/json-schema/lib/json-schema/errors/validation_error.rb +46 -0
- data/vendor/json-schema/lib/json-schema/schema/reader.rb +140 -0
- data/vendor/json-schema/lib/json-schema/schema/validator.rb +40 -0
- data/vendor/json-schema/lib/json-schema/schema.rb +62 -0
- data/vendor/json-schema/lib/json-schema/util/array_set.rb +20 -0
- data/vendor/json-schema/lib/json-schema/util/uri.rb +110 -0
- data/vendor/json-schema/lib/json-schema/util/uuid.rb +284 -0
- data/vendor/json-schema/lib/json-schema/validator.rb +609 -0
- data/vendor/json-schema/lib/json-schema/validators/draft1.rb +45 -0
- data/vendor/json-schema/lib/json-schema/validators/draft2.rb +46 -0
- data/vendor/json-schema/lib/json-schema/validators/draft3.rb +50 -0
- data/vendor/json-schema/lib/json-schema/validators/draft4.rb +56 -0
- data/vendor/json-schema/lib/json-schema/validators/draft6.rb +56 -0
- data/vendor/json-schema/lib/json-schema/validators/hyper-draft1.rb +13 -0
- data/vendor/json-schema/lib/json-schema/validators/hyper-draft2.rb +13 -0
- data/vendor/json-schema/lib/json-schema/validators/hyper-draft3.rb +13 -0
- data/vendor/json-schema/lib/json-schema/validators/hyper-draft4.rb +13 -0
- data/vendor/json-schema/lib/json-schema/validators/hyper-draft6.rb +13 -0
- data/vendor/json-schema/lib/json-schema.rb +18 -0
- data/vendor/json-schema/resources/draft-01.json +155 -0
- data/vendor/json-schema/resources/draft-02.json +166 -0
- data/vendor/json-schema/resources/draft-03.json +174 -0
- data/vendor/json-schema/resources/draft-04.json +150 -0
- data/vendor/json-schema/resources/draft-06.json +150 -0
- data/vendor/json-schema/test/all_of_ref_schema_test.rb +35 -0
- data/vendor/json-schema/test/any_of_ref_schema_test.rb +35 -0
- data/vendor/json-schema/test/bad_schema_ref_test.rb +49 -0
- data/vendor/json-schema/test/caching_test.rb +57 -0
- data/vendor/json-schema/test/common_test_suite_test.rb +56 -0
- data/vendor/json-schema/test/custom_format_test.rb +122 -0
- data/vendor/json-schema/test/data/all_of_ref_data.json +3 -0
- data/vendor/json-schema/test/data/any_of_ref_data.json +7 -0
- data/vendor/json-schema/test/data/bad_data_1.json +3 -0
- data/vendor/json-schema/test/data/good_data_1.json +3 -0
- data/vendor/json-schema/test/data/one_of_ref_links_data.json +5 -0
- data/vendor/json-schema/test/draft1_test.rb +140 -0
- data/vendor/json-schema/test/draft2_test.rb +112 -0
- data/vendor/json-schema/test/draft3_test.rb +449 -0
- data/vendor/json-schema/test/draft4_test.rb +687 -0
- data/vendor/json-schema/test/extended_schema_test.rb +62 -0
- data/vendor/json-schema/test/extends_nested_test.rb +41 -0
- data/vendor/json-schema/test/files_test.rb +53 -0
- data/vendor/json-schema/test/fragment_resolution_test.rb +83 -0
- data/vendor/json-schema/test/fragment_validation_with_ref_test.rb +67 -0
- data/vendor/json-schema/test/full_validation_test.rb +203 -0
- data/vendor/json-schema/test/initialize_data_test.rb +154 -0
- data/vendor/json-schema/test/list_option_test.rb +21 -0
- data/vendor/json-schema/test/load_ref_schema_test.rb +45 -0
- data/vendor/json-schema/test/merge_missing_values_test.rb +45 -0
- data/vendor/json-schema/test/min_items_test.rb +16 -0
- data/vendor/json-schema/test/one_of_test.rb +85 -0
- data/vendor/json-schema/test/relative_definition_test.rb +19 -0
- data/vendor/json-schema/test/ruby_schema_test.rb +65 -0
- data/vendor/json-schema/test/schema_reader_test.rb +78 -0
- data/vendor/json-schema/test/schema_validation_test.rb +185 -0
- data/vendor/json-schema/test/schemas/address_microformat.json +18 -0
- data/vendor/json-schema/test/schemas/all_of_ref_base_schema.json +6 -0
- data/vendor/json-schema/test/schemas/all_of_ref_schema.json +7 -0
- data/vendor/json-schema/test/schemas/any_of_ref_jane_schema.json +4 -0
- data/vendor/json-schema/test/schemas/any_of_ref_jimmy_schema.json +4 -0
- data/vendor/json-schema/test/schemas/any_of_ref_john_schema.json +4 -0
- data/vendor/json-schema/test/schemas/any_of_ref_schema.json +15 -0
- data/vendor/json-schema/test/schemas/definition_schema.json +15 -0
- data/vendor/json-schema/test/schemas/definition_schema_with_special_characters.json +14 -0
- data/vendor/json-schema/test/schemas/extends_and_additionalProperties_false_schema.json +29 -0
- data/vendor/json-schema/test/schemas/extends_and_patternProperties_schema.json +28 -0
- data/vendor/json-schema/test/schemas/good_schema_1.json +9 -0
- data/vendor/json-schema/test/schemas/good_schema_2.json +9 -0
- data/vendor/json-schema/test/schemas/good_schema_extends1.json +8 -0
- data/vendor/json-schema/test/schemas/good_schema_extends2.json +11 -0
- data/vendor/json-schema/test/schemas/inner_schema.json +17 -0
- data/vendor/json-schema/test/schemas/one_of_ref_links_schema.json +16 -0
- data/vendor/json-schema/test/schemas/ref john with spaces schema.json +11 -0
- data/vendor/json-schema/test/schemas/relative_definition_schema.json +8 -0
- data/vendor/json-schema/test/schemas/self_link_schema.json +17 -0
- data/vendor/json-schema/test/schemas/up_link_schema.json +17 -0
- data/vendor/json-schema/test/stringify_test.rb +48 -0
- data/vendor/json-schema/test/support/array_validation.rb +112 -0
- data/vendor/json-schema/test/support/enum_validation.rb +133 -0
- data/vendor/json-schema/test/support/number_validation.rb +82 -0
- data/vendor/json-schema/test/support/object_validation.rb +68 -0
- data/vendor/json-schema/test/support/strict_validation.rb +88 -0
- data/vendor/json-schema/test/support/string_validation.rb +154 -0
- data/vendor/json-schema/test/support/test_helper.rb +70 -0
- data/vendor/json-schema/test/support/test_suite_ignored_tests.yml +109 -0
- data/vendor/json-schema/test/support/type_validation.rb +81 -0
- data/vendor/json-schema/test/type_attribute_test.rb +20 -0
- data/vendor/json-schema/test/uri_parsing_test.rb +67 -0
- data/vendor/json-schema/test/uri_util_test.rb +206 -0
- data/vendor/json-schema/test/validator_schema_reader_test.rb +55 -0
- metadata +1562 -0
@@ -0,0 +1,1985 @@
|
|
1
|
+
/**
|
2
|
+
* @file yaml.h
|
3
|
+
* @brief Public interface for libyaml.
|
4
|
+
*
|
5
|
+
* Include the header file with the code:
|
6
|
+
* @code
|
7
|
+
* #include <yaml.h>
|
8
|
+
* @endcode
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef YAML_H
|
12
|
+
#define YAML_H
|
13
|
+
|
14
|
+
#ifdef __cplusplus
|
15
|
+
extern "C" {
|
16
|
+
#endif
|
17
|
+
|
18
|
+
#include <stdlib.h>
|
19
|
+
#include <stdio.h>
|
20
|
+
#include <string.h>
|
21
|
+
|
22
|
+
/**
|
23
|
+
* @defgroup export Export Definitions
|
24
|
+
* @{
|
25
|
+
*/
|
26
|
+
|
27
|
+
/** The public API declaration. */
|
28
|
+
|
29
|
+
#if defined(__MINGW32__)
|
30
|
+
# define YAML_DECLARE(type) type
|
31
|
+
#elif defined(_WIN32)
|
32
|
+
# if defined(YAML_DECLARE_STATIC)
|
33
|
+
# define YAML_DECLARE(type) type
|
34
|
+
# elif defined(YAML_DECLARE_EXPORT)
|
35
|
+
# define YAML_DECLARE(type) __declspec(dllexport) type
|
36
|
+
# else
|
37
|
+
# define YAML_DECLARE(type) __declspec(dllimport) type
|
38
|
+
# endif
|
39
|
+
#else
|
40
|
+
# define YAML_DECLARE(type) type
|
41
|
+
#endif
|
42
|
+
|
43
|
+
/** @} */
|
44
|
+
|
45
|
+
/**
|
46
|
+
* @defgroup version Version Information
|
47
|
+
* @{
|
48
|
+
*/
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Get the library version as a string.
|
52
|
+
*
|
53
|
+
* @returns The function returns the pointer to a static string of the form
|
54
|
+
* @c "X.Y.Z", where @c X is the major version number, @c Y is a minor version
|
55
|
+
* number, and @c Z is the patch version number.
|
56
|
+
*/
|
57
|
+
|
58
|
+
YAML_DECLARE(const char *)
|
59
|
+
yaml_get_version_string(void);
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Get the library version numbers.
|
63
|
+
*
|
64
|
+
* @param[out] major Major version number.
|
65
|
+
* @param[out] minor Minor version number.
|
66
|
+
* @param[out] patch Patch version number.
|
67
|
+
*/
|
68
|
+
|
69
|
+
YAML_DECLARE(void)
|
70
|
+
yaml_get_version(int *major, int *minor, int *patch);
|
71
|
+
|
72
|
+
/** @} */
|
73
|
+
|
74
|
+
/**
|
75
|
+
* @defgroup basic Basic Types
|
76
|
+
* @{
|
77
|
+
*/
|
78
|
+
|
79
|
+
/** The character type (UTF-8 octet). */
|
80
|
+
typedef unsigned char yaml_char_t;
|
81
|
+
|
82
|
+
/** The version directive data. */
|
83
|
+
typedef struct yaml_version_directive_s {
|
84
|
+
/** The major version number. */
|
85
|
+
int major;
|
86
|
+
/** The minor version number. */
|
87
|
+
int minor;
|
88
|
+
} yaml_version_directive_t;
|
89
|
+
|
90
|
+
/** The tag directive data. */
|
91
|
+
typedef struct yaml_tag_directive_s {
|
92
|
+
/** The tag handle. */
|
93
|
+
yaml_char_t *handle;
|
94
|
+
/** The tag prefix. */
|
95
|
+
yaml_char_t *prefix;
|
96
|
+
} yaml_tag_directive_t;
|
97
|
+
|
98
|
+
/** The stream encoding. */
|
99
|
+
typedef enum yaml_encoding_e {
|
100
|
+
/** Let the parser choose the encoding. */
|
101
|
+
YAML_ANY_ENCODING,
|
102
|
+
/** The default UTF-8 encoding. */
|
103
|
+
YAML_UTF8_ENCODING,
|
104
|
+
/** The UTF-16-LE encoding with BOM. */
|
105
|
+
YAML_UTF16LE_ENCODING,
|
106
|
+
/** The UTF-16-BE encoding with BOM. */
|
107
|
+
YAML_UTF16BE_ENCODING
|
108
|
+
} yaml_encoding_t;
|
109
|
+
|
110
|
+
/** Line break types. */
|
111
|
+
|
112
|
+
typedef enum yaml_break_e {
|
113
|
+
/** Let the parser choose the break type. */
|
114
|
+
YAML_ANY_BREAK,
|
115
|
+
/** Use CR for line breaks (Mac style). */
|
116
|
+
YAML_CR_BREAK,
|
117
|
+
/** Use LN for line breaks (Unix style). */
|
118
|
+
YAML_LN_BREAK,
|
119
|
+
/** Use CR LN for line breaks (DOS style). */
|
120
|
+
YAML_CRLN_BREAK
|
121
|
+
} yaml_break_t;
|
122
|
+
|
123
|
+
/** Many bad things could happen with the parser and emitter. */
|
124
|
+
typedef enum yaml_error_type_e {
|
125
|
+
/** No error is produced. */
|
126
|
+
YAML_NO_ERROR,
|
127
|
+
|
128
|
+
/** Cannot allocate or reallocate a block of memory. */
|
129
|
+
YAML_MEMORY_ERROR,
|
130
|
+
|
131
|
+
/** Cannot read or decode the input stream. */
|
132
|
+
YAML_READER_ERROR,
|
133
|
+
/** Cannot scan the input stream. */
|
134
|
+
YAML_SCANNER_ERROR,
|
135
|
+
/** Cannot parse the input stream. */
|
136
|
+
YAML_PARSER_ERROR,
|
137
|
+
/** Cannot compose a YAML document. */
|
138
|
+
YAML_COMPOSER_ERROR,
|
139
|
+
|
140
|
+
/** Cannot write to the output stream. */
|
141
|
+
YAML_WRITER_ERROR,
|
142
|
+
/** Cannot emit a YAML stream. */
|
143
|
+
YAML_EMITTER_ERROR
|
144
|
+
} yaml_error_type_t;
|
145
|
+
|
146
|
+
/** The pointer position. */
|
147
|
+
typedef struct yaml_mark_s {
|
148
|
+
/** The position index. */
|
149
|
+
size_t index;
|
150
|
+
|
151
|
+
/** The position line. */
|
152
|
+
size_t line;
|
153
|
+
|
154
|
+
/** The position column. */
|
155
|
+
size_t column;
|
156
|
+
} yaml_mark_t;
|
157
|
+
|
158
|
+
/** @} */
|
159
|
+
|
160
|
+
/**
|
161
|
+
* @defgroup styles Node Styles
|
162
|
+
* @{
|
163
|
+
*/
|
164
|
+
|
165
|
+
/** Scalar styles. */
|
166
|
+
typedef enum yaml_scalar_style_e {
|
167
|
+
/** Let the emitter choose the style. */
|
168
|
+
YAML_ANY_SCALAR_STYLE,
|
169
|
+
|
170
|
+
/** The plain scalar style. */
|
171
|
+
YAML_PLAIN_SCALAR_STYLE,
|
172
|
+
|
173
|
+
/** The single-quoted scalar style. */
|
174
|
+
YAML_SINGLE_QUOTED_SCALAR_STYLE,
|
175
|
+
/** The double-quoted scalar style. */
|
176
|
+
YAML_DOUBLE_QUOTED_SCALAR_STYLE,
|
177
|
+
|
178
|
+
/** The literal scalar style. */
|
179
|
+
YAML_LITERAL_SCALAR_STYLE,
|
180
|
+
/** The folded scalar style. */
|
181
|
+
YAML_FOLDED_SCALAR_STYLE
|
182
|
+
} yaml_scalar_style_t;
|
183
|
+
|
184
|
+
/** Sequence styles. */
|
185
|
+
typedef enum yaml_sequence_style_e {
|
186
|
+
/** Let the emitter choose the style. */
|
187
|
+
YAML_ANY_SEQUENCE_STYLE,
|
188
|
+
|
189
|
+
/** The block sequence style. */
|
190
|
+
YAML_BLOCK_SEQUENCE_STYLE,
|
191
|
+
/** The flow sequence style. */
|
192
|
+
YAML_FLOW_SEQUENCE_STYLE
|
193
|
+
} yaml_sequence_style_t;
|
194
|
+
|
195
|
+
/** Mapping styles. */
|
196
|
+
typedef enum yaml_mapping_style_e {
|
197
|
+
/** Let the emitter choose the style. */
|
198
|
+
YAML_ANY_MAPPING_STYLE,
|
199
|
+
|
200
|
+
/** The block mapping style. */
|
201
|
+
YAML_BLOCK_MAPPING_STYLE,
|
202
|
+
/** The flow mapping style. */
|
203
|
+
YAML_FLOW_MAPPING_STYLE
|
204
|
+
/* YAML_FLOW_SET_MAPPING_STYLE */
|
205
|
+
} yaml_mapping_style_t;
|
206
|
+
|
207
|
+
/** @} */
|
208
|
+
|
209
|
+
/**
|
210
|
+
* @defgroup tokens Tokens
|
211
|
+
* @{
|
212
|
+
*/
|
213
|
+
|
214
|
+
/** Token types. */
|
215
|
+
typedef enum yaml_token_type_e {
|
216
|
+
/** An empty token. */
|
217
|
+
YAML_NO_TOKEN,
|
218
|
+
|
219
|
+
/** A STREAM-START token. */
|
220
|
+
YAML_STREAM_START_TOKEN,
|
221
|
+
/** A STREAM-END token. */
|
222
|
+
YAML_STREAM_END_TOKEN,
|
223
|
+
|
224
|
+
/** A VERSION-DIRECTIVE token. */
|
225
|
+
YAML_VERSION_DIRECTIVE_TOKEN,
|
226
|
+
/** A TAG-DIRECTIVE token. */
|
227
|
+
YAML_TAG_DIRECTIVE_TOKEN,
|
228
|
+
/** A DOCUMENT-START token. */
|
229
|
+
YAML_DOCUMENT_START_TOKEN,
|
230
|
+
/** A DOCUMENT-END token. */
|
231
|
+
YAML_DOCUMENT_END_TOKEN,
|
232
|
+
|
233
|
+
/** A BLOCK-SEQUENCE-START token. */
|
234
|
+
YAML_BLOCK_SEQUENCE_START_TOKEN,
|
235
|
+
/** A BLOCK-MAPPING-START token. */
|
236
|
+
YAML_BLOCK_MAPPING_START_TOKEN,
|
237
|
+
/** A BLOCK-END token. */
|
238
|
+
YAML_BLOCK_END_TOKEN,
|
239
|
+
|
240
|
+
/** A FLOW-SEQUENCE-START token. */
|
241
|
+
YAML_FLOW_SEQUENCE_START_TOKEN,
|
242
|
+
/** A FLOW-SEQUENCE-END token. */
|
243
|
+
YAML_FLOW_SEQUENCE_END_TOKEN,
|
244
|
+
/** A FLOW-MAPPING-START token. */
|
245
|
+
YAML_FLOW_MAPPING_START_TOKEN,
|
246
|
+
/** A FLOW-MAPPING-END token. */
|
247
|
+
YAML_FLOW_MAPPING_END_TOKEN,
|
248
|
+
|
249
|
+
/** A BLOCK-ENTRY token. */
|
250
|
+
YAML_BLOCK_ENTRY_TOKEN,
|
251
|
+
/** A FLOW-ENTRY token. */
|
252
|
+
YAML_FLOW_ENTRY_TOKEN,
|
253
|
+
/** A KEY token. */
|
254
|
+
YAML_KEY_TOKEN,
|
255
|
+
/** A VALUE token. */
|
256
|
+
YAML_VALUE_TOKEN,
|
257
|
+
|
258
|
+
/** An ALIAS token. */
|
259
|
+
YAML_ALIAS_TOKEN,
|
260
|
+
/** An ANCHOR token. */
|
261
|
+
YAML_ANCHOR_TOKEN,
|
262
|
+
/** A TAG token. */
|
263
|
+
YAML_TAG_TOKEN,
|
264
|
+
/** A SCALAR token. */
|
265
|
+
YAML_SCALAR_TOKEN
|
266
|
+
} yaml_token_type_t;
|
267
|
+
|
268
|
+
/** The token structure. */
|
269
|
+
typedef struct yaml_token_s {
|
270
|
+
|
271
|
+
/** The token type. */
|
272
|
+
yaml_token_type_t type;
|
273
|
+
|
274
|
+
/** The token data. */
|
275
|
+
union {
|
276
|
+
|
277
|
+
/** The stream start (for @c YAML_STREAM_START_TOKEN). */
|
278
|
+
struct {
|
279
|
+
/** The stream encoding. */
|
280
|
+
yaml_encoding_t encoding;
|
281
|
+
} stream_start;
|
282
|
+
|
283
|
+
/** The alias (for @c YAML_ALIAS_TOKEN). */
|
284
|
+
struct {
|
285
|
+
/** The alias value. */
|
286
|
+
yaml_char_t *value;
|
287
|
+
} alias;
|
288
|
+
|
289
|
+
/** The anchor (for @c YAML_ANCHOR_TOKEN). */
|
290
|
+
struct {
|
291
|
+
/** The anchor value. */
|
292
|
+
yaml_char_t *value;
|
293
|
+
} anchor;
|
294
|
+
|
295
|
+
/** The tag (for @c YAML_TAG_TOKEN). */
|
296
|
+
struct {
|
297
|
+
/** The tag handle. */
|
298
|
+
yaml_char_t *handle;
|
299
|
+
/** The tag suffix. */
|
300
|
+
yaml_char_t *suffix;
|
301
|
+
} tag;
|
302
|
+
|
303
|
+
/** The scalar value (for @c YAML_SCALAR_TOKEN). */
|
304
|
+
struct {
|
305
|
+
/** The scalar value. */
|
306
|
+
yaml_char_t *value;
|
307
|
+
/** The length of the scalar value. */
|
308
|
+
size_t length;
|
309
|
+
/** The scalar style. */
|
310
|
+
yaml_scalar_style_t style;
|
311
|
+
} scalar;
|
312
|
+
|
313
|
+
/** The version directive (for @c YAML_VERSION_DIRECTIVE_TOKEN). */
|
314
|
+
struct {
|
315
|
+
/** The major version number. */
|
316
|
+
int major;
|
317
|
+
/** The minor version number. */
|
318
|
+
int minor;
|
319
|
+
} version_directive;
|
320
|
+
|
321
|
+
/** The tag directive (for @c YAML_TAG_DIRECTIVE_TOKEN). */
|
322
|
+
struct {
|
323
|
+
/** The tag handle. */
|
324
|
+
yaml_char_t *handle;
|
325
|
+
/** The tag prefix. */
|
326
|
+
yaml_char_t *prefix;
|
327
|
+
} tag_directive;
|
328
|
+
|
329
|
+
} data;
|
330
|
+
|
331
|
+
/** The beginning of the token. */
|
332
|
+
yaml_mark_t start_mark;
|
333
|
+
/** The end of the token. */
|
334
|
+
yaml_mark_t end_mark;
|
335
|
+
|
336
|
+
} yaml_token_t;
|
337
|
+
|
338
|
+
/**
|
339
|
+
* Free any memory allocated for a token object.
|
340
|
+
*
|
341
|
+
* @param[in,out] token A token object.
|
342
|
+
*/
|
343
|
+
|
344
|
+
YAML_DECLARE(void)
|
345
|
+
yaml_token_delete(yaml_token_t *token);
|
346
|
+
|
347
|
+
/** @} */
|
348
|
+
|
349
|
+
/**
|
350
|
+
* @defgroup events Events
|
351
|
+
* @{
|
352
|
+
*/
|
353
|
+
|
354
|
+
/** Event types. */
|
355
|
+
typedef enum yaml_event_type_e {
|
356
|
+
/** An empty event. */
|
357
|
+
YAML_NO_EVENT,
|
358
|
+
|
359
|
+
/** A STREAM-START event. */
|
360
|
+
YAML_STREAM_START_EVENT,
|
361
|
+
/** A STREAM-END event. */
|
362
|
+
YAML_STREAM_END_EVENT,
|
363
|
+
|
364
|
+
/** A DOCUMENT-START event. */
|
365
|
+
YAML_DOCUMENT_START_EVENT,
|
366
|
+
/** A DOCUMENT-END event. */
|
367
|
+
YAML_DOCUMENT_END_EVENT,
|
368
|
+
|
369
|
+
/** An ALIAS event. */
|
370
|
+
YAML_ALIAS_EVENT,
|
371
|
+
/** A SCALAR event. */
|
372
|
+
YAML_SCALAR_EVENT,
|
373
|
+
|
374
|
+
/** A SEQUENCE-START event. */
|
375
|
+
YAML_SEQUENCE_START_EVENT,
|
376
|
+
/** A SEQUENCE-END event. */
|
377
|
+
YAML_SEQUENCE_END_EVENT,
|
378
|
+
|
379
|
+
/** A MAPPING-START event. */
|
380
|
+
YAML_MAPPING_START_EVENT,
|
381
|
+
/** A MAPPING-END event. */
|
382
|
+
YAML_MAPPING_END_EVENT
|
383
|
+
} yaml_event_type_t;
|
384
|
+
|
385
|
+
/** The event structure. */
|
386
|
+
typedef struct yaml_event_s {
|
387
|
+
|
388
|
+
/** The event type. */
|
389
|
+
yaml_event_type_t type;
|
390
|
+
|
391
|
+
/** The event data. */
|
392
|
+
union {
|
393
|
+
|
394
|
+
/** The stream parameters (for @c YAML_STREAM_START_EVENT). */
|
395
|
+
struct {
|
396
|
+
/** The document encoding. */
|
397
|
+
yaml_encoding_t encoding;
|
398
|
+
} stream_start;
|
399
|
+
|
400
|
+
/** The document parameters (for @c YAML_DOCUMENT_START_EVENT). */
|
401
|
+
struct {
|
402
|
+
/** The version directive. */
|
403
|
+
yaml_version_directive_t *version_directive;
|
404
|
+
|
405
|
+
/** The list of tag directives. */
|
406
|
+
struct {
|
407
|
+
/** The beginning of the tag directives list. */
|
408
|
+
yaml_tag_directive_t *start;
|
409
|
+
/** The end of the tag directives list. */
|
410
|
+
yaml_tag_directive_t *end;
|
411
|
+
} tag_directives;
|
412
|
+
|
413
|
+
/** Is the document indicator implicit? */
|
414
|
+
int implicit;
|
415
|
+
} document_start;
|
416
|
+
|
417
|
+
/** The document end parameters (for @c YAML_DOCUMENT_END_EVENT). */
|
418
|
+
struct {
|
419
|
+
/** Is the document end indicator implicit? */
|
420
|
+
int implicit;
|
421
|
+
} document_end;
|
422
|
+
|
423
|
+
/** The alias parameters (for @c YAML_ALIAS_EVENT). */
|
424
|
+
struct {
|
425
|
+
/** The anchor. */
|
426
|
+
yaml_char_t *anchor;
|
427
|
+
} alias;
|
428
|
+
|
429
|
+
/** The scalar parameters (for @c YAML_SCALAR_EVENT). */
|
430
|
+
struct {
|
431
|
+
/** The anchor. */
|
432
|
+
yaml_char_t *anchor;
|
433
|
+
/** The tag. */
|
434
|
+
yaml_char_t *tag;
|
435
|
+
/** The scalar value. */
|
436
|
+
yaml_char_t *value;
|
437
|
+
/** The length of the scalar value. */
|
438
|
+
size_t length;
|
439
|
+
/** Is the tag optional for the plain style? */
|
440
|
+
int plain_implicit;
|
441
|
+
/** Is the tag optional for any non-plain style? */
|
442
|
+
int quoted_implicit;
|
443
|
+
/** The scalar style. */
|
444
|
+
yaml_scalar_style_t style;
|
445
|
+
} scalar;
|
446
|
+
|
447
|
+
/** The sequence parameters (for @c YAML_SEQUENCE_START_EVENT). */
|
448
|
+
struct {
|
449
|
+
/** The anchor. */
|
450
|
+
yaml_char_t *anchor;
|
451
|
+
/** The tag. */
|
452
|
+
yaml_char_t *tag;
|
453
|
+
/** Is the tag optional? */
|
454
|
+
int implicit;
|
455
|
+
/** The sequence style. */
|
456
|
+
yaml_sequence_style_t style;
|
457
|
+
} sequence_start;
|
458
|
+
|
459
|
+
/** The mapping parameters (for @c YAML_MAPPING_START_EVENT). */
|
460
|
+
struct {
|
461
|
+
/** The anchor. */
|
462
|
+
yaml_char_t *anchor;
|
463
|
+
/** The tag. */
|
464
|
+
yaml_char_t *tag;
|
465
|
+
/** Is the tag optional? */
|
466
|
+
int implicit;
|
467
|
+
/** The mapping style. */
|
468
|
+
yaml_mapping_style_t style;
|
469
|
+
} mapping_start;
|
470
|
+
|
471
|
+
} data;
|
472
|
+
|
473
|
+
/** The beginning of the event. */
|
474
|
+
yaml_mark_t start_mark;
|
475
|
+
/** The end of the event. */
|
476
|
+
yaml_mark_t end_mark;
|
477
|
+
|
478
|
+
} yaml_event_t;
|
479
|
+
|
480
|
+
/**
|
481
|
+
* Create the STREAM-START event.
|
482
|
+
*
|
483
|
+
* @param[out] event An empty event object.
|
484
|
+
* @param[in] encoding The stream encoding.
|
485
|
+
*
|
486
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
487
|
+
*/
|
488
|
+
|
489
|
+
YAML_DECLARE(int)
|
490
|
+
yaml_stream_start_event_initialize(yaml_event_t *event,
|
491
|
+
yaml_encoding_t encoding);
|
492
|
+
|
493
|
+
/**
|
494
|
+
* Create the STREAM-END event.
|
495
|
+
*
|
496
|
+
* @param[out] event An empty event object.
|
497
|
+
*
|
498
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
499
|
+
*/
|
500
|
+
|
501
|
+
YAML_DECLARE(int)
|
502
|
+
yaml_stream_end_event_initialize(yaml_event_t *event);
|
503
|
+
|
504
|
+
/**
|
505
|
+
* Create the DOCUMENT-START event.
|
506
|
+
*
|
507
|
+
* The @a implicit argument is considered as a stylistic parameter and may be
|
508
|
+
* ignored by the emitter.
|
509
|
+
*
|
510
|
+
* @param[out] event An empty event object.
|
511
|
+
* @param[in] version_directive The %YAML directive value or
|
512
|
+
* @c NULL.
|
513
|
+
* @param[in] tag_directives_start The beginning of the %TAG
|
514
|
+
* directives list.
|
515
|
+
* @param[in] tag_directives_end The end of the %TAG directives
|
516
|
+
* list.
|
517
|
+
* @param[in] implicit If the document start indicator is
|
518
|
+
* implicit.
|
519
|
+
*
|
520
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
521
|
+
*/
|
522
|
+
|
523
|
+
YAML_DECLARE(int)
|
524
|
+
yaml_document_start_event_initialize(yaml_event_t *event,
|
525
|
+
yaml_version_directive_t *version_directive,
|
526
|
+
yaml_tag_directive_t *tag_directives_start,
|
527
|
+
yaml_tag_directive_t *tag_directives_end,
|
528
|
+
int implicit);
|
529
|
+
|
530
|
+
/**
|
531
|
+
* Create the DOCUMENT-END event.
|
532
|
+
*
|
533
|
+
* The @a implicit argument is considered as a stylistic parameter and may be
|
534
|
+
* ignored by the emitter.
|
535
|
+
*
|
536
|
+
* @param[out] event An empty event object.
|
537
|
+
* @param[in] implicit If the document end indicator is implicit.
|
538
|
+
*
|
539
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
540
|
+
*/
|
541
|
+
|
542
|
+
YAML_DECLARE(int)
|
543
|
+
yaml_document_end_event_initialize(yaml_event_t *event, int implicit);
|
544
|
+
|
545
|
+
/**
|
546
|
+
* Create an ALIAS event.
|
547
|
+
*
|
548
|
+
* @param[out] event An empty event object.
|
549
|
+
* @param[in] anchor The anchor value.
|
550
|
+
*
|
551
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
552
|
+
*/
|
553
|
+
|
554
|
+
YAML_DECLARE(int)
|
555
|
+
yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor);
|
556
|
+
|
557
|
+
/**
|
558
|
+
* Create a SCALAR event.
|
559
|
+
*
|
560
|
+
* The @a style argument may be ignored by the emitter.
|
561
|
+
*
|
562
|
+
* Either the @a tag attribute or one of the @a plain_implicit and
|
563
|
+
* @a quoted_implicit flags must be set.
|
564
|
+
*
|
565
|
+
* @param[out] event An empty event object.
|
566
|
+
* @param[in] anchor The scalar anchor or @c NULL.
|
567
|
+
* @param[in] tag The scalar tag or @c NULL.
|
568
|
+
* @param[in] value The scalar value.
|
569
|
+
* @param[in] length The length of the scalar value.
|
570
|
+
* @param[in] plain_implicit If the tag may be omitted for the plain
|
571
|
+
* style.
|
572
|
+
* @param[in] quoted_implicit If the tag may be omitted for any
|
573
|
+
* non-plain style.
|
574
|
+
* @param[in] style The scalar style.
|
575
|
+
*
|
576
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
577
|
+
*/
|
578
|
+
|
579
|
+
YAML_DECLARE(int)
|
580
|
+
yaml_scalar_event_initialize(yaml_event_t *event,
|
581
|
+
const yaml_char_t *anchor, const yaml_char_t *tag,
|
582
|
+
const yaml_char_t *value, int length,
|
583
|
+
int plain_implicit, int quoted_implicit,
|
584
|
+
yaml_scalar_style_t style);
|
585
|
+
|
586
|
+
/**
|
587
|
+
* Create a SEQUENCE-START event.
|
588
|
+
*
|
589
|
+
* The @a style argument may be ignored by the emitter.
|
590
|
+
*
|
591
|
+
* Either the @a tag attribute or the @a implicit flag must be set.
|
592
|
+
*
|
593
|
+
* @param[out] event An empty event object.
|
594
|
+
* @param[in] anchor The sequence anchor or @c NULL.
|
595
|
+
* @param[in] tag The sequence tag or @c NULL.
|
596
|
+
* @param[in] implicit If the tag may be omitted.
|
597
|
+
* @param[in] style The sequence style.
|
598
|
+
*
|
599
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
600
|
+
*/
|
601
|
+
|
602
|
+
YAML_DECLARE(int)
|
603
|
+
yaml_sequence_start_event_initialize(yaml_event_t *event,
|
604
|
+
const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
|
605
|
+
yaml_sequence_style_t style);
|
606
|
+
|
607
|
+
/**
|
608
|
+
* Create a SEQUENCE-END event.
|
609
|
+
*
|
610
|
+
* @param[out] event An empty event object.
|
611
|
+
*
|
612
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
613
|
+
*/
|
614
|
+
|
615
|
+
YAML_DECLARE(int)
|
616
|
+
yaml_sequence_end_event_initialize(yaml_event_t *event);
|
617
|
+
|
618
|
+
/**
|
619
|
+
* Create a MAPPING-START event.
|
620
|
+
*
|
621
|
+
* The @a style argument may be ignored by the emitter.
|
622
|
+
*
|
623
|
+
* Either the @a tag attribute or the @a implicit flag must be set.
|
624
|
+
*
|
625
|
+
* @param[out] event An empty event object.
|
626
|
+
* @param[in] anchor The mapping anchor or @c NULL.
|
627
|
+
* @param[in] tag The mapping tag or @c NULL.
|
628
|
+
* @param[in] implicit If the tag may be omitted.
|
629
|
+
* @param[in] style The mapping style.
|
630
|
+
*
|
631
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
632
|
+
*/
|
633
|
+
|
634
|
+
YAML_DECLARE(int)
|
635
|
+
yaml_mapping_start_event_initialize(yaml_event_t *event,
|
636
|
+
const yaml_char_t *anchor, const yaml_char_t *tag, int implicit,
|
637
|
+
yaml_mapping_style_t style);
|
638
|
+
|
639
|
+
/**
|
640
|
+
* Create a MAPPING-END event.
|
641
|
+
*
|
642
|
+
* @param[out] event An empty event object.
|
643
|
+
*
|
644
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
645
|
+
*/
|
646
|
+
|
647
|
+
YAML_DECLARE(int)
|
648
|
+
yaml_mapping_end_event_initialize(yaml_event_t *event);
|
649
|
+
|
650
|
+
/**
|
651
|
+
* Free any memory allocated for an event object.
|
652
|
+
*
|
653
|
+
* @param[in,out] event An event object.
|
654
|
+
*/
|
655
|
+
|
656
|
+
YAML_DECLARE(void)
|
657
|
+
yaml_event_delete(yaml_event_t *event);
|
658
|
+
|
659
|
+
/** @} */
|
660
|
+
|
661
|
+
/**
|
662
|
+
* @defgroup nodes Nodes
|
663
|
+
* @{
|
664
|
+
*/
|
665
|
+
|
666
|
+
/** The tag @c !!null with the only possible value: @c null. */
|
667
|
+
#define YAML_NULL_TAG "tag:yaml.org,2002:null"
|
668
|
+
/** The tag @c !!bool with the values: @c true and @c false. */
|
669
|
+
#define YAML_BOOL_TAG "tag:yaml.org,2002:bool"
|
670
|
+
/** The tag @c !!str for string values. */
|
671
|
+
#define YAML_STR_TAG "tag:yaml.org,2002:str"
|
672
|
+
/** The tag @c !!int for integer values. */
|
673
|
+
#define YAML_INT_TAG "tag:yaml.org,2002:int"
|
674
|
+
/** The tag @c !!float for float values. */
|
675
|
+
#define YAML_FLOAT_TAG "tag:yaml.org,2002:float"
|
676
|
+
/** The tag @c !!timestamp for date and time values. */
|
677
|
+
#define YAML_TIMESTAMP_TAG "tag:yaml.org,2002:timestamp"
|
678
|
+
|
679
|
+
/** The tag @c !!seq is used to denote sequences. */
|
680
|
+
#define YAML_SEQ_TAG "tag:yaml.org,2002:seq"
|
681
|
+
/** The tag @c !!map is used to denote mapping. */
|
682
|
+
#define YAML_MAP_TAG "tag:yaml.org,2002:map"
|
683
|
+
|
684
|
+
/** The default scalar tag is @c !!str. */
|
685
|
+
#define YAML_DEFAULT_SCALAR_TAG YAML_STR_TAG
|
686
|
+
/** The default sequence tag is @c !!seq. */
|
687
|
+
#define YAML_DEFAULT_SEQUENCE_TAG YAML_SEQ_TAG
|
688
|
+
/** The default mapping tag is @c !!map. */
|
689
|
+
#define YAML_DEFAULT_MAPPING_TAG YAML_MAP_TAG
|
690
|
+
|
691
|
+
/** Node types. */
|
692
|
+
typedef enum yaml_node_type_e {
|
693
|
+
/** An empty node. */
|
694
|
+
YAML_NO_NODE,
|
695
|
+
|
696
|
+
/** A scalar node. */
|
697
|
+
YAML_SCALAR_NODE,
|
698
|
+
/** A sequence node. */
|
699
|
+
YAML_SEQUENCE_NODE,
|
700
|
+
/** A mapping node. */
|
701
|
+
YAML_MAPPING_NODE
|
702
|
+
} yaml_node_type_t;
|
703
|
+
|
704
|
+
/** The forward definition of a document node structure. */
|
705
|
+
typedef struct yaml_node_s yaml_node_t;
|
706
|
+
|
707
|
+
/** An element of a sequence node. */
|
708
|
+
typedef int yaml_node_item_t;
|
709
|
+
|
710
|
+
/** An element of a mapping node. */
|
711
|
+
typedef struct yaml_node_pair_s {
|
712
|
+
/** The key of the element. */
|
713
|
+
int key;
|
714
|
+
/** The value of the element. */
|
715
|
+
int value;
|
716
|
+
} yaml_node_pair_t;
|
717
|
+
|
718
|
+
/** The node structure. */
|
719
|
+
struct yaml_node_s {
|
720
|
+
|
721
|
+
/** The node type. */
|
722
|
+
yaml_node_type_t type;
|
723
|
+
|
724
|
+
/** The node tag. */
|
725
|
+
yaml_char_t *tag;
|
726
|
+
|
727
|
+
/** The node data. */
|
728
|
+
union {
|
729
|
+
|
730
|
+
/** The scalar parameters (for @c YAML_SCALAR_NODE). */
|
731
|
+
struct {
|
732
|
+
/** The scalar value. */
|
733
|
+
yaml_char_t *value;
|
734
|
+
/** The length of the scalar value. */
|
735
|
+
size_t length;
|
736
|
+
/** The scalar style. */
|
737
|
+
yaml_scalar_style_t style;
|
738
|
+
} scalar;
|
739
|
+
|
740
|
+
/** The sequence parameters (for @c YAML_SEQUENCE_NODE). */
|
741
|
+
struct {
|
742
|
+
/** The stack of sequence items. */
|
743
|
+
struct {
|
744
|
+
/** The beginning of the stack. */
|
745
|
+
yaml_node_item_t *start;
|
746
|
+
/** The end of the stack. */
|
747
|
+
yaml_node_item_t *end;
|
748
|
+
/** The top of the stack. */
|
749
|
+
yaml_node_item_t *top;
|
750
|
+
} items;
|
751
|
+
/** The sequence style. */
|
752
|
+
yaml_sequence_style_t style;
|
753
|
+
} sequence;
|
754
|
+
|
755
|
+
/** The mapping parameters (for @c YAML_MAPPING_NODE). */
|
756
|
+
struct {
|
757
|
+
/** The stack of mapping pairs (key, value). */
|
758
|
+
struct {
|
759
|
+
/** The beginning of the stack. */
|
760
|
+
yaml_node_pair_t *start;
|
761
|
+
/** The end of the stack. */
|
762
|
+
yaml_node_pair_t *end;
|
763
|
+
/** The top of the stack. */
|
764
|
+
yaml_node_pair_t *top;
|
765
|
+
} pairs;
|
766
|
+
/** The mapping style. */
|
767
|
+
yaml_mapping_style_t style;
|
768
|
+
} mapping;
|
769
|
+
|
770
|
+
} data;
|
771
|
+
|
772
|
+
/** The beginning of the node. */
|
773
|
+
yaml_mark_t start_mark;
|
774
|
+
/** The end of the node. */
|
775
|
+
yaml_mark_t end_mark;
|
776
|
+
|
777
|
+
};
|
778
|
+
|
779
|
+
/** The document structure. */
|
780
|
+
typedef struct yaml_document_s {
|
781
|
+
|
782
|
+
/** The document nodes. */
|
783
|
+
struct {
|
784
|
+
/** The beginning of the stack. */
|
785
|
+
yaml_node_t *start;
|
786
|
+
/** The end of the stack. */
|
787
|
+
yaml_node_t *end;
|
788
|
+
/** The top of the stack. */
|
789
|
+
yaml_node_t *top;
|
790
|
+
} nodes;
|
791
|
+
|
792
|
+
/** The version directive. */
|
793
|
+
yaml_version_directive_t *version_directive;
|
794
|
+
|
795
|
+
/** The list of tag directives. */
|
796
|
+
struct {
|
797
|
+
/** The beginning of the tag directives list. */
|
798
|
+
yaml_tag_directive_t *start;
|
799
|
+
/** The end of the tag directives list. */
|
800
|
+
yaml_tag_directive_t *end;
|
801
|
+
} tag_directives;
|
802
|
+
|
803
|
+
/** Is the document start indicator implicit? */
|
804
|
+
int start_implicit;
|
805
|
+
/** Is the document end indicator implicit? */
|
806
|
+
int end_implicit;
|
807
|
+
|
808
|
+
/** The beginning of the document. */
|
809
|
+
yaml_mark_t start_mark;
|
810
|
+
/** The end of the document. */
|
811
|
+
yaml_mark_t end_mark;
|
812
|
+
|
813
|
+
} yaml_document_t;
|
814
|
+
|
815
|
+
/**
|
816
|
+
* Create a YAML document.
|
817
|
+
*
|
818
|
+
* @param[out] document An empty document object.
|
819
|
+
* @param[in] version_directive The %YAML directive value or
|
820
|
+
* @c NULL.
|
821
|
+
* @param[in] tag_directives_start The beginning of the %TAG
|
822
|
+
* directives list.
|
823
|
+
* @param[in] tag_directives_end The end of the %TAG directives
|
824
|
+
* list.
|
825
|
+
* @param[in] start_implicit If the document start indicator is
|
826
|
+
* implicit.
|
827
|
+
* @param[in] end_implicit If the document end indicator is
|
828
|
+
* implicit.
|
829
|
+
*
|
830
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
831
|
+
*/
|
832
|
+
|
833
|
+
YAML_DECLARE(int)
|
834
|
+
yaml_document_initialize(yaml_document_t *document,
|
835
|
+
yaml_version_directive_t *version_directive,
|
836
|
+
yaml_tag_directive_t *tag_directives_start,
|
837
|
+
yaml_tag_directive_t *tag_directives_end,
|
838
|
+
int start_implicit, int end_implicit);
|
839
|
+
|
840
|
+
/**
|
841
|
+
* Delete a YAML document and all its nodes.
|
842
|
+
*
|
843
|
+
* @param[in,out] document A document object.
|
844
|
+
*/
|
845
|
+
|
846
|
+
YAML_DECLARE(void)
|
847
|
+
yaml_document_delete(yaml_document_t *document);
|
848
|
+
|
849
|
+
/**
|
850
|
+
* Get a node of a YAML document.
|
851
|
+
*
|
852
|
+
* The pointer returned by this function is valid until any of the functions
|
853
|
+
* modifying the documents are called.
|
854
|
+
*
|
855
|
+
* @param[in] document A document object.
|
856
|
+
* @param[in] index The node id.
|
857
|
+
*
|
858
|
+
* @returns the node objct or @c NULL if @c node_id is out of range.
|
859
|
+
*/
|
860
|
+
|
861
|
+
YAML_DECLARE(yaml_node_t *)
|
862
|
+
yaml_document_get_node(yaml_document_t *document, int index);
|
863
|
+
|
864
|
+
/**
|
865
|
+
* Get the root of a YAML document node.
|
866
|
+
*
|
867
|
+
* The root object is the first object added to the document.
|
868
|
+
*
|
869
|
+
* The pointer returned by this function is valid until any of the functions
|
870
|
+
* modifying the documents are called.
|
871
|
+
*
|
872
|
+
* An empty document produced by the parser signifies the end of a YAML
|
873
|
+
* stream.
|
874
|
+
*
|
875
|
+
* @param[in] document A document object.
|
876
|
+
*
|
877
|
+
* @returns the node object or @c NULL if the document is empty.
|
878
|
+
*/
|
879
|
+
|
880
|
+
YAML_DECLARE(yaml_node_t *)
|
881
|
+
yaml_document_get_root_node(yaml_document_t *document);
|
882
|
+
|
883
|
+
/**
|
884
|
+
* Create a SCALAR node and attach it to the document.
|
885
|
+
*
|
886
|
+
* The @a style argument may be ignored by the emitter.
|
887
|
+
*
|
888
|
+
* @param[in,out] document A document object.
|
889
|
+
* @param[in] tag The scalar tag.
|
890
|
+
* @param[in] value The scalar value.
|
891
|
+
* @param[in] length The length of the scalar value.
|
892
|
+
* @param[in] style The scalar style.
|
893
|
+
*
|
894
|
+
* @returns the node id or @c 0 on error.
|
895
|
+
*/
|
896
|
+
|
897
|
+
YAML_DECLARE(int)
|
898
|
+
yaml_document_add_scalar(yaml_document_t *document,
|
899
|
+
const yaml_char_t *tag, const yaml_char_t *value, int length,
|
900
|
+
yaml_scalar_style_t style);
|
901
|
+
|
902
|
+
/**
|
903
|
+
* Create a SEQUENCE node and attach it to the document.
|
904
|
+
*
|
905
|
+
* The @a style argument may be ignored by the emitter.
|
906
|
+
*
|
907
|
+
* @param[in,out] document A document object.
|
908
|
+
* @param[in] tag The sequence tag.
|
909
|
+
* @param[in] style The sequence style.
|
910
|
+
*
|
911
|
+
* @returns the node id or @c 0 on error.
|
912
|
+
*/
|
913
|
+
|
914
|
+
YAML_DECLARE(int)
|
915
|
+
yaml_document_add_sequence(yaml_document_t *document,
|
916
|
+
const yaml_char_t *tag, yaml_sequence_style_t style);
|
917
|
+
|
918
|
+
/**
|
919
|
+
* Create a MAPPING node and attach it to the document.
|
920
|
+
*
|
921
|
+
* The @a style argument may be ignored by the emitter.
|
922
|
+
*
|
923
|
+
* @param[in,out] document A document object.
|
924
|
+
* @param[in] tag The sequence tag.
|
925
|
+
* @param[in] style The sequence style.
|
926
|
+
*
|
927
|
+
* @returns the node id or @c 0 on error.
|
928
|
+
*/
|
929
|
+
|
930
|
+
YAML_DECLARE(int)
|
931
|
+
yaml_document_add_mapping(yaml_document_t *document,
|
932
|
+
const yaml_char_t *tag, yaml_mapping_style_t style);
|
933
|
+
|
934
|
+
/**
|
935
|
+
* Add an item to a SEQUENCE node.
|
936
|
+
*
|
937
|
+
* @param[in,out] document A document object.
|
938
|
+
* @param[in] sequence The sequence node id.
|
939
|
+
* @param[in] item The item node id.
|
940
|
+
*
|
941
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
942
|
+
*/
|
943
|
+
|
944
|
+
YAML_DECLARE(int)
|
945
|
+
yaml_document_append_sequence_item(yaml_document_t *document,
|
946
|
+
int sequence, int item);
|
947
|
+
|
948
|
+
/**
|
949
|
+
* Add a pair of a key and a value to a MAPPING node.
|
950
|
+
*
|
951
|
+
* @param[in,out] document A document object.
|
952
|
+
* @param[in] mapping The mapping node id.
|
953
|
+
* @param[in] key The key node id.
|
954
|
+
* @param[in] value The value node id.
|
955
|
+
*
|
956
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
957
|
+
*/
|
958
|
+
|
959
|
+
YAML_DECLARE(int)
|
960
|
+
yaml_document_append_mapping_pair(yaml_document_t *document,
|
961
|
+
int mapping, int key, int value);
|
962
|
+
|
963
|
+
/** @} */
|
964
|
+
|
965
|
+
/**
|
966
|
+
* @defgroup parser Parser Definitions
|
967
|
+
* @{
|
968
|
+
*/
|
969
|
+
|
970
|
+
/**
|
971
|
+
* The prototype of a read handler.
|
972
|
+
*
|
973
|
+
* The read handler is called when the parser needs to read more bytes from the
|
974
|
+
* source. The handler should write not more than @a size bytes to the @a
|
975
|
+
* buffer. The number of written bytes should be set to the @a length variable.
|
976
|
+
*
|
977
|
+
* @param[in,out] data A pointer to an application data specified by
|
978
|
+
* yaml_parser_set_input().
|
979
|
+
* @param[out] buffer The buffer to write the data from the source.
|
980
|
+
* @param[in] size The size of the buffer.
|
981
|
+
* @param[out] size_read The actual number of bytes read from the source.
|
982
|
+
*
|
983
|
+
* @returns On success, the handler should return @c 1. If the handler failed,
|
984
|
+
* the returned value should be @c 0. On EOF, the handler should set the
|
985
|
+
* @a size_read to @c 0 and return @c 1.
|
986
|
+
*/
|
987
|
+
|
988
|
+
typedef int yaml_read_handler_t(void *data, unsigned char *buffer, size_t size,
|
989
|
+
size_t *size_read);
|
990
|
+
|
991
|
+
/**
|
992
|
+
* This structure holds information about a potential simple key.
|
993
|
+
*/
|
994
|
+
|
995
|
+
typedef struct yaml_simple_key_s {
|
996
|
+
/** Is a simple key possible? */
|
997
|
+
int possible;
|
998
|
+
|
999
|
+
/** Is a simple key required? */
|
1000
|
+
int required;
|
1001
|
+
|
1002
|
+
/** The number of the token. */
|
1003
|
+
size_t token_number;
|
1004
|
+
|
1005
|
+
/** The position mark. */
|
1006
|
+
yaml_mark_t mark;
|
1007
|
+
} yaml_simple_key_t;
|
1008
|
+
|
1009
|
+
/**
|
1010
|
+
* The states of the parser.
|
1011
|
+
*/
|
1012
|
+
typedef enum yaml_parser_state_e {
|
1013
|
+
/** Expect STREAM-START. */
|
1014
|
+
YAML_PARSE_STREAM_START_STATE,
|
1015
|
+
/** Expect the beginning of an implicit document. */
|
1016
|
+
YAML_PARSE_IMPLICIT_DOCUMENT_START_STATE,
|
1017
|
+
/** Expect DOCUMENT-START. */
|
1018
|
+
YAML_PARSE_DOCUMENT_START_STATE,
|
1019
|
+
/** Expect the content of a document. */
|
1020
|
+
YAML_PARSE_DOCUMENT_CONTENT_STATE,
|
1021
|
+
/** Expect DOCUMENT-END. */
|
1022
|
+
YAML_PARSE_DOCUMENT_END_STATE,
|
1023
|
+
|
1024
|
+
/** Expect a block node. */
|
1025
|
+
YAML_PARSE_BLOCK_NODE_STATE,
|
1026
|
+
/** Expect a block node or indentless sequence. */
|
1027
|
+
YAML_PARSE_BLOCK_NODE_OR_INDENTLESS_SEQUENCE_STATE,
|
1028
|
+
/** Expect a flow node. */
|
1029
|
+
YAML_PARSE_FLOW_NODE_STATE,
|
1030
|
+
/** Expect the first entry of a block sequence. */
|
1031
|
+
YAML_PARSE_BLOCK_SEQUENCE_FIRST_ENTRY_STATE,
|
1032
|
+
/** Expect an entry of a block sequence. */
|
1033
|
+
YAML_PARSE_BLOCK_SEQUENCE_ENTRY_STATE,
|
1034
|
+
|
1035
|
+
/** Expect an entry of an indentless sequence. */
|
1036
|
+
YAML_PARSE_INDENTLESS_SEQUENCE_ENTRY_STATE,
|
1037
|
+
/** Expect the first key of a block mapping. */
|
1038
|
+
YAML_PARSE_BLOCK_MAPPING_FIRST_KEY_STATE,
|
1039
|
+
/** Expect a block mapping key. */
|
1040
|
+
YAML_PARSE_BLOCK_MAPPING_KEY_STATE,
|
1041
|
+
/** Expect a block mapping value. */
|
1042
|
+
YAML_PARSE_BLOCK_MAPPING_VALUE_STATE,
|
1043
|
+
/** Expect the first entry of a flow sequence. */
|
1044
|
+
YAML_PARSE_FLOW_SEQUENCE_FIRST_ENTRY_STATE,
|
1045
|
+
|
1046
|
+
/** Expect an entry of a flow sequence. */
|
1047
|
+
YAML_PARSE_FLOW_SEQUENCE_ENTRY_STATE,
|
1048
|
+
/** Expect a key of an ordered mapping. */
|
1049
|
+
YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_KEY_STATE,
|
1050
|
+
/** Expect a value of an ordered mapping. */
|
1051
|
+
YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE,
|
1052
|
+
/** Expect the and of an ordered mapping entry. */
|
1053
|
+
YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_END_STATE,
|
1054
|
+
/** Expect the first key of a flow mapping. */
|
1055
|
+
YAML_PARSE_FLOW_MAPPING_FIRST_KEY_STATE,
|
1056
|
+
/** Expect a key of a flow mapping. */
|
1057
|
+
|
1058
|
+
YAML_PARSE_FLOW_MAPPING_KEY_STATE,
|
1059
|
+
/** Expect a value of a flow mapping. */
|
1060
|
+
YAML_PARSE_FLOW_MAPPING_VALUE_STATE,
|
1061
|
+
/** Expect an empty value of a flow mapping. */
|
1062
|
+
YAML_PARSE_FLOW_MAPPING_EMPTY_VALUE_STATE,
|
1063
|
+
/** Expect nothing. */
|
1064
|
+
YAML_PARSE_END_STATE
|
1065
|
+
} yaml_parser_state_t;
|
1066
|
+
|
1067
|
+
/**
|
1068
|
+
* This structure holds aliases data.
|
1069
|
+
*/
|
1070
|
+
|
1071
|
+
typedef struct yaml_alias_data_s {
|
1072
|
+
/** The anchor. */
|
1073
|
+
yaml_char_t *anchor;
|
1074
|
+
/** The node id. */
|
1075
|
+
int index;
|
1076
|
+
/** The anchor mark. */
|
1077
|
+
yaml_mark_t mark;
|
1078
|
+
} yaml_alias_data_t;
|
1079
|
+
|
1080
|
+
/**
|
1081
|
+
* The parser structure.
|
1082
|
+
*
|
1083
|
+
* All members are internal. Manage the structure using the @c yaml_parser_
|
1084
|
+
* family of functions.
|
1085
|
+
*/
|
1086
|
+
|
1087
|
+
typedef struct yaml_parser_s {
|
1088
|
+
|
1089
|
+
/**
|
1090
|
+
* @name Error handling
|
1091
|
+
* @{
|
1092
|
+
*/
|
1093
|
+
|
1094
|
+
/** Error type. */
|
1095
|
+
yaml_error_type_t error;
|
1096
|
+
/** Error description. */
|
1097
|
+
const char *problem;
|
1098
|
+
/** The byte about which the problem occurred. */
|
1099
|
+
size_t problem_offset;
|
1100
|
+
/** The problematic value (@c -1 is none). */
|
1101
|
+
int problem_value;
|
1102
|
+
/** The problem position. */
|
1103
|
+
yaml_mark_t problem_mark;
|
1104
|
+
/** The error context. */
|
1105
|
+
const char *context;
|
1106
|
+
/** The context position. */
|
1107
|
+
yaml_mark_t context_mark;
|
1108
|
+
|
1109
|
+
/**
|
1110
|
+
* @}
|
1111
|
+
*/
|
1112
|
+
|
1113
|
+
/**
|
1114
|
+
* @name Reader stuff
|
1115
|
+
* @{
|
1116
|
+
*/
|
1117
|
+
|
1118
|
+
/** Read handler. */
|
1119
|
+
yaml_read_handler_t *read_handler;
|
1120
|
+
|
1121
|
+
/** A pointer for passing to the read handler. */
|
1122
|
+
void *read_handler_data;
|
1123
|
+
|
1124
|
+
/** Standard (string or file) input data. */
|
1125
|
+
union {
|
1126
|
+
/** String input data. */
|
1127
|
+
struct {
|
1128
|
+
/** The string start pointer. */
|
1129
|
+
const unsigned char *start;
|
1130
|
+
/** The string end pointer. */
|
1131
|
+
const unsigned char *end;
|
1132
|
+
/** The string current position. */
|
1133
|
+
const unsigned char *current;
|
1134
|
+
} string;
|
1135
|
+
|
1136
|
+
/** File input data. */
|
1137
|
+
FILE *file;
|
1138
|
+
} input;
|
1139
|
+
|
1140
|
+
/** EOF flag */
|
1141
|
+
int eof;
|
1142
|
+
|
1143
|
+
/** The working buffer. */
|
1144
|
+
struct {
|
1145
|
+
/** The beginning of the buffer. */
|
1146
|
+
yaml_char_t *start;
|
1147
|
+
/** The end of the buffer. */
|
1148
|
+
yaml_char_t *end;
|
1149
|
+
/** The current position of the buffer. */
|
1150
|
+
yaml_char_t *pointer;
|
1151
|
+
/** The last filled position of the buffer. */
|
1152
|
+
yaml_char_t *last;
|
1153
|
+
} buffer;
|
1154
|
+
|
1155
|
+
/* The number of unread characters in the buffer. */
|
1156
|
+
size_t unread;
|
1157
|
+
|
1158
|
+
/** The raw buffer. */
|
1159
|
+
struct {
|
1160
|
+
/** The beginning of the buffer. */
|
1161
|
+
unsigned char *start;
|
1162
|
+
/** The end of the buffer. */
|
1163
|
+
unsigned char *end;
|
1164
|
+
/** The current position of the buffer. */
|
1165
|
+
unsigned char *pointer;
|
1166
|
+
/** The last filled position of the buffer. */
|
1167
|
+
unsigned char *last;
|
1168
|
+
} raw_buffer;
|
1169
|
+
|
1170
|
+
/** The input encoding. */
|
1171
|
+
yaml_encoding_t encoding;
|
1172
|
+
|
1173
|
+
/** The offset of the current position (in bytes). */
|
1174
|
+
size_t offset;
|
1175
|
+
|
1176
|
+
/** The mark of the current position. */
|
1177
|
+
yaml_mark_t mark;
|
1178
|
+
|
1179
|
+
/**
|
1180
|
+
* @}
|
1181
|
+
*/
|
1182
|
+
|
1183
|
+
/**
|
1184
|
+
* @name Scanner stuff
|
1185
|
+
* @{
|
1186
|
+
*/
|
1187
|
+
|
1188
|
+
/** Have we started to scan the input stream? */
|
1189
|
+
int stream_start_produced;
|
1190
|
+
|
1191
|
+
/** Have we reached the end of the input stream? */
|
1192
|
+
int stream_end_produced;
|
1193
|
+
|
1194
|
+
/** The number of unclosed '[' and '{' indicators. */
|
1195
|
+
int flow_level;
|
1196
|
+
|
1197
|
+
/** The tokens queue. */
|
1198
|
+
struct {
|
1199
|
+
/** The beginning of the tokens queue. */
|
1200
|
+
yaml_token_t *start;
|
1201
|
+
/** The end of the tokens queue. */
|
1202
|
+
yaml_token_t *end;
|
1203
|
+
/** The head of the tokens queue. */
|
1204
|
+
yaml_token_t *head;
|
1205
|
+
/** The tail of the tokens queue. */
|
1206
|
+
yaml_token_t *tail;
|
1207
|
+
} tokens;
|
1208
|
+
|
1209
|
+
/** The number of tokens fetched from the queue. */
|
1210
|
+
size_t tokens_parsed;
|
1211
|
+
|
1212
|
+
/** Does the tokens queue contain a token ready for dequeueing. */
|
1213
|
+
int token_available;
|
1214
|
+
|
1215
|
+
/** The indentation levels stack. */
|
1216
|
+
struct {
|
1217
|
+
/** The beginning of the stack. */
|
1218
|
+
int *start;
|
1219
|
+
/** The end of the stack. */
|
1220
|
+
int *end;
|
1221
|
+
/** The top of the stack. */
|
1222
|
+
int *top;
|
1223
|
+
} indents;
|
1224
|
+
|
1225
|
+
/** The current indentation level. */
|
1226
|
+
int indent;
|
1227
|
+
|
1228
|
+
/** May a simple key occur at the current position? */
|
1229
|
+
int simple_key_allowed;
|
1230
|
+
|
1231
|
+
/** The stack of simple keys. */
|
1232
|
+
struct {
|
1233
|
+
/** The beginning of the stack. */
|
1234
|
+
yaml_simple_key_t *start;
|
1235
|
+
/** The end of the stack. */
|
1236
|
+
yaml_simple_key_t *end;
|
1237
|
+
/** The top of the stack. */
|
1238
|
+
yaml_simple_key_t *top;
|
1239
|
+
} simple_keys;
|
1240
|
+
|
1241
|
+
/**
|
1242
|
+
* @}
|
1243
|
+
*/
|
1244
|
+
|
1245
|
+
/**
|
1246
|
+
* @name Parser stuff
|
1247
|
+
* @{
|
1248
|
+
*/
|
1249
|
+
|
1250
|
+
/** The parser states stack. */
|
1251
|
+
struct {
|
1252
|
+
/** The beginning of the stack. */
|
1253
|
+
yaml_parser_state_t *start;
|
1254
|
+
/** The end of the stack. */
|
1255
|
+
yaml_parser_state_t *end;
|
1256
|
+
/** The top of the stack. */
|
1257
|
+
yaml_parser_state_t *top;
|
1258
|
+
} states;
|
1259
|
+
|
1260
|
+
/** The current parser state. */
|
1261
|
+
yaml_parser_state_t state;
|
1262
|
+
|
1263
|
+
/** The stack of marks. */
|
1264
|
+
struct {
|
1265
|
+
/** The beginning of the stack. */
|
1266
|
+
yaml_mark_t *start;
|
1267
|
+
/** The end of the stack. */
|
1268
|
+
yaml_mark_t *end;
|
1269
|
+
/** The top of the stack. */
|
1270
|
+
yaml_mark_t *top;
|
1271
|
+
} marks;
|
1272
|
+
|
1273
|
+
/** The list of TAG directives. */
|
1274
|
+
struct {
|
1275
|
+
/** The beginning of the list. */
|
1276
|
+
yaml_tag_directive_t *start;
|
1277
|
+
/** The end of the list. */
|
1278
|
+
yaml_tag_directive_t *end;
|
1279
|
+
/** The top of the list. */
|
1280
|
+
yaml_tag_directive_t *top;
|
1281
|
+
} tag_directives;
|
1282
|
+
|
1283
|
+
/**
|
1284
|
+
* @}
|
1285
|
+
*/
|
1286
|
+
|
1287
|
+
/**
|
1288
|
+
* @name Dumper stuff
|
1289
|
+
* @{
|
1290
|
+
*/
|
1291
|
+
|
1292
|
+
/** The alias data. */
|
1293
|
+
struct {
|
1294
|
+
/** The beginning of the list. */
|
1295
|
+
yaml_alias_data_t *start;
|
1296
|
+
/** The end of the list. */
|
1297
|
+
yaml_alias_data_t *end;
|
1298
|
+
/** The top of the list. */
|
1299
|
+
yaml_alias_data_t *top;
|
1300
|
+
} aliases;
|
1301
|
+
|
1302
|
+
/** The currently parsed document. */
|
1303
|
+
yaml_document_t *document;
|
1304
|
+
|
1305
|
+
/**
|
1306
|
+
* @}
|
1307
|
+
*/
|
1308
|
+
|
1309
|
+
} yaml_parser_t;
|
1310
|
+
|
1311
|
+
/**
|
1312
|
+
* Initialize a parser.
|
1313
|
+
*
|
1314
|
+
* This function creates a new parser object. An application is responsible
|
1315
|
+
* for destroying the object using the yaml_parser_delete() function.
|
1316
|
+
*
|
1317
|
+
* @param[out] parser An empty parser object.
|
1318
|
+
*
|
1319
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1320
|
+
*/
|
1321
|
+
|
1322
|
+
YAML_DECLARE(int)
|
1323
|
+
yaml_parser_initialize(yaml_parser_t *parser);
|
1324
|
+
|
1325
|
+
/**
|
1326
|
+
* Destroy a parser.
|
1327
|
+
*
|
1328
|
+
* @param[in,out] parser A parser object.
|
1329
|
+
*/
|
1330
|
+
|
1331
|
+
YAML_DECLARE(void)
|
1332
|
+
yaml_parser_delete(yaml_parser_t *parser);
|
1333
|
+
|
1334
|
+
/**
|
1335
|
+
* Set a string input.
|
1336
|
+
*
|
1337
|
+
* Note that the @a input pointer must be valid while the @a parser object
|
1338
|
+
* exists. The application is responsible for destroying @a input after
|
1339
|
+
* destroying the @a parser.
|
1340
|
+
*
|
1341
|
+
* @param[in,out] parser A parser object.
|
1342
|
+
* @param[in] input A source data.
|
1343
|
+
* @param[in] size The length of the source data in bytes.
|
1344
|
+
*/
|
1345
|
+
|
1346
|
+
YAML_DECLARE(void)
|
1347
|
+
yaml_parser_set_input_string(yaml_parser_t *parser,
|
1348
|
+
const unsigned char *input, size_t size);
|
1349
|
+
|
1350
|
+
/**
|
1351
|
+
* Set a file input.
|
1352
|
+
*
|
1353
|
+
* @a file should be a file object open for reading. The application is
|
1354
|
+
* responsible for closing the @a file.
|
1355
|
+
*
|
1356
|
+
* @param[in,out] parser A parser object.
|
1357
|
+
* @param[in] file An open file.
|
1358
|
+
*/
|
1359
|
+
|
1360
|
+
YAML_DECLARE(void)
|
1361
|
+
yaml_parser_set_input_file(yaml_parser_t *parser, FILE *file);
|
1362
|
+
|
1363
|
+
/**
|
1364
|
+
* Set a generic input handler.
|
1365
|
+
*
|
1366
|
+
* @param[in,out] parser A parser object.
|
1367
|
+
* @param[in] handler A read handler.
|
1368
|
+
* @param[in] data Any application data for passing to the read
|
1369
|
+
* handler.
|
1370
|
+
*/
|
1371
|
+
|
1372
|
+
YAML_DECLARE(void)
|
1373
|
+
yaml_parser_set_input(yaml_parser_t *parser,
|
1374
|
+
yaml_read_handler_t *handler, void *data);
|
1375
|
+
|
1376
|
+
/**
|
1377
|
+
* Set the source encoding.
|
1378
|
+
*
|
1379
|
+
* @param[in,out] parser A parser object.
|
1380
|
+
* @param[in] encoding The source encoding.
|
1381
|
+
*/
|
1382
|
+
|
1383
|
+
YAML_DECLARE(void)
|
1384
|
+
yaml_parser_set_encoding(yaml_parser_t *parser, yaml_encoding_t encoding);
|
1385
|
+
|
1386
|
+
/**
|
1387
|
+
* Scan the input stream and produce the next token.
|
1388
|
+
*
|
1389
|
+
* Call the function subsequently to produce a sequence of tokens corresponding
|
1390
|
+
* to the input stream. The initial token has the type
|
1391
|
+
* @c YAML_STREAM_START_TOKEN while the ending token has the type
|
1392
|
+
* @c YAML_STREAM_END_TOKEN.
|
1393
|
+
*
|
1394
|
+
* An application is responsible for freeing any buffers associated with the
|
1395
|
+
* produced token object using the @c yaml_token_delete function.
|
1396
|
+
*
|
1397
|
+
* An application must not alternate the calls of yaml_parser_scan() with the
|
1398
|
+
* calls of yaml_parser_parse() or yaml_parser_load(). Doing this will break
|
1399
|
+
* the parser.
|
1400
|
+
*
|
1401
|
+
* @param[in,out] parser A parser object.
|
1402
|
+
* @param[out] token An empty token object.
|
1403
|
+
*
|
1404
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1405
|
+
*/
|
1406
|
+
|
1407
|
+
YAML_DECLARE(int)
|
1408
|
+
yaml_parser_scan(yaml_parser_t *parser, yaml_token_t *token);
|
1409
|
+
|
1410
|
+
/**
|
1411
|
+
* Parse the input stream and produce the next parsing event.
|
1412
|
+
*
|
1413
|
+
* Call the function subsequently to produce a sequence of events corresponding
|
1414
|
+
* to the input stream. The initial event has the type
|
1415
|
+
* @c YAML_STREAM_START_EVENT while the ending event has the type
|
1416
|
+
* @c YAML_STREAM_END_EVENT.
|
1417
|
+
*
|
1418
|
+
* An application is responsible for freeing any buffers associated with the
|
1419
|
+
* produced event object using the yaml_event_delete() function.
|
1420
|
+
*
|
1421
|
+
* An application must not alternate the calls of yaml_parser_parse() with the
|
1422
|
+
* calls of yaml_parser_scan() or yaml_parser_load(). Doing this will break the
|
1423
|
+
* parser.
|
1424
|
+
*
|
1425
|
+
* @param[in,out] parser A parser object.
|
1426
|
+
* @param[out] event An empty event object.
|
1427
|
+
*
|
1428
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1429
|
+
*/
|
1430
|
+
|
1431
|
+
YAML_DECLARE(int)
|
1432
|
+
yaml_parser_parse(yaml_parser_t *parser, yaml_event_t *event);
|
1433
|
+
|
1434
|
+
/**
|
1435
|
+
* Parse the input stream and produce the next YAML document.
|
1436
|
+
*
|
1437
|
+
* Call this function subsequently to produce a sequence of documents
|
1438
|
+
* constituting the input stream.
|
1439
|
+
*
|
1440
|
+
* If the produced document has no root node, it means that the document
|
1441
|
+
* end has been reached.
|
1442
|
+
*
|
1443
|
+
* An application is responsible for freeing any data associated with the
|
1444
|
+
* produced document object using the yaml_document_delete() function.
|
1445
|
+
*
|
1446
|
+
* An application must not alternate the calls of yaml_parser_load() with the
|
1447
|
+
* calls of yaml_parser_scan() or yaml_parser_parse(). Doing this will break
|
1448
|
+
* the parser.
|
1449
|
+
*
|
1450
|
+
* @param[in,out] parser A parser object.
|
1451
|
+
* @param[out] document An empty document object.
|
1452
|
+
*
|
1453
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1454
|
+
*/
|
1455
|
+
|
1456
|
+
YAML_DECLARE(int)
|
1457
|
+
yaml_parser_load(yaml_parser_t *parser, yaml_document_t *document);
|
1458
|
+
|
1459
|
+
/** @} */
|
1460
|
+
|
1461
|
+
/**
|
1462
|
+
* @defgroup emitter Emitter Definitions
|
1463
|
+
* @{
|
1464
|
+
*/
|
1465
|
+
|
1466
|
+
/**
|
1467
|
+
* The prototype of a write handler.
|
1468
|
+
*
|
1469
|
+
* The write handler is called when the emitter needs to flush the accumulated
|
1470
|
+
* characters to the output. The handler should write @a size bytes of the
|
1471
|
+
* @a buffer to the output.
|
1472
|
+
*
|
1473
|
+
* @param[in,out] data A pointer to an application data specified by
|
1474
|
+
* yaml_emitter_set_output().
|
1475
|
+
* @param[in] buffer The buffer with bytes to be written.
|
1476
|
+
* @param[in] size The size of the buffer.
|
1477
|
+
*
|
1478
|
+
* @returns On success, the handler should return @c 1. If the handler failed,
|
1479
|
+
* the returned value should be @c 0.
|
1480
|
+
*/
|
1481
|
+
|
1482
|
+
typedef int yaml_write_handler_t(void *data, unsigned char *buffer, size_t size);
|
1483
|
+
|
1484
|
+
/** The emitter states. */
|
1485
|
+
typedef enum yaml_emitter_state_e {
|
1486
|
+
/** Expect STREAM-START. */
|
1487
|
+
YAML_EMIT_STREAM_START_STATE,
|
1488
|
+
/** Expect the first DOCUMENT-START or STREAM-END. */
|
1489
|
+
YAML_EMIT_FIRST_DOCUMENT_START_STATE,
|
1490
|
+
/** Expect DOCUMENT-START or STREAM-END. */
|
1491
|
+
YAML_EMIT_DOCUMENT_START_STATE,
|
1492
|
+
/** Expect the content of a document. */
|
1493
|
+
YAML_EMIT_DOCUMENT_CONTENT_STATE,
|
1494
|
+
/** Expect DOCUMENT-END. */
|
1495
|
+
YAML_EMIT_DOCUMENT_END_STATE,
|
1496
|
+
|
1497
|
+
/** Expect the first item of a flow sequence. */
|
1498
|
+
YAML_EMIT_FLOW_SEQUENCE_FIRST_ITEM_STATE,
|
1499
|
+
/** Expect an item of a flow sequence. */
|
1500
|
+
YAML_EMIT_FLOW_SEQUENCE_ITEM_STATE,
|
1501
|
+
/** Expect the first key of a flow mapping. */
|
1502
|
+
YAML_EMIT_FLOW_MAPPING_FIRST_KEY_STATE,
|
1503
|
+
/** Expect a key of a flow mapping. */
|
1504
|
+
YAML_EMIT_FLOW_MAPPING_KEY_STATE,
|
1505
|
+
/** Expect a value for a simple key of a flow mapping. */
|
1506
|
+
YAML_EMIT_FLOW_MAPPING_SIMPLE_VALUE_STATE,
|
1507
|
+
|
1508
|
+
/** Expect a value of a flow mapping. */
|
1509
|
+
YAML_EMIT_FLOW_MAPPING_VALUE_STATE,
|
1510
|
+
/** Expect the first item of a block sequence. */
|
1511
|
+
YAML_EMIT_BLOCK_SEQUENCE_FIRST_ITEM_STATE,
|
1512
|
+
/** Expect an item of a block sequence. */
|
1513
|
+
YAML_EMIT_BLOCK_SEQUENCE_ITEM_STATE,
|
1514
|
+
/** Expect the first key of a block mapping. */
|
1515
|
+
YAML_EMIT_BLOCK_MAPPING_FIRST_KEY_STATE,
|
1516
|
+
/** Expect the key of a block mapping. */
|
1517
|
+
YAML_EMIT_BLOCK_MAPPING_KEY_STATE,
|
1518
|
+
|
1519
|
+
/** Expect a value for a simple key of a block mapping. */
|
1520
|
+
YAML_EMIT_BLOCK_MAPPING_SIMPLE_VALUE_STATE,
|
1521
|
+
/** Expect a value of a block mapping. */
|
1522
|
+
YAML_EMIT_BLOCK_MAPPING_VALUE_STATE,
|
1523
|
+
/** Expect nothing. */
|
1524
|
+
YAML_EMIT_END_STATE
|
1525
|
+
} yaml_emitter_state_t;
|
1526
|
+
|
1527
|
+
|
1528
|
+
/* This is needed for C++ */
|
1529
|
+
|
1530
|
+
typedef struct yaml_anchors_s {
|
1531
|
+
/** The number of references. */
|
1532
|
+
int references;
|
1533
|
+
/** The anchor id. */
|
1534
|
+
int anchor;
|
1535
|
+
/** If the node has been emitted? */
|
1536
|
+
int serialized;
|
1537
|
+
} yaml_anchors_t;
|
1538
|
+
|
1539
|
+
/**
|
1540
|
+
* The emitter structure.
|
1541
|
+
*
|
1542
|
+
* All members are internal. Manage the structure using the @c yaml_emitter_
|
1543
|
+
* family of functions.
|
1544
|
+
*/
|
1545
|
+
|
1546
|
+
typedef struct yaml_emitter_s {
|
1547
|
+
|
1548
|
+
/**
|
1549
|
+
* @name Error handling
|
1550
|
+
* @{
|
1551
|
+
*/
|
1552
|
+
|
1553
|
+
/** Error type. */
|
1554
|
+
yaml_error_type_t error;
|
1555
|
+
/** Error description. */
|
1556
|
+
const char *problem;
|
1557
|
+
|
1558
|
+
/**
|
1559
|
+
* @}
|
1560
|
+
*/
|
1561
|
+
|
1562
|
+
/**
|
1563
|
+
* @name Writer stuff
|
1564
|
+
* @{
|
1565
|
+
*/
|
1566
|
+
|
1567
|
+
/** Write handler. */
|
1568
|
+
yaml_write_handler_t *write_handler;
|
1569
|
+
|
1570
|
+
/** A pointer for passing to the write handler. */
|
1571
|
+
void *write_handler_data;
|
1572
|
+
|
1573
|
+
/** Standard (string or file) output data. */
|
1574
|
+
union {
|
1575
|
+
/** String output data. */
|
1576
|
+
struct {
|
1577
|
+
/** The buffer pointer. */
|
1578
|
+
unsigned char *buffer;
|
1579
|
+
/** The buffer size. */
|
1580
|
+
size_t size;
|
1581
|
+
/** The number of written bytes. */
|
1582
|
+
size_t *size_written;
|
1583
|
+
} string;
|
1584
|
+
|
1585
|
+
/** File output data. */
|
1586
|
+
FILE *file;
|
1587
|
+
} output;
|
1588
|
+
|
1589
|
+
/** The working buffer. */
|
1590
|
+
struct {
|
1591
|
+
/** The beginning of the buffer. */
|
1592
|
+
yaml_char_t *start;
|
1593
|
+
/** The end of the buffer. */
|
1594
|
+
yaml_char_t *end;
|
1595
|
+
/** The current position of the buffer. */
|
1596
|
+
yaml_char_t *pointer;
|
1597
|
+
/** The last filled position of the buffer. */
|
1598
|
+
yaml_char_t *last;
|
1599
|
+
} buffer;
|
1600
|
+
|
1601
|
+
/** The raw buffer. */
|
1602
|
+
struct {
|
1603
|
+
/** The beginning of the buffer. */
|
1604
|
+
unsigned char *start;
|
1605
|
+
/** The end of the buffer. */
|
1606
|
+
unsigned char *end;
|
1607
|
+
/** The current position of the buffer. */
|
1608
|
+
unsigned char *pointer;
|
1609
|
+
/** The last filled position of the buffer. */
|
1610
|
+
unsigned char *last;
|
1611
|
+
} raw_buffer;
|
1612
|
+
|
1613
|
+
/** The stream encoding. */
|
1614
|
+
yaml_encoding_t encoding;
|
1615
|
+
|
1616
|
+
/**
|
1617
|
+
* @}
|
1618
|
+
*/
|
1619
|
+
|
1620
|
+
/**
|
1621
|
+
* @name Emitter stuff
|
1622
|
+
* @{
|
1623
|
+
*/
|
1624
|
+
|
1625
|
+
/** If the output is in the canonical style? */
|
1626
|
+
int canonical;
|
1627
|
+
/** The number of indentation spaces. */
|
1628
|
+
int best_indent;
|
1629
|
+
/** The preferred width of the output lines. */
|
1630
|
+
int best_width;
|
1631
|
+
/** Allow unescaped non-ASCII characters? */
|
1632
|
+
int unicode;
|
1633
|
+
/** The preferred line break. */
|
1634
|
+
yaml_break_t line_break;
|
1635
|
+
|
1636
|
+
/** The stack of states. */
|
1637
|
+
struct {
|
1638
|
+
/** The beginning of the stack. */
|
1639
|
+
yaml_emitter_state_t *start;
|
1640
|
+
/** The end of the stack. */
|
1641
|
+
yaml_emitter_state_t *end;
|
1642
|
+
/** The top of the stack. */
|
1643
|
+
yaml_emitter_state_t *top;
|
1644
|
+
} states;
|
1645
|
+
|
1646
|
+
/** The current emitter state. */
|
1647
|
+
yaml_emitter_state_t state;
|
1648
|
+
|
1649
|
+
/** The event queue. */
|
1650
|
+
struct {
|
1651
|
+
/** The beginning of the event queue. */
|
1652
|
+
yaml_event_t *start;
|
1653
|
+
/** The end of the event queue. */
|
1654
|
+
yaml_event_t *end;
|
1655
|
+
/** The head of the event queue. */
|
1656
|
+
yaml_event_t *head;
|
1657
|
+
/** The tail of the event queue. */
|
1658
|
+
yaml_event_t *tail;
|
1659
|
+
} events;
|
1660
|
+
|
1661
|
+
/** The stack of indentation levels. */
|
1662
|
+
struct {
|
1663
|
+
/** The beginning of the stack. */
|
1664
|
+
int *start;
|
1665
|
+
/** The end of the stack. */
|
1666
|
+
int *end;
|
1667
|
+
/** The top of the stack. */
|
1668
|
+
int *top;
|
1669
|
+
} indents;
|
1670
|
+
|
1671
|
+
/** The list of tag directives. */
|
1672
|
+
struct {
|
1673
|
+
/** The beginning of the list. */
|
1674
|
+
yaml_tag_directive_t *start;
|
1675
|
+
/** The end of the list. */
|
1676
|
+
yaml_tag_directive_t *end;
|
1677
|
+
/** The top of the list. */
|
1678
|
+
yaml_tag_directive_t *top;
|
1679
|
+
} tag_directives;
|
1680
|
+
|
1681
|
+
/** The current indentation level. */
|
1682
|
+
int indent;
|
1683
|
+
|
1684
|
+
/** The current flow level. */
|
1685
|
+
int flow_level;
|
1686
|
+
|
1687
|
+
/** Is it the document root context? */
|
1688
|
+
int root_context;
|
1689
|
+
/** Is it a sequence context? */
|
1690
|
+
int sequence_context;
|
1691
|
+
/** Is it a mapping context? */
|
1692
|
+
int mapping_context;
|
1693
|
+
/** Is it a simple mapping key context? */
|
1694
|
+
int simple_key_context;
|
1695
|
+
|
1696
|
+
/** The current line. */
|
1697
|
+
int line;
|
1698
|
+
/** The current column. */
|
1699
|
+
int column;
|
1700
|
+
/** If the last character was a whitespace? */
|
1701
|
+
int whitespace;
|
1702
|
+
/** If the last character was an indentation character (' ', '-', '?', ':')? */
|
1703
|
+
int indention;
|
1704
|
+
/** If an explicit document end is required? */
|
1705
|
+
int open_ended;
|
1706
|
+
|
1707
|
+
/** Anchor analysis. */
|
1708
|
+
struct {
|
1709
|
+
/** The anchor value. */
|
1710
|
+
yaml_char_t *anchor;
|
1711
|
+
/** The anchor length. */
|
1712
|
+
size_t anchor_length;
|
1713
|
+
/** Is it an alias? */
|
1714
|
+
int alias;
|
1715
|
+
} anchor_data;
|
1716
|
+
|
1717
|
+
/** Tag analysis. */
|
1718
|
+
struct {
|
1719
|
+
/** The tag handle. */
|
1720
|
+
yaml_char_t *handle;
|
1721
|
+
/** The tag handle length. */
|
1722
|
+
size_t handle_length;
|
1723
|
+
/** The tag suffix. */
|
1724
|
+
yaml_char_t *suffix;
|
1725
|
+
/** The tag suffix length. */
|
1726
|
+
size_t suffix_length;
|
1727
|
+
} tag_data;
|
1728
|
+
|
1729
|
+
/** Scalar analysis. */
|
1730
|
+
struct {
|
1731
|
+
/** The scalar value. */
|
1732
|
+
yaml_char_t *value;
|
1733
|
+
/** The scalar length. */
|
1734
|
+
size_t length;
|
1735
|
+
/** Does the scalar contain line breaks? */
|
1736
|
+
int multiline;
|
1737
|
+
/** Can the scalar be expressed in the flow plain style? */
|
1738
|
+
int flow_plain_allowed;
|
1739
|
+
/** Can the scalar be expressed in the block plain style? */
|
1740
|
+
int block_plain_allowed;
|
1741
|
+
/** Can the scalar be expressed in the single quoted style? */
|
1742
|
+
int single_quoted_allowed;
|
1743
|
+
/** Can the scalar be expressed in the literal or folded styles? */
|
1744
|
+
int block_allowed;
|
1745
|
+
/** The output style. */
|
1746
|
+
yaml_scalar_style_t style;
|
1747
|
+
} scalar_data;
|
1748
|
+
|
1749
|
+
/**
|
1750
|
+
* @}
|
1751
|
+
*/
|
1752
|
+
|
1753
|
+
/**
|
1754
|
+
* @name Dumper stuff
|
1755
|
+
* @{
|
1756
|
+
*/
|
1757
|
+
|
1758
|
+
/** If the stream was already opened? */
|
1759
|
+
int opened;
|
1760
|
+
/** If the stream was already closed? */
|
1761
|
+
int closed;
|
1762
|
+
|
1763
|
+
/** The information associated with the document nodes. */
|
1764
|
+
yaml_anchors_t *anchors;
|
1765
|
+
|
1766
|
+
/** The last assigned anchor id. */
|
1767
|
+
int last_anchor_id;
|
1768
|
+
|
1769
|
+
/** The currently emitted document. */
|
1770
|
+
yaml_document_t *document;
|
1771
|
+
|
1772
|
+
/**
|
1773
|
+
* @}
|
1774
|
+
*/
|
1775
|
+
|
1776
|
+
} yaml_emitter_t;
|
1777
|
+
|
1778
|
+
/**
|
1779
|
+
* Initialize an emitter.
|
1780
|
+
*
|
1781
|
+
* This function creates a new emitter object. An application is responsible
|
1782
|
+
* for destroying the object using the yaml_emitter_delete() function.
|
1783
|
+
*
|
1784
|
+
* @param[out] emitter An empty parser object.
|
1785
|
+
*
|
1786
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1787
|
+
*/
|
1788
|
+
|
1789
|
+
YAML_DECLARE(int)
|
1790
|
+
yaml_emitter_initialize(yaml_emitter_t *emitter);
|
1791
|
+
|
1792
|
+
/**
|
1793
|
+
* Destroy an emitter.
|
1794
|
+
*
|
1795
|
+
* @param[in,out] emitter An emitter object.
|
1796
|
+
*/
|
1797
|
+
|
1798
|
+
YAML_DECLARE(void)
|
1799
|
+
yaml_emitter_delete(yaml_emitter_t *emitter);
|
1800
|
+
|
1801
|
+
/**
|
1802
|
+
* Set a string output.
|
1803
|
+
*
|
1804
|
+
* The emitter will write the output characters to the @a output buffer of the
|
1805
|
+
* size @a size. The emitter will set @a size_written to the number of written
|
1806
|
+
* bytes. If the buffer is smaller than required, the emitter produces the
|
1807
|
+
* YAML_WRITE_ERROR error.
|
1808
|
+
*
|
1809
|
+
* @param[in,out] emitter An emitter object.
|
1810
|
+
* @param[in] output An output buffer.
|
1811
|
+
* @param[in] size The buffer size.
|
1812
|
+
* @param[in] size_written The pointer to save the number of written
|
1813
|
+
* bytes.
|
1814
|
+
*/
|
1815
|
+
|
1816
|
+
YAML_DECLARE(void)
|
1817
|
+
yaml_emitter_set_output_string(yaml_emitter_t *emitter,
|
1818
|
+
unsigned char *output, size_t size, size_t *size_written);
|
1819
|
+
|
1820
|
+
/**
|
1821
|
+
* Set a file output.
|
1822
|
+
*
|
1823
|
+
* @a file should be a file object open for writing. The application is
|
1824
|
+
* responsible for closing the @a file.
|
1825
|
+
*
|
1826
|
+
* @param[in,out] emitter An emitter object.
|
1827
|
+
* @param[in] file An open file.
|
1828
|
+
*/
|
1829
|
+
|
1830
|
+
YAML_DECLARE(void)
|
1831
|
+
yaml_emitter_set_output_file(yaml_emitter_t *emitter, FILE *file);
|
1832
|
+
|
1833
|
+
/**
|
1834
|
+
* Set a generic output handler.
|
1835
|
+
*
|
1836
|
+
* @param[in,out] emitter An emitter object.
|
1837
|
+
* @param[in] handler A write handler.
|
1838
|
+
* @param[in] data Any application data for passing to the write
|
1839
|
+
* handler.
|
1840
|
+
*/
|
1841
|
+
|
1842
|
+
YAML_DECLARE(void)
|
1843
|
+
yaml_emitter_set_output(yaml_emitter_t *emitter,
|
1844
|
+
yaml_write_handler_t *handler, void *data);
|
1845
|
+
|
1846
|
+
/**
|
1847
|
+
* Set the output encoding.
|
1848
|
+
*
|
1849
|
+
* @param[in,out] emitter An emitter object.
|
1850
|
+
* @param[in] encoding The output encoding.
|
1851
|
+
*/
|
1852
|
+
|
1853
|
+
YAML_DECLARE(void)
|
1854
|
+
yaml_emitter_set_encoding(yaml_emitter_t *emitter, yaml_encoding_t encoding);
|
1855
|
+
|
1856
|
+
/**
|
1857
|
+
* Set if the output should be in the "canonical" format as in the YAML
|
1858
|
+
* specification.
|
1859
|
+
*
|
1860
|
+
* @param[in,out] emitter An emitter object.
|
1861
|
+
* @param[in] canonical If the output is canonical.
|
1862
|
+
*/
|
1863
|
+
|
1864
|
+
YAML_DECLARE(void)
|
1865
|
+
yaml_emitter_set_canonical(yaml_emitter_t *emitter, int canonical);
|
1866
|
+
|
1867
|
+
/**
|
1868
|
+
* Set the indentation increment.
|
1869
|
+
*
|
1870
|
+
* @param[in,out] emitter An emitter object.
|
1871
|
+
* @param[in] indent The indentation increment (1 < . < 10).
|
1872
|
+
*/
|
1873
|
+
|
1874
|
+
YAML_DECLARE(void)
|
1875
|
+
yaml_emitter_set_indent(yaml_emitter_t *emitter, int indent);
|
1876
|
+
|
1877
|
+
/**
|
1878
|
+
* Set the preferred line width. @c -1 means unlimited.
|
1879
|
+
*
|
1880
|
+
* @param[in,out] emitter An emitter object.
|
1881
|
+
* @param[in] width The preferred line width.
|
1882
|
+
*/
|
1883
|
+
|
1884
|
+
YAML_DECLARE(void)
|
1885
|
+
yaml_emitter_set_width(yaml_emitter_t *emitter, int width);
|
1886
|
+
|
1887
|
+
/**
|
1888
|
+
* Set if unescaped non-ASCII characters are allowed.
|
1889
|
+
*
|
1890
|
+
* @param[in,out] emitter An emitter object.
|
1891
|
+
* @param[in] unicode If unescaped Unicode characters are allowed.
|
1892
|
+
*/
|
1893
|
+
|
1894
|
+
YAML_DECLARE(void)
|
1895
|
+
yaml_emitter_set_unicode(yaml_emitter_t *emitter, int unicode);
|
1896
|
+
|
1897
|
+
/**
|
1898
|
+
* Set the preferred line break.
|
1899
|
+
*
|
1900
|
+
* @param[in,out] emitter An emitter object.
|
1901
|
+
* @param[in] line_break The preferred line break.
|
1902
|
+
*/
|
1903
|
+
|
1904
|
+
YAML_DECLARE(void)
|
1905
|
+
yaml_emitter_set_break(yaml_emitter_t *emitter, yaml_break_t line_break);
|
1906
|
+
|
1907
|
+
/**
|
1908
|
+
* Emit an event.
|
1909
|
+
*
|
1910
|
+
* The event object may be generated using the yaml_parser_parse() function.
|
1911
|
+
* The emitter takes the responsibility for the event object and destroys its
|
1912
|
+
* content after it is emitted. The event object is destroyed even if the
|
1913
|
+
* function fails.
|
1914
|
+
*
|
1915
|
+
* @param[in,out] emitter An emitter object.
|
1916
|
+
* @param[in,out] event An event object.
|
1917
|
+
*
|
1918
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1919
|
+
*/
|
1920
|
+
|
1921
|
+
YAML_DECLARE(int)
|
1922
|
+
yaml_emitter_emit(yaml_emitter_t *emitter, yaml_event_t *event);
|
1923
|
+
|
1924
|
+
/**
|
1925
|
+
* Start a YAML stream.
|
1926
|
+
*
|
1927
|
+
* This function should be used before yaml_emitter_dump() is called.
|
1928
|
+
*
|
1929
|
+
* @param[in,out] emitter An emitter object.
|
1930
|
+
*
|
1931
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1932
|
+
*/
|
1933
|
+
|
1934
|
+
YAML_DECLARE(int)
|
1935
|
+
yaml_emitter_open(yaml_emitter_t *emitter);
|
1936
|
+
|
1937
|
+
/**
|
1938
|
+
* Finish a YAML stream.
|
1939
|
+
*
|
1940
|
+
* This function should be used after yaml_emitter_dump() is called.
|
1941
|
+
*
|
1942
|
+
* @param[in,out] emitter An emitter object.
|
1943
|
+
*
|
1944
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1945
|
+
*/
|
1946
|
+
|
1947
|
+
YAML_DECLARE(int)
|
1948
|
+
yaml_emitter_close(yaml_emitter_t *emitter);
|
1949
|
+
|
1950
|
+
/**
|
1951
|
+
* Emit a YAML document.
|
1952
|
+
*
|
1953
|
+
* The document object may be generated using the yaml_parser_load() function
|
1954
|
+
* or the yaml_document_initialize() function. The emitter takes the
|
1955
|
+
* responsibility for the document object and destroys its content after
|
1956
|
+
* it is emitted. The document object is destroyed even if the function fails.
|
1957
|
+
*
|
1958
|
+
* @param[in,out] emitter An emitter object.
|
1959
|
+
* @param[in,out] document A document object.
|
1960
|
+
*
|
1961
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1962
|
+
*/
|
1963
|
+
|
1964
|
+
YAML_DECLARE(int)
|
1965
|
+
yaml_emitter_dump(yaml_emitter_t *emitter, yaml_document_t *document);
|
1966
|
+
|
1967
|
+
/**
|
1968
|
+
* Flush the accumulated characters to the output.
|
1969
|
+
*
|
1970
|
+
* @param[in,out] emitter An emitter object.
|
1971
|
+
*
|
1972
|
+
* @returns @c 1 if the function succeeded, @c 0 on error.
|
1973
|
+
*/
|
1974
|
+
|
1975
|
+
YAML_DECLARE(int)
|
1976
|
+
yaml_emitter_flush(yaml_emitter_t *emitter);
|
1977
|
+
|
1978
|
+
/** @} */
|
1979
|
+
|
1980
|
+
#ifdef __cplusplus
|
1981
|
+
}
|
1982
|
+
#endif
|
1983
|
+
|
1984
|
+
#endif /* #ifndef YAML_H */
|
1985
|
+
|