ory-hydra-client 1.10.6 → 1.11.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +70 -0
- data/README.md +32 -28
- data/docs/AcceptLoginRequest.md +2 -0
- data/docs/AdminApi.md +264 -121
- data/docs/ConsentRequest.md +2 -0
- data/docs/ConsentRequestSession.md +2 -2
- data/docs/FlushLoginConsentRequest.md +18 -0
- data/docs/GenericError.md +16 -8
- data/docs/InlineResponse200.md +18 -0
- data/docs/InlineResponse2001.md +18 -0
- data/docs/InlineResponse503.md +18 -0
- data/docs/JsonWebKeySetGeneratorRequest.md +1 -1
- data/docs/MetadataApi.md +142 -17
- data/docs/OAuth2Client.md +4 -0
- data/docs/OAuth2TokenIntrospection.md +1 -1
- data/docs/OauthTokenResponse.md +18 -17
- data/docs/OpenIDConnectContext.md +1 -1
- data/docs/PublicApi.md +220 -21
- data/docs/RefreshTokenHookRequest.md +24 -0
- data/docs/RefreshTokenHookResponse.md +18 -0
- data/docs/TrustJwtGrantIssuerBody.md +26 -0
- data/docs/TrustedJsonWebKey.md +20 -0
- data/docs/TrustedJwtGrantIssuer.md +30 -0
- data/lib/ory-hydra-client/api/admin_api.rb +344 -163
- data/lib/ory-hydra-client/api/metadata_api.rb +136 -20
- data/lib/ory-hydra-client/api/public_api.rb +246 -29
- data/lib/ory-hydra-client/api_client.rb +8 -8
- data/lib/ory-hydra-client/api_error.rb +5 -5
- data/lib/ory-hydra-client/configuration.rb +7 -6
- data/lib/ory-hydra-client/models/accept_consent_request.rb +5 -5
- data/lib/ory-hydra-client/models/accept_login_request.rb +17 -6
- data/lib/ory-hydra-client/models/completed_request.rb +5 -5
- data/lib/ory-hydra-client/models/consent_request.rb +17 -6
- data/lib/ory-hydra-client/models/consent_request_session.rb +13 -9
- data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +5 -5
- data/lib/ory-hydra-client/models/flush_login_consent_request.rb +219 -0
- data/lib/ory-hydra-client/models/generic_error.rb +73 -32
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +5 -5
- data/lib/ory-hydra-client/models/health_status.rb +5 -5
- data/lib/ory-hydra-client/models/{plugin_config_network.rb → inline_response200.rb} +19 -20
- data/lib/ory-hydra-client/models/{plugin_config_user.rb → inline_response2001.rb} +21 -27
- data/lib/ory-hydra-client/models/{plugin_config_rootfs.rb → inline_response503.rb} +22 -28
- data/lib/ory-hydra-client/models/json_error.rb +5 -5
- data/lib/ory-hydra-client/models/json_web_key.rb +5 -5
- data/lib/ory-hydra-client/models/json_web_key_set.rb +5 -5
- data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +6 -6
- data/lib/ory-hydra-client/models/login_request.rb +5 -5
- data/lib/ory-hydra-client/models/logout_request.rb +5 -5
- data/lib/ory-hydra-client/models/o_auth2_client.rb +26 -6
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +9 -7
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +5 -5
- data/lib/ory-hydra-client/models/oauth_token_response.rb +23 -11
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +9 -7
- data/lib/ory-hydra-client/models/patch_document.rb +5 -5
- data/lib/ory-hydra-client/models/previous_consent_session.rb +5 -5
- data/lib/ory-hydra-client/models/{plugin_config_interface.rb → refresh_token_hook_request.rb} +46 -35
- data/lib/ory-hydra-client/models/{container_wait_ok_body_error.rb → refresh_token_hook_response.rb} +15 -17
- data/lib/ory-hydra-client/models/reject_request.rb +5 -5
- data/lib/ory-hydra-client/models/request_was_handled_response.rb +5 -5
- data/lib/ory-hydra-client/models/{plugin_config_args.rb → trust_jwt_grant_issuer_body.rb} +64 -53
- data/lib/ory-hydra-client/models/trusted_json_web_key.rb +229 -0
- data/lib/ory-hydra-client/models/{plugin_device.rb → trusted_jwt_grant_issuer.rb} +66 -59
- data/lib/ory-hydra-client/models/userinfo_response.rb +5 -5
- data/lib/ory-hydra-client/models/version.rb +5 -5
- data/lib/ory-hydra-client/models/well_known.rb +5 -5
- data/lib/ory-hydra-client/version.rb +6 -6
- data/lib/ory-hydra-client.rb +16 -20
- data/ory-hydra-client.gemspec +7 -7
- data/spec/api/admin_api_spec.rb +106 -61
- data/spec/api/metadata_api_spec.rb +32 -10
- data/spec/api/public_api_spec.rb +57 -19
- data/spec/api_client_spec.rb +7 -7
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/accept_consent_request_spec.rb +14 -15
- data/spec/models/accept_login_request_spec.rb +14 -15
- data/spec/models/completed_request_spec.rb +8 -15
- data/spec/models/consent_request_session_spec.rb +8 -15
- data/spec/models/consent_request_spec.rb +14 -15
- data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +8 -15
- data/spec/models/flush_login_consent_request_spec.rb +34 -0
- data/spec/models/generic_error_spec.rb +35 -18
- data/spec/models/health_not_ready_status_spec.rb +8 -15
- data/spec/models/health_status_spec.rb +8 -15
- data/spec/models/inline_response2001_spec.rb +34 -0
- data/spec/models/inline_response200_spec.rb +34 -0
- data/spec/models/inline_response503_spec.rb +34 -0
- data/spec/models/json_error_spec.rb +5 -5
- data/spec/models/json_web_key_set_generator_request_spec.rb +8 -15
- data/spec/models/json_web_key_set_spec.rb +8 -15
- data/spec/models/json_web_key_spec.rb +8 -15
- data/spec/models/login_request_spec.rb +8 -15
- data/spec/models/logout_request_spec.rb +20 -15
- data/spec/models/o_auth2_client_spec.rb +26 -15
- data/spec/models/o_auth2_token_introspection_spec.rb +14 -15
- data/spec/models/oauth2_token_response_spec.rb +8 -15
- data/spec/models/oauth_token_response_spec.rb +8 -15
- data/spec/models/open_id_connect_context_spec.rb +8 -15
- data/spec/models/patch_document_spec.rb +5 -5
- data/spec/models/previous_consent_session_spec.rb +14 -15
- data/spec/models/{plugin_env_spec.rb → refresh_token_hook_request_spec.rb} +15 -22
- data/spec/models/refresh_token_hook_response_spec.rb +34 -0
- data/spec/models/reject_request_spec.rb +8 -15
- data/spec/models/request_was_handled_response_spec.rb +5 -5
- data/spec/models/trust_jwt_grant_issuer_body_spec.rb +58 -0
- data/spec/models/trusted_json_web_key_spec.rb +40 -0
- data/spec/models/{plugin_mount_spec.rb → trusted_jwt_grant_issuer_spec.rb} +18 -25
- data/spec/models/userinfo_response_spec.rb +8 -15
- data/spec/models/version_spec.rb +8 -15
- data/spec/models/well_known_spec.rb +20 -15
- data/spec/spec_helper.rb +5 -5
- data/vendor/bundle/ruby/2.5.0/bin/byebug +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/coderay +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/pry +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.5.0/cache/ast-2.4.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/byebug-11.1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/coderay-1.1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ffi-1.15.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/method_source-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/pry-0.13.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/pry-byebug-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rainbow-3.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rake-13.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rubocop-0.66.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/typhoeus-1.4.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +19 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +44 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/mkmf.log +225 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +38 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +41 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/mkmf.log +194 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +16 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +66 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/lib/ast/node.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.2/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CHANGELOG.md +934 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/CONTRIBUTING.md +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/GUIDE.md +1806 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/LICENSE +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/README.md +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/exe/byebug +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/.sitearchdir.-.byebug.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.c +517 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/breakpoint.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.c +900 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.h +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.c +686 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/context.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/extconf.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.c +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/locker.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.c +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/threads.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/attacher.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/breakpoint.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/command_list.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/break.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/catch.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/condition.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/continue.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/debug.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/delete.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/disable.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/display.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/down.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/edit.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/enable.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/finish.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/frame.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/help.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/history.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/info.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/irb.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/kill.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/list.rb +159 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/method.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/next.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/pry.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/quit.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/restart.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/save.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/set.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/show.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/skip.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/source.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/step.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/thread.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/up.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/var.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands/where.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/commands.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/context.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/core.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/errors.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/frame.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/file.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/path.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/string.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/helpers/var.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/history.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interface.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/option_setter.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/base.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/plain.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/client.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote/server.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/remote.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/runner.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/setting.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/basename.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/width.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/subcommands.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/MIT-LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/README_INDEX.rdoc +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/bin/coderay +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/duo.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/_map.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/comment_filter.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/count.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/debug.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/debug_lint.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/div.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/encoder.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/filter.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/html/css.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/html/numbering.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/html/output.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/html.rb +333 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/json.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/lines_of_code.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/lint.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/null.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/page.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/span.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/terminal.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/text.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/token_kind_filter.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/xml.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/encoders.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/for_redcloth.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/helpers/file_type.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/helpers/plugin_host.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/helpers/word_list.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/_map.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/c.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/clojure.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/cpp.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/css.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/debug.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/delphi.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/diff.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/erb.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/go.rb +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/groovy.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/haml.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/html.rb +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/java/builtin_types.rb +421 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/java.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/java_script.rb +236 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/json.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/lua.rb +280 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/php.rb +527 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/python.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/raydebug.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/patterns.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby/string_state.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/ruby.rb +477 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/sass.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/scanner.rb +337 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/sql.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/taskpaper.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/text.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/xml.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners/yaml.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/scanners.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/styles/_map.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/styles/alpha.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/styles/style.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/styles.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/token_kinds.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/tokens.rb +164 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/tokens_proxy.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/coderay-1.1.3/lib/coderay.rb +284 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/.rspec +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/History.md +400 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/License.md +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.rspec +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +372 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/Gemfile +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/Guardfile +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/Rakefile +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/ethon.gemspec +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curl.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/constants.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/functions.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/infos.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/messages.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +502 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/settings.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/debug_info.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/features.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/form.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/header.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/actionable.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/custom.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/get.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/head.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/options.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/patch.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/post.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/postable.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/put.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/putable.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/mirror.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/operations.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/options.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/params.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/queryable.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/util.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/ethon_error.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/global_init.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_option.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/invalid_value.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/multi_add.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/multi_fdset.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/multi_remove.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/multi_timeout.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors/select.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/errors.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/libc.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/loggable.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/multi/operations.rb +228 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/multi/options.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/multi/stack.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/multi.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/benchmarks.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/memory_leaks.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/perf_spec_helper.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/support/memory_test_helpers.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/support/os_memory_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/profile/support/ruby_object_leak_tracker.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/curl_spec.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/debug_info_spec.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/features_spec.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/form_spec.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/header_spec.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/custom_spec.rb +177 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/delete_spec.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/get_spec.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/head_spec.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/options_spec.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/patch_spec.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/post_spec.rb +317 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http/put_spec.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/http_spec.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/options_spec.rb +193 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/queryable_spec.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/response_callbacks_spec.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/util_spec.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy_spec.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/libc_spec.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi/operations_spec.rb +298 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi/stack_spec.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/support/localhost_server.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/support/server.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/CHANGELOG.md +338 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/COPYING +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/Gemfile +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/LICENSE +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/README.md +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/Rakefile +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.c +1104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.c +360 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Call.c +487 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Call.h +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.c +333 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.c +334 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Function.c +917 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Function.h +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.c +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LastError.c +225 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.c +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.h +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.c +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.h +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.c +348 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.h +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Platform.c +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.c +507 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Struct.c +822 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Struct.h +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.c +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.c +700 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Thread.c +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Thread.h +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Type.c +379 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Type.h +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Types.c +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Types.h +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.c +303 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/compat.h +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/extconf.h +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/extconf.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ffi.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.appveyor.yml +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitattributes +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.github/issue_template.md +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.gitignore +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/ar-lib +270 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/bfin-sim.exp +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build-in-container.sh +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/build.sh +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/compile +351 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/install.sh +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/m32r-sim.exp +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/or1k-sim.exp +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/site.exp +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis/wine-sim.exp +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/.travis.yml +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ChangeLog.old +7407 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +353 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.am +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/Makefile.in +2060 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/README.md +486 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/acinclude.m4 +479 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/autogen.sh +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.guess +1687 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/config.sub +1851 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure +22050 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.ac +415 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/configure.host +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.am +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/Makefile.in +815 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/libffi.texi +997 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/fficonfig.h.in +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/Makefile.in +608 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi.h.in +523 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/include/ffi_common.h +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/install-sh +518 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.map.in +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.pc.in +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +997 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-ldflags +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh +11251 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_append_flag.m4 +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_configure_args.m4 +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +267 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/make_sunver.pl +333 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in +562 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi.3 +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/missing +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +511 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +219 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/msvcc.sh +353 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffi.c +1025 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/ffitarget.h +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/internal.h +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/sysv.S +451 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +506 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffi.c +876 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/ffitarget.h +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/internal.h +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv.S +385 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/closures.c +1021 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffi.c +395 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/ffitarget.h +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/csky/sysv.S +371 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/debug.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/asm.h +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffi.c +273 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/ffitarget.h +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/kvx/sysv.S +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffi.c +1134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/n32.S +663 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/mips/o32.S +504 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffi.c +674 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/ffitarget.h +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/hpux32.S +370 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/pa/linux.S +380 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi.c +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1452 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +1153 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ffitarget.h +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64.S +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +564 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/powerpc/sysv.S +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/prep_cif.c +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/raw_api.c +267 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffi.c +481 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/ffitarget.h +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/riscv/sysv.S +293 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/internal.h +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/tile/tile.S +360 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/types.c +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi.c +770 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffi64.c +895 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffitarget.h +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/ffiw64.c +318 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal.h +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv.S +1138 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/sysv_intel.S +995 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/unix64.S +621 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64.S +241 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/x86/win64_intel.S +238 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/stamp-h.in +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.am +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/Makefile.in +648 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/libffi.exp +660 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +343 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.bsd.mk +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.darwin.mk +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.gnu.mk +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.mk +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/rbffi.h +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ffi.gemspec +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/abstract_memory.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/data_converter.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/enum.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/ffi.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/library.rb +592 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-freebsd12/types.conf +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/aarch64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/arm-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/arm-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-freebsd12/types.conf +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/i386-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mips64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-linux/types.conf +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/powerpc64le-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/riscv64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/sparc64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-openbsd/types.conf +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-darwin/types.conf +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-dragonflybsd/types.conf +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-freebsd12/types.conf +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-haiku/types.conf +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-linux/types.conf +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-msys/types.conf +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform/x86_64-windows/types.conf +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/platform.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/pointer.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/struct.rb +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/struct_by_reference.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/struct_layout.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/tools/const_generator.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/tools/generator.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/tools/generator_task.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/tools/struct_generator.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/tools/types_generator.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/variadic.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/rakelib/ffi_gem_helper.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/getlogin.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/getpid.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/gettimeofday.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/hello.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/inotify.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/pty.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/samples/qsort.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.c +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.h +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.c +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.h +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/extconf.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.c +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.h +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.c +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/adjusting_table.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_pure.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.circleci/config.yml +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.gemtest +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/.yardopts +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Gemfile +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/README.markdown +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/Rakefile +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/code_helpers.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/source_location.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/lib/method_source.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/method_source.gemspec +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source/code_helpers_spec.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/method_source_spec.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/method_source-1.0.0/spec/spec_helper.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/processor_count.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel.rb +532 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/bin/ruby-parse +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/bin/ruby-rewrite +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/gauntlet_parser.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/all.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ast/node.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ast/processor.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/base.rb +291 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/builders/default.rb +2309 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/clobbering_error.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/color.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/context.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/current.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/current_arg_stack.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/deprecation.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/diagnostic/engine.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/lexer/dedenter.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/lexer/literal.rb +269 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/lexer.rb +25015 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/macruby.rb +6177 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/max_numparam_stack.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/messages.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/meta.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/rewriter.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby18.rb +5708 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby19.rb +6126 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby20.rb +6563 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby21.rb +6611 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby22.rb +6655 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby23.rb +6669 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby24.rb +6736 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby25.rb +6694 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby26.rb +6721 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby27.rb +7914 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby30.rb +8096 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby31.rb +8354 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby32.rb +8330 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/rubymotion.rb +6125 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/runner.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/buffer.rb +355 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/comment/associator.rb +233 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/comment.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/collection.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/condition.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/constant.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/definition.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/for.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/index.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/method_definition.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/operator.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/send.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map/variable.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/map.rb +186 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/range.rb +326 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/rewriter.rb +513 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/tree_rewriter/action.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/source/tree_rewriter.rb +431 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/static_environment.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/syntax_error.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/tree_rewriter.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/variables_stack.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/CHANGELOG.md +1076 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/LICENSE +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/README.md +452 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/bin/pry +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/basic_object.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/block_command.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/class_command.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/cli.rb +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_file.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/code_range.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code/loc.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code.rb +365 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/code_object.rb +197 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/color_printer.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command.rb +520 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_set.rb +418 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/command_state.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/amend_line.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cat.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/cd.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/code_collector.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/edit.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_all.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/exit_program.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/find_method.rb +199 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/help.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/hist.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/import_set.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/jump_to.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ls.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/nesting.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/play.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/pry_version.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/raise_up.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reload_code.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/reset.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/ri.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/save_file.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_command.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_doc.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_info.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_input.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/show_source.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/stat.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/switch_to.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/whereami.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/commands/wtf.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/attributable.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/lazy_value.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/memoized_value.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config/value.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/config.rb +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/control_d_handler.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/core_extensions.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/editor.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/env.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exception_handler.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/exceptions.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/forwardable.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/platform.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/table.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers/text.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/helpers.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/history.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/hooks.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/indent.rb +412 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_completer.rb +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/input_lock.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/inspector.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/last_exception.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/disowned.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/patcher.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/method.rb +599 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/object_path.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/output.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pager.rb +249 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/plugins.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/prompt.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_class.rb +388 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/pry_instance.rb +701 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl.rb +257 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/repl_file_loader.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/ring.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/commands.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop/option.rb +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/slop.rb +672 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/system_command_handler.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/evalable.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/mockable.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/utility.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable/variables.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/testable.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/warning.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry/wrapped_module.rb +387 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-0.13.1/lib/pry.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/CHANGELOG.md +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/README.md +192 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/byebug/processors/pry_processor.rb +166 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry/byebug/breakpoints.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/base.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/cli.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/backtrace.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/breakpoint.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/continue.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/down.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/finish.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/frame.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/next.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/step.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/up.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/control_d_handler.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/breakpoints.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/location.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/multiline.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/navigation.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_ext.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/pry_remote_ext.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/.gitignore +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/Gemfile +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/Mavenfile +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/README.md +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/Rakefile +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/bin/console +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/bin/setup +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/depend +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/extconf.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych.c +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych.h +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_emitter.c +555 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_emitter.h +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_parser.c +579 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_parser.h +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.c +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.h +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.c +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.h +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/LICENSE +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/api.c +1393 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/config.h +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/dumper.c +394 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/emitter.c +2358 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/loader.c +544 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/parser.c +1375 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/reader.c +469 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/scanner.c +3598 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/writer.c +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/yaml.h +1985 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/yaml/yaml_private.h +688 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/class_loader.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/coder.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/core_ext.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/exception.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/handler.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/handlers/document_stream.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/handlers/recorder.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/json/ruby_events.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/json/stream.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/json/tree_builder.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/json/yaml_events.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/document.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/mapping.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/node.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/scalar.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/sequence.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/stream.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/omap.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/parser.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/scalar_scanner.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/set.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/stream.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/streaming.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/syntax_error.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/tree_builder.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/versions.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/depth_first.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/emitter.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/json_tree.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/to_ruby.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/visitor.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors/yaml_tree.rb +587 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/visitors.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/y.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych.rb +741 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/psych.gemspec +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/Changelog.md +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/color.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/global.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.1.1/lib/rainbow.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/History.rdoc +2403 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/README.rdoc +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/exe/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-13.0.6/rake.gemspec +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/README.md +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/.yardopts +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +2355 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/README.md +384 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +2383 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration_options.rb +233 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/did_you_mean.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb +905 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/ordering.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/rake_task.rb +188 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/Changelog.md +1267 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/README.md +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/configuration.rb +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/failure_aggregator.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/change.rb +450 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/compound.rb +290 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/has.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/include.rb +206 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/raise_error.rb +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/dsl.rb +544 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers.rb +1041 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/.document +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/Changelog.md +1184 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/README.md +463 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/recorder.rb +295 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/argument_list_matcher.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/matchers/receive.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/message_expectation.rb +812 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/method_double.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/proxy.rb +519 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/verifying_double.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.0/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/Changelog.md +350 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/README.md +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/encoded_string.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/object_formatter.rb +275 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/reentrant_mutex.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/ruby_features.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/source/node.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/source/token.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/source.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/shell_out.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/string_matcher.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/README.md +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/bin/console +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/bin/setup +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/config/default.yml +4408 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/exe/rubocop +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/builder.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/and_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/args_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/array_node.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/block_node.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/break_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/case_node.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/def_node.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/for_node.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/if_node.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +251 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/or_node.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/range_node.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/resbody_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/send_node.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/str_node.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/super_node.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/until_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/when_node.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/while_node.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/node.rb +642 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/sexp.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/ast/traversal.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cached_data.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cli.rb +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/comment_config.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/config.rb +716 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/config_loader.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/config_loader_resolver.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/autocorrect_logic.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/badge.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/commissioner.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/cop.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/corrector.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/alignment_corrector.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/correctors/unused_arg_corrector.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/force.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/ordered_dependencies.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/configuration_injector.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/generator.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_destructuring.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/access_modifier_indentation.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_hash.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/align_parameters.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/block_end_newline.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +142 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/extra_spacing.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_argument_line_break.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/first_parameter_indentation.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_array.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_assignment.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_hash.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indent_heredoc.rb +294 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_consistency.rb +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/leading_comment_space.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_block_layout.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_block_parameters.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_around_operators.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_in_lambda_literal.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_block_braces.rb +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/tab.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/assignment_in_condition.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/debugger.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicate_methods.rb +241 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/erb_new_arguments.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/handle_exceptions.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/inherit_exception.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/loop.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/number_conversion.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_chain.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/to_json.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unified_integer.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_block_argument.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/unused_method_argument.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_assignment.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/useless_setter_call.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/lint/void.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/message_annotator.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/line_length.rb +204 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/documentation_comment.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/hash_alignment.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/rescue_node.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/surrounding_space.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_rails_version.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/uncommunicative_name.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/method_name.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_name.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/offense.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/caller.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/case_when_splat.rb +177 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/casecmp.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/chain_array_allocation.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/compare_with_block.rb +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/count.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/detect.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/double_start_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/end_with.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/fixed_size.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/flat_map.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/inefficient_hash_search.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/open_struct.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/range_include.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_match.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_merge.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/redundant_sort_by.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/regexp_match.rb +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/reverse_each.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/sample.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/size.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/start_with.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/string_replacement.rb +173 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/times_map.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unfreeze_string.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/unneeded_sort.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/performance/uri_default_parser.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/action_filter.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_record_aliases.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/active_support_aliases.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_job.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/application_record.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/assert_not.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/belongs_to.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/blank.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/bulk_change_table.rb +289 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/create_table_with_timestamps.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/date.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/dynamic_find_by.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/enum_uniqueness.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/environment_comparison.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/exit.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/file_path.rb +108 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_by.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/find_each.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_positional_arguments.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/http_status.rb +186 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/ignored_skip_action_filter_option.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/inverse_of.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/lexically_scoped_action_filter.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/link_to_blank.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/not_null_column.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/output_safety.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/pluralization_grammar.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/presence.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/present.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/redundant_receiver_in_with_options.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reflection_class_name.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/refute_methods.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/relative_date_constant.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/request_referer.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/reversible_migration.rb +286 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/safe_navigation.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/save_bang.rb +316 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/skips_model_validations.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/time_zone.rb +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/unknown_env.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/rails/validation.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/registry.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/eval.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/json_load.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/open.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/severity.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/access_modifier_declarations.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/alias.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/and_or.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/array_join.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/attr.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_comments.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/block_delimiters.rb +315 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_and_module_children.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_check.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_methods.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/commented_keyword.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/conditional_assignment.rb +698 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/constant_visibility.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/copyright.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/date_time.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/dir.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/documentation_method.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/encoding.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/end_block.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/for.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/format_string_token.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/guard_clause.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_inside_else.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/inverse_methods.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +368 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/min_max.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_grouping.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mixin_usage.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/module_function.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_modifier.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/next.rb +244 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/not.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/numeric_predicate.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/one_line_conditional.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/optional_arguments.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/or_assignment.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/parentheses_around_condition.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/proc.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/random_with_offset.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_parentheses.rb +222 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_return.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/redundant_self.rb +154 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/safe_navigation.rb +253 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/semicolon.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/send.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/single_line_methods.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/stderr_puts.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_hash_keys.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/struct_inheritance.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/symbol_proc.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/ternary_parentheses.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_method_end_statement.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unless_else.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/variable_interpolation.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/when_then.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/word_array.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/yoda_condition.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/team.rb +190 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/util.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/cop/variable_force.rb +464 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/core_ext/string.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/file_finder.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_config_formatter.rb +219 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/formatter_set.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/simple_text_formatter.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/tap_formatter.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/magic_comment.rb +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/node_pattern.rb +584 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/options.rb +441 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/path_util.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/platform.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/processed_source.rb +210 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rake_task.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/remote_config.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/result_cache.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/cop_helper.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/expect_offense.rb +237 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_contexts.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/shared_examples.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/rspec/support.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/runner.rb +353 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/string_util.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/target_finder.rb +187 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/token.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop/yaml_duplication_checker.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.66.0/lib/rubocop.rb +654 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/README.md +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/length.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/bar.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/time.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/time.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/README.md +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.c +1866 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/.travis.yml +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/CHANGELOG.md +406 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/CONTRIBUTING.md +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/README.md +584 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/dalli.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/rails.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/cache/redis.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/config.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/easy_factory.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/cacheable.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/callbacks.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/request.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/header.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/informations.rb +248 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response/status.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/lib/typhoeus.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/easy_factory_spec.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/cacheable_spec.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/pool_spec.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/cacheable_spec.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/request_spec.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/response/informations_spec.rb +283 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/CHANGELOG.md +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/README.md +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/index.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.5.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ast-2.4.2.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/byebug-11.1.3.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/coderay-1.1.3.gemspec +25 -0
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.5.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ffi-1.15.5.gemspec +47 -0
- data/vendor/bundle/ruby/2.5.0/specifications/jaro_winkler-1.5.4.gemspec +44 -0
- data/vendor/bundle/ruby/2.5.0/specifications/method_source-1.0.0.gemspec +35 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parallel-1.21.0.gemspec +21 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.1.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/pry-0.13.1.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/pry-byebug-3.9.0.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.3.gemspec +38 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rainbow-3.1.1.gemspec +33 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rake-13.0.6.gemspec +26 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +63 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.0.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rubocop-0.66.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.11.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/specifications/stringio-3.0.1.gemspec +24 -0
- data/vendor/bundle/ruby/2.5.0/specifications/typhoeus-1.4.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.5.0.gemspec +39 -0
- metadata +2555 -68
- data/docs/ContainerWaitOKBodyError.md +0 -18
- data/docs/PluginConfig.md +0 -48
- data/docs/PluginConfigArgs.md +0 -24
- data/docs/PluginConfigInterface.md +0 -20
- data/docs/PluginConfigLinux.md +0 -22
- data/docs/PluginConfigNetwork.md +0 -18
- data/docs/PluginConfigRootfs.md +0 -20
- data/docs/PluginConfigUser.md +0 -20
- data/docs/PluginDevice.md +0 -24
- data/docs/PluginEnv.md +0 -24
- data/docs/PluginInterfaceType.md +0 -22
- data/docs/PluginMount.md +0 -30
- data/docs/PluginSettings.md +0 -24
- data/docs/Volume.md +0 -34
- data/docs/VolumeUsageData.md +0 -20
- data/lib/ory-hydra-client/models/plugin_config.rb +0 -434
- data/lib/ory-hydra-client/models/plugin_config_linux.rb +0 -259
- data/lib/ory-hydra-client/models/plugin_env.rb +0 -272
- data/lib/ory-hydra-client/models/plugin_interface_type.rb +0 -255
- data/lib/ory-hydra-client/models/plugin_mount.rb +0 -319
- data/lib/ory-hydra-client/models/plugin_settings.rb +0 -277
- data/lib/ory-hydra-client/models/volume.rb +0 -333
- data/lib/ory-hydra-client/models/volume_usage_data.rb +0 -240
- data/spec/models/container_wait_ok_body_error_spec.rb +0 -41
- data/spec/models/plugin_config_args_spec.rb +0 -59
- data/spec/models/plugin_config_interface_spec.rb +0 -47
- data/spec/models/plugin_config_linux_spec.rb +0 -53
- data/spec/models/plugin_config_network_spec.rb +0 -41
- data/spec/models/plugin_config_rootfs_spec.rb +0 -47
- data/spec/models/plugin_config_spec.rb +0 -131
- data/spec/models/plugin_config_user_spec.rb +0 -47
- data/spec/models/plugin_device_spec.rb +0 -59
- data/spec/models/plugin_interface_type_spec.rb +0 -53
- data/spec/models/plugin_settings_spec.rb +0 -59
- data/spec/models/volume_spec.rb +0 -82
- data/spec/models/volume_usage_data_spec.rb +0 -47
@@ -0,0 +1,3598 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
* Introduction
|
4
|
+
* ************
|
5
|
+
*
|
6
|
+
* The following notes assume that you are familiar with the YAML specification
|
7
|
+
* (http://yaml.org/spec/cvs/current.html). We mostly follow it, although in
|
8
|
+
* some cases we are less restrictive that it requires.
|
9
|
+
*
|
10
|
+
* The process of transforming a YAML stream into a sequence of events is
|
11
|
+
* divided on two steps: Scanning and Parsing.
|
12
|
+
*
|
13
|
+
* The Scanner transforms the input stream into a sequence of tokens, while the
|
14
|
+
* parser transform the sequence of tokens produced by the Scanner into a
|
15
|
+
* sequence of parsing events.
|
16
|
+
*
|
17
|
+
* The Scanner is rather clever and complicated. The Parser, on the contrary,
|
18
|
+
* is a straightforward implementation of a recursive-descendant parser (or,
|
19
|
+
* LL(1) parser, as it is usually called).
|
20
|
+
*
|
21
|
+
* Actually there are two issues of Scanning that might be called "clever", the
|
22
|
+
* rest is quite straightforward. The issues are "block collection start" and
|
23
|
+
* "simple keys". Both issues are explained below in details.
|
24
|
+
*
|
25
|
+
* Here the Scanning step is explained and implemented. We start with the list
|
26
|
+
* of all the tokens produced by the Scanner together with short descriptions.
|
27
|
+
*
|
28
|
+
* Now, tokens:
|
29
|
+
*
|
30
|
+
* STREAM-START(encoding) # The stream start.
|
31
|
+
* STREAM-END # The stream end.
|
32
|
+
* VERSION-DIRECTIVE(major,minor) # The '%YAML' directive.
|
33
|
+
* TAG-DIRECTIVE(handle,prefix) # The '%TAG' directive.
|
34
|
+
* DOCUMENT-START # '---'
|
35
|
+
* DOCUMENT-END # '...'
|
36
|
+
* BLOCK-SEQUENCE-START # Indentation increase denoting a block
|
37
|
+
* BLOCK-MAPPING-START # sequence or a block mapping.
|
38
|
+
* BLOCK-END # Indentation decrease.
|
39
|
+
* FLOW-SEQUENCE-START # '['
|
40
|
+
* FLOW-SEQUENCE-END # ']'
|
41
|
+
* FLOW-MAPPING-START # '{'
|
42
|
+
* FLOW-MAPPING-END # '}'
|
43
|
+
* BLOCK-ENTRY # '-'
|
44
|
+
* FLOW-ENTRY # ','
|
45
|
+
* KEY # '?' or nothing (simple keys).
|
46
|
+
* VALUE # ':'
|
47
|
+
* ALIAS(anchor) # '*anchor'
|
48
|
+
* ANCHOR(anchor) # '&anchor'
|
49
|
+
* TAG(handle,suffix) # '!handle!suffix'
|
50
|
+
* SCALAR(value,style) # A scalar.
|
51
|
+
*
|
52
|
+
* The following two tokens are "virtual" tokens denoting the beginning and the
|
53
|
+
* end of the stream:
|
54
|
+
*
|
55
|
+
* STREAM-START(encoding)
|
56
|
+
* STREAM-END
|
57
|
+
*
|
58
|
+
* We pass the information about the input stream encoding with the
|
59
|
+
* STREAM-START token.
|
60
|
+
*
|
61
|
+
* The next two tokens are responsible for tags:
|
62
|
+
*
|
63
|
+
* VERSION-DIRECTIVE(major,minor)
|
64
|
+
* TAG-DIRECTIVE(handle,prefix)
|
65
|
+
*
|
66
|
+
* Example:
|
67
|
+
*
|
68
|
+
* %YAML 1.1
|
69
|
+
* %TAG ! !foo
|
70
|
+
* %TAG !yaml! tag:yaml.org,2002:
|
71
|
+
* ---
|
72
|
+
*
|
73
|
+
* The corresponding sequence of tokens:
|
74
|
+
*
|
75
|
+
* STREAM-START(utf-8)
|
76
|
+
* VERSION-DIRECTIVE(1,1)
|
77
|
+
* TAG-DIRECTIVE("!","!foo")
|
78
|
+
* TAG-DIRECTIVE("!yaml","tag:yaml.org,2002:")
|
79
|
+
* DOCUMENT-START
|
80
|
+
* STREAM-END
|
81
|
+
*
|
82
|
+
* Note that the VERSION-DIRECTIVE and TAG-DIRECTIVE tokens occupy a whole
|
83
|
+
* line.
|
84
|
+
*
|
85
|
+
* The document start and end indicators are represented by:
|
86
|
+
*
|
87
|
+
* DOCUMENT-START
|
88
|
+
* DOCUMENT-END
|
89
|
+
*
|
90
|
+
* Note that if a YAML stream contains an implicit document (without '---'
|
91
|
+
* and '...' indicators), no DOCUMENT-START and DOCUMENT-END tokens will be
|
92
|
+
* produced.
|
93
|
+
*
|
94
|
+
* In the following examples, we present whole documents together with the
|
95
|
+
* produced tokens.
|
96
|
+
*
|
97
|
+
* 1. An implicit document:
|
98
|
+
*
|
99
|
+
* 'a scalar'
|
100
|
+
*
|
101
|
+
* Tokens:
|
102
|
+
*
|
103
|
+
* STREAM-START(utf-8)
|
104
|
+
* SCALAR("a scalar",single-quoted)
|
105
|
+
* STREAM-END
|
106
|
+
*
|
107
|
+
* 2. An explicit document:
|
108
|
+
*
|
109
|
+
* ---
|
110
|
+
* 'a scalar'
|
111
|
+
* ...
|
112
|
+
*
|
113
|
+
* Tokens:
|
114
|
+
*
|
115
|
+
* STREAM-START(utf-8)
|
116
|
+
* DOCUMENT-START
|
117
|
+
* SCALAR("a scalar",single-quoted)
|
118
|
+
* DOCUMENT-END
|
119
|
+
* STREAM-END
|
120
|
+
*
|
121
|
+
* 3. Several documents in a stream:
|
122
|
+
*
|
123
|
+
* 'a scalar'
|
124
|
+
* ---
|
125
|
+
* 'another scalar'
|
126
|
+
* ---
|
127
|
+
* 'yet another scalar'
|
128
|
+
*
|
129
|
+
* Tokens:
|
130
|
+
*
|
131
|
+
* STREAM-START(utf-8)
|
132
|
+
* SCALAR("a scalar",single-quoted)
|
133
|
+
* DOCUMENT-START
|
134
|
+
* SCALAR("another scalar",single-quoted)
|
135
|
+
* DOCUMENT-START
|
136
|
+
* SCALAR("yet another scalar",single-quoted)
|
137
|
+
* STREAM-END
|
138
|
+
*
|
139
|
+
* We have already introduced the SCALAR token above. The following tokens are
|
140
|
+
* used to describe aliases, anchors, tag, and scalars:
|
141
|
+
*
|
142
|
+
* ALIAS(anchor)
|
143
|
+
* ANCHOR(anchor)
|
144
|
+
* TAG(handle,suffix)
|
145
|
+
* SCALAR(value,style)
|
146
|
+
*
|
147
|
+
* The following series of examples illustrate the usage of these tokens:
|
148
|
+
*
|
149
|
+
* 1. A recursive sequence:
|
150
|
+
*
|
151
|
+
* &A [ *A ]
|
152
|
+
*
|
153
|
+
* Tokens:
|
154
|
+
*
|
155
|
+
* STREAM-START(utf-8)
|
156
|
+
* ANCHOR("A")
|
157
|
+
* FLOW-SEQUENCE-START
|
158
|
+
* ALIAS("A")
|
159
|
+
* FLOW-SEQUENCE-END
|
160
|
+
* STREAM-END
|
161
|
+
*
|
162
|
+
* 2. A tagged scalar:
|
163
|
+
*
|
164
|
+
* !!float "3.14" # A good approximation.
|
165
|
+
*
|
166
|
+
* Tokens:
|
167
|
+
*
|
168
|
+
* STREAM-START(utf-8)
|
169
|
+
* TAG("!!","float")
|
170
|
+
* SCALAR("3.14",double-quoted)
|
171
|
+
* STREAM-END
|
172
|
+
*
|
173
|
+
* 3. Various scalar styles:
|
174
|
+
*
|
175
|
+
* --- # Implicit empty plain scalars do not produce tokens.
|
176
|
+
* --- a plain scalar
|
177
|
+
* --- 'a single-quoted scalar'
|
178
|
+
* --- "a double-quoted scalar"
|
179
|
+
* --- |-
|
180
|
+
* a literal scalar
|
181
|
+
* --- >-
|
182
|
+
* a folded
|
183
|
+
* scalar
|
184
|
+
*
|
185
|
+
* Tokens:
|
186
|
+
*
|
187
|
+
* STREAM-START(utf-8)
|
188
|
+
* DOCUMENT-START
|
189
|
+
* DOCUMENT-START
|
190
|
+
* SCALAR("a plain scalar",plain)
|
191
|
+
* DOCUMENT-START
|
192
|
+
* SCALAR("a single-quoted scalar",single-quoted)
|
193
|
+
* DOCUMENT-START
|
194
|
+
* SCALAR("a double-quoted scalar",double-quoted)
|
195
|
+
* DOCUMENT-START
|
196
|
+
* SCALAR("a literal scalar",literal)
|
197
|
+
* DOCUMENT-START
|
198
|
+
* SCALAR("a folded scalar",folded)
|
199
|
+
* STREAM-END
|
200
|
+
*
|
201
|
+
* Now it's time to review collection-related tokens. We will start with
|
202
|
+
* flow collections:
|
203
|
+
*
|
204
|
+
* FLOW-SEQUENCE-START
|
205
|
+
* FLOW-SEQUENCE-END
|
206
|
+
* FLOW-MAPPING-START
|
207
|
+
* FLOW-MAPPING-END
|
208
|
+
* FLOW-ENTRY
|
209
|
+
* KEY
|
210
|
+
* VALUE
|
211
|
+
*
|
212
|
+
* The tokens FLOW-SEQUENCE-START, FLOW-SEQUENCE-END, FLOW-MAPPING-START, and
|
213
|
+
* FLOW-MAPPING-END represent the indicators '[', ']', '{', and '}'
|
214
|
+
* correspondingly. FLOW-ENTRY represent the ',' indicator. Finally the
|
215
|
+
* indicators '?' and ':', which are used for denoting mapping keys and values,
|
216
|
+
* are represented by the KEY and VALUE tokens.
|
217
|
+
*
|
218
|
+
* The following examples show flow collections:
|
219
|
+
*
|
220
|
+
* 1. A flow sequence:
|
221
|
+
*
|
222
|
+
* [item 1, item 2, item 3]
|
223
|
+
*
|
224
|
+
* Tokens:
|
225
|
+
*
|
226
|
+
* STREAM-START(utf-8)
|
227
|
+
* FLOW-SEQUENCE-START
|
228
|
+
* SCALAR("item 1",plain)
|
229
|
+
* FLOW-ENTRY
|
230
|
+
* SCALAR("item 2",plain)
|
231
|
+
* FLOW-ENTRY
|
232
|
+
* SCALAR("item 3",plain)
|
233
|
+
* FLOW-SEQUENCE-END
|
234
|
+
* STREAM-END
|
235
|
+
*
|
236
|
+
* 2. A flow mapping:
|
237
|
+
*
|
238
|
+
* {
|
239
|
+
* a simple key: a value, # Note that the KEY token is produced.
|
240
|
+
* ? a complex key: another value,
|
241
|
+
* }
|
242
|
+
*
|
243
|
+
* Tokens:
|
244
|
+
*
|
245
|
+
* STREAM-START(utf-8)
|
246
|
+
* FLOW-MAPPING-START
|
247
|
+
* KEY
|
248
|
+
* SCALAR("a simple key",plain)
|
249
|
+
* VALUE
|
250
|
+
* SCALAR("a value",plain)
|
251
|
+
* FLOW-ENTRY
|
252
|
+
* KEY
|
253
|
+
* SCALAR("a complex key",plain)
|
254
|
+
* VALUE
|
255
|
+
* SCALAR("another value",plain)
|
256
|
+
* FLOW-ENTRY
|
257
|
+
* FLOW-MAPPING-END
|
258
|
+
* STREAM-END
|
259
|
+
*
|
260
|
+
* A simple key is a key which is not denoted by the '?' indicator. Note that
|
261
|
+
* the Scanner still produce the KEY token whenever it encounters a simple key.
|
262
|
+
*
|
263
|
+
* For scanning block collections, the following tokens are used (note that we
|
264
|
+
* repeat KEY and VALUE here):
|
265
|
+
*
|
266
|
+
* BLOCK-SEQUENCE-START
|
267
|
+
* BLOCK-MAPPING-START
|
268
|
+
* BLOCK-END
|
269
|
+
* BLOCK-ENTRY
|
270
|
+
* KEY
|
271
|
+
* VALUE
|
272
|
+
*
|
273
|
+
* The tokens BLOCK-SEQUENCE-START and BLOCK-MAPPING-START denote indentation
|
274
|
+
* increase that precedes a block collection (cf. the INDENT token in Python).
|
275
|
+
* The token BLOCK-END denote indentation decrease that ends a block collection
|
276
|
+
* (cf. the DEDENT token in Python). However YAML has some syntax peculiarities
|
277
|
+
* that makes detections of these tokens more complex.
|
278
|
+
*
|
279
|
+
* The tokens BLOCK-ENTRY, KEY, and VALUE are used to represent the indicators
|
280
|
+
* '-', '?', and ':' correspondingly.
|
281
|
+
*
|
282
|
+
* The following examples show how the tokens BLOCK-SEQUENCE-START,
|
283
|
+
* BLOCK-MAPPING-START, and BLOCK-END are emitted by the Scanner:
|
284
|
+
*
|
285
|
+
* 1. Block sequences:
|
286
|
+
*
|
287
|
+
* - item 1
|
288
|
+
* - item 2
|
289
|
+
* -
|
290
|
+
* - item 3.1
|
291
|
+
* - item 3.2
|
292
|
+
* -
|
293
|
+
* key 1: value 1
|
294
|
+
* key 2: value 2
|
295
|
+
*
|
296
|
+
* Tokens:
|
297
|
+
*
|
298
|
+
* STREAM-START(utf-8)
|
299
|
+
* BLOCK-SEQUENCE-START
|
300
|
+
* BLOCK-ENTRY
|
301
|
+
* SCALAR("item 1",plain)
|
302
|
+
* BLOCK-ENTRY
|
303
|
+
* SCALAR("item 2",plain)
|
304
|
+
* BLOCK-ENTRY
|
305
|
+
* BLOCK-SEQUENCE-START
|
306
|
+
* BLOCK-ENTRY
|
307
|
+
* SCALAR("item 3.1",plain)
|
308
|
+
* BLOCK-ENTRY
|
309
|
+
* SCALAR("item 3.2",plain)
|
310
|
+
* BLOCK-END
|
311
|
+
* BLOCK-ENTRY
|
312
|
+
* BLOCK-MAPPING-START
|
313
|
+
* KEY
|
314
|
+
* SCALAR("key 1",plain)
|
315
|
+
* VALUE
|
316
|
+
* SCALAR("value 1",plain)
|
317
|
+
* KEY
|
318
|
+
* SCALAR("key 2",plain)
|
319
|
+
* VALUE
|
320
|
+
* SCALAR("value 2",plain)
|
321
|
+
* BLOCK-END
|
322
|
+
* BLOCK-END
|
323
|
+
* STREAM-END
|
324
|
+
*
|
325
|
+
* 2. Block mappings:
|
326
|
+
*
|
327
|
+
* a simple key: a value # The KEY token is produced here.
|
328
|
+
* ? a complex key
|
329
|
+
* : another value
|
330
|
+
* a mapping:
|
331
|
+
* key 1: value 1
|
332
|
+
* key 2: value 2
|
333
|
+
* a sequence:
|
334
|
+
* - item 1
|
335
|
+
* - item 2
|
336
|
+
*
|
337
|
+
* Tokens:
|
338
|
+
*
|
339
|
+
* STREAM-START(utf-8)
|
340
|
+
* BLOCK-MAPPING-START
|
341
|
+
* KEY
|
342
|
+
* SCALAR("a simple key",plain)
|
343
|
+
* VALUE
|
344
|
+
* SCALAR("a value",plain)
|
345
|
+
* KEY
|
346
|
+
* SCALAR("a complex key",plain)
|
347
|
+
* VALUE
|
348
|
+
* SCALAR("another value",plain)
|
349
|
+
* KEY
|
350
|
+
* SCALAR("a mapping",plain)
|
351
|
+
* VALUE
|
352
|
+
* BLOCK-MAPPING-START
|
353
|
+
* KEY
|
354
|
+
* SCALAR("key 1",plain)
|
355
|
+
* VALUE
|
356
|
+
* SCALAR("value 1",plain)
|
357
|
+
* KEY
|
358
|
+
* SCALAR("key 2",plain)
|
359
|
+
* VALUE
|
360
|
+
* SCALAR("value 2",plain)
|
361
|
+
* BLOCK-END
|
362
|
+
* KEY
|
363
|
+
* SCALAR("a sequence",plain)
|
364
|
+
* VALUE
|
365
|
+
* BLOCK-SEQUENCE-START
|
366
|
+
* BLOCK-ENTRY
|
367
|
+
* SCALAR("item 1",plain)
|
368
|
+
* BLOCK-ENTRY
|
369
|
+
* SCALAR("item 2",plain)
|
370
|
+
* BLOCK-END
|
371
|
+
* BLOCK-END
|
372
|
+
* STREAM-END
|
373
|
+
*
|
374
|
+
* YAML does not always require to start a new block collection from a new
|
375
|
+
* line. If the current line contains only '-', '?', and ':' indicators, a new
|
376
|
+
* block collection may start at the current line. The following examples
|
377
|
+
* illustrate this case:
|
378
|
+
*
|
379
|
+
* 1. Collections in a sequence:
|
380
|
+
*
|
381
|
+
* - - item 1
|
382
|
+
* - item 2
|
383
|
+
* - key 1: value 1
|
384
|
+
* key 2: value 2
|
385
|
+
* - ? complex key
|
386
|
+
* : complex value
|
387
|
+
*
|
388
|
+
* Tokens:
|
389
|
+
*
|
390
|
+
* STREAM-START(utf-8)
|
391
|
+
* BLOCK-SEQUENCE-START
|
392
|
+
* BLOCK-ENTRY
|
393
|
+
* BLOCK-SEQUENCE-START
|
394
|
+
* BLOCK-ENTRY
|
395
|
+
* SCALAR("item 1",plain)
|
396
|
+
* BLOCK-ENTRY
|
397
|
+
* SCALAR("item 2",plain)
|
398
|
+
* BLOCK-END
|
399
|
+
* BLOCK-ENTRY
|
400
|
+
* BLOCK-MAPPING-START
|
401
|
+
* KEY
|
402
|
+
* SCALAR("key 1",plain)
|
403
|
+
* VALUE
|
404
|
+
* SCALAR("value 1",plain)
|
405
|
+
* KEY
|
406
|
+
* SCALAR("key 2",plain)
|
407
|
+
* VALUE
|
408
|
+
* SCALAR("value 2",plain)
|
409
|
+
* BLOCK-END
|
410
|
+
* BLOCK-ENTRY
|
411
|
+
* BLOCK-MAPPING-START
|
412
|
+
* KEY
|
413
|
+
* SCALAR("complex key")
|
414
|
+
* VALUE
|
415
|
+
* SCALAR("complex value")
|
416
|
+
* BLOCK-END
|
417
|
+
* BLOCK-END
|
418
|
+
* STREAM-END
|
419
|
+
*
|
420
|
+
* 2. Collections in a mapping:
|
421
|
+
*
|
422
|
+
* ? a sequence
|
423
|
+
* : - item 1
|
424
|
+
* - item 2
|
425
|
+
* ? a mapping
|
426
|
+
* : key 1: value 1
|
427
|
+
* key 2: value 2
|
428
|
+
*
|
429
|
+
* Tokens:
|
430
|
+
*
|
431
|
+
* STREAM-START(utf-8)
|
432
|
+
* BLOCK-MAPPING-START
|
433
|
+
* KEY
|
434
|
+
* SCALAR("a sequence",plain)
|
435
|
+
* VALUE
|
436
|
+
* BLOCK-SEQUENCE-START
|
437
|
+
* BLOCK-ENTRY
|
438
|
+
* SCALAR("item 1",plain)
|
439
|
+
* BLOCK-ENTRY
|
440
|
+
* SCALAR("item 2",plain)
|
441
|
+
* BLOCK-END
|
442
|
+
* KEY
|
443
|
+
* SCALAR("a mapping",plain)
|
444
|
+
* VALUE
|
445
|
+
* BLOCK-MAPPING-START
|
446
|
+
* KEY
|
447
|
+
* SCALAR("key 1",plain)
|
448
|
+
* VALUE
|
449
|
+
* SCALAR("value 1",plain)
|
450
|
+
* KEY
|
451
|
+
* SCALAR("key 2",plain)
|
452
|
+
* VALUE
|
453
|
+
* SCALAR("value 2",plain)
|
454
|
+
* BLOCK-END
|
455
|
+
* BLOCK-END
|
456
|
+
* STREAM-END
|
457
|
+
*
|
458
|
+
* YAML also permits non-indented sequences if they are included into a block
|
459
|
+
* mapping. In this case, the token BLOCK-SEQUENCE-START is not produced:
|
460
|
+
*
|
461
|
+
* key:
|
462
|
+
* - item 1 # BLOCK-SEQUENCE-START is NOT produced here.
|
463
|
+
* - item 2
|
464
|
+
*
|
465
|
+
* Tokens:
|
466
|
+
*
|
467
|
+
* STREAM-START(utf-8)
|
468
|
+
* BLOCK-MAPPING-START
|
469
|
+
* KEY
|
470
|
+
* SCALAR("key",plain)
|
471
|
+
* VALUE
|
472
|
+
* BLOCK-ENTRY
|
473
|
+
* SCALAR("item 1",plain)
|
474
|
+
* BLOCK-ENTRY
|
475
|
+
* SCALAR("item 2",plain)
|
476
|
+
* BLOCK-END
|
477
|
+
*/
|
478
|
+
|
479
|
+
#include "yaml_private.h"
|
480
|
+
|
481
|
+
/*
|
482
|
+
* Ensure that the buffer contains the required number of characters.
|
483
|
+
* Return 1 on success, 0 on failure (reader error or memory error).
|
484
|
+
*/
|
485
|
+
|
486
|
+
#define CACHE(parser,length) \
|
487
|
+
(parser->unread >= (length) \
|
488
|
+
? 1 \
|
489
|
+
: yaml_parser_update_buffer(parser, (length)))
|
490
|
+
|
491
|
+
/*
|
492
|
+
* Advance the buffer pointer.
|
493
|
+
*/
|
494
|
+
|
495
|
+
#define SKIP(parser) \
|
496
|
+
(parser->mark.index ++, \
|
497
|
+
parser->mark.column ++, \
|
498
|
+
parser->unread --, \
|
499
|
+
parser->buffer.pointer += WIDTH(parser->buffer))
|
500
|
+
|
501
|
+
#define SKIP_LINE(parser) \
|
502
|
+
(IS_CRLF(parser->buffer) ? \
|
503
|
+
(parser->mark.index += 2, \
|
504
|
+
parser->mark.column = 0, \
|
505
|
+
parser->mark.line ++, \
|
506
|
+
parser->unread -= 2, \
|
507
|
+
parser->buffer.pointer += 2) : \
|
508
|
+
IS_BREAK(parser->buffer) ? \
|
509
|
+
(parser->mark.index ++, \
|
510
|
+
parser->mark.column = 0, \
|
511
|
+
parser->mark.line ++, \
|
512
|
+
parser->unread --, \
|
513
|
+
parser->buffer.pointer += WIDTH(parser->buffer)) : 0)
|
514
|
+
|
515
|
+
/*
|
516
|
+
* Copy a character to a string buffer and advance pointers.
|
517
|
+
*/
|
518
|
+
|
519
|
+
#define READ(parser,string) \
|
520
|
+
(STRING_EXTEND(parser,string) ? \
|
521
|
+
(COPY(string,parser->buffer), \
|
522
|
+
parser->mark.index ++, \
|
523
|
+
parser->mark.column ++, \
|
524
|
+
parser->unread --, \
|
525
|
+
1) : 0)
|
526
|
+
|
527
|
+
/*
|
528
|
+
* Copy a line break character to a string buffer and advance pointers.
|
529
|
+
*/
|
530
|
+
|
531
|
+
#define READ_LINE(parser,string) \
|
532
|
+
(STRING_EXTEND(parser,string) ? \
|
533
|
+
(((CHECK_AT(parser->buffer,'\r',0) \
|
534
|
+
&& CHECK_AT(parser->buffer,'\n',1)) ? /* CR LF -> LF */ \
|
535
|
+
(*((string).pointer++) = (yaml_char_t) '\n', \
|
536
|
+
parser->buffer.pointer += 2, \
|
537
|
+
parser->mark.index += 2, \
|
538
|
+
parser->mark.column = 0, \
|
539
|
+
parser->mark.line ++, \
|
540
|
+
parser->unread -= 2) : \
|
541
|
+
(CHECK_AT(parser->buffer,'\r',0) \
|
542
|
+
|| CHECK_AT(parser->buffer,'\n',0)) ? /* CR|LF -> LF */ \
|
543
|
+
(*((string).pointer++) = (yaml_char_t) '\n', \
|
544
|
+
parser->buffer.pointer ++, \
|
545
|
+
parser->mark.index ++, \
|
546
|
+
parser->mark.column = 0, \
|
547
|
+
parser->mark.line ++, \
|
548
|
+
parser->unread --) : \
|
549
|
+
(CHECK_AT(parser->buffer,'\xC2',0) \
|
550
|
+
&& CHECK_AT(parser->buffer,'\x85',1)) ? /* NEL -> LF */ \
|
551
|
+
(*((string).pointer++) = (yaml_char_t) '\n', \
|
552
|
+
parser->buffer.pointer += 2, \
|
553
|
+
parser->mark.index ++, \
|
554
|
+
parser->mark.column = 0, \
|
555
|
+
parser->mark.line ++, \
|
556
|
+
parser->unread --) : \
|
557
|
+
(CHECK_AT(parser->buffer,'\xE2',0) && \
|
558
|
+
CHECK_AT(parser->buffer,'\x80',1) && \
|
559
|
+
(CHECK_AT(parser->buffer,'\xA8',2) || \
|
560
|
+
CHECK_AT(parser->buffer,'\xA9',2))) ? /* LS|PS -> LS|PS */ \
|
561
|
+
(*((string).pointer++) = *(parser->buffer.pointer++), \
|
562
|
+
*((string).pointer++) = *(parser->buffer.pointer++), \
|
563
|
+
*((string).pointer++) = *(parser->buffer.pointer++), \
|
564
|
+
parser->mark.index ++, \
|
565
|
+
parser->mark.column = 0, \
|
566
|
+
parser->mark.line ++, \
|
567
|
+
parser->unread --) : 0), \
|
568
|
+
1) : 0)
|
569
|
+
|
570
|
+
/*
|
571
|
+
* Public API declarations.
|
572
|
+
*/
|
573
|
+
|
574
|
+
YAML_DECLARE(int)
|
575
|
+
yaml_parser_scan(yaml_parser_t *parser, yaml_token_t *token);
|
576
|
+
|
577
|
+
/*
|
578
|
+
* Error handling.
|
579
|
+
*/
|
580
|
+
|
581
|
+
static int
|
582
|
+
yaml_parser_set_scanner_error(yaml_parser_t *parser, const char *context,
|
583
|
+
yaml_mark_t context_mark, const char *problem);
|
584
|
+
|
585
|
+
/*
|
586
|
+
* High-level token API.
|
587
|
+
*/
|
588
|
+
|
589
|
+
YAML_DECLARE(int)
|
590
|
+
yaml_parser_fetch_more_tokens(yaml_parser_t *parser);
|
591
|
+
|
592
|
+
static int
|
593
|
+
yaml_parser_fetch_next_token(yaml_parser_t *parser);
|
594
|
+
|
595
|
+
/*
|
596
|
+
* Potential simple keys.
|
597
|
+
*/
|
598
|
+
|
599
|
+
static int
|
600
|
+
yaml_parser_stale_simple_keys(yaml_parser_t *parser);
|
601
|
+
|
602
|
+
static int
|
603
|
+
yaml_parser_save_simple_key(yaml_parser_t *parser);
|
604
|
+
|
605
|
+
static int
|
606
|
+
yaml_parser_remove_simple_key(yaml_parser_t *parser);
|
607
|
+
|
608
|
+
static int
|
609
|
+
yaml_parser_increase_flow_level(yaml_parser_t *parser);
|
610
|
+
|
611
|
+
static int
|
612
|
+
yaml_parser_decrease_flow_level(yaml_parser_t *parser);
|
613
|
+
|
614
|
+
/*
|
615
|
+
* Indentation treatment.
|
616
|
+
*/
|
617
|
+
|
618
|
+
static int
|
619
|
+
yaml_parser_roll_indent(yaml_parser_t *parser, ptrdiff_t column,
|
620
|
+
ptrdiff_t number, yaml_token_type_t type, yaml_mark_t mark);
|
621
|
+
|
622
|
+
static int
|
623
|
+
yaml_parser_unroll_indent(yaml_parser_t *parser, ptrdiff_t column);
|
624
|
+
|
625
|
+
/*
|
626
|
+
* Token fetchers.
|
627
|
+
*/
|
628
|
+
|
629
|
+
static int
|
630
|
+
yaml_parser_fetch_stream_start(yaml_parser_t *parser);
|
631
|
+
|
632
|
+
static int
|
633
|
+
yaml_parser_fetch_stream_end(yaml_parser_t *parser);
|
634
|
+
|
635
|
+
static int
|
636
|
+
yaml_parser_fetch_directive(yaml_parser_t *parser);
|
637
|
+
|
638
|
+
static int
|
639
|
+
yaml_parser_fetch_document_indicator(yaml_parser_t *parser,
|
640
|
+
yaml_token_type_t type);
|
641
|
+
|
642
|
+
static int
|
643
|
+
yaml_parser_fetch_flow_collection_start(yaml_parser_t *parser,
|
644
|
+
yaml_token_type_t type);
|
645
|
+
|
646
|
+
static int
|
647
|
+
yaml_parser_fetch_flow_collection_end(yaml_parser_t *parser,
|
648
|
+
yaml_token_type_t type);
|
649
|
+
|
650
|
+
static int
|
651
|
+
yaml_parser_fetch_flow_entry(yaml_parser_t *parser);
|
652
|
+
|
653
|
+
static int
|
654
|
+
yaml_parser_fetch_block_entry(yaml_parser_t *parser);
|
655
|
+
|
656
|
+
static int
|
657
|
+
yaml_parser_fetch_key(yaml_parser_t *parser);
|
658
|
+
|
659
|
+
static int
|
660
|
+
yaml_parser_fetch_value(yaml_parser_t *parser);
|
661
|
+
|
662
|
+
static int
|
663
|
+
yaml_parser_fetch_anchor(yaml_parser_t *parser, yaml_token_type_t type);
|
664
|
+
|
665
|
+
static int
|
666
|
+
yaml_parser_fetch_tag(yaml_parser_t *parser);
|
667
|
+
|
668
|
+
static int
|
669
|
+
yaml_parser_fetch_block_scalar(yaml_parser_t *parser, int literal);
|
670
|
+
|
671
|
+
static int
|
672
|
+
yaml_parser_fetch_flow_scalar(yaml_parser_t *parser, int single);
|
673
|
+
|
674
|
+
static int
|
675
|
+
yaml_parser_fetch_plain_scalar(yaml_parser_t *parser);
|
676
|
+
|
677
|
+
/*
|
678
|
+
* Token scanners.
|
679
|
+
*/
|
680
|
+
|
681
|
+
static int
|
682
|
+
yaml_parser_scan_to_next_token(yaml_parser_t *parser);
|
683
|
+
|
684
|
+
static int
|
685
|
+
yaml_parser_scan_directive(yaml_parser_t *parser, yaml_token_t *token);
|
686
|
+
|
687
|
+
static int
|
688
|
+
yaml_parser_scan_directive_name(yaml_parser_t *parser,
|
689
|
+
yaml_mark_t start_mark, yaml_char_t **name);
|
690
|
+
|
691
|
+
static int
|
692
|
+
yaml_parser_scan_version_directive_value(yaml_parser_t *parser,
|
693
|
+
yaml_mark_t start_mark, int *major, int *minor);
|
694
|
+
|
695
|
+
static int
|
696
|
+
yaml_parser_scan_version_directive_number(yaml_parser_t *parser,
|
697
|
+
yaml_mark_t start_mark, int *number);
|
698
|
+
|
699
|
+
static int
|
700
|
+
yaml_parser_scan_tag_directive_value(yaml_parser_t *parser,
|
701
|
+
yaml_mark_t mark, yaml_char_t **handle, yaml_char_t **prefix);
|
702
|
+
|
703
|
+
static int
|
704
|
+
yaml_parser_scan_anchor(yaml_parser_t *parser, yaml_token_t *token,
|
705
|
+
yaml_token_type_t type);
|
706
|
+
|
707
|
+
static int
|
708
|
+
yaml_parser_scan_tag(yaml_parser_t *parser, yaml_token_t *token);
|
709
|
+
|
710
|
+
static int
|
711
|
+
yaml_parser_scan_tag_handle(yaml_parser_t *parser, int directive,
|
712
|
+
yaml_mark_t start_mark, yaml_char_t **handle);
|
713
|
+
|
714
|
+
static int
|
715
|
+
yaml_parser_scan_tag_uri(yaml_parser_t *parser, int uri_char, int directive,
|
716
|
+
yaml_char_t *head, yaml_mark_t start_mark, yaml_char_t **uri);
|
717
|
+
|
718
|
+
static int
|
719
|
+
yaml_parser_scan_uri_escapes(yaml_parser_t *parser, int directive,
|
720
|
+
yaml_mark_t start_mark, yaml_string_t *string);
|
721
|
+
|
722
|
+
static int
|
723
|
+
yaml_parser_scan_block_scalar(yaml_parser_t *parser, yaml_token_t *token,
|
724
|
+
int literal);
|
725
|
+
|
726
|
+
static int
|
727
|
+
yaml_parser_scan_block_scalar_breaks(yaml_parser_t *parser,
|
728
|
+
int *indent, yaml_string_t *breaks,
|
729
|
+
yaml_mark_t start_mark, yaml_mark_t *end_mark);
|
730
|
+
|
731
|
+
static int
|
732
|
+
yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
|
733
|
+
int single);
|
734
|
+
|
735
|
+
static int
|
736
|
+
yaml_parser_scan_plain_scalar(yaml_parser_t *parser, yaml_token_t *token);
|
737
|
+
|
738
|
+
/*
|
739
|
+
* Get the next token.
|
740
|
+
*/
|
741
|
+
|
742
|
+
YAML_DECLARE(int)
|
743
|
+
yaml_parser_scan(yaml_parser_t *parser, yaml_token_t *token)
|
744
|
+
{
|
745
|
+
assert(parser); /* Non-NULL parser object is expected. */
|
746
|
+
assert(token); /* Non-NULL token object is expected. */
|
747
|
+
|
748
|
+
/* Erase the token object. */
|
749
|
+
|
750
|
+
memset(token, 0, sizeof(yaml_token_t));
|
751
|
+
|
752
|
+
/* No tokens after STREAM-END or error. */
|
753
|
+
|
754
|
+
if (parser->stream_end_produced || parser->error) {
|
755
|
+
return 1;
|
756
|
+
}
|
757
|
+
|
758
|
+
/* Ensure that the tokens queue contains enough tokens. */
|
759
|
+
|
760
|
+
if (!parser->token_available) {
|
761
|
+
if (!yaml_parser_fetch_more_tokens(parser))
|
762
|
+
return 0;
|
763
|
+
}
|
764
|
+
|
765
|
+
/* Fetch the next token from the queue. */
|
766
|
+
|
767
|
+
*token = DEQUEUE(parser, parser->tokens);
|
768
|
+
parser->token_available = 0;
|
769
|
+
parser->tokens_parsed ++;
|
770
|
+
|
771
|
+
if (token->type == YAML_STREAM_END_TOKEN) {
|
772
|
+
parser->stream_end_produced = 1;
|
773
|
+
}
|
774
|
+
|
775
|
+
return 1;
|
776
|
+
}
|
777
|
+
|
778
|
+
/*
|
779
|
+
* Set the scanner error and return 0.
|
780
|
+
*/
|
781
|
+
|
782
|
+
static int
|
783
|
+
yaml_parser_set_scanner_error(yaml_parser_t *parser, const char *context,
|
784
|
+
yaml_mark_t context_mark, const char *problem)
|
785
|
+
{
|
786
|
+
parser->error = YAML_SCANNER_ERROR;
|
787
|
+
parser->context = context;
|
788
|
+
parser->context_mark = context_mark;
|
789
|
+
parser->problem = problem;
|
790
|
+
parser->problem_mark = parser->mark;
|
791
|
+
|
792
|
+
return 0;
|
793
|
+
}
|
794
|
+
|
795
|
+
/*
|
796
|
+
* Ensure that the tokens queue contains at least one token which can be
|
797
|
+
* returned to the Parser.
|
798
|
+
*/
|
799
|
+
|
800
|
+
YAML_DECLARE(int)
|
801
|
+
yaml_parser_fetch_more_tokens(yaml_parser_t *parser)
|
802
|
+
{
|
803
|
+
int need_more_tokens;
|
804
|
+
|
805
|
+
/* While we need more tokens to fetch, do it. */
|
806
|
+
|
807
|
+
while (1)
|
808
|
+
{
|
809
|
+
/*
|
810
|
+
* Check if we really need to fetch more tokens.
|
811
|
+
*/
|
812
|
+
|
813
|
+
need_more_tokens = 0;
|
814
|
+
|
815
|
+
if (parser->tokens.head == parser->tokens.tail)
|
816
|
+
{
|
817
|
+
/* Queue is empty. */
|
818
|
+
|
819
|
+
need_more_tokens = 1;
|
820
|
+
}
|
821
|
+
else
|
822
|
+
{
|
823
|
+
yaml_simple_key_t *simple_key;
|
824
|
+
|
825
|
+
/* Check if any potential simple key may occupy the head position. */
|
826
|
+
|
827
|
+
if (!yaml_parser_stale_simple_keys(parser))
|
828
|
+
return 0;
|
829
|
+
|
830
|
+
for (simple_key = parser->simple_keys.start;
|
831
|
+
simple_key != parser->simple_keys.top; simple_key++) {
|
832
|
+
if (simple_key->possible
|
833
|
+
&& simple_key->token_number == parser->tokens_parsed) {
|
834
|
+
need_more_tokens = 1;
|
835
|
+
break;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
}
|
839
|
+
|
840
|
+
/* We are finished. */
|
841
|
+
|
842
|
+
if (!need_more_tokens)
|
843
|
+
break;
|
844
|
+
|
845
|
+
/* Fetch the next token. */
|
846
|
+
|
847
|
+
if (!yaml_parser_fetch_next_token(parser))
|
848
|
+
return 0;
|
849
|
+
}
|
850
|
+
|
851
|
+
parser->token_available = 1;
|
852
|
+
|
853
|
+
return 1;
|
854
|
+
}
|
855
|
+
|
856
|
+
/*
|
857
|
+
* The dispatcher for token fetchers.
|
858
|
+
*/
|
859
|
+
|
860
|
+
static int
|
861
|
+
yaml_parser_fetch_next_token(yaml_parser_t *parser)
|
862
|
+
{
|
863
|
+
/* Ensure that the buffer is initialized. */
|
864
|
+
|
865
|
+
if (!CACHE(parser, 1))
|
866
|
+
return 0;
|
867
|
+
|
868
|
+
/* Check if we just started scanning. Fetch STREAM-START then. */
|
869
|
+
|
870
|
+
if (!parser->stream_start_produced)
|
871
|
+
return yaml_parser_fetch_stream_start(parser);
|
872
|
+
|
873
|
+
/* Eat whitespaces and comments until we reach the next token. */
|
874
|
+
|
875
|
+
if (!yaml_parser_scan_to_next_token(parser))
|
876
|
+
return 0;
|
877
|
+
|
878
|
+
/* Remove obsolete potential simple keys. */
|
879
|
+
|
880
|
+
if (!yaml_parser_stale_simple_keys(parser))
|
881
|
+
return 0;
|
882
|
+
|
883
|
+
/* Check the indentation level against the current column. */
|
884
|
+
|
885
|
+
if (!yaml_parser_unroll_indent(parser, parser->mark.column))
|
886
|
+
return 0;
|
887
|
+
|
888
|
+
/*
|
889
|
+
* Ensure that the buffer contains at least 4 characters. 4 is the length
|
890
|
+
* of the longest indicators ('--- ' and '... ').
|
891
|
+
*/
|
892
|
+
|
893
|
+
if (!CACHE(parser, 4))
|
894
|
+
return 0;
|
895
|
+
|
896
|
+
/* Is it the end of the stream? */
|
897
|
+
|
898
|
+
if (IS_Z(parser->buffer))
|
899
|
+
return yaml_parser_fetch_stream_end(parser);
|
900
|
+
|
901
|
+
/* Is it a directive? */
|
902
|
+
|
903
|
+
if (parser->mark.column == 0 && CHECK(parser->buffer, '%'))
|
904
|
+
return yaml_parser_fetch_directive(parser);
|
905
|
+
|
906
|
+
/* Is it the document start indicator? */
|
907
|
+
|
908
|
+
if (parser->mark.column == 0
|
909
|
+
&& CHECK_AT(parser->buffer, '-', 0)
|
910
|
+
&& CHECK_AT(parser->buffer, '-', 1)
|
911
|
+
&& CHECK_AT(parser->buffer, '-', 2)
|
912
|
+
&& IS_BLANKZ_AT(parser->buffer, 3))
|
913
|
+
return yaml_parser_fetch_document_indicator(parser,
|
914
|
+
YAML_DOCUMENT_START_TOKEN);
|
915
|
+
|
916
|
+
/* Is it the document end indicator? */
|
917
|
+
|
918
|
+
if (parser->mark.column == 0
|
919
|
+
&& CHECK_AT(parser->buffer, '.', 0)
|
920
|
+
&& CHECK_AT(parser->buffer, '.', 1)
|
921
|
+
&& CHECK_AT(parser->buffer, '.', 2)
|
922
|
+
&& IS_BLANKZ_AT(parser->buffer, 3))
|
923
|
+
return yaml_parser_fetch_document_indicator(parser,
|
924
|
+
YAML_DOCUMENT_END_TOKEN);
|
925
|
+
|
926
|
+
/* Is it the flow sequence start indicator? */
|
927
|
+
|
928
|
+
if (CHECK(parser->buffer, '['))
|
929
|
+
return yaml_parser_fetch_flow_collection_start(parser,
|
930
|
+
YAML_FLOW_SEQUENCE_START_TOKEN);
|
931
|
+
|
932
|
+
/* Is it the flow mapping start indicator? */
|
933
|
+
|
934
|
+
if (CHECK(parser->buffer, '{'))
|
935
|
+
return yaml_parser_fetch_flow_collection_start(parser,
|
936
|
+
YAML_FLOW_MAPPING_START_TOKEN);
|
937
|
+
|
938
|
+
/* Is it the flow sequence end indicator? */
|
939
|
+
|
940
|
+
if (CHECK(parser->buffer, ']'))
|
941
|
+
return yaml_parser_fetch_flow_collection_end(parser,
|
942
|
+
YAML_FLOW_SEQUENCE_END_TOKEN);
|
943
|
+
|
944
|
+
/* Is it the flow mapping end indicator? */
|
945
|
+
|
946
|
+
if (CHECK(parser->buffer, '}'))
|
947
|
+
return yaml_parser_fetch_flow_collection_end(parser,
|
948
|
+
YAML_FLOW_MAPPING_END_TOKEN);
|
949
|
+
|
950
|
+
/* Is it the flow entry indicator? */
|
951
|
+
|
952
|
+
if (CHECK(parser->buffer, ','))
|
953
|
+
return yaml_parser_fetch_flow_entry(parser);
|
954
|
+
|
955
|
+
/* Is it the block entry indicator? */
|
956
|
+
|
957
|
+
if (CHECK(parser->buffer, '-') && IS_BLANKZ_AT(parser->buffer, 1))
|
958
|
+
return yaml_parser_fetch_block_entry(parser);
|
959
|
+
|
960
|
+
/* Is it the key indicator? */
|
961
|
+
|
962
|
+
if (CHECK(parser->buffer, '?')
|
963
|
+
&& (parser->flow_level || IS_BLANKZ_AT(parser->buffer, 1)))
|
964
|
+
return yaml_parser_fetch_key(parser);
|
965
|
+
|
966
|
+
/* Is it the value indicator? */
|
967
|
+
|
968
|
+
if (CHECK(parser->buffer, ':')
|
969
|
+
&& (parser->flow_level || IS_BLANKZ_AT(parser->buffer, 1)))
|
970
|
+
return yaml_parser_fetch_value(parser);
|
971
|
+
|
972
|
+
/* Is it an alias? */
|
973
|
+
|
974
|
+
if (CHECK(parser->buffer, '*'))
|
975
|
+
return yaml_parser_fetch_anchor(parser, YAML_ALIAS_TOKEN);
|
976
|
+
|
977
|
+
/* Is it an anchor? */
|
978
|
+
|
979
|
+
if (CHECK(parser->buffer, '&'))
|
980
|
+
return yaml_parser_fetch_anchor(parser, YAML_ANCHOR_TOKEN);
|
981
|
+
|
982
|
+
/* Is it a tag? */
|
983
|
+
|
984
|
+
if (CHECK(parser->buffer, '!'))
|
985
|
+
return yaml_parser_fetch_tag(parser);
|
986
|
+
|
987
|
+
/* Is it a literal scalar? */
|
988
|
+
|
989
|
+
if (CHECK(parser->buffer, '|') && !parser->flow_level)
|
990
|
+
return yaml_parser_fetch_block_scalar(parser, 1);
|
991
|
+
|
992
|
+
/* Is it a folded scalar? */
|
993
|
+
|
994
|
+
if (CHECK(parser->buffer, '>') && !parser->flow_level)
|
995
|
+
return yaml_parser_fetch_block_scalar(parser, 0);
|
996
|
+
|
997
|
+
/* Is it a single-quoted scalar? */
|
998
|
+
|
999
|
+
if (CHECK(parser->buffer, '\''))
|
1000
|
+
return yaml_parser_fetch_flow_scalar(parser, 1);
|
1001
|
+
|
1002
|
+
/* Is it a double-quoted scalar? */
|
1003
|
+
|
1004
|
+
if (CHECK(parser->buffer, '"'))
|
1005
|
+
return yaml_parser_fetch_flow_scalar(parser, 0);
|
1006
|
+
|
1007
|
+
/*
|
1008
|
+
* Is it a plain scalar?
|
1009
|
+
*
|
1010
|
+
* A plain scalar may start with any non-blank characters except
|
1011
|
+
*
|
1012
|
+
* '-', '?', ':', ',', '[', ']', '{', '}',
|
1013
|
+
* '#', '&', '*', '!', '|', '>', '\'', '\"',
|
1014
|
+
* '%', '@', '`'.
|
1015
|
+
*
|
1016
|
+
* In the block context (and, for the '-' indicator, in the flow context
|
1017
|
+
* too), it may also start with the characters
|
1018
|
+
*
|
1019
|
+
* '-', '?', ':'
|
1020
|
+
*
|
1021
|
+
* if it is followed by a non-space character.
|
1022
|
+
*
|
1023
|
+
* The last rule is more restrictive than the specification requires.
|
1024
|
+
*/
|
1025
|
+
|
1026
|
+
if (!(IS_BLANKZ(parser->buffer) || CHECK(parser->buffer, '-')
|
1027
|
+
|| CHECK(parser->buffer, '?') || CHECK(parser->buffer, ':')
|
1028
|
+
|| CHECK(parser->buffer, ',') || CHECK(parser->buffer, '[')
|
1029
|
+
|| CHECK(parser->buffer, ']') || CHECK(parser->buffer, '{')
|
1030
|
+
|| CHECK(parser->buffer, '}') || CHECK(parser->buffer, '#')
|
1031
|
+
|| CHECK(parser->buffer, '&') || CHECK(parser->buffer, '*')
|
1032
|
+
|| CHECK(parser->buffer, '!') || CHECK(parser->buffer, '|')
|
1033
|
+
|| CHECK(parser->buffer, '>') || CHECK(parser->buffer, '\'')
|
1034
|
+
|| CHECK(parser->buffer, '"') || CHECK(parser->buffer, '%')
|
1035
|
+
|| CHECK(parser->buffer, '@') || CHECK(parser->buffer, '`')) ||
|
1036
|
+
(CHECK(parser->buffer, '-') && !IS_BLANK_AT(parser->buffer, 1)) ||
|
1037
|
+
(!parser->flow_level &&
|
1038
|
+
(CHECK(parser->buffer, '?') || CHECK(parser->buffer, ':'))
|
1039
|
+
&& !IS_BLANKZ_AT(parser->buffer, 1)))
|
1040
|
+
return yaml_parser_fetch_plain_scalar(parser);
|
1041
|
+
|
1042
|
+
/*
|
1043
|
+
* If we don't determine the token type so far, it is an error.
|
1044
|
+
*/
|
1045
|
+
|
1046
|
+
return yaml_parser_set_scanner_error(parser,
|
1047
|
+
"while scanning for the next token", parser->mark,
|
1048
|
+
"found character that cannot start any token");
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
/*
|
1052
|
+
* Check the list of potential simple keys and remove the positions that
|
1053
|
+
* cannot contain simple keys anymore.
|
1054
|
+
*/
|
1055
|
+
|
1056
|
+
static int
|
1057
|
+
yaml_parser_stale_simple_keys(yaml_parser_t *parser)
|
1058
|
+
{
|
1059
|
+
yaml_simple_key_t *simple_key;
|
1060
|
+
|
1061
|
+
/* Check for a potential simple key for each flow level. */
|
1062
|
+
|
1063
|
+
for (simple_key = parser->simple_keys.start;
|
1064
|
+
simple_key != parser->simple_keys.top; simple_key ++)
|
1065
|
+
{
|
1066
|
+
/*
|
1067
|
+
* The specification requires that a simple key
|
1068
|
+
*
|
1069
|
+
* - is limited to a single line,
|
1070
|
+
* - is shorter than 1024 characters.
|
1071
|
+
*/
|
1072
|
+
|
1073
|
+
if (simple_key->possible
|
1074
|
+
&& (simple_key->mark.line < parser->mark.line
|
1075
|
+
|| simple_key->mark.index+1024 < parser->mark.index)) {
|
1076
|
+
|
1077
|
+
/* Check if the potential simple key to be removed is required. */
|
1078
|
+
|
1079
|
+
if (simple_key->required) {
|
1080
|
+
return yaml_parser_set_scanner_error(parser,
|
1081
|
+
"while scanning a simple key", simple_key->mark,
|
1082
|
+
"could not find expected ':'");
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
simple_key->possible = 0;
|
1086
|
+
}
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
return 1;
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
/*
|
1093
|
+
* Check if a simple key may start at the current position and add it if
|
1094
|
+
* needed.
|
1095
|
+
*/
|
1096
|
+
|
1097
|
+
static int
|
1098
|
+
yaml_parser_save_simple_key(yaml_parser_t *parser)
|
1099
|
+
{
|
1100
|
+
/*
|
1101
|
+
* A simple key is required at the current position if the scanner is in
|
1102
|
+
* the block context and the current column coincides with the indentation
|
1103
|
+
* level.
|
1104
|
+
*/
|
1105
|
+
|
1106
|
+
int required = (!parser->flow_level
|
1107
|
+
&& parser->indent == (ptrdiff_t)parser->mark.column);
|
1108
|
+
|
1109
|
+
/*
|
1110
|
+
* If the current position may start a simple key, save it.
|
1111
|
+
*/
|
1112
|
+
|
1113
|
+
if (parser->simple_key_allowed)
|
1114
|
+
{
|
1115
|
+
yaml_simple_key_t simple_key;
|
1116
|
+
simple_key.possible = 1;
|
1117
|
+
simple_key.required = required;
|
1118
|
+
simple_key.token_number =
|
1119
|
+
parser->tokens_parsed + (parser->tokens.tail - parser->tokens.head);
|
1120
|
+
simple_key.mark = parser->mark;
|
1121
|
+
|
1122
|
+
if (!yaml_parser_remove_simple_key(parser)) return 0;
|
1123
|
+
|
1124
|
+
*(parser->simple_keys.top-1) = simple_key;
|
1125
|
+
}
|
1126
|
+
|
1127
|
+
return 1;
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
/*
|
1131
|
+
* Remove a potential simple key at the current flow level.
|
1132
|
+
*/
|
1133
|
+
|
1134
|
+
static int
|
1135
|
+
yaml_parser_remove_simple_key(yaml_parser_t *parser)
|
1136
|
+
{
|
1137
|
+
yaml_simple_key_t *simple_key = parser->simple_keys.top-1;
|
1138
|
+
|
1139
|
+
if (simple_key->possible)
|
1140
|
+
{
|
1141
|
+
/* If the key is required, it is an error. */
|
1142
|
+
|
1143
|
+
if (simple_key->required) {
|
1144
|
+
return yaml_parser_set_scanner_error(parser,
|
1145
|
+
"while scanning a simple key", simple_key->mark,
|
1146
|
+
"could not find expected ':'");
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
/* Remove the key from the stack. */
|
1151
|
+
|
1152
|
+
simple_key->possible = 0;
|
1153
|
+
|
1154
|
+
return 1;
|
1155
|
+
}
|
1156
|
+
|
1157
|
+
/*
|
1158
|
+
* Increase the flow level and resize the simple key list if needed.
|
1159
|
+
*/
|
1160
|
+
|
1161
|
+
static int
|
1162
|
+
yaml_parser_increase_flow_level(yaml_parser_t *parser)
|
1163
|
+
{
|
1164
|
+
yaml_simple_key_t empty_simple_key = { 0, 0, 0, { 0, 0, 0 } };
|
1165
|
+
|
1166
|
+
/* Reset the simple key on the next level. */
|
1167
|
+
|
1168
|
+
if (!PUSH(parser, parser->simple_keys, empty_simple_key))
|
1169
|
+
return 0;
|
1170
|
+
|
1171
|
+
/* Increase the flow level. */
|
1172
|
+
|
1173
|
+
if (parser->flow_level == INT_MAX) {
|
1174
|
+
parser->error = YAML_MEMORY_ERROR;
|
1175
|
+
return 0;
|
1176
|
+
}
|
1177
|
+
|
1178
|
+
parser->flow_level++;
|
1179
|
+
|
1180
|
+
return 1;
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
/*
|
1184
|
+
* Decrease the flow level.
|
1185
|
+
*/
|
1186
|
+
|
1187
|
+
static int
|
1188
|
+
yaml_parser_decrease_flow_level(yaml_parser_t *parser)
|
1189
|
+
{
|
1190
|
+
if (parser->flow_level) {
|
1191
|
+
parser->flow_level --;
|
1192
|
+
(void)POP(parser, parser->simple_keys);
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
return 1;
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
/*
|
1199
|
+
* Push the current indentation level to the stack and set the new level
|
1200
|
+
* the current column is greater than the indentation level. In this case,
|
1201
|
+
* append or insert the specified token into the token queue.
|
1202
|
+
*
|
1203
|
+
*/
|
1204
|
+
|
1205
|
+
static int
|
1206
|
+
yaml_parser_roll_indent(yaml_parser_t *parser, ptrdiff_t column,
|
1207
|
+
ptrdiff_t number, yaml_token_type_t type, yaml_mark_t mark)
|
1208
|
+
{
|
1209
|
+
yaml_token_t token;
|
1210
|
+
|
1211
|
+
/* In the flow context, do nothing. */
|
1212
|
+
|
1213
|
+
if (parser->flow_level)
|
1214
|
+
return 1;
|
1215
|
+
|
1216
|
+
if (parser->indent < column)
|
1217
|
+
{
|
1218
|
+
/*
|
1219
|
+
* Push the current indentation level to the stack and set the new
|
1220
|
+
* indentation level.
|
1221
|
+
*/
|
1222
|
+
|
1223
|
+
if (!PUSH(parser, parser->indents, parser->indent))
|
1224
|
+
return 0;
|
1225
|
+
|
1226
|
+
if (column > INT_MAX) {
|
1227
|
+
parser->error = YAML_MEMORY_ERROR;
|
1228
|
+
return 0;
|
1229
|
+
}
|
1230
|
+
|
1231
|
+
parser->indent = (int)column;
|
1232
|
+
|
1233
|
+
/* Create a token and insert it into the queue. */
|
1234
|
+
|
1235
|
+
TOKEN_INIT(token, type, mark, mark);
|
1236
|
+
|
1237
|
+
if (number == -1) {
|
1238
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1239
|
+
return 0;
|
1240
|
+
}
|
1241
|
+
else {
|
1242
|
+
if (!QUEUE_INSERT(parser,
|
1243
|
+
parser->tokens, number - parser->tokens_parsed, token))
|
1244
|
+
return 0;
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
return 1;
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
/*
|
1252
|
+
* Pop indentation levels from the indents stack until the current level
|
1253
|
+
* becomes less or equal to the column. For each indentation level, append
|
1254
|
+
* the BLOCK-END token.
|
1255
|
+
*/
|
1256
|
+
|
1257
|
+
|
1258
|
+
static int
|
1259
|
+
yaml_parser_unroll_indent(yaml_parser_t *parser, ptrdiff_t column)
|
1260
|
+
{
|
1261
|
+
yaml_token_t token;
|
1262
|
+
|
1263
|
+
/* In the flow context, do nothing. */
|
1264
|
+
|
1265
|
+
if (parser->flow_level)
|
1266
|
+
return 1;
|
1267
|
+
|
1268
|
+
/* Loop through the indentation levels in the stack. */
|
1269
|
+
|
1270
|
+
while (parser->indent > column)
|
1271
|
+
{
|
1272
|
+
/* Create a token and append it to the queue. */
|
1273
|
+
|
1274
|
+
TOKEN_INIT(token, YAML_BLOCK_END_TOKEN, parser->mark, parser->mark);
|
1275
|
+
|
1276
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1277
|
+
return 0;
|
1278
|
+
|
1279
|
+
/* Pop the indentation level. */
|
1280
|
+
|
1281
|
+
parser->indent = POP(parser, parser->indents);
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
return 1;
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
/*
|
1288
|
+
* Initialize the scanner and produce the STREAM-START token.
|
1289
|
+
*/
|
1290
|
+
|
1291
|
+
static int
|
1292
|
+
yaml_parser_fetch_stream_start(yaml_parser_t *parser)
|
1293
|
+
{
|
1294
|
+
yaml_simple_key_t simple_key = { 0, 0, 0, { 0, 0, 0 } };
|
1295
|
+
yaml_token_t token;
|
1296
|
+
|
1297
|
+
/* Set the initial indentation. */
|
1298
|
+
|
1299
|
+
parser->indent = -1;
|
1300
|
+
|
1301
|
+
/* Initialize the simple key stack. */
|
1302
|
+
|
1303
|
+
if (!PUSH(parser, parser->simple_keys, simple_key))
|
1304
|
+
return 0;
|
1305
|
+
|
1306
|
+
/* A simple key is allowed at the beginning of the stream. */
|
1307
|
+
|
1308
|
+
parser->simple_key_allowed = 1;
|
1309
|
+
|
1310
|
+
/* We have started. */
|
1311
|
+
|
1312
|
+
parser->stream_start_produced = 1;
|
1313
|
+
|
1314
|
+
/* Create the STREAM-START token and append it to the queue. */
|
1315
|
+
|
1316
|
+
STREAM_START_TOKEN_INIT(token, parser->encoding,
|
1317
|
+
parser->mark, parser->mark);
|
1318
|
+
|
1319
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1320
|
+
return 0;
|
1321
|
+
|
1322
|
+
return 1;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
/*
|
1326
|
+
* Produce the STREAM-END token and shut down the scanner.
|
1327
|
+
*/
|
1328
|
+
|
1329
|
+
static int
|
1330
|
+
yaml_parser_fetch_stream_end(yaml_parser_t *parser)
|
1331
|
+
{
|
1332
|
+
yaml_token_t token;
|
1333
|
+
|
1334
|
+
/* Force new line. */
|
1335
|
+
|
1336
|
+
if (parser->mark.column != 0) {
|
1337
|
+
parser->mark.column = 0;
|
1338
|
+
parser->mark.line ++;
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
/* Reset the indentation level. */
|
1342
|
+
|
1343
|
+
if (!yaml_parser_unroll_indent(parser, -1))
|
1344
|
+
return 0;
|
1345
|
+
|
1346
|
+
/* Reset simple keys. */
|
1347
|
+
|
1348
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1349
|
+
return 0;
|
1350
|
+
|
1351
|
+
parser->simple_key_allowed = 0;
|
1352
|
+
|
1353
|
+
/* Create the STREAM-END token and append it to the queue. */
|
1354
|
+
|
1355
|
+
STREAM_END_TOKEN_INIT(token, parser->mark, parser->mark);
|
1356
|
+
|
1357
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1358
|
+
return 0;
|
1359
|
+
|
1360
|
+
return 1;
|
1361
|
+
}
|
1362
|
+
|
1363
|
+
/*
|
1364
|
+
* Produce a VERSION-DIRECTIVE or TAG-DIRECTIVE token.
|
1365
|
+
*/
|
1366
|
+
|
1367
|
+
static int
|
1368
|
+
yaml_parser_fetch_directive(yaml_parser_t *parser)
|
1369
|
+
{
|
1370
|
+
yaml_token_t token;
|
1371
|
+
|
1372
|
+
/* Reset the indentation level. */
|
1373
|
+
|
1374
|
+
if (!yaml_parser_unroll_indent(parser, -1))
|
1375
|
+
return 0;
|
1376
|
+
|
1377
|
+
/* Reset simple keys. */
|
1378
|
+
|
1379
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1380
|
+
return 0;
|
1381
|
+
|
1382
|
+
parser->simple_key_allowed = 0;
|
1383
|
+
|
1384
|
+
/* Create the YAML-DIRECTIVE or TAG-DIRECTIVE token. */
|
1385
|
+
|
1386
|
+
if (!yaml_parser_scan_directive(parser, &token))
|
1387
|
+
return 0;
|
1388
|
+
|
1389
|
+
/* Append the token to the queue. */
|
1390
|
+
|
1391
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1392
|
+
yaml_token_delete(&token);
|
1393
|
+
return 0;
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
return 1;
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
/*
|
1400
|
+
* Produce the DOCUMENT-START or DOCUMENT-END token.
|
1401
|
+
*/
|
1402
|
+
|
1403
|
+
static int
|
1404
|
+
yaml_parser_fetch_document_indicator(yaml_parser_t *parser,
|
1405
|
+
yaml_token_type_t type)
|
1406
|
+
{
|
1407
|
+
yaml_mark_t start_mark, end_mark;
|
1408
|
+
yaml_token_t token;
|
1409
|
+
|
1410
|
+
/* Reset the indentation level. */
|
1411
|
+
|
1412
|
+
if (!yaml_parser_unroll_indent(parser, -1))
|
1413
|
+
return 0;
|
1414
|
+
|
1415
|
+
/* Reset simple keys. */
|
1416
|
+
|
1417
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1418
|
+
return 0;
|
1419
|
+
|
1420
|
+
parser->simple_key_allowed = 0;
|
1421
|
+
|
1422
|
+
/* Consume the token. */
|
1423
|
+
|
1424
|
+
start_mark = parser->mark;
|
1425
|
+
|
1426
|
+
SKIP(parser);
|
1427
|
+
SKIP(parser);
|
1428
|
+
SKIP(parser);
|
1429
|
+
|
1430
|
+
end_mark = parser->mark;
|
1431
|
+
|
1432
|
+
/* Create the DOCUMENT-START or DOCUMENT-END token. */
|
1433
|
+
|
1434
|
+
TOKEN_INIT(token, type, start_mark, end_mark);
|
1435
|
+
|
1436
|
+
/* Append the token to the queue. */
|
1437
|
+
|
1438
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1439
|
+
return 0;
|
1440
|
+
|
1441
|
+
return 1;
|
1442
|
+
}
|
1443
|
+
|
1444
|
+
/*
|
1445
|
+
* Produce the FLOW-SEQUENCE-START or FLOW-MAPPING-START token.
|
1446
|
+
*/
|
1447
|
+
|
1448
|
+
static int
|
1449
|
+
yaml_parser_fetch_flow_collection_start(yaml_parser_t *parser,
|
1450
|
+
yaml_token_type_t type)
|
1451
|
+
{
|
1452
|
+
yaml_mark_t start_mark, end_mark;
|
1453
|
+
yaml_token_t token;
|
1454
|
+
|
1455
|
+
/* The indicators '[' and '{' may start a simple key. */
|
1456
|
+
|
1457
|
+
if (!yaml_parser_save_simple_key(parser))
|
1458
|
+
return 0;
|
1459
|
+
|
1460
|
+
/* Increase the flow level. */
|
1461
|
+
|
1462
|
+
if (!yaml_parser_increase_flow_level(parser))
|
1463
|
+
return 0;
|
1464
|
+
|
1465
|
+
/* A simple key may follow the indicators '[' and '{'. */
|
1466
|
+
|
1467
|
+
parser->simple_key_allowed = 1;
|
1468
|
+
|
1469
|
+
/* Consume the token. */
|
1470
|
+
|
1471
|
+
start_mark = parser->mark;
|
1472
|
+
SKIP(parser);
|
1473
|
+
end_mark = parser->mark;
|
1474
|
+
|
1475
|
+
/* Create the FLOW-SEQUENCE-START of FLOW-MAPPING-START token. */
|
1476
|
+
|
1477
|
+
TOKEN_INIT(token, type, start_mark, end_mark);
|
1478
|
+
|
1479
|
+
/* Append the token to the queue. */
|
1480
|
+
|
1481
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1482
|
+
return 0;
|
1483
|
+
|
1484
|
+
return 1;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
/*
|
1488
|
+
* Produce the FLOW-SEQUENCE-END or FLOW-MAPPING-END token.
|
1489
|
+
*/
|
1490
|
+
|
1491
|
+
static int
|
1492
|
+
yaml_parser_fetch_flow_collection_end(yaml_parser_t *parser,
|
1493
|
+
yaml_token_type_t type)
|
1494
|
+
{
|
1495
|
+
yaml_mark_t start_mark, end_mark;
|
1496
|
+
yaml_token_t token;
|
1497
|
+
|
1498
|
+
/* Reset any potential simple key on the current flow level. */
|
1499
|
+
|
1500
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1501
|
+
return 0;
|
1502
|
+
|
1503
|
+
/* Decrease the flow level. */
|
1504
|
+
|
1505
|
+
if (!yaml_parser_decrease_flow_level(parser))
|
1506
|
+
return 0;
|
1507
|
+
|
1508
|
+
/* No simple keys after the indicators ']' and '}'. */
|
1509
|
+
|
1510
|
+
parser->simple_key_allowed = 0;
|
1511
|
+
|
1512
|
+
/* Consume the token. */
|
1513
|
+
|
1514
|
+
start_mark = parser->mark;
|
1515
|
+
SKIP(parser);
|
1516
|
+
end_mark = parser->mark;
|
1517
|
+
|
1518
|
+
/* Create the FLOW-SEQUENCE-END of FLOW-MAPPING-END token. */
|
1519
|
+
|
1520
|
+
TOKEN_INIT(token, type, start_mark, end_mark);
|
1521
|
+
|
1522
|
+
/* Append the token to the queue. */
|
1523
|
+
|
1524
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1525
|
+
return 0;
|
1526
|
+
|
1527
|
+
return 1;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
/*
|
1531
|
+
* Produce the FLOW-ENTRY token.
|
1532
|
+
*/
|
1533
|
+
|
1534
|
+
static int
|
1535
|
+
yaml_parser_fetch_flow_entry(yaml_parser_t *parser)
|
1536
|
+
{
|
1537
|
+
yaml_mark_t start_mark, end_mark;
|
1538
|
+
yaml_token_t token;
|
1539
|
+
|
1540
|
+
/* Reset any potential simple keys on the current flow level. */
|
1541
|
+
|
1542
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1543
|
+
return 0;
|
1544
|
+
|
1545
|
+
/* Simple keys are allowed after ','. */
|
1546
|
+
|
1547
|
+
parser->simple_key_allowed = 1;
|
1548
|
+
|
1549
|
+
/* Consume the token. */
|
1550
|
+
|
1551
|
+
start_mark = parser->mark;
|
1552
|
+
SKIP(parser);
|
1553
|
+
end_mark = parser->mark;
|
1554
|
+
|
1555
|
+
/* Create the FLOW-ENTRY token and append it to the queue. */
|
1556
|
+
|
1557
|
+
TOKEN_INIT(token, YAML_FLOW_ENTRY_TOKEN, start_mark, end_mark);
|
1558
|
+
|
1559
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1560
|
+
return 0;
|
1561
|
+
|
1562
|
+
return 1;
|
1563
|
+
}
|
1564
|
+
|
1565
|
+
/*
|
1566
|
+
* Produce the BLOCK-ENTRY token.
|
1567
|
+
*/
|
1568
|
+
|
1569
|
+
static int
|
1570
|
+
yaml_parser_fetch_block_entry(yaml_parser_t *parser)
|
1571
|
+
{
|
1572
|
+
yaml_mark_t start_mark, end_mark;
|
1573
|
+
yaml_token_t token;
|
1574
|
+
|
1575
|
+
/* Check if the scanner is in the block context. */
|
1576
|
+
|
1577
|
+
if (!parser->flow_level)
|
1578
|
+
{
|
1579
|
+
/* Check if we are allowed to start a new entry. */
|
1580
|
+
|
1581
|
+
if (!parser->simple_key_allowed) {
|
1582
|
+
return yaml_parser_set_scanner_error(parser, NULL, parser->mark,
|
1583
|
+
"block sequence entries are not allowed in this context");
|
1584
|
+
}
|
1585
|
+
|
1586
|
+
/* Add the BLOCK-SEQUENCE-START token if needed. */
|
1587
|
+
|
1588
|
+
if (!yaml_parser_roll_indent(parser, parser->mark.column, -1,
|
1589
|
+
YAML_BLOCK_SEQUENCE_START_TOKEN, parser->mark))
|
1590
|
+
return 0;
|
1591
|
+
}
|
1592
|
+
else
|
1593
|
+
{
|
1594
|
+
/*
|
1595
|
+
* It is an error for the '-' indicator to occur in the flow context,
|
1596
|
+
* but we let the Parser detect and report about it because the Parser
|
1597
|
+
* is able to point to the context.
|
1598
|
+
*/
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
/* Reset any potential simple keys on the current flow level. */
|
1602
|
+
|
1603
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1604
|
+
return 0;
|
1605
|
+
|
1606
|
+
/* Simple keys are allowed after '-'. */
|
1607
|
+
|
1608
|
+
parser->simple_key_allowed = 1;
|
1609
|
+
|
1610
|
+
/* Consume the token. */
|
1611
|
+
|
1612
|
+
start_mark = parser->mark;
|
1613
|
+
SKIP(parser);
|
1614
|
+
end_mark = parser->mark;
|
1615
|
+
|
1616
|
+
/* Create the BLOCK-ENTRY token and append it to the queue. */
|
1617
|
+
|
1618
|
+
TOKEN_INIT(token, YAML_BLOCK_ENTRY_TOKEN, start_mark, end_mark);
|
1619
|
+
|
1620
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1621
|
+
return 0;
|
1622
|
+
|
1623
|
+
return 1;
|
1624
|
+
}
|
1625
|
+
|
1626
|
+
/*
|
1627
|
+
* Produce the KEY token.
|
1628
|
+
*/
|
1629
|
+
|
1630
|
+
static int
|
1631
|
+
yaml_parser_fetch_key(yaml_parser_t *parser)
|
1632
|
+
{
|
1633
|
+
yaml_mark_t start_mark, end_mark;
|
1634
|
+
yaml_token_t token;
|
1635
|
+
|
1636
|
+
/* In the block context, additional checks are required. */
|
1637
|
+
|
1638
|
+
if (!parser->flow_level)
|
1639
|
+
{
|
1640
|
+
/* Check if we are allowed to start a new key (not necessary simple). */
|
1641
|
+
|
1642
|
+
if (!parser->simple_key_allowed) {
|
1643
|
+
return yaml_parser_set_scanner_error(parser, NULL, parser->mark,
|
1644
|
+
"mapping keys are not allowed in this context");
|
1645
|
+
}
|
1646
|
+
|
1647
|
+
/* Add the BLOCK-MAPPING-START token if needed. */
|
1648
|
+
|
1649
|
+
if (!yaml_parser_roll_indent(parser, parser->mark.column, -1,
|
1650
|
+
YAML_BLOCK_MAPPING_START_TOKEN, parser->mark))
|
1651
|
+
return 0;
|
1652
|
+
}
|
1653
|
+
|
1654
|
+
/* Reset any potential simple keys on the current flow level. */
|
1655
|
+
|
1656
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1657
|
+
return 0;
|
1658
|
+
|
1659
|
+
/* Simple keys are allowed after '?' in the block context. */
|
1660
|
+
|
1661
|
+
parser->simple_key_allowed = (!parser->flow_level);
|
1662
|
+
|
1663
|
+
/* Consume the token. */
|
1664
|
+
|
1665
|
+
start_mark = parser->mark;
|
1666
|
+
SKIP(parser);
|
1667
|
+
end_mark = parser->mark;
|
1668
|
+
|
1669
|
+
/* Create the KEY token and append it to the queue. */
|
1670
|
+
|
1671
|
+
TOKEN_INIT(token, YAML_KEY_TOKEN, start_mark, end_mark);
|
1672
|
+
|
1673
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1674
|
+
return 0;
|
1675
|
+
|
1676
|
+
return 1;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
/*
|
1680
|
+
* Produce the VALUE token.
|
1681
|
+
*/
|
1682
|
+
|
1683
|
+
static int
|
1684
|
+
yaml_parser_fetch_value(yaml_parser_t *parser)
|
1685
|
+
{
|
1686
|
+
yaml_mark_t start_mark, end_mark;
|
1687
|
+
yaml_token_t token;
|
1688
|
+
yaml_simple_key_t *simple_key = parser->simple_keys.top-1;
|
1689
|
+
|
1690
|
+
/* Have we found a simple key? */
|
1691
|
+
|
1692
|
+
if (simple_key->possible)
|
1693
|
+
{
|
1694
|
+
|
1695
|
+
/* Create the KEY token and insert it into the queue. */
|
1696
|
+
|
1697
|
+
TOKEN_INIT(token, YAML_KEY_TOKEN, simple_key->mark, simple_key->mark);
|
1698
|
+
|
1699
|
+
if (!QUEUE_INSERT(parser, parser->tokens,
|
1700
|
+
simple_key->token_number - parser->tokens_parsed, token))
|
1701
|
+
return 0;
|
1702
|
+
|
1703
|
+
/* In the block context, we may need to add the BLOCK-MAPPING-START token. */
|
1704
|
+
|
1705
|
+
if (!yaml_parser_roll_indent(parser, simple_key->mark.column,
|
1706
|
+
simple_key->token_number,
|
1707
|
+
YAML_BLOCK_MAPPING_START_TOKEN, simple_key->mark))
|
1708
|
+
return 0;
|
1709
|
+
|
1710
|
+
/* Remove the simple key. */
|
1711
|
+
|
1712
|
+
simple_key->possible = 0;
|
1713
|
+
|
1714
|
+
/* A simple key cannot follow another simple key. */
|
1715
|
+
|
1716
|
+
parser->simple_key_allowed = 0;
|
1717
|
+
}
|
1718
|
+
else
|
1719
|
+
{
|
1720
|
+
/* The ':' indicator follows a complex key. */
|
1721
|
+
|
1722
|
+
/* In the block context, extra checks are required. */
|
1723
|
+
|
1724
|
+
if (!parser->flow_level)
|
1725
|
+
{
|
1726
|
+
/* Check if we are allowed to start a complex value. */
|
1727
|
+
|
1728
|
+
if (!parser->simple_key_allowed) {
|
1729
|
+
return yaml_parser_set_scanner_error(parser, NULL, parser->mark,
|
1730
|
+
"mapping values are not allowed in this context");
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
/* Add the BLOCK-MAPPING-START token if needed. */
|
1734
|
+
|
1735
|
+
if (!yaml_parser_roll_indent(parser, parser->mark.column, -1,
|
1736
|
+
YAML_BLOCK_MAPPING_START_TOKEN, parser->mark))
|
1737
|
+
return 0;
|
1738
|
+
}
|
1739
|
+
|
1740
|
+
/* Simple keys after ':' are allowed in the block context. */
|
1741
|
+
|
1742
|
+
parser->simple_key_allowed = (!parser->flow_level);
|
1743
|
+
}
|
1744
|
+
|
1745
|
+
/* Consume the token. */
|
1746
|
+
|
1747
|
+
start_mark = parser->mark;
|
1748
|
+
SKIP(parser);
|
1749
|
+
end_mark = parser->mark;
|
1750
|
+
|
1751
|
+
/* Create the VALUE token and append it to the queue. */
|
1752
|
+
|
1753
|
+
TOKEN_INIT(token, YAML_VALUE_TOKEN, start_mark, end_mark);
|
1754
|
+
|
1755
|
+
if (!ENQUEUE(parser, parser->tokens, token))
|
1756
|
+
return 0;
|
1757
|
+
|
1758
|
+
return 1;
|
1759
|
+
}
|
1760
|
+
|
1761
|
+
/*
|
1762
|
+
* Produce the ALIAS or ANCHOR token.
|
1763
|
+
*/
|
1764
|
+
|
1765
|
+
static int
|
1766
|
+
yaml_parser_fetch_anchor(yaml_parser_t *parser, yaml_token_type_t type)
|
1767
|
+
{
|
1768
|
+
yaml_token_t token;
|
1769
|
+
|
1770
|
+
/* An anchor or an alias could be a simple key. */
|
1771
|
+
|
1772
|
+
if (!yaml_parser_save_simple_key(parser))
|
1773
|
+
return 0;
|
1774
|
+
|
1775
|
+
/* A simple key cannot follow an anchor or an alias. */
|
1776
|
+
|
1777
|
+
parser->simple_key_allowed = 0;
|
1778
|
+
|
1779
|
+
/* Create the ALIAS or ANCHOR token and append it to the queue. */
|
1780
|
+
|
1781
|
+
if (!yaml_parser_scan_anchor(parser, &token, type))
|
1782
|
+
return 0;
|
1783
|
+
|
1784
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1785
|
+
yaml_token_delete(&token);
|
1786
|
+
return 0;
|
1787
|
+
}
|
1788
|
+
return 1;
|
1789
|
+
}
|
1790
|
+
|
1791
|
+
/*
|
1792
|
+
* Produce the TAG token.
|
1793
|
+
*/
|
1794
|
+
|
1795
|
+
static int
|
1796
|
+
yaml_parser_fetch_tag(yaml_parser_t *parser)
|
1797
|
+
{
|
1798
|
+
yaml_token_t token;
|
1799
|
+
|
1800
|
+
/* A tag could be a simple key. */
|
1801
|
+
|
1802
|
+
if (!yaml_parser_save_simple_key(parser))
|
1803
|
+
return 0;
|
1804
|
+
|
1805
|
+
/* A simple key cannot follow a tag. */
|
1806
|
+
|
1807
|
+
parser->simple_key_allowed = 0;
|
1808
|
+
|
1809
|
+
/* Create the TAG token and append it to the queue. */
|
1810
|
+
|
1811
|
+
if (!yaml_parser_scan_tag(parser, &token))
|
1812
|
+
return 0;
|
1813
|
+
|
1814
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1815
|
+
yaml_token_delete(&token);
|
1816
|
+
return 0;
|
1817
|
+
}
|
1818
|
+
|
1819
|
+
return 1;
|
1820
|
+
}
|
1821
|
+
|
1822
|
+
/*
|
1823
|
+
* Produce the SCALAR(...,literal) or SCALAR(...,folded) tokens.
|
1824
|
+
*/
|
1825
|
+
|
1826
|
+
static int
|
1827
|
+
yaml_parser_fetch_block_scalar(yaml_parser_t *parser, int literal)
|
1828
|
+
{
|
1829
|
+
yaml_token_t token;
|
1830
|
+
|
1831
|
+
/* Remove any potential simple keys. */
|
1832
|
+
|
1833
|
+
if (!yaml_parser_remove_simple_key(parser))
|
1834
|
+
return 0;
|
1835
|
+
|
1836
|
+
/* A simple key may follow a block scalar. */
|
1837
|
+
|
1838
|
+
parser->simple_key_allowed = 1;
|
1839
|
+
|
1840
|
+
/* Create the SCALAR token and append it to the queue. */
|
1841
|
+
|
1842
|
+
if (!yaml_parser_scan_block_scalar(parser, &token, literal))
|
1843
|
+
return 0;
|
1844
|
+
|
1845
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1846
|
+
yaml_token_delete(&token);
|
1847
|
+
return 0;
|
1848
|
+
}
|
1849
|
+
|
1850
|
+
return 1;
|
1851
|
+
}
|
1852
|
+
|
1853
|
+
/*
|
1854
|
+
* Produce the SCALAR(...,single-quoted) or SCALAR(...,double-quoted) tokens.
|
1855
|
+
*/
|
1856
|
+
|
1857
|
+
static int
|
1858
|
+
yaml_parser_fetch_flow_scalar(yaml_parser_t *parser, int single)
|
1859
|
+
{
|
1860
|
+
yaml_token_t token;
|
1861
|
+
|
1862
|
+
/* A plain scalar could be a simple key. */
|
1863
|
+
|
1864
|
+
if (!yaml_parser_save_simple_key(parser))
|
1865
|
+
return 0;
|
1866
|
+
|
1867
|
+
/* A simple key cannot follow a flow scalar. */
|
1868
|
+
|
1869
|
+
parser->simple_key_allowed = 0;
|
1870
|
+
|
1871
|
+
/* Create the SCALAR token and append it to the queue. */
|
1872
|
+
|
1873
|
+
if (!yaml_parser_scan_flow_scalar(parser, &token, single))
|
1874
|
+
return 0;
|
1875
|
+
|
1876
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1877
|
+
yaml_token_delete(&token);
|
1878
|
+
return 0;
|
1879
|
+
}
|
1880
|
+
|
1881
|
+
return 1;
|
1882
|
+
}
|
1883
|
+
|
1884
|
+
/*
|
1885
|
+
* Produce the SCALAR(...,plain) token.
|
1886
|
+
*/
|
1887
|
+
|
1888
|
+
static int
|
1889
|
+
yaml_parser_fetch_plain_scalar(yaml_parser_t *parser)
|
1890
|
+
{
|
1891
|
+
yaml_token_t token;
|
1892
|
+
|
1893
|
+
/* A plain scalar could be a simple key. */
|
1894
|
+
|
1895
|
+
if (!yaml_parser_save_simple_key(parser))
|
1896
|
+
return 0;
|
1897
|
+
|
1898
|
+
/* A simple key cannot follow a flow scalar. */
|
1899
|
+
|
1900
|
+
parser->simple_key_allowed = 0;
|
1901
|
+
|
1902
|
+
/* Create the SCALAR token and append it to the queue. */
|
1903
|
+
|
1904
|
+
if (!yaml_parser_scan_plain_scalar(parser, &token))
|
1905
|
+
return 0;
|
1906
|
+
|
1907
|
+
if (!ENQUEUE(parser, parser->tokens, token)) {
|
1908
|
+
yaml_token_delete(&token);
|
1909
|
+
return 0;
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
return 1;
|
1913
|
+
}
|
1914
|
+
|
1915
|
+
/*
|
1916
|
+
* Eat whitespaces and comments until the next token is found.
|
1917
|
+
*/
|
1918
|
+
|
1919
|
+
static int
|
1920
|
+
yaml_parser_scan_to_next_token(yaml_parser_t *parser)
|
1921
|
+
{
|
1922
|
+
/* Until the next token is not found. */
|
1923
|
+
|
1924
|
+
while (1)
|
1925
|
+
{
|
1926
|
+
/* Allow the BOM mark to start a line. */
|
1927
|
+
|
1928
|
+
if (!CACHE(parser, 1)) return 0;
|
1929
|
+
|
1930
|
+
if (parser->mark.column == 0 && IS_BOM(parser->buffer))
|
1931
|
+
SKIP(parser);
|
1932
|
+
|
1933
|
+
/*
|
1934
|
+
* Eat whitespaces.
|
1935
|
+
*
|
1936
|
+
* Tabs are allowed:
|
1937
|
+
*
|
1938
|
+
* - in the flow context;
|
1939
|
+
* - in the block context, but not at the beginning of the line or
|
1940
|
+
* after '-', '?', or ':' (complex value).
|
1941
|
+
*/
|
1942
|
+
|
1943
|
+
if (!CACHE(parser, 1)) return 0;
|
1944
|
+
|
1945
|
+
while (CHECK(parser->buffer,' ') ||
|
1946
|
+
((parser->flow_level || !parser->simple_key_allowed) &&
|
1947
|
+
CHECK(parser->buffer, '\t'))) {
|
1948
|
+
SKIP(parser);
|
1949
|
+
if (!CACHE(parser, 1)) return 0;
|
1950
|
+
}
|
1951
|
+
|
1952
|
+
/* Eat a comment until a line break. */
|
1953
|
+
|
1954
|
+
if (CHECK(parser->buffer, '#')) {
|
1955
|
+
while (!IS_BREAKZ(parser->buffer)) {
|
1956
|
+
SKIP(parser);
|
1957
|
+
if (!CACHE(parser, 1)) return 0;
|
1958
|
+
}
|
1959
|
+
}
|
1960
|
+
|
1961
|
+
/* If it is a line break, eat it. */
|
1962
|
+
|
1963
|
+
if (IS_BREAK(parser->buffer))
|
1964
|
+
{
|
1965
|
+
if (!CACHE(parser, 2)) return 0;
|
1966
|
+
SKIP_LINE(parser);
|
1967
|
+
|
1968
|
+
/* In the block context, a new line may start a simple key. */
|
1969
|
+
|
1970
|
+
if (!parser->flow_level) {
|
1971
|
+
parser->simple_key_allowed = 1;
|
1972
|
+
}
|
1973
|
+
}
|
1974
|
+
else
|
1975
|
+
{
|
1976
|
+
/* We have found a token. */
|
1977
|
+
|
1978
|
+
break;
|
1979
|
+
}
|
1980
|
+
}
|
1981
|
+
|
1982
|
+
return 1;
|
1983
|
+
}
|
1984
|
+
|
1985
|
+
/*
|
1986
|
+
* Scan a YAML-DIRECTIVE or TAG-DIRECTIVE token.
|
1987
|
+
*
|
1988
|
+
* Scope:
|
1989
|
+
* %YAML 1.1 # a comment \n
|
1990
|
+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
1991
|
+
* %TAG !yaml! tag:yaml.org,2002: \n
|
1992
|
+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
1993
|
+
*/
|
1994
|
+
|
1995
|
+
int
|
1996
|
+
yaml_parser_scan_directive(yaml_parser_t *parser, yaml_token_t *token)
|
1997
|
+
{
|
1998
|
+
yaml_mark_t start_mark, end_mark;
|
1999
|
+
yaml_char_t *name = NULL;
|
2000
|
+
int major, minor;
|
2001
|
+
yaml_char_t *handle = NULL, *prefix = NULL;
|
2002
|
+
|
2003
|
+
/* Eat '%'. */
|
2004
|
+
|
2005
|
+
start_mark = parser->mark;
|
2006
|
+
|
2007
|
+
SKIP(parser);
|
2008
|
+
|
2009
|
+
/* Scan the directive name. */
|
2010
|
+
|
2011
|
+
if (!yaml_parser_scan_directive_name(parser, start_mark, &name))
|
2012
|
+
goto error;
|
2013
|
+
|
2014
|
+
/* Is it a YAML directive? */
|
2015
|
+
|
2016
|
+
if (strcmp((char *)name, "YAML") == 0)
|
2017
|
+
{
|
2018
|
+
/* Scan the VERSION directive value. */
|
2019
|
+
|
2020
|
+
if (!yaml_parser_scan_version_directive_value(parser, start_mark,
|
2021
|
+
&major, &minor))
|
2022
|
+
goto error;
|
2023
|
+
|
2024
|
+
end_mark = parser->mark;
|
2025
|
+
|
2026
|
+
/* Create a VERSION-DIRECTIVE token. */
|
2027
|
+
|
2028
|
+
VERSION_DIRECTIVE_TOKEN_INIT(*token, major, minor,
|
2029
|
+
start_mark, end_mark);
|
2030
|
+
}
|
2031
|
+
|
2032
|
+
/* Is it a TAG directive? */
|
2033
|
+
|
2034
|
+
else if (strcmp((char *)name, "TAG") == 0)
|
2035
|
+
{
|
2036
|
+
/* Scan the TAG directive value. */
|
2037
|
+
|
2038
|
+
if (!yaml_parser_scan_tag_directive_value(parser, start_mark,
|
2039
|
+
&handle, &prefix))
|
2040
|
+
goto error;
|
2041
|
+
|
2042
|
+
end_mark = parser->mark;
|
2043
|
+
|
2044
|
+
/* Create a TAG-DIRECTIVE token. */
|
2045
|
+
|
2046
|
+
TAG_DIRECTIVE_TOKEN_INIT(*token, handle, prefix,
|
2047
|
+
start_mark, end_mark);
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
/* Unknown directive. */
|
2051
|
+
|
2052
|
+
else
|
2053
|
+
{
|
2054
|
+
yaml_parser_set_scanner_error(parser, "while scanning a directive",
|
2055
|
+
start_mark, "found unknown directive name");
|
2056
|
+
goto error;
|
2057
|
+
}
|
2058
|
+
|
2059
|
+
/* Eat the rest of the line including any comments. */
|
2060
|
+
|
2061
|
+
if (!CACHE(parser, 1)) goto error;
|
2062
|
+
|
2063
|
+
while (IS_BLANK(parser->buffer)) {
|
2064
|
+
SKIP(parser);
|
2065
|
+
if (!CACHE(parser, 1)) goto error;
|
2066
|
+
}
|
2067
|
+
|
2068
|
+
if (CHECK(parser->buffer, '#')) {
|
2069
|
+
while (!IS_BREAKZ(parser->buffer)) {
|
2070
|
+
SKIP(parser);
|
2071
|
+
if (!CACHE(parser, 1)) goto error;
|
2072
|
+
}
|
2073
|
+
}
|
2074
|
+
|
2075
|
+
/* Check if we are at the end of the line. */
|
2076
|
+
|
2077
|
+
if (!IS_BREAKZ(parser->buffer)) {
|
2078
|
+
yaml_parser_set_scanner_error(parser, "while scanning a directive",
|
2079
|
+
start_mark, "did not find expected comment or line break");
|
2080
|
+
goto error;
|
2081
|
+
}
|
2082
|
+
|
2083
|
+
/* Eat a line break. */
|
2084
|
+
|
2085
|
+
if (IS_BREAK(parser->buffer)) {
|
2086
|
+
if (!CACHE(parser, 2)) goto error;
|
2087
|
+
SKIP_LINE(parser);
|
2088
|
+
}
|
2089
|
+
|
2090
|
+
yaml_free(name);
|
2091
|
+
|
2092
|
+
return 1;
|
2093
|
+
|
2094
|
+
error:
|
2095
|
+
yaml_free(prefix);
|
2096
|
+
yaml_free(handle);
|
2097
|
+
yaml_free(name);
|
2098
|
+
return 0;
|
2099
|
+
}
|
2100
|
+
|
2101
|
+
/*
|
2102
|
+
* Scan the directive name.
|
2103
|
+
*
|
2104
|
+
* Scope:
|
2105
|
+
* %YAML 1.1 # a comment \n
|
2106
|
+
* ^^^^
|
2107
|
+
* %TAG !yaml! tag:yaml.org,2002: \n
|
2108
|
+
* ^^^
|
2109
|
+
*/
|
2110
|
+
|
2111
|
+
static int
|
2112
|
+
yaml_parser_scan_directive_name(yaml_parser_t *parser,
|
2113
|
+
yaml_mark_t start_mark, yaml_char_t **name)
|
2114
|
+
{
|
2115
|
+
yaml_string_t string = NULL_STRING;
|
2116
|
+
|
2117
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
2118
|
+
|
2119
|
+
/* Consume the directive name. */
|
2120
|
+
|
2121
|
+
if (!CACHE(parser, 1)) goto error;
|
2122
|
+
|
2123
|
+
while (IS_ALPHA(parser->buffer))
|
2124
|
+
{
|
2125
|
+
if (!READ(parser, string)) goto error;
|
2126
|
+
if (!CACHE(parser, 1)) goto error;
|
2127
|
+
}
|
2128
|
+
|
2129
|
+
/* Check if the name is empty. */
|
2130
|
+
|
2131
|
+
if (string.start == string.pointer) {
|
2132
|
+
yaml_parser_set_scanner_error(parser, "while scanning a directive",
|
2133
|
+
start_mark, "could not find expected directive name");
|
2134
|
+
goto error;
|
2135
|
+
}
|
2136
|
+
|
2137
|
+
/* Check for an blank character after the name. */
|
2138
|
+
|
2139
|
+
if (!IS_BLANKZ(parser->buffer)) {
|
2140
|
+
yaml_parser_set_scanner_error(parser, "while scanning a directive",
|
2141
|
+
start_mark, "found unexpected non-alphabetical character");
|
2142
|
+
goto error;
|
2143
|
+
}
|
2144
|
+
|
2145
|
+
*name = string.start;
|
2146
|
+
|
2147
|
+
return 1;
|
2148
|
+
|
2149
|
+
error:
|
2150
|
+
STRING_DEL(parser, string);
|
2151
|
+
return 0;
|
2152
|
+
}
|
2153
|
+
|
2154
|
+
/*
|
2155
|
+
* Scan the value of VERSION-DIRECTIVE.
|
2156
|
+
*
|
2157
|
+
* Scope:
|
2158
|
+
* %YAML 1.1 # a comment \n
|
2159
|
+
* ^^^^^^
|
2160
|
+
*/
|
2161
|
+
|
2162
|
+
static int
|
2163
|
+
yaml_parser_scan_version_directive_value(yaml_parser_t *parser,
|
2164
|
+
yaml_mark_t start_mark, int *major, int *minor)
|
2165
|
+
{
|
2166
|
+
/* Eat whitespaces. */
|
2167
|
+
|
2168
|
+
if (!CACHE(parser, 1)) return 0;
|
2169
|
+
|
2170
|
+
while (IS_BLANK(parser->buffer)) {
|
2171
|
+
SKIP(parser);
|
2172
|
+
if (!CACHE(parser, 1)) return 0;
|
2173
|
+
}
|
2174
|
+
|
2175
|
+
/* Consume the major version number. */
|
2176
|
+
|
2177
|
+
if (!yaml_parser_scan_version_directive_number(parser, start_mark, major))
|
2178
|
+
return 0;
|
2179
|
+
|
2180
|
+
/* Eat '.'. */
|
2181
|
+
|
2182
|
+
if (!CHECK(parser->buffer, '.')) {
|
2183
|
+
return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
|
2184
|
+
start_mark, "did not find expected digit or '.' character");
|
2185
|
+
}
|
2186
|
+
|
2187
|
+
SKIP(parser);
|
2188
|
+
|
2189
|
+
/* Consume the minor version number. */
|
2190
|
+
|
2191
|
+
if (!yaml_parser_scan_version_directive_number(parser, start_mark, minor))
|
2192
|
+
return 0;
|
2193
|
+
|
2194
|
+
return 1;
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
#define MAX_NUMBER_LENGTH 9
|
2198
|
+
|
2199
|
+
/*
|
2200
|
+
* Scan the version number of VERSION-DIRECTIVE.
|
2201
|
+
*
|
2202
|
+
* Scope:
|
2203
|
+
* %YAML 1.1 # a comment \n
|
2204
|
+
* ^
|
2205
|
+
* %YAML 1.1 # a comment \n
|
2206
|
+
* ^
|
2207
|
+
*/
|
2208
|
+
|
2209
|
+
static int
|
2210
|
+
yaml_parser_scan_version_directive_number(yaml_parser_t *parser,
|
2211
|
+
yaml_mark_t start_mark, int *number)
|
2212
|
+
{
|
2213
|
+
int value = 0;
|
2214
|
+
size_t length = 0;
|
2215
|
+
|
2216
|
+
/* Repeat while the next character is digit. */
|
2217
|
+
|
2218
|
+
if (!CACHE(parser, 1)) return 0;
|
2219
|
+
|
2220
|
+
while (IS_DIGIT(parser->buffer))
|
2221
|
+
{
|
2222
|
+
/* Check if the number is too long. */
|
2223
|
+
|
2224
|
+
if (++length > MAX_NUMBER_LENGTH) {
|
2225
|
+
return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
|
2226
|
+
start_mark, "found extremely long version number");
|
2227
|
+
}
|
2228
|
+
|
2229
|
+
value = value*10 + AS_DIGIT(parser->buffer);
|
2230
|
+
|
2231
|
+
SKIP(parser);
|
2232
|
+
|
2233
|
+
if (!CACHE(parser, 1)) return 0;
|
2234
|
+
}
|
2235
|
+
|
2236
|
+
/* Check if the number was present. */
|
2237
|
+
|
2238
|
+
if (!length) {
|
2239
|
+
return yaml_parser_set_scanner_error(parser, "while scanning a %YAML directive",
|
2240
|
+
start_mark, "did not find expected version number");
|
2241
|
+
}
|
2242
|
+
|
2243
|
+
*number = value;
|
2244
|
+
|
2245
|
+
return 1;
|
2246
|
+
}
|
2247
|
+
|
2248
|
+
/*
|
2249
|
+
* Scan the value of a TAG-DIRECTIVE token.
|
2250
|
+
*
|
2251
|
+
* Scope:
|
2252
|
+
* %TAG !yaml! tag:yaml.org,2002: \n
|
2253
|
+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2254
|
+
*/
|
2255
|
+
|
2256
|
+
static int
|
2257
|
+
yaml_parser_scan_tag_directive_value(yaml_parser_t *parser,
|
2258
|
+
yaml_mark_t start_mark, yaml_char_t **handle, yaml_char_t **prefix)
|
2259
|
+
{
|
2260
|
+
yaml_char_t *handle_value = NULL;
|
2261
|
+
yaml_char_t *prefix_value = NULL;
|
2262
|
+
|
2263
|
+
/* Eat whitespaces. */
|
2264
|
+
|
2265
|
+
if (!CACHE(parser, 1)) goto error;
|
2266
|
+
|
2267
|
+
while (IS_BLANK(parser->buffer)) {
|
2268
|
+
SKIP(parser);
|
2269
|
+
if (!CACHE(parser, 1)) goto error;
|
2270
|
+
}
|
2271
|
+
|
2272
|
+
/* Scan a handle. */
|
2273
|
+
|
2274
|
+
if (!yaml_parser_scan_tag_handle(parser, 1, start_mark, &handle_value))
|
2275
|
+
goto error;
|
2276
|
+
|
2277
|
+
/* Expect a whitespace. */
|
2278
|
+
|
2279
|
+
if (!CACHE(parser, 1)) goto error;
|
2280
|
+
|
2281
|
+
if (!IS_BLANK(parser->buffer)) {
|
2282
|
+
yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive",
|
2283
|
+
start_mark, "did not find expected whitespace");
|
2284
|
+
goto error;
|
2285
|
+
}
|
2286
|
+
|
2287
|
+
/* Eat whitespaces. */
|
2288
|
+
|
2289
|
+
while (IS_BLANK(parser->buffer)) {
|
2290
|
+
SKIP(parser);
|
2291
|
+
if (!CACHE(parser, 1)) goto error;
|
2292
|
+
}
|
2293
|
+
|
2294
|
+
/* Scan a prefix. */
|
2295
|
+
|
2296
|
+
if (!yaml_parser_scan_tag_uri(parser, 1, 1, NULL, start_mark, &prefix_value))
|
2297
|
+
goto error;
|
2298
|
+
|
2299
|
+
/* Expect a whitespace or line break. */
|
2300
|
+
|
2301
|
+
if (!CACHE(parser, 1)) goto error;
|
2302
|
+
|
2303
|
+
if (!IS_BLANKZ(parser->buffer)) {
|
2304
|
+
yaml_parser_set_scanner_error(parser, "while scanning a %TAG directive",
|
2305
|
+
start_mark, "did not find expected whitespace or line break");
|
2306
|
+
goto error;
|
2307
|
+
}
|
2308
|
+
|
2309
|
+
*handle = handle_value;
|
2310
|
+
*prefix = prefix_value;
|
2311
|
+
|
2312
|
+
return 1;
|
2313
|
+
|
2314
|
+
error:
|
2315
|
+
yaml_free(handle_value);
|
2316
|
+
yaml_free(prefix_value);
|
2317
|
+
return 0;
|
2318
|
+
}
|
2319
|
+
|
2320
|
+
static int
|
2321
|
+
yaml_parser_scan_anchor(yaml_parser_t *parser, yaml_token_t *token,
|
2322
|
+
yaml_token_type_t type)
|
2323
|
+
{
|
2324
|
+
int length = 0;
|
2325
|
+
yaml_mark_t start_mark, end_mark;
|
2326
|
+
yaml_string_t string = NULL_STRING;
|
2327
|
+
|
2328
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
2329
|
+
|
2330
|
+
/* Eat the indicator character. */
|
2331
|
+
|
2332
|
+
start_mark = parser->mark;
|
2333
|
+
|
2334
|
+
SKIP(parser);
|
2335
|
+
|
2336
|
+
/* Consume the value. */
|
2337
|
+
|
2338
|
+
if (!CACHE(parser, 1)) goto error;
|
2339
|
+
|
2340
|
+
while (IS_ALPHA(parser->buffer)) {
|
2341
|
+
if (!READ(parser, string)) goto error;
|
2342
|
+
if (!CACHE(parser, 1)) goto error;
|
2343
|
+
length ++;
|
2344
|
+
}
|
2345
|
+
|
2346
|
+
end_mark = parser->mark;
|
2347
|
+
|
2348
|
+
/*
|
2349
|
+
* Check if length of the anchor is greater than 0 and it is followed by
|
2350
|
+
* a whitespace character or one of the indicators:
|
2351
|
+
*
|
2352
|
+
* '?', ':', ',', ']', '}', '%', '@', '`'.
|
2353
|
+
*/
|
2354
|
+
|
2355
|
+
if (!length || !(IS_BLANKZ(parser->buffer) || CHECK(parser->buffer, '?')
|
2356
|
+
|| CHECK(parser->buffer, ':') || CHECK(parser->buffer, ',')
|
2357
|
+
|| CHECK(parser->buffer, ']') || CHECK(parser->buffer, '}')
|
2358
|
+
|| CHECK(parser->buffer, '%') || CHECK(parser->buffer, '@')
|
2359
|
+
|| CHECK(parser->buffer, '`'))) {
|
2360
|
+
yaml_parser_set_scanner_error(parser, type == YAML_ANCHOR_TOKEN ?
|
2361
|
+
"while scanning an anchor" : "while scanning an alias", start_mark,
|
2362
|
+
"did not find expected alphabetic or numeric character");
|
2363
|
+
goto error;
|
2364
|
+
}
|
2365
|
+
|
2366
|
+
/* Create a token. */
|
2367
|
+
|
2368
|
+
if (type == YAML_ANCHOR_TOKEN) {
|
2369
|
+
ANCHOR_TOKEN_INIT(*token, string.start, start_mark, end_mark);
|
2370
|
+
}
|
2371
|
+
else {
|
2372
|
+
ALIAS_TOKEN_INIT(*token, string.start, start_mark, end_mark);
|
2373
|
+
}
|
2374
|
+
|
2375
|
+
return 1;
|
2376
|
+
|
2377
|
+
error:
|
2378
|
+
STRING_DEL(parser, string);
|
2379
|
+
return 0;
|
2380
|
+
}
|
2381
|
+
|
2382
|
+
/*
|
2383
|
+
* Scan a TAG token.
|
2384
|
+
*/
|
2385
|
+
|
2386
|
+
static int
|
2387
|
+
yaml_parser_scan_tag(yaml_parser_t *parser, yaml_token_t *token)
|
2388
|
+
{
|
2389
|
+
yaml_char_t *handle = NULL;
|
2390
|
+
yaml_char_t *suffix = NULL;
|
2391
|
+
yaml_mark_t start_mark, end_mark;
|
2392
|
+
|
2393
|
+
start_mark = parser->mark;
|
2394
|
+
|
2395
|
+
/* Check if the tag is in the canonical form. */
|
2396
|
+
|
2397
|
+
if (!CACHE(parser, 2)) goto error;
|
2398
|
+
|
2399
|
+
if (CHECK_AT(parser->buffer, '<', 1))
|
2400
|
+
{
|
2401
|
+
/* Set the handle to '' */
|
2402
|
+
|
2403
|
+
handle = YAML_MALLOC(1);
|
2404
|
+
if (!handle) goto error;
|
2405
|
+
handle[0] = '\0';
|
2406
|
+
|
2407
|
+
/* Eat '!<' */
|
2408
|
+
|
2409
|
+
SKIP(parser);
|
2410
|
+
SKIP(parser);
|
2411
|
+
|
2412
|
+
/* Consume the tag value. */
|
2413
|
+
|
2414
|
+
if (!yaml_parser_scan_tag_uri(parser, 1, 0, NULL, start_mark, &suffix))
|
2415
|
+
goto error;
|
2416
|
+
|
2417
|
+
/* Check for '>' and eat it. */
|
2418
|
+
|
2419
|
+
if (!CHECK(parser->buffer, '>')) {
|
2420
|
+
yaml_parser_set_scanner_error(parser, "while scanning a tag",
|
2421
|
+
start_mark, "did not find the expected '>'");
|
2422
|
+
goto error;
|
2423
|
+
}
|
2424
|
+
|
2425
|
+
SKIP(parser);
|
2426
|
+
}
|
2427
|
+
else
|
2428
|
+
{
|
2429
|
+
/* The tag has either the '!suffix' or the '!handle!suffix' form. */
|
2430
|
+
|
2431
|
+
/* First, try to scan a handle. */
|
2432
|
+
|
2433
|
+
if (!yaml_parser_scan_tag_handle(parser, 0, start_mark, &handle))
|
2434
|
+
goto error;
|
2435
|
+
|
2436
|
+
/* Check if it is, indeed, handle. */
|
2437
|
+
|
2438
|
+
if (handle[0] == '!' && handle[1] != '\0' && handle[strlen((char *)handle)-1] == '!')
|
2439
|
+
{
|
2440
|
+
/* Scan the suffix now. */
|
2441
|
+
|
2442
|
+
if (!yaml_parser_scan_tag_uri(parser, 0, 0, NULL, start_mark, &suffix))
|
2443
|
+
goto error;
|
2444
|
+
}
|
2445
|
+
else
|
2446
|
+
{
|
2447
|
+
/* It wasn't a handle after all. Scan the rest of the tag. */
|
2448
|
+
|
2449
|
+
if (!yaml_parser_scan_tag_uri(parser, 0, 0, handle, start_mark, &suffix))
|
2450
|
+
goto error;
|
2451
|
+
|
2452
|
+
/* Set the handle to '!'. */
|
2453
|
+
|
2454
|
+
yaml_free(handle);
|
2455
|
+
handle = YAML_MALLOC(2);
|
2456
|
+
if (!handle) goto error;
|
2457
|
+
handle[0] = '!';
|
2458
|
+
handle[1] = '\0';
|
2459
|
+
|
2460
|
+
/*
|
2461
|
+
* A special case: the '!' tag. Set the handle to '' and the
|
2462
|
+
* suffix to '!'.
|
2463
|
+
*/
|
2464
|
+
|
2465
|
+
if (suffix[0] == '\0') {
|
2466
|
+
yaml_char_t *tmp = handle;
|
2467
|
+
handle = suffix;
|
2468
|
+
suffix = tmp;
|
2469
|
+
}
|
2470
|
+
}
|
2471
|
+
}
|
2472
|
+
|
2473
|
+
/* Check the character which ends the tag. */
|
2474
|
+
|
2475
|
+
if (!CACHE(parser, 1)) goto error;
|
2476
|
+
|
2477
|
+
if (!IS_BLANKZ(parser->buffer)) {
|
2478
|
+
if (!parser->flow_level || !CHECK(parser->buffer, ',') ) {
|
2479
|
+
yaml_parser_set_scanner_error(parser, "while scanning a tag",
|
2480
|
+
start_mark, "did not find expected whitespace or line break");
|
2481
|
+
goto error;
|
2482
|
+
}
|
2483
|
+
}
|
2484
|
+
|
2485
|
+
end_mark = parser->mark;
|
2486
|
+
|
2487
|
+
/* Create a token. */
|
2488
|
+
|
2489
|
+
TAG_TOKEN_INIT(*token, handle, suffix, start_mark, end_mark);
|
2490
|
+
|
2491
|
+
return 1;
|
2492
|
+
|
2493
|
+
error:
|
2494
|
+
yaml_free(handle);
|
2495
|
+
yaml_free(suffix);
|
2496
|
+
return 0;
|
2497
|
+
}
|
2498
|
+
|
2499
|
+
/*
|
2500
|
+
* Scan a tag handle.
|
2501
|
+
*/
|
2502
|
+
|
2503
|
+
static int
|
2504
|
+
yaml_parser_scan_tag_handle(yaml_parser_t *parser, int directive,
|
2505
|
+
yaml_mark_t start_mark, yaml_char_t **handle)
|
2506
|
+
{
|
2507
|
+
yaml_string_t string = NULL_STRING;
|
2508
|
+
|
2509
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
2510
|
+
|
2511
|
+
/* Check the initial '!' character. */
|
2512
|
+
|
2513
|
+
if (!CACHE(parser, 1)) goto error;
|
2514
|
+
|
2515
|
+
if (!CHECK(parser->buffer, '!')) {
|
2516
|
+
yaml_parser_set_scanner_error(parser, directive ?
|
2517
|
+
"while scanning a tag directive" : "while scanning a tag",
|
2518
|
+
start_mark, "did not find expected '!'");
|
2519
|
+
goto error;
|
2520
|
+
}
|
2521
|
+
|
2522
|
+
/* Copy the '!' character. */
|
2523
|
+
|
2524
|
+
if (!READ(parser, string)) goto error;
|
2525
|
+
|
2526
|
+
/* Copy all subsequent alphabetical and numerical characters. */
|
2527
|
+
|
2528
|
+
if (!CACHE(parser, 1)) goto error;
|
2529
|
+
|
2530
|
+
while (IS_ALPHA(parser->buffer))
|
2531
|
+
{
|
2532
|
+
if (!READ(parser, string)) goto error;
|
2533
|
+
if (!CACHE(parser, 1)) goto error;
|
2534
|
+
}
|
2535
|
+
|
2536
|
+
/* Check if the trailing character is '!' and copy it. */
|
2537
|
+
|
2538
|
+
if (CHECK(parser->buffer, '!'))
|
2539
|
+
{
|
2540
|
+
if (!READ(parser, string)) goto error;
|
2541
|
+
}
|
2542
|
+
else
|
2543
|
+
{
|
2544
|
+
/*
|
2545
|
+
* It's either the '!' tag or not really a tag handle. If it's a %TAG
|
2546
|
+
* directive, it's an error. If it's a tag token, it must be a part of
|
2547
|
+
* URI.
|
2548
|
+
*/
|
2549
|
+
|
2550
|
+
if (directive && !(string.start[0] == '!' && string.start[1] == '\0')) {
|
2551
|
+
yaml_parser_set_scanner_error(parser, "while parsing a tag directive",
|
2552
|
+
start_mark, "did not find expected '!'");
|
2553
|
+
goto error;
|
2554
|
+
}
|
2555
|
+
}
|
2556
|
+
|
2557
|
+
*handle = string.start;
|
2558
|
+
|
2559
|
+
return 1;
|
2560
|
+
|
2561
|
+
error:
|
2562
|
+
STRING_DEL(parser, string);
|
2563
|
+
return 0;
|
2564
|
+
}
|
2565
|
+
|
2566
|
+
/*
|
2567
|
+
* Scan a tag.
|
2568
|
+
*/
|
2569
|
+
|
2570
|
+
static int
|
2571
|
+
yaml_parser_scan_tag_uri(yaml_parser_t *parser, int uri_char, int directive,
|
2572
|
+
yaml_char_t *head, yaml_mark_t start_mark, yaml_char_t **uri)
|
2573
|
+
{
|
2574
|
+
size_t length = head ? strlen((char *)head) : 0;
|
2575
|
+
yaml_string_t string = NULL_STRING;
|
2576
|
+
|
2577
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
2578
|
+
|
2579
|
+
/* Resize the string to include the head. */
|
2580
|
+
|
2581
|
+
while ((size_t)(string.end - string.start) <= length) {
|
2582
|
+
if (!yaml_string_extend(&string.start, &string.pointer, &string.end)) {
|
2583
|
+
parser->error = YAML_MEMORY_ERROR;
|
2584
|
+
goto error;
|
2585
|
+
}
|
2586
|
+
}
|
2587
|
+
|
2588
|
+
/*
|
2589
|
+
* Copy the head if needed.
|
2590
|
+
*
|
2591
|
+
* Note that we don't copy the leading '!' character.
|
2592
|
+
*/
|
2593
|
+
|
2594
|
+
if (length > 1) {
|
2595
|
+
memcpy(string.start, head+1, length-1);
|
2596
|
+
string.pointer += length-1;
|
2597
|
+
}
|
2598
|
+
|
2599
|
+
/* Scan the tag. */
|
2600
|
+
|
2601
|
+
if (!CACHE(parser, 1)) goto error;
|
2602
|
+
|
2603
|
+
/*
|
2604
|
+
* The set of characters that may appear in URI is as follows:
|
2605
|
+
*
|
2606
|
+
* '0'-'9', 'A'-'Z', 'a'-'z', '_', '-', ';', '/', '?', ':', '@', '&',
|
2607
|
+
* '=', '+', '$', '.', '!', '~', '*', '\'', '(', ')', '%'.
|
2608
|
+
*
|
2609
|
+
* If we are inside a verbatim tag <...> (parameter uri_char is true)
|
2610
|
+
* then also the following flow indicators are allowed:
|
2611
|
+
* ',', '[', ']'
|
2612
|
+
*/
|
2613
|
+
|
2614
|
+
while (IS_ALPHA(parser->buffer) || CHECK(parser->buffer, ';')
|
2615
|
+
|| CHECK(parser->buffer, '/') || CHECK(parser->buffer, '?')
|
2616
|
+
|| CHECK(parser->buffer, ':') || CHECK(parser->buffer, '@')
|
2617
|
+
|| CHECK(parser->buffer, '&') || CHECK(parser->buffer, '=')
|
2618
|
+
|| CHECK(parser->buffer, '+') || CHECK(parser->buffer, '$')
|
2619
|
+
|| CHECK(parser->buffer, '.') || CHECK(parser->buffer, '%')
|
2620
|
+
|| CHECK(parser->buffer, '!') || CHECK(parser->buffer, '~')
|
2621
|
+
|| CHECK(parser->buffer, '*') || CHECK(parser->buffer, '\'')
|
2622
|
+
|| CHECK(parser->buffer, '(') || CHECK(parser->buffer, ')')
|
2623
|
+
|| (uri_char && (
|
2624
|
+
CHECK(parser->buffer, ',')
|
2625
|
+
|| CHECK(parser->buffer, '[') || CHECK(parser->buffer, ']')
|
2626
|
+
)
|
2627
|
+
))
|
2628
|
+
{
|
2629
|
+
/* Check if it is a URI-escape sequence. */
|
2630
|
+
|
2631
|
+
if (CHECK(parser->buffer, '%')) {
|
2632
|
+
if (!STRING_EXTEND(parser, string))
|
2633
|
+
goto error;
|
2634
|
+
|
2635
|
+
if (!yaml_parser_scan_uri_escapes(parser,
|
2636
|
+
directive, start_mark, &string)) goto error;
|
2637
|
+
}
|
2638
|
+
else {
|
2639
|
+
if (!READ(parser, string)) goto error;
|
2640
|
+
}
|
2641
|
+
|
2642
|
+
length ++;
|
2643
|
+
if (!CACHE(parser, 1)) goto error;
|
2644
|
+
}
|
2645
|
+
|
2646
|
+
/* Check if the tag is non-empty. */
|
2647
|
+
|
2648
|
+
if (!length) {
|
2649
|
+
if (!STRING_EXTEND(parser, string))
|
2650
|
+
goto error;
|
2651
|
+
|
2652
|
+
yaml_parser_set_scanner_error(parser, directive ?
|
2653
|
+
"while parsing a %TAG directive" : "while parsing a tag",
|
2654
|
+
start_mark, "did not find expected tag URI");
|
2655
|
+
goto error;
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
*uri = string.start;
|
2659
|
+
|
2660
|
+
return 1;
|
2661
|
+
|
2662
|
+
error:
|
2663
|
+
STRING_DEL(parser, string);
|
2664
|
+
return 0;
|
2665
|
+
}
|
2666
|
+
|
2667
|
+
/*
|
2668
|
+
* Decode an URI-escape sequence corresponding to a single UTF-8 character.
|
2669
|
+
*/
|
2670
|
+
|
2671
|
+
static int
|
2672
|
+
yaml_parser_scan_uri_escapes(yaml_parser_t *parser, int directive,
|
2673
|
+
yaml_mark_t start_mark, yaml_string_t *string)
|
2674
|
+
{
|
2675
|
+
int width = 0;
|
2676
|
+
|
2677
|
+
/* Decode the required number of characters. */
|
2678
|
+
|
2679
|
+
do {
|
2680
|
+
|
2681
|
+
unsigned char octet = 0;
|
2682
|
+
|
2683
|
+
/* Check for a URI-escaped octet. */
|
2684
|
+
|
2685
|
+
if (!CACHE(parser, 3)) return 0;
|
2686
|
+
|
2687
|
+
if (!(CHECK(parser->buffer, '%')
|
2688
|
+
&& IS_HEX_AT(parser->buffer, 1)
|
2689
|
+
&& IS_HEX_AT(parser->buffer, 2))) {
|
2690
|
+
return yaml_parser_set_scanner_error(parser, directive ?
|
2691
|
+
"while parsing a %TAG directive" : "while parsing a tag",
|
2692
|
+
start_mark, "did not find URI escaped octet");
|
2693
|
+
}
|
2694
|
+
|
2695
|
+
/* Get the octet. */
|
2696
|
+
|
2697
|
+
octet = (AS_HEX_AT(parser->buffer, 1) << 4) + AS_HEX_AT(parser->buffer, 2);
|
2698
|
+
|
2699
|
+
/* If it is the leading octet, determine the length of the UTF-8 sequence. */
|
2700
|
+
|
2701
|
+
if (!width)
|
2702
|
+
{
|
2703
|
+
width = (octet & 0x80) == 0x00 ? 1 :
|
2704
|
+
(octet & 0xE0) == 0xC0 ? 2 :
|
2705
|
+
(octet & 0xF0) == 0xE0 ? 3 :
|
2706
|
+
(octet & 0xF8) == 0xF0 ? 4 : 0;
|
2707
|
+
if (!width) {
|
2708
|
+
return yaml_parser_set_scanner_error(parser, directive ?
|
2709
|
+
"while parsing a %TAG directive" : "while parsing a tag",
|
2710
|
+
start_mark, "found an incorrect leading UTF-8 octet");
|
2711
|
+
}
|
2712
|
+
}
|
2713
|
+
else
|
2714
|
+
{
|
2715
|
+
/* Check if the trailing octet is correct. */
|
2716
|
+
|
2717
|
+
if ((octet & 0xC0) != 0x80) {
|
2718
|
+
return yaml_parser_set_scanner_error(parser, directive ?
|
2719
|
+
"while parsing a %TAG directive" : "while parsing a tag",
|
2720
|
+
start_mark, "found an incorrect trailing UTF-8 octet");
|
2721
|
+
}
|
2722
|
+
}
|
2723
|
+
|
2724
|
+
/* Copy the octet and move the pointers. */
|
2725
|
+
|
2726
|
+
*(string->pointer++) = octet;
|
2727
|
+
SKIP(parser);
|
2728
|
+
SKIP(parser);
|
2729
|
+
SKIP(parser);
|
2730
|
+
|
2731
|
+
} while (--width);
|
2732
|
+
|
2733
|
+
return 1;
|
2734
|
+
}
|
2735
|
+
|
2736
|
+
/*
|
2737
|
+
* Scan a block scalar.
|
2738
|
+
*/
|
2739
|
+
|
2740
|
+
static int
|
2741
|
+
yaml_parser_scan_block_scalar(yaml_parser_t *parser, yaml_token_t *token,
|
2742
|
+
int literal)
|
2743
|
+
{
|
2744
|
+
yaml_mark_t start_mark;
|
2745
|
+
yaml_mark_t end_mark;
|
2746
|
+
yaml_string_t string = NULL_STRING;
|
2747
|
+
yaml_string_t leading_break = NULL_STRING;
|
2748
|
+
yaml_string_t trailing_breaks = NULL_STRING;
|
2749
|
+
int chomping = 0;
|
2750
|
+
int increment = 0;
|
2751
|
+
int indent = 0;
|
2752
|
+
int leading_blank = 0;
|
2753
|
+
int trailing_blank = 0;
|
2754
|
+
|
2755
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
2756
|
+
if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error;
|
2757
|
+
if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error;
|
2758
|
+
|
2759
|
+
/* Eat the indicator '|' or '>'. */
|
2760
|
+
|
2761
|
+
start_mark = parser->mark;
|
2762
|
+
|
2763
|
+
SKIP(parser);
|
2764
|
+
|
2765
|
+
/* Scan the additional block scalar indicators. */
|
2766
|
+
|
2767
|
+
if (!CACHE(parser, 1)) goto error;
|
2768
|
+
|
2769
|
+
/* Check for a chomping indicator. */
|
2770
|
+
|
2771
|
+
if (CHECK(parser->buffer, '+') || CHECK(parser->buffer, '-'))
|
2772
|
+
{
|
2773
|
+
/* Set the chomping method and eat the indicator. */
|
2774
|
+
|
2775
|
+
chomping = CHECK(parser->buffer, '+') ? +1 : -1;
|
2776
|
+
|
2777
|
+
SKIP(parser);
|
2778
|
+
|
2779
|
+
/* Check for an indentation indicator. */
|
2780
|
+
|
2781
|
+
if (!CACHE(parser, 1)) goto error;
|
2782
|
+
|
2783
|
+
if (IS_DIGIT(parser->buffer))
|
2784
|
+
{
|
2785
|
+
/* Check that the indentation is greater than 0. */
|
2786
|
+
|
2787
|
+
if (CHECK(parser->buffer, '0')) {
|
2788
|
+
yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
|
2789
|
+
start_mark, "found an indentation indicator equal to 0");
|
2790
|
+
goto error;
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
/* Get the indentation level and eat the indicator. */
|
2794
|
+
|
2795
|
+
increment = AS_DIGIT(parser->buffer);
|
2796
|
+
|
2797
|
+
SKIP(parser);
|
2798
|
+
}
|
2799
|
+
}
|
2800
|
+
|
2801
|
+
/* Do the same as above, but in the opposite order. */
|
2802
|
+
|
2803
|
+
else if (IS_DIGIT(parser->buffer))
|
2804
|
+
{
|
2805
|
+
if (CHECK(parser->buffer, '0')) {
|
2806
|
+
yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
|
2807
|
+
start_mark, "found an indentation indicator equal to 0");
|
2808
|
+
goto error;
|
2809
|
+
}
|
2810
|
+
|
2811
|
+
increment = AS_DIGIT(parser->buffer);
|
2812
|
+
|
2813
|
+
SKIP(parser);
|
2814
|
+
|
2815
|
+
if (!CACHE(parser, 1)) goto error;
|
2816
|
+
|
2817
|
+
if (CHECK(parser->buffer, '+') || CHECK(parser->buffer, '-')) {
|
2818
|
+
chomping = CHECK(parser->buffer, '+') ? +1 : -1;
|
2819
|
+
|
2820
|
+
SKIP(parser);
|
2821
|
+
}
|
2822
|
+
}
|
2823
|
+
|
2824
|
+
/* Eat whitespaces and comments to the end of the line. */
|
2825
|
+
|
2826
|
+
if (!CACHE(parser, 1)) goto error;
|
2827
|
+
|
2828
|
+
while (IS_BLANK(parser->buffer)) {
|
2829
|
+
SKIP(parser);
|
2830
|
+
if (!CACHE(parser, 1)) goto error;
|
2831
|
+
}
|
2832
|
+
|
2833
|
+
if (CHECK(parser->buffer, '#')) {
|
2834
|
+
while (!IS_BREAKZ(parser->buffer)) {
|
2835
|
+
SKIP(parser);
|
2836
|
+
if (!CACHE(parser, 1)) goto error;
|
2837
|
+
}
|
2838
|
+
}
|
2839
|
+
|
2840
|
+
/* Check if we are at the end of the line. */
|
2841
|
+
|
2842
|
+
if (!IS_BREAKZ(parser->buffer)) {
|
2843
|
+
yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
|
2844
|
+
start_mark, "did not find expected comment or line break");
|
2845
|
+
goto error;
|
2846
|
+
}
|
2847
|
+
|
2848
|
+
/* Eat a line break. */
|
2849
|
+
|
2850
|
+
if (IS_BREAK(parser->buffer)) {
|
2851
|
+
if (!CACHE(parser, 2)) goto error;
|
2852
|
+
SKIP_LINE(parser);
|
2853
|
+
}
|
2854
|
+
|
2855
|
+
end_mark = parser->mark;
|
2856
|
+
|
2857
|
+
/* Set the indentation level if it was specified. */
|
2858
|
+
|
2859
|
+
if (increment) {
|
2860
|
+
indent = parser->indent >= 0 ? parser->indent+increment : increment;
|
2861
|
+
}
|
2862
|
+
|
2863
|
+
/* Scan the leading line breaks and determine the indentation level if needed. */
|
2864
|
+
|
2865
|
+
if (!yaml_parser_scan_block_scalar_breaks(parser, &indent, &trailing_breaks,
|
2866
|
+
start_mark, &end_mark)) goto error;
|
2867
|
+
|
2868
|
+
/* Scan the block scalar content. */
|
2869
|
+
|
2870
|
+
if (!CACHE(parser, 1)) goto error;
|
2871
|
+
|
2872
|
+
while ((int)parser->mark.column == indent && !(IS_Z(parser->buffer)))
|
2873
|
+
{
|
2874
|
+
/*
|
2875
|
+
* We are at the beginning of a non-empty line.
|
2876
|
+
*/
|
2877
|
+
|
2878
|
+
/* Is it a trailing whitespace? */
|
2879
|
+
|
2880
|
+
trailing_blank = IS_BLANK(parser->buffer);
|
2881
|
+
|
2882
|
+
/* Check if we need to fold the leading line break. */
|
2883
|
+
|
2884
|
+
if (!literal && (*leading_break.start == '\n')
|
2885
|
+
&& !leading_blank && !trailing_blank)
|
2886
|
+
{
|
2887
|
+
/* Do we need to join the lines by space? */
|
2888
|
+
|
2889
|
+
if (*trailing_breaks.start == '\0') {
|
2890
|
+
if (!STRING_EXTEND(parser, string)) goto error;
|
2891
|
+
*(string.pointer ++) = ' ';
|
2892
|
+
}
|
2893
|
+
|
2894
|
+
CLEAR(parser, leading_break);
|
2895
|
+
}
|
2896
|
+
else {
|
2897
|
+
if (!JOIN(parser, string, leading_break)) goto error;
|
2898
|
+
CLEAR(parser, leading_break);
|
2899
|
+
}
|
2900
|
+
|
2901
|
+
/* Append the remaining line breaks. */
|
2902
|
+
|
2903
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
2904
|
+
CLEAR(parser, trailing_breaks);
|
2905
|
+
|
2906
|
+
/* Is it a leading whitespace? */
|
2907
|
+
|
2908
|
+
leading_blank = IS_BLANK(parser->buffer);
|
2909
|
+
|
2910
|
+
/* Consume the current line. */
|
2911
|
+
|
2912
|
+
while (!IS_BREAKZ(parser->buffer)) {
|
2913
|
+
if (!READ(parser, string)) goto error;
|
2914
|
+
if (!CACHE(parser, 1)) goto error;
|
2915
|
+
}
|
2916
|
+
|
2917
|
+
/* Consume the line break. */
|
2918
|
+
|
2919
|
+
if (!CACHE(parser, 2)) goto error;
|
2920
|
+
|
2921
|
+
if (!READ_LINE(parser, leading_break)) goto error;
|
2922
|
+
|
2923
|
+
/* Eat the following indentation spaces and line breaks. */
|
2924
|
+
|
2925
|
+
if (!yaml_parser_scan_block_scalar_breaks(parser,
|
2926
|
+
&indent, &trailing_breaks, start_mark, &end_mark)) goto error;
|
2927
|
+
}
|
2928
|
+
|
2929
|
+
/* Chomp the tail. */
|
2930
|
+
|
2931
|
+
if (chomping != -1) {
|
2932
|
+
if (!JOIN(parser, string, leading_break)) goto error;
|
2933
|
+
}
|
2934
|
+
if (chomping == 1) {
|
2935
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
2936
|
+
}
|
2937
|
+
|
2938
|
+
/* Create a token. */
|
2939
|
+
|
2940
|
+
SCALAR_TOKEN_INIT(*token, string.start, string.pointer-string.start,
|
2941
|
+
literal ? YAML_LITERAL_SCALAR_STYLE : YAML_FOLDED_SCALAR_STYLE,
|
2942
|
+
start_mark, end_mark);
|
2943
|
+
|
2944
|
+
STRING_DEL(parser, leading_break);
|
2945
|
+
STRING_DEL(parser, trailing_breaks);
|
2946
|
+
|
2947
|
+
return 1;
|
2948
|
+
|
2949
|
+
error:
|
2950
|
+
STRING_DEL(parser, string);
|
2951
|
+
STRING_DEL(parser, leading_break);
|
2952
|
+
STRING_DEL(parser, trailing_breaks);
|
2953
|
+
|
2954
|
+
return 0;
|
2955
|
+
}
|
2956
|
+
|
2957
|
+
/*
|
2958
|
+
* Scan indentation spaces and line breaks for a block scalar. Determine the
|
2959
|
+
* indentation level if needed.
|
2960
|
+
*/
|
2961
|
+
|
2962
|
+
static int
|
2963
|
+
yaml_parser_scan_block_scalar_breaks(yaml_parser_t *parser,
|
2964
|
+
int *indent, yaml_string_t *breaks,
|
2965
|
+
yaml_mark_t start_mark, yaml_mark_t *end_mark)
|
2966
|
+
{
|
2967
|
+
int max_indent = 0;
|
2968
|
+
|
2969
|
+
*end_mark = parser->mark;
|
2970
|
+
|
2971
|
+
/* Eat the indentation spaces and line breaks. */
|
2972
|
+
|
2973
|
+
while (1)
|
2974
|
+
{
|
2975
|
+
/* Eat the indentation spaces. */
|
2976
|
+
|
2977
|
+
if (!CACHE(parser, 1)) return 0;
|
2978
|
+
|
2979
|
+
while ((!*indent || (int)parser->mark.column < *indent)
|
2980
|
+
&& IS_SPACE(parser->buffer)) {
|
2981
|
+
SKIP(parser);
|
2982
|
+
if (!CACHE(parser, 1)) return 0;
|
2983
|
+
}
|
2984
|
+
|
2985
|
+
if ((int)parser->mark.column > max_indent)
|
2986
|
+
max_indent = (int)parser->mark.column;
|
2987
|
+
|
2988
|
+
/* Check for a tab character messing the indentation. */
|
2989
|
+
|
2990
|
+
if ((!*indent || (int)parser->mark.column < *indent)
|
2991
|
+
&& IS_TAB(parser->buffer)) {
|
2992
|
+
return yaml_parser_set_scanner_error(parser, "while scanning a block scalar",
|
2993
|
+
start_mark, "found a tab character where an indentation space is expected");
|
2994
|
+
}
|
2995
|
+
|
2996
|
+
/* Have we found a non-empty line? */
|
2997
|
+
|
2998
|
+
if (!IS_BREAK(parser->buffer)) break;
|
2999
|
+
|
3000
|
+
/* Consume the line break. */
|
3001
|
+
|
3002
|
+
if (!CACHE(parser, 2)) return 0;
|
3003
|
+
if (!READ_LINE(parser, *breaks)) return 0;
|
3004
|
+
*end_mark = parser->mark;
|
3005
|
+
}
|
3006
|
+
|
3007
|
+
/* Determine the indentation level if needed. */
|
3008
|
+
|
3009
|
+
if (!*indent) {
|
3010
|
+
*indent = max_indent;
|
3011
|
+
if (*indent < parser->indent + 1)
|
3012
|
+
*indent = parser->indent + 1;
|
3013
|
+
if (*indent < 1)
|
3014
|
+
*indent = 1;
|
3015
|
+
}
|
3016
|
+
|
3017
|
+
return 1;
|
3018
|
+
}
|
3019
|
+
|
3020
|
+
/*
|
3021
|
+
* Scan a quoted scalar.
|
3022
|
+
*/
|
3023
|
+
|
3024
|
+
static int
|
3025
|
+
yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
|
3026
|
+
int single)
|
3027
|
+
{
|
3028
|
+
yaml_mark_t start_mark;
|
3029
|
+
yaml_mark_t end_mark;
|
3030
|
+
yaml_string_t string = NULL_STRING;
|
3031
|
+
yaml_string_t leading_break = NULL_STRING;
|
3032
|
+
yaml_string_t trailing_breaks = NULL_STRING;
|
3033
|
+
yaml_string_t whitespaces = NULL_STRING;
|
3034
|
+
int leading_blanks;
|
3035
|
+
|
3036
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
3037
|
+
if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error;
|
3038
|
+
if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error;
|
3039
|
+
if (!STRING_INIT(parser, whitespaces, INITIAL_STRING_SIZE)) goto error;
|
3040
|
+
|
3041
|
+
/* Eat the left quote. */
|
3042
|
+
|
3043
|
+
start_mark = parser->mark;
|
3044
|
+
|
3045
|
+
SKIP(parser);
|
3046
|
+
|
3047
|
+
/* Consume the content of the quoted scalar. */
|
3048
|
+
|
3049
|
+
while (1)
|
3050
|
+
{
|
3051
|
+
/* Check that there are no document indicators at the beginning of the line. */
|
3052
|
+
|
3053
|
+
if (!CACHE(parser, 4)) goto error;
|
3054
|
+
|
3055
|
+
if (parser->mark.column == 0 &&
|
3056
|
+
((CHECK_AT(parser->buffer, '-', 0) &&
|
3057
|
+
CHECK_AT(parser->buffer, '-', 1) &&
|
3058
|
+
CHECK_AT(parser->buffer, '-', 2)) ||
|
3059
|
+
(CHECK_AT(parser->buffer, '.', 0) &&
|
3060
|
+
CHECK_AT(parser->buffer, '.', 1) &&
|
3061
|
+
CHECK_AT(parser->buffer, '.', 2))) &&
|
3062
|
+
IS_BLANKZ_AT(parser->buffer, 3))
|
3063
|
+
{
|
3064
|
+
yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar",
|
3065
|
+
start_mark, "found unexpected document indicator");
|
3066
|
+
goto error;
|
3067
|
+
}
|
3068
|
+
|
3069
|
+
/* Check for EOF. */
|
3070
|
+
|
3071
|
+
if (IS_Z(parser->buffer)) {
|
3072
|
+
yaml_parser_set_scanner_error(parser, "while scanning a quoted scalar",
|
3073
|
+
start_mark, "found unexpected end of stream");
|
3074
|
+
goto error;
|
3075
|
+
}
|
3076
|
+
|
3077
|
+
/* Consume non-blank characters. */
|
3078
|
+
|
3079
|
+
if (!CACHE(parser, 2)) goto error;
|
3080
|
+
|
3081
|
+
leading_blanks = 0;
|
3082
|
+
|
3083
|
+
while (!IS_BLANKZ(parser->buffer))
|
3084
|
+
{
|
3085
|
+
/* Check for an escaped single quote. */
|
3086
|
+
|
3087
|
+
if (single && CHECK_AT(parser->buffer, '\'', 0)
|
3088
|
+
&& CHECK_AT(parser->buffer, '\'', 1))
|
3089
|
+
{
|
3090
|
+
if (!STRING_EXTEND(parser, string)) goto error;
|
3091
|
+
*(string.pointer++) = '\'';
|
3092
|
+
SKIP(parser);
|
3093
|
+
SKIP(parser);
|
3094
|
+
}
|
3095
|
+
|
3096
|
+
/* Check for the right quote. */
|
3097
|
+
|
3098
|
+
else if (CHECK(parser->buffer, single ? '\'' : '"'))
|
3099
|
+
{
|
3100
|
+
break;
|
3101
|
+
}
|
3102
|
+
|
3103
|
+
/* Check for an escaped line break. */
|
3104
|
+
|
3105
|
+
else if (!single && CHECK(parser->buffer, '\\')
|
3106
|
+
&& IS_BREAK_AT(parser->buffer, 1))
|
3107
|
+
{
|
3108
|
+
if (!CACHE(parser, 3)) goto error;
|
3109
|
+
SKIP(parser);
|
3110
|
+
SKIP_LINE(parser);
|
3111
|
+
leading_blanks = 1;
|
3112
|
+
break;
|
3113
|
+
}
|
3114
|
+
|
3115
|
+
/* Check for an escape sequence. */
|
3116
|
+
|
3117
|
+
else if (!single && CHECK(parser->buffer, '\\'))
|
3118
|
+
{
|
3119
|
+
size_t code_length = 0;
|
3120
|
+
|
3121
|
+
if (!STRING_EXTEND(parser, string)) goto error;
|
3122
|
+
|
3123
|
+
/* Check the escape character. */
|
3124
|
+
|
3125
|
+
switch (parser->buffer.pointer[1])
|
3126
|
+
{
|
3127
|
+
case '0':
|
3128
|
+
*(string.pointer++) = '\0';
|
3129
|
+
break;
|
3130
|
+
|
3131
|
+
case 'a':
|
3132
|
+
*(string.pointer++) = '\x07';
|
3133
|
+
break;
|
3134
|
+
|
3135
|
+
case 'b':
|
3136
|
+
*(string.pointer++) = '\x08';
|
3137
|
+
break;
|
3138
|
+
|
3139
|
+
case 't':
|
3140
|
+
case '\t':
|
3141
|
+
*(string.pointer++) = '\x09';
|
3142
|
+
break;
|
3143
|
+
|
3144
|
+
case 'n':
|
3145
|
+
*(string.pointer++) = '\x0A';
|
3146
|
+
break;
|
3147
|
+
|
3148
|
+
case 'v':
|
3149
|
+
*(string.pointer++) = '\x0B';
|
3150
|
+
break;
|
3151
|
+
|
3152
|
+
case 'f':
|
3153
|
+
*(string.pointer++) = '\x0C';
|
3154
|
+
break;
|
3155
|
+
|
3156
|
+
case 'r':
|
3157
|
+
*(string.pointer++) = '\x0D';
|
3158
|
+
break;
|
3159
|
+
|
3160
|
+
case 'e':
|
3161
|
+
*(string.pointer++) = '\x1B';
|
3162
|
+
break;
|
3163
|
+
|
3164
|
+
case ' ':
|
3165
|
+
*(string.pointer++) = '\x20';
|
3166
|
+
break;
|
3167
|
+
|
3168
|
+
case '"':
|
3169
|
+
*(string.pointer++) = '"';
|
3170
|
+
break;
|
3171
|
+
|
3172
|
+
case '/':
|
3173
|
+
*(string.pointer++) = '/';
|
3174
|
+
break;
|
3175
|
+
|
3176
|
+
case '\\':
|
3177
|
+
*(string.pointer++) = '\\';
|
3178
|
+
break;
|
3179
|
+
|
3180
|
+
case 'N': /* NEL (#x85) */
|
3181
|
+
*(string.pointer++) = '\xC2';
|
3182
|
+
*(string.pointer++) = '\x85';
|
3183
|
+
break;
|
3184
|
+
|
3185
|
+
case '_': /* #xA0 */
|
3186
|
+
*(string.pointer++) = '\xC2';
|
3187
|
+
*(string.pointer++) = '\xA0';
|
3188
|
+
break;
|
3189
|
+
|
3190
|
+
case 'L': /* LS (#x2028) */
|
3191
|
+
*(string.pointer++) = '\xE2';
|
3192
|
+
*(string.pointer++) = '\x80';
|
3193
|
+
*(string.pointer++) = '\xA8';
|
3194
|
+
break;
|
3195
|
+
|
3196
|
+
case 'P': /* PS (#x2029) */
|
3197
|
+
*(string.pointer++) = '\xE2';
|
3198
|
+
*(string.pointer++) = '\x80';
|
3199
|
+
*(string.pointer++) = '\xA9';
|
3200
|
+
break;
|
3201
|
+
|
3202
|
+
case 'x':
|
3203
|
+
code_length = 2;
|
3204
|
+
break;
|
3205
|
+
|
3206
|
+
case 'u':
|
3207
|
+
code_length = 4;
|
3208
|
+
break;
|
3209
|
+
|
3210
|
+
case 'U':
|
3211
|
+
code_length = 8;
|
3212
|
+
break;
|
3213
|
+
|
3214
|
+
default:
|
3215
|
+
yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
|
3216
|
+
start_mark, "found unknown escape character");
|
3217
|
+
goto error;
|
3218
|
+
}
|
3219
|
+
|
3220
|
+
SKIP(parser);
|
3221
|
+
SKIP(parser);
|
3222
|
+
|
3223
|
+
/* Consume an arbitrary escape code. */
|
3224
|
+
|
3225
|
+
if (code_length)
|
3226
|
+
{
|
3227
|
+
unsigned int value = 0;
|
3228
|
+
size_t k;
|
3229
|
+
|
3230
|
+
/* Scan the character value. */
|
3231
|
+
|
3232
|
+
if (!CACHE(parser, code_length)) goto error;
|
3233
|
+
|
3234
|
+
for (k = 0; k < code_length; k ++) {
|
3235
|
+
if (!IS_HEX_AT(parser->buffer, k)) {
|
3236
|
+
yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
|
3237
|
+
start_mark, "did not find expected hexdecimal number");
|
3238
|
+
goto error;
|
3239
|
+
}
|
3240
|
+
value = (value << 4) + AS_HEX_AT(parser->buffer, k);
|
3241
|
+
}
|
3242
|
+
|
3243
|
+
/* Check the value and write the character. */
|
3244
|
+
|
3245
|
+
if ((value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF) {
|
3246
|
+
yaml_parser_set_scanner_error(parser, "while parsing a quoted scalar",
|
3247
|
+
start_mark, "found invalid Unicode character escape code");
|
3248
|
+
goto error;
|
3249
|
+
}
|
3250
|
+
|
3251
|
+
if (value <= 0x7F) {
|
3252
|
+
*(string.pointer++) = value;
|
3253
|
+
}
|
3254
|
+
else if (value <= 0x7FF) {
|
3255
|
+
*(string.pointer++) = 0xC0 + (value >> 6);
|
3256
|
+
*(string.pointer++) = 0x80 + (value & 0x3F);
|
3257
|
+
}
|
3258
|
+
else if (value <= 0xFFFF) {
|
3259
|
+
*(string.pointer++) = 0xE0 + (value >> 12);
|
3260
|
+
*(string.pointer++) = 0x80 + ((value >> 6) & 0x3F);
|
3261
|
+
*(string.pointer++) = 0x80 + (value & 0x3F);
|
3262
|
+
}
|
3263
|
+
else {
|
3264
|
+
*(string.pointer++) = 0xF0 + (value >> 18);
|
3265
|
+
*(string.pointer++) = 0x80 + ((value >> 12) & 0x3F);
|
3266
|
+
*(string.pointer++) = 0x80 + ((value >> 6) & 0x3F);
|
3267
|
+
*(string.pointer++) = 0x80 + (value & 0x3F);
|
3268
|
+
}
|
3269
|
+
|
3270
|
+
/* Advance the pointer. */
|
3271
|
+
|
3272
|
+
for (k = 0; k < code_length; k ++) {
|
3273
|
+
SKIP(parser);
|
3274
|
+
}
|
3275
|
+
}
|
3276
|
+
}
|
3277
|
+
|
3278
|
+
else
|
3279
|
+
{
|
3280
|
+
/* It is a non-escaped non-blank character. */
|
3281
|
+
|
3282
|
+
if (!READ(parser, string)) goto error;
|
3283
|
+
}
|
3284
|
+
|
3285
|
+
if (!CACHE(parser, 2)) goto error;
|
3286
|
+
}
|
3287
|
+
|
3288
|
+
/* Check if we are at the end of the scalar. */
|
3289
|
+
|
3290
|
+
/* Fix for crash uninitialized value crash
|
3291
|
+
* Credit for the bug and input is to OSS Fuzz
|
3292
|
+
* Credit for the fix to Alex Gaynor
|
3293
|
+
*/
|
3294
|
+
if (!CACHE(parser, 1)) goto error;
|
3295
|
+
if (CHECK(parser->buffer, single ? '\'' : '"'))
|
3296
|
+
break;
|
3297
|
+
|
3298
|
+
/* Consume blank characters. */
|
3299
|
+
|
3300
|
+
if (!CACHE(parser, 1)) goto error;
|
3301
|
+
|
3302
|
+
while (IS_BLANK(parser->buffer) || IS_BREAK(parser->buffer))
|
3303
|
+
{
|
3304
|
+
if (IS_BLANK(parser->buffer))
|
3305
|
+
{
|
3306
|
+
/* Consume a space or a tab character. */
|
3307
|
+
|
3308
|
+
if (!leading_blanks) {
|
3309
|
+
if (!READ(parser, whitespaces)) goto error;
|
3310
|
+
}
|
3311
|
+
else {
|
3312
|
+
SKIP(parser);
|
3313
|
+
}
|
3314
|
+
}
|
3315
|
+
else
|
3316
|
+
{
|
3317
|
+
if (!CACHE(parser, 2)) goto error;
|
3318
|
+
|
3319
|
+
/* Check if it is a first line break. */
|
3320
|
+
|
3321
|
+
if (!leading_blanks)
|
3322
|
+
{
|
3323
|
+
CLEAR(parser, whitespaces);
|
3324
|
+
if (!READ_LINE(parser, leading_break)) goto error;
|
3325
|
+
leading_blanks = 1;
|
3326
|
+
}
|
3327
|
+
else
|
3328
|
+
{
|
3329
|
+
if (!READ_LINE(parser, trailing_breaks)) goto error;
|
3330
|
+
}
|
3331
|
+
}
|
3332
|
+
if (!CACHE(parser, 1)) goto error;
|
3333
|
+
}
|
3334
|
+
|
3335
|
+
/* Join the whitespaces or fold line breaks. */
|
3336
|
+
|
3337
|
+
if (leading_blanks)
|
3338
|
+
{
|
3339
|
+
/* Do we need to fold line breaks? */
|
3340
|
+
|
3341
|
+
if (leading_break.start[0] == '\n') {
|
3342
|
+
if (trailing_breaks.start[0] == '\0') {
|
3343
|
+
if (!STRING_EXTEND(parser, string)) goto error;
|
3344
|
+
*(string.pointer++) = ' ';
|
3345
|
+
}
|
3346
|
+
else {
|
3347
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
3348
|
+
CLEAR(parser, trailing_breaks);
|
3349
|
+
}
|
3350
|
+
CLEAR(parser, leading_break);
|
3351
|
+
}
|
3352
|
+
else {
|
3353
|
+
if (!JOIN(parser, string, leading_break)) goto error;
|
3354
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
3355
|
+
CLEAR(parser, leading_break);
|
3356
|
+
CLEAR(parser, trailing_breaks);
|
3357
|
+
}
|
3358
|
+
}
|
3359
|
+
else
|
3360
|
+
{
|
3361
|
+
if (!JOIN(parser, string, whitespaces)) goto error;
|
3362
|
+
CLEAR(parser, whitespaces);
|
3363
|
+
}
|
3364
|
+
}
|
3365
|
+
|
3366
|
+
/* Eat the right quote. */
|
3367
|
+
|
3368
|
+
SKIP(parser);
|
3369
|
+
|
3370
|
+
end_mark = parser->mark;
|
3371
|
+
|
3372
|
+
/* Create a token. */
|
3373
|
+
|
3374
|
+
SCALAR_TOKEN_INIT(*token, string.start, string.pointer-string.start,
|
3375
|
+
single ? YAML_SINGLE_QUOTED_SCALAR_STYLE : YAML_DOUBLE_QUOTED_SCALAR_STYLE,
|
3376
|
+
start_mark, end_mark);
|
3377
|
+
|
3378
|
+
STRING_DEL(parser, leading_break);
|
3379
|
+
STRING_DEL(parser, trailing_breaks);
|
3380
|
+
STRING_DEL(parser, whitespaces);
|
3381
|
+
|
3382
|
+
return 1;
|
3383
|
+
|
3384
|
+
error:
|
3385
|
+
STRING_DEL(parser, string);
|
3386
|
+
STRING_DEL(parser, leading_break);
|
3387
|
+
STRING_DEL(parser, trailing_breaks);
|
3388
|
+
STRING_DEL(parser, whitespaces);
|
3389
|
+
|
3390
|
+
return 0;
|
3391
|
+
}
|
3392
|
+
|
3393
|
+
/*
|
3394
|
+
* Scan a plain scalar.
|
3395
|
+
*/
|
3396
|
+
|
3397
|
+
static int
|
3398
|
+
yaml_parser_scan_plain_scalar(yaml_parser_t *parser, yaml_token_t *token)
|
3399
|
+
{
|
3400
|
+
yaml_mark_t start_mark;
|
3401
|
+
yaml_mark_t end_mark;
|
3402
|
+
yaml_string_t string = NULL_STRING;
|
3403
|
+
yaml_string_t leading_break = NULL_STRING;
|
3404
|
+
yaml_string_t trailing_breaks = NULL_STRING;
|
3405
|
+
yaml_string_t whitespaces = NULL_STRING;
|
3406
|
+
int leading_blanks = 0;
|
3407
|
+
int indent = parser->indent+1;
|
3408
|
+
|
3409
|
+
if (!STRING_INIT(parser, string, INITIAL_STRING_SIZE)) goto error;
|
3410
|
+
if (!STRING_INIT(parser, leading_break, INITIAL_STRING_SIZE)) goto error;
|
3411
|
+
if (!STRING_INIT(parser, trailing_breaks, INITIAL_STRING_SIZE)) goto error;
|
3412
|
+
if (!STRING_INIT(parser, whitespaces, INITIAL_STRING_SIZE)) goto error;
|
3413
|
+
|
3414
|
+
start_mark = end_mark = parser->mark;
|
3415
|
+
|
3416
|
+
/* Consume the content of the plain scalar. */
|
3417
|
+
|
3418
|
+
while (1)
|
3419
|
+
{
|
3420
|
+
/* Check for a document indicator. */
|
3421
|
+
|
3422
|
+
if (!CACHE(parser, 4)) goto error;
|
3423
|
+
|
3424
|
+
if (parser->mark.column == 0 &&
|
3425
|
+
((CHECK_AT(parser->buffer, '-', 0) &&
|
3426
|
+
CHECK_AT(parser->buffer, '-', 1) &&
|
3427
|
+
CHECK_AT(parser->buffer, '-', 2)) ||
|
3428
|
+
(CHECK_AT(parser->buffer, '.', 0) &&
|
3429
|
+
CHECK_AT(parser->buffer, '.', 1) &&
|
3430
|
+
CHECK_AT(parser->buffer, '.', 2))) &&
|
3431
|
+
IS_BLANKZ_AT(parser->buffer, 3)) break;
|
3432
|
+
|
3433
|
+
/* Check for a comment. */
|
3434
|
+
|
3435
|
+
if (CHECK(parser->buffer, '#'))
|
3436
|
+
break;
|
3437
|
+
|
3438
|
+
/* Consume non-blank characters. */
|
3439
|
+
|
3440
|
+
while (!IS_BLANKZ(parser->buffer))
|
3441
|
+
{
|
3442
|
+
/* Check for "x:" + one of ',?[]{}' in the flow context. TODO: Fix the test "spec-08-13".
|
3443
|
+
* This is not completely according to the spec
|
3444
|
+
* See http://yaml.org/spec/1.1/#id907281 9.1.3. Plain
|
3445
|
+
*/
|
3446
|
+
|
3447
|
+
if (parser->flow_level
|
3448
|
+
&& CHECK(parser->buffer, ':')
|
3449
|
+
&& (
|
3450
|
+
CHECK_AT(parser->buffer, ',', 1)
|
3451
|
+
|| CHECK_AT(parser->buffer, '?', 1)
|
3452
|
+
|| CHECK_AT(parser->buffer, '[', 1)
|
3453
|
+
|| CHECK_AT(parser->buffer, ']', 1)
|
3454
|
+
|| CHECK_AT(parser->buffer, '{', 1)
|
3455
|
+
|| CHECK_AT(parser->buffer, '}', 1)
|
3456
|
+
)
|
3457
|
+
) {
|
3458
|
+
yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
|
3459
|
+
start_mark, "found unexpected ':'");
|
3460
|
+
goto error;
|
3461
|
+
}
|
3462
|
+
|
3463
|
+
/* Check for indicators that may end a plain scalar. */
|
3464
|
+
|
3465
|
+
if ((CHECK(parser->buffer, ':') && IS_BLANKZ_AT(parser->buffer, 1))
|
3466
|
+
|| (parser->flow_level &&
|
3467
|
+
(CHECK(parser->buffer, ',')
|
3468
|
+
|| CHECK(parser->buffer, '[')
|
3469
|
+
|| CHECK(parser->buffer, ']') || CHECK(parser->buffer, '{')
|
3470
|
+
|| CHECK(parser->buffer, '}'))))
|
3471
|
+
break;
|
3472
|
+
|
3473
|
+
/* Check if we need to join whitespaces and breaks. */
|
3474
|
+
|
3475
|
+
if (leading_blanks || whitespaces.start != whitespaces.pointer)
|
3476
|
+
{
|
3477
|
+
if (leading_blanks)
|
3478
|
+
{
|
3479
|
+
/* Do we need to fold line breaks? */
|
3480
|
+
|
3481
|
+
if (leading_break.start[0] == '\n') {
|
3482
|
+
if (trailing_breaks.start[0] == '\0') {
|
3483
|
+
if (!STRING_EXTEND(parser, string)) goto error;
|
3484
|
+
*(string.pointer++) = ' ';
|
3485
|
+
}
|
3486
|
+
else {
|
3487
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
3488
|
+
CLEAR(parser, trailing_breaks);
|
3489
|
+
}
|
3490
|
+
CLEAR(parser, leading_break);
|
3491
|
+
}
|
3492
|
+
else {
|
3493
|
+
if (!JOIN(parser, string, leading_break)) goto error;
|
3494
|
+
if (!JOIN(parser, string, trailing_breaks)) goto error;
|
3495
|
+
CLEAR(parser, leading_break);
|
3496
|
+
CLEAR(parser, trailing_breaks);
|
3497
|
+
}
|
3498
|
+
|
3499
|
+
leading_blanks = 0;
|
3500
|
+
}
|
3501
|
+
else
|
3502
|
+
{
|
3503
|
+
if (!JOIN(parser, string, whitespaces)) goto error;
|
3504
|
+
CLEAR(parser, whitespaces);
|
3505
|
+
}
|
3506
|
+
}
|
3507
|
+
|
3508
|
+
/* Copy the character. */
|
3509
|
+
|
3510
|
+
if (!READ(parser, string)) goto error;
|
3511
|
+
|
3512
|
+
end_mark = parser->mark;
|
3513
|
+
|
3514
|
+
if (!CACHE(parser, 2)) goto error;
|
3515
|
+
}
|
3516
|
+
|
3517
|
+
/* Is it the end? */
|
3518
|
+
|
3519
|
+
if (!(IS_BLANK(parser->buffer) || IS_BREAK(parser->buffer)))
|
3520
|
+
break;
|
3521
|
+
|
3522
|
+
/* Consume blank characters. */
|
3523
|
+
|
3524
|
+
if (!CACHE(parser, 1)) goto error;
|
3525
|
+
|
3526
|
+
while (IS_BLANK(parser->buffer) || IS_BREAK(parser->buffer))
|
3527
|
+
{
|
3528
|
+
if (IS_BLANK(parser->buffer))
|
3529
|
+
{
|
3530
|
+
/* Check for tab characters that abuse indentation. */
|
3531
|
+
|
3532
|
+
if (leading_blanks && (int)parser->mark.column < indent
|
3533
|
+
&& IS_TAB(parser->buffer)) {
|
3534
|
+
yaml_parser_set_scanner_error(parser, "while scanning a plain scalar",
|
3535
|
+
start_mark, "found a tab character that violates indentation");
|
3536
|
+
goto error;
|
3537
|
+
}
|
3538
|
+
|
3539
|
+
/* Consume a space or a tab character. */
|
3540
|
+
|
3541
|
+
if (!leading_blanks) {
|
3542
|
+
if (!READ(parser, whitespaces)) goto error;
|
3543
|
+
}
|
3544
|
+
else {
|
3545
|
+
SKIP(parser);
|
3546
|
+
}
|
3547
|
+
}
|
3548
|
+
else
|
3549
|
+
{
|
3550
|
+
if (!CACHE(parser, 2)) goto error;
|
3551
|
+
|
3552
|
+
/* Check if it is a first line break. */
|
3553
|
+
|
3554
|
+
if (!leading_blanks)
|
3555
|
+
{
|
3556
|
+
CLEAR(parser, whitespaces);
|
3557
|
+
if (!READ_LINE(parser, leading_break)) goto error;
|
3558
|
+
leading_blanks = 1;
|
3559
|
+
}
|
3560
|
+
else
|
3561
|
+
{
|
3562
|
+
if (!READ_LINE(parser, trailing_breaks)) goto error;
|
3563
|
+
}
|
3564
|
+
}
|
3565
|
+
if (!CACHE(parser, 1)) goto error;
|
3566
|
+
}
|
3567
|
+
|
3568
|
+
/* Check indentation level. */
|
3569
|
+
|
3570
|
+
if (!parser->flow_level && (int)parser->mark.column < indent)
|
3571
|
+
break;
|
3572
|
+
}
|
3573
|
+
|
3574
|
+
/* Create a token. */
|
3575
|
+
|
3576
|
+
SCALAR_TOKEN_INIT(*token, string.start, string.pointer-string.start,
|
3577
|
+
YAML_PLAIN_SCALAR_STYLE, start_mark, end_mark);
|
3578
|
+
|
3579
|
+
/* Note that we change the 'simple_key_allowed' flag. */
|
3580
|
+
|
3581
|
+
if (leading_blanks) {
|
3582
|
+
parser->simple_key_allowed = 1;
|
3583
|
+
}
|
3584
|
+
|
3585
|
+
STRING_DEL(parser, leading_break);
|
3586
|
+
STRING_DEL(parser, trailing_breaks);
|
3587
|
+
STRING_DEL(parser, whitespaces);
|
3588
|
+
|
3589
|
+
return 1;
|
3590
|
+
|
3591
|
+
error:
|
3592
|
+
STRING_DEL(parser, string);
|
3593
|
+
STRING_DEL(parser, leading_break);
|
3594
|
+
STRING_DEL(parser, trailing_breaks);
|
3595
|
+
STRING_DEL(parser, whitespaces);
|
3596
|
+
|
3597
|
+
return 0;
|
3598
|
+
}
|