ory-hydra-client 2.1.1 → 2.2.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -10
- data/README.md +12 -5
- data/docs/AcceptOAuth2LoginRequest.md +2 -0
- data/docs/CreateVerifiableCredentialRequestBody.md +22 -0
- data/docs/CredentialSupportedDraft00.md +24 -0
- data/docs/OidcApi.md +67 -0
- data/docs/OidcConfiguration.md +4 -0
- data/docs/RFC6749ErrorJson.md +26 -0
- data/docs/VerifiableCredentialPrimingResponse.md +32 -0
- data/docs/VerifiableCredentialProof.md +20 -0
- data/docs/VerifiableCredentialResponse.md +20 -0
- data/lib/ory-hydra-client/api/jwk_api.rb +1 -1
- data/lib/ory-hydra-client/api/metadata_api.rb +1 -1
- data/lib/ory-hydra-client/api/o_auth2_api.rb +1 -1
- data/lib/ory-hydra-client/api/oidc_api.rb +65 -1
- data/lib/ory-hydra-client/api/wellknown_api.rb +1 -1
- data/lib/ory-hydra-client/api_client.rb +1 -1
- data/lib/ory-hydra-client/api_error.rb +1 -1
- data/lib/ory-hydra-client/configuration.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_login_request.rb +12 -2
- data/lib/ory-hydra-client/models/create_json_web_key_set.rb +1 -1
- data/lib/ory-hydra-client/models/create_verifiable_credential_request_body.rb +239 -0
- data/lib/ory-hydra-client/models/credential_supported_draft00.rb +257 -0
- data/lib/ory-hydra-client/models/error_o_auth2.rb +1 -1
- data/lib/ory-hydra-client/models/generic_error.rb +1 -1
- data/lib/ory-hydra-client/models/get_version200_response.rb +1 -1
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-hydra-client/models/health_status.rb +1 -1
- data/lib/ory-hydra-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-hydra-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-hydra-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-hydra-client/models/json_patch.rb +1 -1
- data/lib/ory-hydra-client/models/json_web_key.rb +1 -1
- data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_client.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_session.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_login_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_redirect_to.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_token_exchange.rb +1 -1
- data/lib/ory-hydra-client/models/oidc_configuration.rb +24 -2
- data/lib/ory-hydra-client/models/oidc_user_info.rb +1 -1
- data/lib/ory-hydra-client/models/pagination.rb +1 -1
- data/lib/ory-hydra-client/models/pagination_headers.rb +1 -1
- data/lib/ory-hydra-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-hydra-client/models/rfc6749_error_json.rb +255 -0
- data/lib/ory-hydra-client/models/token_pagination.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_request_parameters.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +1 -1
- data/lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
- data/lib/ory-hydra-client/models/verifiable_credential_priming_response.rb +282 -0
- data/lib/ory-hydra-client/models/verifiable_credential_proof.rb +228 -0
- data/lib/ory-hydra-client/models/verifiable_credential_response.rb +228 -0
- data/lib/ory-hydra-client/models/version.rb +1 -1
- data/lib/ory-hydra-client/version.rb +2 -2
- data/lib/ory-hydra-client.rb +7 -1
- data/ory-hydra-client.gemspec +1 -1
- data/spec/api/jwk_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +13 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +7 -1
- data/spec/models/create_json_web_key_set_spec.rb +1 -1
- data/spec/models/create_verifiable_credential_request_body_spec.rb +46 -0
- data/spec/models/credential_supported_draft00_spec.rb +52 -0
- data/spec/models/error_o_auth2_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +1 -1
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +1 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
- data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
- data/spec/models/oidc_configuration_spec.rb +13 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/pagination_headers_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/rfc6749_error_json_spec.rb +58 -0
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/token_pagination_response_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
- data/spec/models/verifiable_credential_priming_response_spec.rb +76 -0
- data/spec/models/verifiable_credential_proof_spec.rb +40 -0
- data/spec/models/verifiable_credential_response_spec.rb +40 -0
- data/spec/models/version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/bin/racc +27 -0
- data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.23.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/racc-1.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.6.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.5.0/{gems/jaro_winkler-1.5.4/ext → extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.6}/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.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/gem_make.out +17 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/mkmf.log +56 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/racc-1.7.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → stringio-3.0.6}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → stringio-3.0.6}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.6/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler.c +12 -7
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/jaro_winkler.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4/lib → jaro_winkler-1.5.6/ext}/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.5.0/{extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4 → gems/jaro_winkler-1.5.6/lib}/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.23.0/lib/parallel/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.22.1 → parallel-1.23.0}/lib/parallel.rb +43 -3
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/builders/default.rb +13 -24
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/macruby.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby18.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby19.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby20.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby21.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby22.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby23.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby24.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby25.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby26.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby27.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.3/lib/parser/ruby28.rb +8047 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby30.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby31.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby32.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ruby33.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/rubymotion.rb +3 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/parser.gemspec +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/COPYING +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ChangeLog +846 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/README.ja.rdoc +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/README.rdoc +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/TODO +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/bin/racc +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/NEWS.en.rdoc +282 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/grammar.en.rdoc +226 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/en/grammar2.en.rdoc +219 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/NEWS.ja.rdoc +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/command.ja.html +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/debug.ja.rdoc +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/grammar.ja.rdoc +348 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/index.ja.html +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/parser.ja.rdoc +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/doc/ja/usage.ja.html +414 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/MANIFEST +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/.sitearchdir.-.racc.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/Makefile +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.c +861 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/cparse.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/ext/racc/cparse/extconf.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/compat.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/debugflags.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/exception.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/grammar.rb +1114 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/grammarfileparser.rb +561 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/info.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/iset.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/logfilegenerator.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parser-text.rb +658 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parser.rb +632 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/parserfilegenerator.rb +470 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/sourcetext.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/state.rb +972 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/statetransitiontable.rb +311 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc/static.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/racc-1.7.1/lib/racc.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/Changelog.md +8 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/reporter.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/Changelog.md +12 -5
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/include.rb +9 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/method_double.rb +11 -4
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/shell_out.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support.rb +8 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/stringio.c +6 -11
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.6/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{jaro_winkler-1.5.4.gemspec → jaro_winkler-1.5.6.gemspec} +7 -9
- data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.22.1.gemspec → parallel-1.23.0.gemspec} +4 -4
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.2.2.0.gemspec → parser-3.2.2.3.gemspec} +7 -7
- data/vendor/bundle/ruby/2.5.0/specifications/racc-1.7.1.gemspec +27 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.1.gemspec → rspec-core-3.12.2.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.2.gemspec → rspec-expectations-3.12.3.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.5.gemspec → rspec-mocks-3.12.6.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.12.0.gemspec → rspec-support-3.12.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.5.gemspec → stringio-3.0.6.gemspec} +3 -3
- metadata +426 -355
- data/vendor/bundle/ruby/2.5.0/cache/jaro_winkler-1.5.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.5/stringio.so +0 -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/parallel-1.22.1/lib/parallel/processor_count.rb +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
- /data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.5 → racc-1.7.1}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.5.0/{gems/jaro_winkler-1.5.4/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time → extensions/x86_64-linux/2.5.0/stringio-3.0.6/gem.build_complete} +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5/ext/stringio/.sitearchdir.time → jaro_winkler-1.5.6/ext/jaro_winkler/.sitearchdir.-.jaro_winkler.time} +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.h +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.h +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.c +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.h +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/adjusting_table.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/jaro_winkler_pure.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.22.1 → parallel-1.23.0}/MIT-LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/current.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-F0.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-F1.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/lexer-strings.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{parser-3.2.2.0 → parser-3.2.2.3}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/exe/rspec +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/autorun.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/server.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/bisect/utilities.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/configuration_options.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/did_you_mean.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/drb.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/dsl.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/example_status_persister.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/filter_manager.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/flat_map.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/exception_presenter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/protocol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/formatters.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/hooks.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/invocations.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/memoized_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/metadata.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/metadata_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/notifications.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/option_parser.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/ordering.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/output_wrapper.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/pending.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/profiler.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer/.rspec +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/project_initializer.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/rake_task.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/ruby_project.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/runner.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/sandbox.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/set.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shared_context.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shared_example_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/shell_escape.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core/world.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.1 → rspec-core-3.12.2}/lib/rspec/core.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/expectation_target.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/fail_with.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/handler.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/expectations.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/all.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/change.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/compound.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/cover.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eq.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/eql.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/equal.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/exist.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/has.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/match.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/operators.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/output.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in/yield.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/built_in.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/composable.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/dsl.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/english_phrasing.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/fail_matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.2 → rspec-expectations-3.12.3}/lib/rspec/matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/.document +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/any_instance.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/argument_matchers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/configuration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/error_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/example_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/marshal_extension.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/have_received.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/message_chain.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/method_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/minitest_integration.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/mutate_const.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/object_reference.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/order_group.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/space.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/standalone.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/syntax.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/targets.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/test_double.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_double.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks/verifying_proxy.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.5 → rspec-mocks-3.12.6}/lib/rspec/mocks.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/caller_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/comparable_version.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/differ.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/directory_maker.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/encoded_string.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/hunk_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/matcher_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/object_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/ruby_features.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/location.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/node.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/token.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/README.md +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.5 → stringio-3.0.6}/ext/stringio/extconf.rb +0 -0
@@ -0,0 +1,1114 @@
|
|
1
|
+
#--
|
2
|
+
#
|
3
|
+
#
|
4
|
+
#
|
5
|
+
# Copyright (c) 1999-2006 Minero Aoki
|
6
|
+
#
|
7
|
+
# This program is free software.
|
8
|
+
# You can distribute/modify this program under the same terms of ruby.
|
9
|
+
# see the file "COPYING".
|
10
|
+
#
|
11
|
+
#++
|
12
|
+
|
13
|
+
require 'racc/compat'
|
14
|
+
require 'racc/iset'
|
15
|
+
require 'racc/sourcetext'
|
16
|
+
require 'racc/logfilegenerator'
|
17
|
+
require 'racc/exception'
|
18
|
+
require 'forwardable'
|
19
|
+
|
20
|
+
module Racc
|
21
|
+
|
22
|
+
class Grammar
|
23
|
+
|
24
|
+
def initialize(debug_flags = DebugFlags.new)
|
25
|
+
@symboltable = SymbolTable.new
|
26
|
+
@debug_symbol = debug_flags.token
|
27
|
+
@rules = [] # :: [Rule]
|
28
|
+
@start = nil
|
29
|
+
@n_expected_srconflicts = nil
|
30
|
+
@prec_table = []
|
31
|
+
@prec_table_closed = false
|
32
|
+
@closed = false
|
33
|
+
@states = nil
|
34
|
+
end
|
35
|
+
|
36
|
+
attr_reader :start
|
37
|
+
attr_reader :symboltable
|
38
|
+
attr_accessor :n_expected_srconflicts
|
39
|
+
|
40
|
+
def [](x)
|
41
|
+
@rules[x]
|
42
|
+
end
|
43
|
+
|
44
|
+
def each_rule(&block)
|
45
|
+
@rules.each(&block)
|
46
|
+
end
|
47
|
+
|
48
|
+
alias each each_rule
|
49
|
+
|
50
|
+
def each_index(&block)
|
51
|
+
@rules.each_index(&block)
|
52
|
+
end
|
53
|
+
|
54
|
+
def each_with_index(&block)
|
55
|
+
@rules.each_with_index(&block)
|
56
|
+
end
|
57
|
+
|
58
|
+
def size
|
59
|
+
@rules.size
|
60
|
+
end
|
61
|
+
|
62
|
+
def to_s
|
63
|
+
"<Racc::Grammar>"
|
64
|
+
end
|
65
|
+
|
66
|
+
extend Forwardable
|
67
|
+
|
68
|
+
def_delegator "@symboltable", :each, :each_symbol
|
69
|
+
def_delegator "@symboltable", :each_terminal
|
70
|
+
def_delegator "@symboltable", :each_nonterminal
|
71
|
+
|
72
|
+
def intern(value, dummy = false)
|
73
|
+
@symboltable.intern(value, dummy)
|
74
|
+
end
|
75
|
+
|
76
|
+
def symbols
|
77
|
+
@symboltable.symbols
|
78
|
+
end
|
79
|
+
|
80
|
+
def nonterminal_base
|
81
|
+
@symboltable.nt_base
|
82
|
+
end
|
83
|
+
|
84
|
+
def useless_nonterminal_exist?
|
85
|
+
n_useless_nonterminals() != 0
|
86
|
+
end
|
87
|
+
|
88
|
+
def n_useless_nonterminals
|
89
|
+
@n_useless_nonterminals ||= each_useless_nonterminal.count
|
90
|
+
end
|
91
|
+
|
92
|
+
def each_useless_nonterminal
|
93
|
+
return to_enum __method__ unless block_given?
|
94
|
+
|
95
|
+
@symboltable.each_nonterminal do |sym|
|
96
|
+
yield sym if sym.useless?
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
def useless_rule_exist?
|
101
|
+
n_useless_rules() != 0
|
102
|
+
end
|
103
|
+
|
104
|
+
def n_useless_rules
|
105
|
+
@n_useless_rules ||= each_useless_rule.count
|
106
|
+
end
|
107
|
+
|
108
|
+
def each_useless_rule
|
109
|
+
return to_enum __method__ unless block_given?
|
110
|
+
|
111
|
+
each do |r|
|
112
|
+
yield r if r.useless?
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
def nfa
|
117
|
+
(@states ||= States.new(self)).nfa
|
118
|
+
end
|
119
|
+
|
120
|
+
def dfa
|
121
|
+
(@states ||= States.new(self)).dfa
|
122
|
+
end
|
123
|
+
|
124
|
+
alias states dfa
|
125
|
+
|
126
|
+
def state_transition_table
|
127
|
+
states().state_transition_table
|
128
|
+
end
|
129
|
+
|
130
|
+
def parser_class
|
131
|
+
states = states() # cache
|
132
|
+
if $DEBUG
|
133
|
+
srcfilename = caller(1).first.slice(/\A(.*?):/, 1)
|
134
|
+
begin
|
135
|
+
write_log srcfilename + ".output"
|
136
|
+
rescue SystemCallError
|
137
|
+
end
|
138
|
+
report = lambda {|s| $stderr.puts "racc: #{srcfilename}: #{s}" }
|
139
|
+
if states.should_report_srconflict?
|
140
|
+
report["#{states.n_srconflicts} shift/reduce conflicts"]
|
141
|
+
end
|
142
|
+
if states.rrconflict_exist?
|
143
|
+
report["#{states.n_rrconflicts} reduce/reduce conflicts"]
|
144
|
+
end
|
145
|
+
g = states.grammar
|
146
|
+
if g.useless_nonterminal_exist?
|
147
|
+
report["#{g.n_useless_nonterminals} useless nonterminals"]
|
148
|
+
end
|
149
|
+
if g.useless_rule_exist?
|
150
|
+
report["#{g.n_useless_rules} useless rules"]
|
151
|
+
end
|
152
|
+
end
|
153
|
+
states.state_transition_table.parser_class
|
154
|
+
end
|
155
|
+
|
156
|
+
def write_log(path)
|
157
|
+
File.open(path, 'w') {|f|
|
158
|
+
LogFileGenerator.new(states()).output f
|
159
|
+
}
|
160
|
+
end
|
161
|
+
|
162
|
+
#
|
163
|
+
# Grammar Definition Interface
|
164
|
+
#
|
165
|
+
|
166
|
+
def add(rule)
|
167
|
+
raise ArgumentError, "rule added after the Grammar closed" if @closed
|
168
|
+
@rules.push rule
|
169
|
+
end
|
170
|
+
|
171
|
+
def added?(sym)
|
172
|
+
@rules.detect {|r| r.target == sym }
|
173
|
+
end
|
174
|
+
|
175
|
+
def start_symbol=(s)
|
176
|
+
raise CompileError, "start symbol set twice'" if @start
|
177
|
+
@start = s
|
178
|
+
end
|
179
|
+
|
180
|
+
def declare_precedence(assoc, syms)
|
181
|
+
raise CompileError, "precedence table defined twice" if @prec_table_closed
|
182
|
+
@prec_table.push [assoc, syms]
|
183
|
+
end
|
184
|
+
|
185
|
+
def end_precedence_declaration(reverse)
|
186
|
+
@prec_table_closed = true
|
187
|
+
return if @prec_table.empty?
|
188
|
+
table = reverse ? @prec_table.reverse : @prec_table
|
189
|
+
table.each_with_index do |(assoc, syms), idx|
|
190
|
+
syms.each do |sym|
|
191
|
+
sym.assoc = assoc
|
192
|
+
sym.precedence = idx
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
#
|
198
|
+
# Dynamic Generation Interface
|
199
|
+
#
|
200
|
+
|
201
|
+
def Grammar.define(&block)
|
202
|
+
env = DefinitionEnv.new
|
203
|
+
env.instance_eval(&block)
|
204
|
+
env.grammar
|
205
|
+
end
|
206
|
+
|
207
|
+
class DefinitionEnv
|
208
|
+
def initialize
|
209
|
+
@grammar = Grammar.new
|
210
|
+
@seqs = Hash.new(0)
|
211
|
+
@delayed = []
|
212
|
+
end
|
213
|
+
|
214
|
+
def grammar
|
215
|
+
flush_delayed
|
216
|
+
@grammar.each do |rule|
|
217
|
+
if rule.specified_prec
|
218
|
+
rule.specified_prec = @grammar.intern(rule.specified_prec)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
@grammar.init
|
222
|
+
@grammar
|
223
|
+
end
|
224
|
+
|
225
|
+
def precedence_table(&block)
|
226
|
+
env = PrecedenceDefinitionEnv.new(@grammar)
|
227
|
+
env.instance_eval(&block)
|
228
|
+
@grammar.end_precedence_declaration env.reverse
|
229
|
+
end
|
230
|
+
|
231
|
+
def method_missing(mid, *args, &block)
|
232
|
+
unless mid.to_s[-1,1] == '='
|
233
|
+
super # raises NoMethodError
|
234
|
+
end
|
235
|
+
target = @grammar.intern(mid.to_s.chop.intern)
|
236
|
+
unless args.size == 1
|
237
|
+
raise ArgumentError, "too many arguments for #{mid} (#{args.size} for 1)"
|
238
|
+
end
|
239
|
+
_add target, args.first
|
240
|
+
end
|
241
|
+
|
242
|
+
def _add(target, x)
|
243
|
+
case x
|
244
|
+
when Sym
|
245
|
+
@delayed.each do |rule|
|
246
|
+
rule.replace x, target if rule.target == x
|
247
|
+
end
|
248
|
+
@grammar.symboltable.delete x
|
249
|
+
else
|
250
|
+
x.each_rule do |r|
|
251
|
+
r.target = target
|
252
|
+
@grammar.add r
|
253
|
+
end
|
254
|
+
end
|
255
|
+
flush_delayed
|
256
|
+
end
|
257
|
+
|
258
|
+
def _delayed_add(rule)
|
259
|
+
@delayed.push rule
|
260
|
+
end
|
261
|
+
|
262
|
+
def _added?(sym)
|
263
|
+
@grammar.added?(sym) or @delayed.detect {|r| r.target == sym }
|
264
|
+
end
|
265
|
+
|
266
|
+
def flush_delayed
|
267
|
+
return if @delayed.empty?
|
268
|
+
@delayed.each do |rule|
|
269
|
+
@grammar.add rule
|
270
|
+
end
|
271
|
+
@delayed.clear
|
272
|
+
end
|
273
|
+
|
274
|
+
def seq(*list, &block)
|
275
|
+
Rule.new(nil, list.map {|x| _intern(x) }, UserAction.proc(block))
|
276
|
+
end
|
277
|
+
|
278
|
+
def null(&block)
|
279
|
+
seq(&block)
|
280
|
+
end
|
281
|
+
|
282
|
+
def action(&block)
|
283
|
+
id = "@#{@seqs["action"] += 1}".intern
|
284
|
+
_delayed_add Rule.new(@grammar.intern(id), [], UserAction.proc(block))
|
285
|
+
id
|
286
|
+
end
|
287
|
+
|
288
|
+
alias _ action
|
289
|
+
|
290
|
+
def option(sym, default = nil, &block)
|
291
|
+
_defmetasyntax("option", _intern(sym), block) {|target|
|
292
|
+
seq() { default } | seq(sym)
|
293
|
+
}
|
294
|
+
end
|
295
|
+
|
296
|
+
def many(sym, &block)
|
297
|
+
_defmetasyntax("many", _intern(sym), block) {|target|
|
298
|
+
seq() { [] }\
|
299
|
+
| seq(target, sym) {|list, x| list.push x; list }
|
300
|
+
}
|
301
|
+
end
|
302
|
+
|
303
|
+
def many1(sym, &block)
|
304
|
+
_defmetasyntax("many1", _intern(sym), block) {|target|
|
305
|
+
seq(sym) {|x| [x] }\
|
306
|
+
| seq(target, sym) {|list, x| list.push x; list }
|
307
|
+
}
|
308
|
+
end
|
309
|
+
|
310
|
+
def separated_by(sep, sym, &block)
|
311
|
+
option(separated_by1(sep, sym), [], &block)
|
312
|
+
end
|
313
|
+
|
314
|
+
def separated_by1(sep, sym, &block)
|
315
|
+
_defmetasyntax("separated_by1", _intern(sym), block) {|target|
|
316
|
+
seq(sym) {|x| [x] }\
|
317
|
+
| seq(target, sep, sym) {|list, _, x| list.push x; list }
|
318
|
+
}
|
319
|
+
end
|
320
|
+
|
321
|
+
def _intern(x)
|
322
|
+
case x
|
323
|
+
when Symbol, String
|
324
|
+
@grammar.intern(x)
|
325
|
+
when Racc::Sym
|
326
|
+
x
|
327
|
+
else
|
328
|
+
raise TypeError, "wrong type #{x.class} (expected Symbol/String/Racc::Sym)"
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
private
|
333
|
+
|
334
|
+
def _defmetasyntax(type, id, action, &block)
|
335
|
+
if action
|
336
|
+
idbase = "#{type}@#{id}-#{@seqs[type] += 1}"
|
337
|
+
target = _wrap(idbase, "#{idbase}-core", action)
|
338
|
+
_register("#{idbase}-core", &block)
|
339
|
+
else
|
340
|
+
target = _register("#{type}@#{id}", &block)
|
341
|
+
end
|
342
|
+
@grammar.intern(target)
|
343
|
+
end
|
344
|
+
|
345
|
+
def _register(target_name)
|
346
|
+
target = target_name.intern
|
347
|
+
unless _added?(@grammar.intern(target))
|
348
|
+
yield(target).each_rule do |rule|
|
349
|
+
rule.target = @grammar.intern(target)
|
350
|
+
_delayed_add rule
|
351
|
+
end
|
352
|
+
end
|
353
|
+
target
|
354
|
+
end
|
355
|
+
|
356
|
+
def _wrap(target_name, sym, block)
|
357
|
+
target = target_name.intern
|
358
|
+
_delayed_add Rule.new(@grammar.intern(target),
|
359
|
+
[@grammar.intern(sym.intern)],
|
360
|
+
UserAction.proc(block))
|
361
|
+
target
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
class PrecedenceDefinitionEnv
|
366
|
+
def initialize(g)
|
367
|
+
@grammar = g
|
368
|
+
@prechigh_seen = false
|
369
|
+
@preclow_seen = false
|
370
|
+
@reverse = false
|
371
|
+
end
|
372
|
+
|
373
|
+
attr_reader :reverse
|
374
|
+
|
375
|
+
def higher
|
376
|
+
if @prechigh_seen
|
377
|
+
raise CompileError, "prechigh used twice"
|
378
|
+
end
|
379
|
+
@prechigh_seen = true
|
380
|
+
end
|
381
|
+
|
382
|
+
def lower
|
383
|
+
if @preclow_seen
|
384
|
+
raise CompileError, "preclow used twice"
|
385
|
+
end
|
386
|
+
if @prechigh_seen
|
387
|
+
@reverse = true
|
388
|
+
end
|
389
|
+
@preclow_seen = true
|
390
|
+
end
|
391
|
+
|
392
|
+
def left(*syms)
|
393
|
+
@grammar.declare_precedence :Left, syms.map {|s| @grammar.intern(s) }
|
394
|
+
end
|
395
|
+
|
396
|
+
def right(*syms)
|
397
|
+
@grammar.declare_precedence :Right, syms.map {|s| @grammar.intern(s) }
|
398
|
+
end
|
399
|
+
|
400
|
+
def nonassoc(*syms)
|
401
|
+
@grammar.declare_precedence :Nonassoc, syms.map {|s| @grammar.intern(s)}
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
#
|
406
|
+
# Computation
|
407
|
+
#
|
408
|
+
|
409
|
+
def init
|
410
|
+
return if @closed
|
411
|
+
@closed = true
|
412
|
+
@start ||= @rules.map {|r| r.target }.detect {|sym| not sym.dummy? }
|
413
|
+
raise CompileError, 'no rule in input' if @rules.empty?
|
414
|
+
add_start_rule
|
415
|
+
@rules.freeze
|
416
|
+
fix_ident
|
417
|
+
compute_hash
|
418
|
+
compute_heads
|
419
|
+
determine_terminals
|
420
|
+
compute_nullable_0
|
421
|
+
@symboltable.fix
|
422
|
+
compute_locate
|
423
|
+
@symboltable.each_nonterminal {|t| compute_expand t }
|
424
|
+
compute_nullable
|
425
|
+
compute_useless
|
426
|
+
end
|
427
|
+
|
428
|
+
private
|
429
|
+
|
430
|
+
def add_start_rule
|
431
|
+
r = Rule.new(@symboltable.dummy,
|
432
|
+
[@start, @symboltable.anchor, @symboltable.anchor],
|
433
|
+
UserAction.empty)
|
434
|
+
r.ident = 0
|
435
|
+
r.hash = 0
|
436
|
+
r.precedence = nil
|
437
|
+
@rules.unshift r
|
438
|
+
end
|
439
|
+
|
440
|
+
# Rule#ident
|
441
|
+
# LocationPointer#ident
|
442
|
+
def fix_ident
|
443
|
+
@rules.each_with_index do |rule, idx|
|
444
|
+
rule.ident = idx
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
# Rule#hash
|
449
|
+
def compute_hash
|
450
|
+
hash = 4 # size of dummy rule
|
451
|
+
@rules.each do |rule|
|
452
|
+
rule.hash = hash
|
453
|
+
hash += (rule.size + 1)
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
# Sym#heads
|
458
|
+
def compute_heads
|
459
|
+
@rules.each do |rule|
|
460
|
+
rule.target.heads.push rule.ptrs[0]
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# Sym#terminal?
|
465
|
+
def determine_terminals
|
466
|
+
@symboltable.each do |s|
|
467
|
+
s.term = s.heads.empty?
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# Sym#self_null?
|
472
|
+
def compute_nullable_0
|
473
|
+
@symboltable.each do |s|
|
474
|
+
if s.terminal?
|
475
|
+
s.snull = false
|
476
|
+
else
|
477
|
+
s.snull = s.heads.any? {|loc| loc.reduce? }
|
478
|
+
end
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# Sym#locate
|
483
|
+
def compute_locate
|
484
|
+
@rules.each do |rule|
|
485
|
+
t = nil
|
486
|
+
rule.ptrs.each do |ptr|
|
487
|
+
unless ptr.reduce?
|
488
|
+
tok = ptr.dereference
|
489
|
+
tok.locate.push ptr
|
490
|
+
t = tok if tok.terminal?
|
491
|
+
end
|
492
|
+
end
|
493
|
+
rule.precedence = t
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# Sym#expand
|
498
|
+
def compute_expand(t)
|
499
|
+
puts "expand> #{t.to_s}" if @debug_symbol
|
500
|
+
t.expand = _compute_expand(t, ISet.new, [])
|
501
|
+
puts "expand< #{t.to_s}: #{t.expand.to_s}" if @debug_symbol
|
502
|
+
end
|
503
|
+
|
504
|
+
def _compute_expand(t, set, lock)
|
505
|
+
if tmp = t.expand
|
506
|
+
set.update tmp
|
507
|
+
return set
|
508
|
+
end
|
509
|
+
tok = nil
|
510
|
+
set.update_a t.heads
|
511
|
+
t.heads.each do |ptr|
|
512
|
+
tok = ptr.dereference
|
513
|
+
if tok and tok.nonterminal?
|
514
|
+
unless lock[tok.ident]
|
515
|
+
lock[tok.ident] = true
|
516
|
+
_compute_expand tok, set, lock
|
517
|
+
end
|
518
|
+
end
|
519
|
+
end
|
520
|
+
set
|
521
|
+
end
|
522
|
+
|
523
|
+
# Sym#nullable?, Rule#nullable?
|
524
|
+
def compute_nullable
|
525
|
+
@rules.each {|r| r.null = false }
|
526
|
+
@symboltable.each {|t| t.null = false }
|
527
|
+
r = @rules.dup
|
528
|
+
s = @symboltable.nonterminals
|
529
|
+
begin
|
530
|
+
rs = r.size
|
531
|
+
ss = s.size
|
532
|
+
check_rules_nullable r
|
533
|
+
check_symbols_nullable s
|
534
|
+
end until rs == r.size and ss == s.size
|
535
|
+
end
|
536
|
+
|
537
|
+
def check_rules_nullable(rules)
|
538
|
+
rules.delete_if do |rule|
|
539
|
+
rule.null = true
|
540
|
+
rule.symbols.each do |t|
|
541
|
+
unless t.nullable?
|
542
|
+
rule.null = false
|
543
|
+
break
|
544
|
+
end
|
545
|
+
end
|
546
|
+
rule.nullable?
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
def check_symbols_nullable(symbols)
|
551
|
+
symbols.delete_if do |sym|
|
552
|
+
sym.heads.each do |ptr|
|
553
|
+
if ptr.rule.nullable?
|
554
|
+
sym.null = true
|
555
|
+
break
|
556
|
+
end
|
557
|
+
end
|
558
|
+
sym.nullable?
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# Sym#useless?, Rule#useless?
|
563
|
+
# FIXME: what means "useless"?
|
564
|
+
def compute_useless
|
565
|
+
@symboltable.each_terminal {|sym| sym.useless = false }
|
566
|
+
@symboltable.each_nonterminal {|sym| sym.useless = true }
|
567
|
+
@rules.each {|rule| rule.useless = true }
|
568
|
+
r = @rules.dup
|
569
|
+
s = @symboltable.nonterminals
|
570
|
+
begin
|
571
|
+
rs = r.size
|
572
|
+
ss = s.size
|
573
|
+
check_rules_useless r
|
574
|
+
check_symbols_useless s
|
575
|
+
end until r.size == rs and s.size == ss
|
576
|
+
end
|
577
|
+
|
578
|
+
def check_rules_useless(rules)
|
579
|
+
rules.delete_if do |rule|
|
580
|
+
rule.useless = false
|
581
|
+
rule.symbols.each do |sym|
|
582
|
+
if sym.useless?
|
583
|
+
rule.useless = true
|
584
|
+
break
|
585
|
+
end
|
586
|
+
end
|
587
|
+
not rule.useless?
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
def check_symbols_useless(s)
|
592
|
+
s.delete_if do |t|
|
593
|
+
t.heads.each do |ptr|
|
594
|
+
unless ptr.rule.useless?
|
595
|
+
t.useless = false
|
596
|
+
break
|
597
|
+
end
|
598
|
+
end
|
599
|
+
not t.useless?
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
end # class Grammar
|
604
|
+
|
605
|
+
|
606
|
+
class Rule
|
607
|
+
|
608
|
+
def initialize(target, syms, act)
|
609
|
+
@target = target
|
610
|
+
@symbols = syms
|
611
|
+
@action = act
|
612
|
+
@alternatives = []
|
613
|
+
|
614
|
+
@ident = nil
|
615
|
+
@hash = nil
|
616
|
+
@ptrs = nil
|
617
|
+
@precedence = nil
|
618
|
+
@specified_prec = nil
|
619
|
+
@null = nil
|
620
|
+
@useless = nil
|
621
|
+
end
|
622
|
+
|
623
|
+
attr_accessor :target
|
624
|
+
attr_reader :symbols
|
625
|
+
attr_reader :action
|
626
|
+
|
627
|
+
def |(x)
|
628
|
+
@alternatives.push x.rule
|
629
|
+
self
|
630
|
+
end
|
631
|
+
|
632
|
+
def rule
|
633
|
+
self
|
634
|
+
end
|
635
|
+
|
636
|
+
def each_rule(&block)
|
637
|
+
yield self
|
638
|
+
@alternatives.each(&block)
|
639
|
+
end
|
640
|
+
|
641
|
+
attr_accessor :ident
|
642
|
+
|
643
|
+
attr_reader :hash
|
644
|
+
attr_reader :ptrs
|
645
|
+
|
646
|
+
def hash=(n)
|
647
|
+
@hash = n
|
648
|
+
ptrs = []
|
649
|
+
@symbols.each_with_index do |sym, idx|
|
650
|
+
ptrs.push LocationPointer.new(self, idx, sym)
|
651
|
+
end
|
652
|
+
ptrs.push LocationPointer.new(self, @symbols.size, nil)
|
653
|
+
@ptrs = ptrs
|
654
|
+
end
|
655
|
+
|
656
|
+
def precedence
|
657
|
+
@specified_prec || @precedence
|
658
|
+
end
|
659
|
+
|
660
|
+
def precedence=(sym)
|
661
|
+
@precedence ||= sym
|
662
|
+
end
|
663
|
+
|
664
|
+
def prec(sym, &block)
|
665
|
+
@specified_prec = sym
|
666
|
+
if block
|
667
|
+
unless @action.empty?
|
668
|
+
raise CompileError, 'both of rule action block and prec block given'
|
669
|
+
end
|
670
|
+
@action = UserAction.proc(block)
|
671
|
+
end
|
672
|
+
self
|
673
|
+
end
|
674
|
+
|
675
|
+
attr_accessor :specified_prec
|
676
|
+
|
677
|
+
def nullable?() @null end
|
678
|
+
def null=(n) @null = n end
|
679
|
+
|
680
|
+
def useless?() @useless end
|
681
|
+
def useless=(u) @useless = u end
|
682
|
+
|
683
|
+
def inspect
|
684
|
+
"#<Racc::Rule id=#{@ident} (#{@target})>"
|
685
|
+
end
|
686
|
+
|
687
|
+
def ==(other)
|
688
|
+
other.kind_of?(Rule) and @ident == other.ident
|
689
|
+
end
|
690
|
+
|
691
|
+
def [](idx)
|
692
|
+
@symbols[idx]
|
693
|
+
end
|
694
|
+
|
695
|
+
def size
|
696
|
+
@symbols.size
|
697
|
+
end
|
698
|
+
|
699
|
+
def empty?
|
700
|
+
@symbols.empty?
|
701
|
+
end
|
702
|
+
|
703
|
+
def to_s
|
704
|
+
"#<rule#{@ident}>"
|
705
|
+
end
|
706
|
+
|
707
|
+
def accept?
|
708
|
+
if tok = @symbols[-1]
|
709
|
+
tok.anchor?
|
710
|
+
else
|
711
|
+
false
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
def each(&block)
|
716
|
+
@symbols.each(&block)
|
717
|
+
end
|
718
|
+
|
719
|
+
def replace(src, dest)
|
720
|
+
@target = dest
|
721
|
+
@symbols = @symbols.map {|s| s == src ? dest : s }
|
722
|
+
end
|
723
|
+
|
724
|
+
end # class Rule
|
725
|
+
|
726
|
+
|
727
|
+
class UserAction
|
728
|
+
|
729
|
+
def UserAction.source_text(src)
|
730
|
+
new(src, nil)
|
731
|
+
end
|
732
|
+
|
733
|
+
def UserAction.proc(pr = nil, &block)
|
734
|
+
if pr and block
|
735
|
+
raise ArgumentError, "both of argument and block given"
|
736
|
+
end
|
737
|
+
new(nil, pr || block)
|
738
|
+
end
|
739
|
+
|
740
|
+
def UserAction.empty
|
741
|
+
new(nil, nil)
|
742
|
+
end
|
743
|
+
|
744
|
+
private_class_method :new
|
745
|
+
|
746
|
+
def initialize(src, proc)
|
747
|
+
@source = src
|
748
|
+
@proc = proc
|
749
|
+
end
|
750
|
+
|
751
|
+
attr_reader :source
|
752
|
+
attr_reader :proc
|
753
|
+
|
754
|
+
def source?
|
755
|
+
not @proc
|
756
|
+
end
|
757
|
+
|
758
|
+
def proc?
|
759
|
+
not @source
|
760
|
+
end
|
761
|
+
|
762
|
+
def empty?
|
763
|
+
not @proc and not @source
|
764
|
+
end
|
765
|
+
|
766
|
+
def name
|
767
|
+
"{action type=#{@source || @proc || 'nil'}}"
|
768
|
+
end
|
769
|
+
|
770
|
+
alias inspect name
|
771
|
+
|
772
|
+
end
|
773
|
+
|
774
|
+
|
775
|
+
class OrMark
|
776
|
+
def initialize(lineno)
|
777
|
+
@lineno = lineno
|
778
|
+
end
|
779
|
+
|
780
|
+
def name
|
781
|
+
'|'
|
782
|
+
end
|
783
|
+
|
784
|
+
alias inspect name
|
785
|
+
|
786
|
+
attr_reader :lineno
|
787
|
+
end
|
788
|
+
|
789
|
+
|
790
|
+
class Prec
|
791
|
+
def initialize(symbol, lineno)
|
792
|
+
@symbol = symbol
|
793
|
+
@lineno = lineno
|
794
|
+
end
|
795
|
+
|
796
|
+
def name
|
797
|
+
"=#{@symbol}"
|
798
|
+
end
|
799
|
+
|
800
|
+
alias inspect name
|
801
|
+
|
802
|
+
attr_reader :symbol
|
803
|
+
attr_reader :lineno
|
804
|
+
end
|
805
|
+
|
806
|
+
|
807
|
+
#
|
808
|
+
# A set of rule and position in it's RHS.
|
809
|
+
# Note that the number of pointers is more than rule's RHS array,
|
810
|
+
# because pointer points right edge of the final symbol when reducing.
|
811
|
+
#
|
812
|
+
class LocationPointer
|
813
|
+
|
814
|
+
def initialize(rule, i, sym)
|
815
|
+
@rule = rule
|
816
|
+
@index = i
|
817
|
+
@symbol = sym
|
818
|
+
@ident = @rule.hash + i
|
819
|
+
@reduce = sym.nil?
|
820
|
+
end
|
821
|
+
|
822
|
+
attr_reader :rule
|
823
|
+
attr_reader :index
|
824
|
+
attr_reader :symbol
|
825
|
+
|
826
|
+
alias dereference symbol
|
827
|
+
|
828
|
+
attr_reader :ident
|
829
|
+
alias hash ident
|
830
|
+
attr_reader :reduce
|
831
|
+
alias reduce? reduce
|
832
|
+
|
833
|
+
def to_s
|
834
|
+
sprintf('(%d,%d %s)',
|
835
|
+
@rule.ident, @index, (reduce?() ? '#' : @symbol.to_s))
|
836
|
+
end
|
837
|
+
|
838
|
+
alias inspect to_s
|
839
|
+
|
840
|
+
def eql?(ot)
|
841
|
+
@hash == ot.hash
|
842
|
+
end
|
843
|
+
|
844
|
+
alias == eql?
|
845
|
+
|
846
|
+
def head?
|
847
|
+
@index == 0
|
848
|
+
end
|
849
|
+
|
850
|
+
def next
|
851
|
+
@rule.ptrs[@index + 1] or ptr_bug!
|
852
|
+
end
|
853
|
+
|
854
|
+
alias increment next
|
855
|
+
|
856
|
+
def before(len)
|
857
|
+
@rule.ptrs[@index - len] or ptr_bug!
|
858
|
+
end
|
859
|
+
|
860
|
+
private
|
861
|
+
|
862
|
+
def ptr_bug!
|
863
|
+
raise "racc: fatal: pointer not exist: self: #{to_s}"
|
864
|
+
end
|
865
|
+
|
866
|
+
end # class LocationPointer
|
867
|
+
|
868
|
+
|
869
|
+
class SymbolTable
|
870
|
+
|
871
|
+
include Enumerable
|
872
|
+
|
873
|
+
def initialize
|
874
|
+
@symbols = [] # :: [Racc::Sym]
|
875
|
+
@cache = {} # :: {(String|Symbol) => Racc::Sym}
|
876
|
+
@dummy = intern(:$start, true)
|
877
|
+
@anchor = intern(false, true) # Symbol ID = 0
|
878
|
+
@error = intern(:error, false) # Symbol ID = 1
|
879
|
+
end
|
880
|
+
|
881
|
+
attr_reader :dummy
|
882
|
+
attr_reader :anchor
|
883
|
+
attr_reader :error
|
884
|
+
|
885
|
+
def [](id)
|
886
|
+
@symbols[id]
|
887
|
+
end
|
888
|
+
|
889
|
+
def intern(val, dummy = false)
|
890
|
+
@cache[val] ||=
|
891
|
+
begin
|
892
|
+
sym = Sym.new(val, dummy)
|
893
|
+
@symbols.push sym
|
894
|
+
sym
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
attr_reader :symbols
|
899
|
+
alias to_a symbols
|
900
|
+
|
901
|
+
def delete(sym)
|
902
|
+
@symbols.delete sym
|
903
|
+
@cache.delete sym.value
|
904
|
+
end
|
905
|
+
|
906
|
+
attr_reader :nt_base
|
907
|
+
|
908
|
+
def nt_max
|
909
|
+
@symbols.size
|
910
|
+
end
|
911
|
+
|
912
|
+
def each(&block)
|
913
|
+
@symbols.each(&block)
|
914
|
+
end
|
915
|
+
|
916
|
+
def terminals(&block)
|
917
|
+
@symbols[0, @nt_base]
|
918
|
+
end
|
919
|
+
|
920
|
+
def each_terminal(&block)
|
921
|
+
@terms.each(&block)
|
922
|
+
end
|
923
|
+
|
924
|
+
def nonterminals
|
925
|
+
@symbols[@nt_base, @symbols.size - @nt_base]
|
926
|
+
end
|
927
|
+
|
928
|
+
def each_nonterminal(&block)
|
929
|
+
@nterms.each(&block)
|
930
|
+
end
|
931
|
+
|
932
|
+
def fix
|
933
|
+
terms, nterms = @symbols.partition {|s| s.terminal? }
|
934
|
+
@symbols = terms + nterms
|
935
|
+
@terms = terms
|
936
|
+
@nterms = nterms
|
937
|
+
@nt_base = terms.size
|
938
|
+
fix_ident
|
939
|
+
check_terminals
|
940
|
+
end
|
941
|
+
|
942
|
+
private
|
943
|
+
|
944
|
+
def fix_ident
|
945
|
+
@symbols.each_with_index do |t, i|
|
946
|
+
t.ident = i
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
def check_terminals
|
951
|
+
return unless @symbols.any? {|s| s.should_terminal? }
|
952
|
+
@anchor.should_terminal
|
953
|
+
@error.should_terminal
|
954
|
+
each_terminal do |t|
|
955
|
+
t.should_terminal if t.string_symbol?
|
956
|
+
end
|
957
|
+
each do |s|
|
958
|
+
s.should_terminal if s.assoc
|
959
|
+
end
|
960
|
+
terminals().reject {|t| t.should_terminal? }.each do |t|
|
961
|
+
raise CompileError, "terminal #{t} not declared as terminal"
|
962
|
+
end
|
963
|
+
nonterminals().select {|n| n.should_terminal? }.each do |n|
|
964
|
+
raise CompileError, "symbol #{n} declared as terminal but is not terminal"
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
end # class SymbolTable
|
969
|
+
|
970
|
+
|
971
|
+
# Stands terminal and nonterminal symbols.
|
972
|
+
class Sym
|
973
|
+
|
974
|
+
def initialize(value, dummyp)
|
975
|
+
@ident = nil
|
976
|
+
@value = value
|
977
|
+
@dummyp = dummyp
|
978
|
+
|
979
|
+
@term = nil
|
980
|
+
@nterm = nil
|
981
|
+
@should_terminal = false
|
982
|
+
@precedence = nil
|
983
|
+
case value
|
984
|
+
when Symbol
|
985
|
+
@to_s = value.to_s
|
986
|
+
@serialized = value.inspect
|
987
|
+
@string = false
|
988
|
+
when String
|
989
|
+
@to_s = value.inspect
|
990
|
+
@serialized = value.dump
|
991
|
+
@string = true
|
992
|
+
when false
|
993
|
+
@to_s = '$end'
|
994
|
+
@serialized = 'false'
|
995
|
+
@string = false
|
996
|
+
else
|
997
|
+
raise ArgumentError, "unknown symbol value: #{value.class}"
|
998
|
+
end
|
999
|
+
|
1000
|
+
@heads = []
|
1001
|
+
@locate = []
|
1002
|
+
@snull = nil
|
1003
|
+
@null = nil
|
1004
|
+
@expand = nil
|
1005
|
+
@useless = nil
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class << self
|
1009
|
+
def once_writer(nm)
|
1010
|
+
nm = nm.id2name
|
1011
|
+
module_eval(<<-EOS)
|
1012
|
+
def #{nm}=(v)
|
1013
|
+
raise 'racc: fatal: @#{nm} != nil' unless @#{nm}.nil?
|
1014
|
+
@#{nm} = v
|
1015
|
+
end
|
1016
|
+
EOS
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
once_writer :ident
|
1021
|
+
attr_reader :ident
|
1022
|
+
|
1023
|
+
alias hash ident
|
1024
|
+
|
1025
|
+
attr_reader :value
|
1026
|
+
|
1027
|
+
def dummy?
|
1028
|
+
@dummyp
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
def terminal?
|
1032
|
+
@term
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
def nonterminal?
|
1036
|
+
@nterm
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
def term=(t)
|
1040
|
+
raise 'racc: fatal: term= called twice' unless @term.nil?
|
1041
|
+
@term = t
|
1042
|
+
@nterm = !t
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
def should_terminal
|
1046
|
+
@should_terminal = true
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
def should_terminal?
|
1050
|
+
@should_terminal
|
1051
|
+
end
|
1052
|
+
|
1053
|
+
def string_symbol?
|
1054
|
+
@string
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
def serialize
|
1058
|
+
@serialized
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
attr_writer :serialized
|
1062
|
+
|
1063
|
+
attr_accessor :precedence
|
1064
|
+
attr_accessor :assoc
|
1065
|
+
|
1066
|
+
def to_s
|
1067
|
+
@to_s.dup
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
alias inspect to_s
|
1071
|
+
|
1072
|
+
def |(x)
|
1073
|
+
rule() | x.rule
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
def rule
|
1077
|
+
Rule.new(nil, [self], UserAction.empty)
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
#
|
1081
|
+
# cache
|
1082
|
+
#
|
1083
|
+
|
1084
|
+
attr_reader :heads
|
1085
|
+
attr_reader :locate
|
1086
|
+
|
1087
|
+
def self_null?
|
1088
|
+
@snull
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
once_writer :snull
|
1092
|
+
|
1093
|
+
def nullable?
|
1094
|
+
@null
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
def null=(n)
|
1098
|
+
@null = n
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
attr_reader :expand
|
1102
|
+
once_writer :expand
|
1103
|
+
|
1104
|
+
def useless?
|
1105
|
+
@useless
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
def useless=(f)
|
1109
|
+
@useless = f
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
end # class Sym
|
1113
|
+
|
1114
|
+
end # module Racc
|