ory-keto-client 0.7.0.alpha0 → 0.8.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -19
- data/README.md +20 -17
- data/docs/GenericError.md +28 -0
- data/docs/InlineResponse200.md +18 -0
- data/docs/InlineResponse2001.md +18 -0
- data/docs/InlineResponse503.md +18 -0
- data/docs/MetadataApi.md +193 -0
- data/docs/ReadApi.md +32 -28
- data/docs/RelationQuery.md +1 -1
- data/docs/WriteApi.md +23 -23
- data/lib/ory-keto-client/api/metadata_api.rb +193 -0
- data/lib/ory-keto-client/api/read_api.rb +47 -62
- data/lib/ory-keto-client/api/write_api.rb +37 -43
- data/lib/ory-keto-client/api_client.rb +7 -7
- data/lib/ory-keto-client/api_error.rb +4 -4
- data/lib/ory-keto-client/configuration.rb +6 -5
- data/lib/ory-keto-client/models/expand_tree.rb +4 -4
- data/lib/ory-keto-client/models/generic_error.rb +266 -0
- data/lib/ory-keto-client/models/get_check_response.rb +4 -4
- data/lib/ory-keto-client/models/get_relation_tuples_response.rb +4 -4
- data/lib/ory-keto-client/models/health_not_ready_status.rb +4 -4
- data/lib/ory-keto-client/models/health_status.rb +4 -4
- data/lib/ory-keto-client/models/inline_response200.rb +224 -0
- data/lib/ory-keto-client/models/inline_response2001.rb +224 -0
- data/lib/ory-keto-client/models/inline_response503.rb +226 -0
- data/lib/ory-keto-client/models/internal_relation_tuple.rb +4 -4
- data/lib/ory-keto-client/models/patch_delta.rb +4 -4
- data/lib/ory-keto-client/models/relation_query.rb +4 -9
- data/lib/ory-keto-client/models/subject_set.rb +4 -4
- data/lib/ory-keto-client/models/version.rb +4 -4
- data/lib/ory-keto-client/version.rb +5 -5
- data/lib/ory-keto-client.rb +9 -7
- data/ory-keto-client.gemspec +6 -6
- data/spec/api/metadata_api_spec.rb +68 -0
- data/spec/api/read_api_spec.rb +15 -13
- data/spec/api/write_api_spec.rb +13 -13
- data/spec/api_client_spec.rb +6 -6
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/expand_tree_spec.rb +4 -4
- data/spec/models/generic_error_spec.rb +64 -0
- data/spec/models/get_check_response_spec.rb +4 -4
- data/spec/models/get_relation_tuples_response_spec.rb +4 -4
- data/spec/models/health_not_ready_status_spec.rb +4 -4
- data/spec/models/health_status_spec.rb +4 -4
- 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/internal_relation_tuple_spec.rb +4 -4
- data/spec/models/patch_delta_spec.rb +4 -4
- data/spec/models/relation_query_spec.rb +4 -4
- data/spec/models/subject_set_spec.rb +4 -4
- data/spec/models/version_spec.rb +4 -4
- data/spec/spec_helper.rb +4 -4
- 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/parser-3.1.1.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/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/stringio-3.0.1.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/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{ffi-1.15.4 → 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_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → 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.1 → psych-4.0.3}/mkmf.log +0 -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/{gems/ffi-1.15.4/ext/ffi_c/.sitearchdir.time → 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/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/.rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/Code-of-Conduct.md +0 -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.4.4 → diff-lcs-1.5.0}/License.md +0 -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.4.4 → diff-lcs-1.5.0}/README.rdoc +0 -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.4.4 → diff-lcs-1.5.0}/bin/htmldiff +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/bin/ldiff +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/docs/COPYING.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/docs/artistic.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/array.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/backports.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/block.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/callbacks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/change.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/htmldiff.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/hunk.rb +0 -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.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/ldiff.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/lib/diff/lcs/string.rb +0 -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.4.4 → diff-lcs-1.5.0}/lib/diff-lcs.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/change_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/diff_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/aX +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/bXaX +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ds1.csv +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ds2.csv +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-e +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-f +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/fixtures/ldiff/output.diff-u +0 -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.4.4 → diff-lcs-1.5.0}/spec/hunk_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/issues_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/lcs_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/ldiff_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{diff-lcs-1.4.4 → diff-lcs-1.5.0}/spec/sdiff_spec.rb +0 -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.4.4 → diff-lcs-1.5.0}/spec/traverse_balanced_spec.rb +0 -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.14.0 → ethon-0.15.0}/.github/workflows/ruby.yml +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.rspec +0 -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.14.0 → ethon-0.15.0}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Guardfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/ethon.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curl.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/classes.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/codes.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/curls/form_options.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/curls/infos.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/messages.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/easy/callbacks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/debug_info.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/form.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/header.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/actionable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/custom.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/delete.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/get.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/head.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/patch.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/post.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/postable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/put.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/putable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/easy/mirror.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/easy/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/params.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/queryable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/response_callbacks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/util.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/ethon_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/global_init.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_option.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_value.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_add.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_fdset.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_remove.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_timeout.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/select.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/libc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/loggable.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon/multi/options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/stack.rb +0 -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.14.0 → ethon-0.15.0}/lib/ethon.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/benchmarks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/memory_leaks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/perf_spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/memory_test_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/os_memory_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/curl_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/callbacks_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/features_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/form_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/header_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/get_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/head_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/post_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/put_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http_spec.rb +0 -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.14.0 → ethon-0.15.0}/spec/ethon/easy/operations_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/options_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/queryable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/util_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/libc_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/loggable_spec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/multi/operations_spec.rb +0 -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.14.0 → ethon-0.15.0}/spec/ethon/multi/stack_spec.rb +0 -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.14.0 → ethon-0.15.0}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/localhost_server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/server.rb +0 -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.4 → ffi-1.15.5}/COPYING +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/LICENSE.SPECS +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/Rakefile +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1/ext/psych → ffi-1.15.5/ext/ffi_c}/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/AbstractMemory.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/AbstractMemory.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/ArrayType.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/ArrayType.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Buffer.c +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Call.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/ClosurePool.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/ClosurePool.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/DynamicLibrary.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/DynamicLibrary.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Function.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Function.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/FunctionInfo.c +0 -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.4 → ffi-1.15.5}/ext/ffi_c/LastError.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/LastError.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/LongDouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/LongDouble.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/MappedType.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/MappedType.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/MemoryPointer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/MemoryPointer.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/MethodHandle.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/MethodHandle.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Platform.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Platform.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Pointer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Pointer.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Struct.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Struct.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/StructByValue.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/StructByValue.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/StructLayout.c +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Thread.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Thread.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Type.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Type.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Types.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/Types.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/Variadic.c +0 -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.4 → ffi-1.15.5}/ext/ffi_c/compat.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/ffi.c +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/.appveyor.yml +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.gitattributes +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.github/issue_template.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/ar-lib +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/bfin-sim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/build-cross-in-container.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/build-in-container.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/build.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/compile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/install.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/m32r-sim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/moxie-sim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/or1k-sim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/powerpc-eabisim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/site.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis/wine-sim.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/.travis.yml +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/ChangeLog.old +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/Makefile.am +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/acinclude.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/autogen.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/config.guess +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/config.sub +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/configure.ac +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/configure.host +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/doc/Makefile.am +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/doc/libffi.texi +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/doc/version.texi +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/fficonfig.h.in +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/include/Makefile.am +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/include/ffi.h.in +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/include/ffi_cfi.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/include/ffi_common.h +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/libffi.map.in +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/libffi.pc.in +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/libtool-ldflags +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/libtool-version +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/asmcfi.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_append_flag.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_configure_args.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/m4/ax_require_defined.m4 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/make_sunver.pl +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/man/Makefile.am +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/man/ffi.3 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/man/ffi_call.3 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/man/ffi_prep_cif.3 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.sln +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.filters +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/Ffi_staticLib.vcxproj.user +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/ffi.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvc_build/aarch64/aarch64_include/fficonfig.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/msvcc.sh +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/aarch64/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/aarch64/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/aarch64/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/aarch64/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/aarch64/win64_armasm.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/alpha/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/alpha/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/alpha/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/alpha/osf.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arc/arcompact.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arc/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arc/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arm/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arm/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arm/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arm/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/arm/sysv_msvc_arm32.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/avr32/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/avr32/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/avr32/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/bfin/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/bfin/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/bfin/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/closures.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/cris/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/cris/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/cris/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/csky/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/csky/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/csky/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/debug.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/dlmalloc.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/frv/eabi.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/frv/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/frv/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/ia64/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/ia64/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/ia64/ia64_flags.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/ia64/unix.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/java_raw_api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/kvx/asm.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/kvx/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/kvx/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/kvx/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m32r/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m32r/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m32r/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m68k/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m68k/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m68k/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m88k/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m88k/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/m88k/obsd.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/metag/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/metag/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/metag/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/microblaze/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/microblaze/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/microblaze/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/mips/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/mips/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/mips/n32.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/mips/o32.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/moxie/eabi.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/moxie/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/moxie/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/nios2/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/nios2/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/nios2/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/or1k/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/or1k/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/or1k/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/pa/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/pa/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/pa/hpux32.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/pa/linux.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/aix.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/aix_closure.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/asm.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/darwin.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/linux64.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/powerpc/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/prep_cif.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/raw_api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/riscv/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/riscv/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/riscv/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/s390/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/s390/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/s390/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/s390/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh64/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh64/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sh64/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/ffi64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/v8.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/sparc/v9.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/tile/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/tile/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/tile/tile.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/types.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/vax/elfbsd.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/vax/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/vax/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/asmnames.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/ffi64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/ffiw64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/internal.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/internal64.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/sysv_intel.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/unix64.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/win64.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/x86/win64_intel.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/xtensa/ffi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/xtensa/ffitarget.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/src/xtensa/sysv.S +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/stamp-h.in +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/Makefile.am +0 -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.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/config/default.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/lib/libffi.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/many.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn0.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn4.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn5.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_fn6.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_loc_fn0.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/closure_simple.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_12byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_16byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_18byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_19byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_1_1byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_20byte1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_24byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_2byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3_1byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3byte2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_3float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4_1byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_4byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5_1_byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_5byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_64byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6_1_byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_6byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7_1_byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_7byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_8byte.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_9byte2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_longdouble_split2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_pointer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint16.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint32.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_sint64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint16.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint32.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_align_uint64.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_dbls_struct.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_double_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_longdouble_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_args.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_many_mixed_float_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_schar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshort.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_sshortchar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_uchar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushort.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_multi_ushortchar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_pointer_stack.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_schar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sint.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_sshort.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_struct_va1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uchar_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_uint_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulong_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ulonglong.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/cls_ushort_va.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/err_bad_abi.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/ffitest.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/huge_struct.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct10.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct11.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct3.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct4.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct5.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct6.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct7.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct8.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/nested_struct9.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/problem1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_large2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/stret_medium2.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/testclosure.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest.cc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.closures/unwindtest_ffi_call.cc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.bsd.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.darwin.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.gnu.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.vc.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/libffi.vc64.mk +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/rbffi.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ext/ffi_c/rbffi_endian.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/ffi.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/abstract_memory.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/autopointer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/callback.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/data_converter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/enum.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/errno.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/ffi.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/io.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/library.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/managedstruct.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/memorypointer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/aarch64-darwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/aarch64-freebsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/aarch64-freebsd12/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/aarch64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/aarch64-openbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/arm-freebsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/arm-freebsd12/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/arm-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-cygwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-darwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-freebsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-freebsd12/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-gnu/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-netbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-openbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-solaris/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/i386-windows/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/ia64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mips-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mips64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mips64el-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mipsel-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mipsisa32r6-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mipsisa32r6el-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mipsisa64r6-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/mipsisa64r6el-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc-aix/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc-darwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc-openbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/powerpc64le-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/riscv64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/s390-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/s390x-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/sparc-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/sparc-solaris/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/sparc64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/sparcv9-openbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/sparcv9-solaris/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-cygwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-darwin/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-dragonflybsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-freebsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-freebsd12/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-haiku/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-linux/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-msys/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-netbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-openbsd/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-solaris/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform/x86_64-windows/types.conf +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/platform.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/pointer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/struct.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/struct_by_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/struct_layout.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/struct_layout_builder.rb +0 -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.4 → ffi-1.15.5}/lib/ffi/tools/generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/tools/generator_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/tools/struct_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/tools/types_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/types.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/union.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/lib/ffi/variadic.rb +0 -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.4 → ffi-1.15.5}/lib/ffi.rb +0 -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.4 → ffi-1.15.5}/samples/getlogin.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/getpid.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/gettimeofday.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/hello.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/inotify.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/pty.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ffi-1.15.4 → ffi-1.15.5}/samples/qsort.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/gauntlet_parser.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/ast/node.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/ast/processor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/base.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/clobbering_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/color.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/current_arg_stack.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/deprecation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/diagnostic/engine.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/diagnostic.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/lexer/literal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/lexer/stack_state.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/rewriter.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/ruby28.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/runner/ruby_parse.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/runner/ruby_rewrite.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/source/buffer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/comment/associator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/comment.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/collection.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/condition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/constant.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/for.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/heredoc.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/index.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/keyword.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/method_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/operator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/rescue_body.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/send.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/ternary.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map/variable.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/range.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/tree_rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/lib/parser/variables_stack.rb +0 -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.0.2.0 → parser-3.1.1.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.0.2.0 → parser-3.1.1.0}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/Mavenfile +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/README.md +0 -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.1 → psych-4.0.3}/bin/console +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/bin/setup +0 -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.1 → psych-4.0.3}/ext/psych/depend +0 -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.1 → psych-4.0.3}/ext/psych/extconf.rb +0 -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.1 → psych-4.0.3}/ext/psych/psych.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/psych.h +0 -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.1 → psych-4.0.3}/ext/psych/psych_emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/psych_emitter.h +0 -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.1 → psych-4.0.3}/ext/psych/psych_parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/psych_parser.h +0 -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.1 → psych-4.0.3}/ext/psych/psych_to_ruby.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/psych_to_ruby.h +0 -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.1 → psych-4.0.3}/ext/psych/psych_yaml_tree.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/psych_yaml_tree.h +0 -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.1 → psych-4.0.3}/ext/psych/yaml/LICENSE +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/api.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/config.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/dumper.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/emitter.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/loader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/parser.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/reader.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/scanner.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/writer.c +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/yaml.h +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/ext/psych/yaml/yaml_private.h +0 -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.1 → psych-4.0.3}/lib/psych/coder.rb +0 -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.1 → psych-4.0.3}/lib/psych/exception.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/handler.rb +0 -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.1 → psych-4.0.3}/lib/psych/json/ruby_events.rb +0 -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.1 → psych-4.0.3}/lib/psych/json/yaml_events.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/nodes/alias.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/nodes/document.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/nodes/mapping.rb +0 -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.1 → psych-4.0.3}/lib/psych/nodes/scalar.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/nodes/sequence.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/nodes/stream.rb +0 -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.1 → psych-4.0.3}/lib/psych/omap.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/parser.rb +0 -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.1 → psych-4.0.3}/lib/psych/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/stream.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/streaming.rb +0 -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.1 → psych-4.0.3}/lib/psych/visitors/depth_first.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.3}/lib/psych/visitors/emitter.rb +0 -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.1 → psych-4.0.3}/lib/psych/visitors/visitor.rb +0 -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.1 → psych-4.0.3}/lib/psych/y.rb +0 -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.0.0 → rainbow-3.1.1}/LICENSE +0 -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/{rspec-3.10.0 → rspec-3.11.0}/LICENSE.md +0 -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.10.0 → rspec-3.11.0}/lib/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/.yardopts +0 -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.10.1 → rspec-core-3.11.0}/LICENSE.md +0 -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.10.1 → rspec-core-3.11.0}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/autorun.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/server.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/bisect/shell_runner.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/configuration_options.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/did_you_mean.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/drb.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/dsl.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/example_status_persister.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/filter_manager.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/flat_map.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_printer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/protocol.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/hooks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/invocations.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/metadata.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/metadata_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/notifications.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/output_wrapper.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/profiler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/project_initializer/.rspec +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/project_initializer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/rake_task.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/reporter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/ruby_project.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/runner.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/sandbox.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/set.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/shared_context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/shared_example_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/shell_escape.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.11.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -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.10.1 → rspec-core-3.11.0}/lib/rspec/core/warnings.rb +0 -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.10.1 → rspec-expectations-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/.yardopts +0 -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.10.1 → rspec-expectations-3.11.0}/LICENSE.md +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/configuration.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/fail_with.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations/syntax.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/all.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/be_within.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/operators.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/composable.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers/matcher_delegator.rb +0 -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.10.1 → rspec-expectations-3.11.0}/lib/rspec/matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/.yardopts +0 -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.10.2 → rspec-mocks-3.11.0}/LICENSE.md +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/any_instance.rb +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/error_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/example_methods.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/have_received.rb +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/message_chain.rb +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/method_double.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/method_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/mutate_const.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/object_reference.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/order_group.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/proxy.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/space.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/standalone.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/targets.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/test_double.rb +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks/verifying_proxy.rb +0 -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.10.2 → rspec-mocks-3.11.0}/lib/rspec/mocks.rb +0 -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.10.2 → rspec-support-3.11.0}/LICENSE.md +0 -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.10.2 → rspec-support-3.11.0}/lib/rspec/support/caller_filter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/comparable_version.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/differ.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/directory_maker.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/encoded_string.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/hunk_generator.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/matcher_definition.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/method_signature_verifier.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/mutex.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/object_formatter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/recursive_const_methods.rb +0 -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.10.2 → rspec-support-3.11.0}/lib/rspec/support/ruby_features.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/source/location.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/source/node.rb +0 -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.10.2 → rspec-support-3.11.0}/lib/rspec/support/source.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/shell_out.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/spec.rb +0 -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.10.2 → rspec-support-3.11.0}/lib/rspec/support/warnings.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.10.2 → rspec-support-3.11.0}/lib/rspec/support.rb +0 -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/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/parser-3.1.1.0.gemspec +63 -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/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/stringio-3.0.1.gemspec +24 -0
- metadata +1224 -1209
- data/docs/HealthApi.md +0 -131
- data/docs/InlineResponse400.md +0 -28
- data/docs/VersionApi.md +0 -69
- data/lib/ory-keto-client/api/health_api.rb +0 -136
- data/lib/ory-keto-client/api/version_api.rb +0 -79
- data/lib/ory-keto-client/models/inline_response400.rb +0 -265
- data/spec/api/health_api_spec.rb +0 -57
- data/spec/api/version_api_spec.rb +0 -46
- data/spec/models/inline_response400_spec.rb +0 -64
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ethon-0.14.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ffi-1.15.4.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.0.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rainbow-3.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.10.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/gem_make.out +0 -45
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/mkmf.log +0 -214
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.1/gem_make.out +0 -41
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.1/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/Contributing.md +0 -118
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/History.md +0 -319
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/Manifest.txt +0 -45
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/Rakefile +0 -74
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/autotest/discover.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +0 -304
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +0 -739
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +0 -375
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +0 -139
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/CHANGELOG.md +0 -368
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/curls/constants.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/curls/functions.rb +0 -57
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/curls/options.rb +0 -471
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/curls/settings.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/informations.rb +0 -95
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/easy/operations.rb +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/multi/operations.rb +0 -191
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/multi.rb +0 -104
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/lib/ethon/version.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/easy/informations_spec.rb +0 -98
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/easy/mirror_spec.rb +0 -46
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi/options_spec.rb +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi_spec.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/CHANGELOG.md +0 -324
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/Rakefile +0 -177
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Call.c +0 -487
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Makefile +0 -264
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/extconf.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/Makefile.in +0 -2069
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/configure +0 -22046
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/doc/Makefile.in +0 -815
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/include/Makefile.in +0 -608
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/install-sh +0 -541
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/ltmain.sh +0 -11251
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/man/Makefile.in +0 -562
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/missing +0 -215
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/libffi/testsuite/Makefile.in +0 -648
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/lib/ffi/tools/const_generator.rb +0 -231
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/lib/ffi/version.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/rakelib/ffi_gem_helper.rb +0 -65
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/all.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/builders/default.rb +0 -2224
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/context.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/current.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/lexer/dedenter.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/lexer/explanation.rb +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/lexer.rb +0 -23840
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/macruby.rb +0 -6149
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/max_numparam_stack.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/messages.rb +0 -114
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby18.rb +0 -5667
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby19.rb +0 -6092
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby20.rb +0 -6527
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby21.rb +0 -6578
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby22.rb +0 -6613
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby23.rb +0 -6624
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby24.rb +0 -6694
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby25.rb +0 -6662
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby26.rb +0 -6676
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby27.rb +0 -7862
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby30.rb +0 -8060
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/ruby31.rb +0 -8226
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/rubymotion.rb +0 -6086
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/runner.rb +0 -282
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/static_environment.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.0.2.0/lib/parser/version.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/Rakefile +0 -41
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/Makefile +0 -271
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/api.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/dumper.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/loader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych_emitter.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych_parser.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych_to_ruby.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/psych_yaml_tree.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/reader.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/scanner.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/writer.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/class_loader.rb +0 -104
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/core_ext.rb +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/handlers/document_stream.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/handlers/recorder.rb +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/json/stream.rb +0 -17
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/json/tree_builder.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/nodes/node.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/nodes.rb +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/scalar_scanner.rb +0 -136
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/syntax_error.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/tree_builder.rb +0 -137
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/versions.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/visitors/json_tree.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/visitors/to_ruby.rb +0 -434
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/visitors/yaml_tree.rb +0 -585
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych/visitors.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych.rb +0 -741
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/lib/psych.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/psych.gemspec +0 -67
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.gitignore +0 -17
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop.yml +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.rubocop_todo.yml +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/.travis.yml +0 -24
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Changelog.md +0 -93
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Gemfile +0 -28
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Guardfile +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/README.markdown +0 -224
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/Rakefile +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/appveyor.yml +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/color.rb +0 -143
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/ext/string.rb +0 -54
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/global.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/null_presenter.rb +0 -93
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/presenter.rb +0 -135
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/refinement.rb +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/string_utils.rb +0 -21
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/version.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/wrapper.rb +0 -20
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow/x11_color_names.rb +0 -151
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/lib/rainbow.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/rainbow.gemspec +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/instance_spec.rb +0 -33
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/rainbow_spec.rb +0 -157
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/refinement_spec.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/string_spec.rb +0 -81
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/integration/uncolor_spec.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/spec_helper.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/support/presenter_shared_examples.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/color_spec.rb +0 -296
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/null_presenter_spec.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/presenter_spec.rb +0 -199
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/string_utils_spec.rb +0 -94
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-3.0.0/spec/unit/wrapper_spec.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.10.0/README.md +0 -43
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.10.0/lib/rspec/version.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/Changelog.md +0 -2327
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/README.md +0 -384
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/bisect/utilities.rb +0 -58
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb +0 -2372
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/example.rb +0 -663
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb +0 -901
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/exception_presenter.rb +0 -521
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/formatters.rb +0 -273
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb +0 -554
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/option_parser.rb +0 -324
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/ordering.rb +0 -158
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/pending.rb +0 -165
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/world.rb +0 -277
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core.rb +0 -186
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/Changelog.md +0 -1240
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/README.md +0 -320
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/expectation_target.rb +0 -127
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/failure_aggregator.rb +0 -212
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/expectations/version.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/change.rb +0 -428
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/compound.rb +0 -276
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/include.rb +0 -206
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/output.rb +0 -200
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/raise_error.rb +0 -259
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/built_in/yield.rb +0 -355
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/dsl.rb +0 -540
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.10.1/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/Changelog.md +0 -1167
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/README.md +0 -463
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/message_expectation.rb +0 -751
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/verifying_double.rb +0 -129
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.10.2/lib/rspec/mocks/version.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.10.2/Changelog.md +0 -332
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.10.2/README.md +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.10.2/lib/rspec/support/reentrant_mutex.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.10.2/lib/rspec/support/source/token.rb +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.10.2/lib/rspec/support/version.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.4.4.gemspec +0 -59
- data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.14.0.gemspec +0 -32
- data/vendor/bundle/ruby/2.5.0/specifications/ffi-1.15.4.gemspec +0 -47
- data/vendor/bundle/ruby/2.5.0/specifications/parser-3.0.2.0.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.1.gemspec +0 -26
- data/vendor/bundle/ruby/2.5.0/specifications/rainbow-3.0.0.gemspec +0 -33
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.10.0.gemspec +0 -43
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.10.1.gemspec +0 -63
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.10.1.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.10.2.gemspec +0 -51
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.10.2.gemspec +0 -39
@@ -0,0 +1,2309 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Parser
|
4
|
+
|
5
|
+
##
|
6
|
+
# Default AST builder. Uses {AST::Node}s.
|
7
|
+
#
|
8
|
+
class Builders::Default
|
9
|
+
class << self
|
10
|
+
##
|
11
|
+
# AST compatibility attribute; since `-> {}` is not semantically
|
12
|
+
# equivalent to `lambda {}`, all new code should set this attribute
|
13
|
+
# to true.
|
14
|
+
#
|
15
|
+
# If set to false (the default), `-> {}` is emitted as
|
16
|
+
# `s(:block, s(:send, nil, :lambda), s(:args), nil)`.
|
17
|
+
#
|
18
|
+
# If set to true, `-> {}` is emitted as
|
19
|
+
# `s(:block, s(:lambda), s(:args), nil)`.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
attr_accessor :emit_lambda
|
23
|
+
end
|
24
|
+
|
25
|
+
@emit_lambda = false
|
26
|
+
|
27
|
+
class << self
|
28
|
+
##
|
29
|
+
# AST compatibility attribute; block arguments of `m { |a| }` are
|
30
|
+
# not semantically equivalent to block arguments of `m { |a,| }` or `m { |a, b| }`,
|
31
|
+
# all new code should set this attribute to true.
|
32
|
+
#
|
33
|
+
# If set to false (the default), arguments of `m { |a| }` are emitted as
|
34
|
+
# `s(:args, s(:arg, :a))`.
|
35
|
+
#
|
36
|
+
# If set to true, arguments of `m { |a| }` are emitted as
|
37
|
+
# `s(:args, s(:procarg0, :a)).
|
38
|
+
#
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :emit_procarg0
|
41
|
+
end
|
42
|
+
|
43
|
+
@emit_procarg0 = false
|
44
|
+
|
45
|
+
class << self
|
46
|
+
##
|
47
|
+
# AST compatibility attribute; locations of `__ENCODING__` are not the same
|
48
|
+
# as locations of `Encoding::UTF_8` causing problems during rewriting,
|
49
|
+
# all new code should set this attribute to true.
|
50
|
+
#
|
51
|
+
# If set to false (the default), `__ENCODING__` is emitted as
|
52
|
+
# ` s(:const, s(:const, nil, :Encoding), :UTF_8)`.
|
53
|
+
#
|
54
|
+
# If set to true, `__ENCODING__` is emitted as
|
55
|
+
# `s(:__ENCODING__)`.
|
56
|
+
#
|
57
|
+
# @return [Boolean]
|
58
|
+
attr_accessor :emit_encoding
|
59
|
+
end
|
60
|
+
|
61
|
+
@emit_encoding = false
|
62
|
+
|
63
|
+
class << self
|
64
|
+
##
|
65
|
+
# AST compatibility attribute; indexed assignment, `x[] = 1`, is not
|
66
|
+
# semantically equivalent to calling the method directly, `x.[]=(1)`.
|
67
|
+
# Specifically, in the former case, the expression's value is always 1,
|
68
|
+
# and in the latter case, the expression's value is the return value
|
69
|
+
# of the `[]=` method.
|
70
|
+
#
|
71
|
+
# If set to false (the default), `self[1]` is emitted as
|
72
|
+
# `s(:send, s(:self), :[], s(:int, 1))`, and `self[1] = 2` is
|
73
|
+
# emitted as `s(:send, s(:self), :[]=, s(:int, 1), s(:int, 2))`.
|
74
|
+
#
|
75
|
+
# If set to true, `self[1]` is emitted as
|
76
|
+
# `s(:index, s(:self), s(:int, 1))`, and `self[1] = 2` is
|
77
|
+
# emitted as `s(:indexasgn, s(:self), s(:int, 1), s(:int, 2))`.
|
78
|
+
#
|
79
|
+
# @return [Boolean]
|
80
|
+
attr_accessor :emit_index
|
81
|
+
end
|
82
|
+
|
83
|
+
@emit_index = false
|
84
|
+
|
85
|
+
class << self
|
86
|
+
##
|
87
|
+
# AST compatibility attribute; causes a single non-mlhs
|
88
|
+
# block argument to be wrapped in s(:procarg0).
|
89
|
+
#
|
90
|
+
# If set to false (the default), block arguments `|a|` are emitted as
|
91
|
+
# `s(:args, s(:procarg0, :a))`
|
92
|
+
#
|
93
|
+
# If set to true, block arguments `|a|` are emitted as
|
94
|
+
# `s(:args, s(:procarg0, s(:arg, :a))`
|
95
|
+
#
|
96
|
+
# @return [Boolean]
|
97
|
+
attr_accessor :emit_arg_inside_procarg0
|
98
|
+
end
|
99
|
+
|
100
|
+
@emit_arg_inside_procarg0 = false
|
101
|
+
|
102
|
+
class << self
|
103
|
+
##
|
104
|
+
# AST compatibility attribute; arguments forwarding initially
|
105
|
+
# didn't have support for leading arguments
|
106
|
+
# (i.e. `def m(a, ...); end` was a syntax error). However, Ruby 3.0
|
107
|
+
# added support for any number of arguments in front of the `...`.
|
108
|
+
#
|
109
|
+
# If set to false (the default):
|
110
|
+
# 1. `def m(...) end` is emitted as
|
111
|
+
# s(:def, :m, s(:forward_args), nil)
|
112
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
113
|
+
# s(:def, :m,
|
114
|
+
# s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
115
|
+
#
|
116
|
+
# If set to true it uses a single format:
|
117
|
+
# 1. `def m(...) end` is emitted as
|
118
|
+
# s(:def, :m, s(:args, s(:forward_arg)))
|
119
|
+
# 2. `def m(a, b, ...) end` is emitted as
|
120
|
+
# s(:def, :m, s(:args, s(:arg, :a), s(:arg, :b), s(:forward_arg)))
|
121
|
+
#
|
122
|
+
# It does't matter that much on 2.7 (because there can't be any leading arguments),
|
123
|
+
# but on 3.0 it should be better enabled to use a single AST format.
|
124
|
+
#
|
125
|
+
# @return [Boolean]
|
126
|
+
attr_accessor :emit_forward_arg
|
127
|
+
end
|
128
|
+
|
129
|
+
@emit_forward_arg = false
|
130
|
+
|
131
|
+
class << self
|
132
|
+
##
|
133
|
+
# AST compatibility attribute; Starting from Ruby 2.7 keyword arguments
|
134
|
+
# of method calls that are passed explicitly as a hash (i.e. with curly braces)
|
135
|
+
# are treated as positional arguments and Ruby 2.7 emits a warning on such method
|
136
|
+
# call. Ruby 3.0 given an ArgumentError.
|
137
|
+
#
|
138
|
+
# If set to false (the default) the last hash argument is emitted as `hash`:
|
139
|
+
#
|
140
|
+
# ```
|
141
|
+
# (send nil :foo
|
142
|
+
# (hash
|
143
|
+
# (pair
|
144
|
+
# (sym :bar)
|
145
|
+
# (int 42))))
|
146
|
+
# ```
|
147
|
+
#
|
148
|
+
# If set to true it is emitted as `kwargs`:
|
149
|
+
#
|
150
|
+
# ```
|
151
|
+
# (send nil :foo
|
152
|
+
# (kwargs
|
153
|
+
# (pair
|
154
|
+
# (sym :bar)
|
155
|
+
# (int 42))))
|
156
|
+
# ```
|
157
|
+
#
|
158
|
+
# Note that `kwargs` node is just a replacement for `hash` argument,
|
159
|
+
# so if there's are multiple arguments (or a `kwsplat`) all of them
|
160
|
+
# are wrapped into `kwargs` instead of `hash`:
|
161
|
+
#
|
162
|
+
# ```
|
163
|
+
# (send nil :foo
|
164
|
+
# (kwargs
|
165
|
+
# (pair
|
166
|
+
# (sym :a)
|
167
|
+
# (int 42))
|
168
|
+
# (kwsplat
|
169
|
+
# (send nil :b))
|
170
|
+
# (pair
|
171
|
+
# (sym :c)
|
172
|
+
# (int 10))))
|
173
|
+
# ```
|
174
|
+
attr_accessor :emit_kwargs
|
175
|
+
end
|
176
|
+
|
177
|
+
@emit_kwargs = false
|
178
|
+
|
179
|
+
class << self
|
180
|
+
##
|
181
|
+
# AST compatibility attribute; Starting from 3.0 Ruby returns
|
182
|
+
# true/false from single-line pattern matching with `in` keyword.
|
183
|
+
#
|
184
|
+
# Before 3.0 there was an exception if given value doesn't match pattern.
|
185
|
+
#
|
186
|
+
# NOTE: This attribute affects only Ruby 2.7 grammar.
|
187
|
+
# 3.0 grammar always emits `match_pattern`/`match_pattern_p`
|
188
|
+
#
|
189
|
+
# If compatibility attribute set to false `foo in bar` is emitted as `in_match`:
|
190
|
+
#
|
191
|
+
# ```
|
192
|
+
# (in-match
|
193
|
+
# (send nil :foo)
|
194
|
+
# (match-var :bar))
|
195
|
+
# ```
|
196
|
+
#
|
197
|
+
# If set to true it's emitted as `match_pattern_p`:
|
198
|
+
# ```
|
199
|
+
# (match-pattern-p
|
200
|
+
# (send nil :foo)
|
201
|
+
# (match-var :bar))
|
202
|
+
# ```
|
203
|
+
attr_accessor :emit_match_pattern
|
204
|
+
end
|
205
|
+
|
206
|
+
@emit_match_pattern = false
|
207
|
+
|
208
|
+
class << self
|
209
|
+
##
|
210
|
+
# @api private
|
211
|
+
def modernize
|
212
|
+
@emit_lambda = true
|
213
|
+
@emit_procarg0 = true
|
214
|
+
@emit_encoding = true
|
215
|
+
@emit_index = true
|
216
|
+
@emit_arg_inside_procarg0 = true
|
217
|
+
@emit_forward_arg = true
|
218
|
+
@emit_kwargs = true
|
219
|
+
@emit_match_pattern = true
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
##
|
224
|
+
# @api private
|
225
|
+
attr_accessor :parser
|
226
|
+
|
227
|
+
##
|
228
|
+
# If set to true (the default), `__FILE__` and `__LINE__` are transformed to
|
229
|
+
# literal nodes. For example, `s(:str, "lib/foo.rb")` and `s(:int, 10)`.
|
230
|
+
#
|
231
|
+
# If set to false, `__FILE__` and `__LINE__` are emitted as-is,
|
232
|
+
# i.e. as `s(:__FILE__)` and `s(:__LINE__)` nodes.
|
233
|
+
#
|
234
|
+
# Source maps are identical in both cases.
|
235
|
+
#
|
236
|
+
# @return [Boolean]
|
237
|
+
attr_accessor :emit_file_line_as_literals
|
238
|
+
|
239
|
+
##
|
240
|
+
# Initializes attributes:
|
241
|
+
#
|
242
|
+
# * `emit_file_line_as_literals`: `true`
|
243
|
+
def initialize
|
244
|
+
@emit_file_line_as_literals = true
|
245
|
+
end
|
246
|
+
|
247
|
+
# @!parse private
|
248
|
+
|
249
|
+
#
|
250
|
+
# Literals
|
251
|
+
#
|
252
|
+
|
253
|
+
# Singletons
|
254
|
+
|
255
|
+
def nil(nil_t)
|
256
|
+
n0(:nil,
|
257
|
+
token_map(nil_t))
|
258
|
+
end
|
259
|
+
|
260
|
+
def true(true_t)
|
261
|
+
n0(:true,
|
262
|
+
token_map(true_t))
|
263
|
+
end
|
264
|
+
|
265
|
+
def false(false_t)
|
266
|
+
n0(:false,
|
267
|
+
token_map(false_t))
|
268
|
+
end
|
269
|
+
|
270
|
+
# Numerics
|
271
|
+
|
272
|
+
def integer(integer_t)
|
273
|
+
numeric(:int, integer_t)
|
274
|
+
end
|
275
|
+
|
276
|
+
def float(float_t)
|
277
|
+
numeric(:float, float_t)
|
278
|
+
end
|
279
|
+
|
280
|
+
def rational(rational_t)
|
281
|
+
numeric(:rational, rational_t)
|
282
|
+
end
|
283
|
+
|
284
|
+
def complex(complex_t)
|
285
|
+
numeric(:complex, complex_t)
|
286
|
+
end
|
287
|
+
|
288
|
+
def numeric(kind, token)
|
289
|
+
n(kind, [ value(token) ],
|
290
|
+
Source::Map::Operator.new(nil, loc(token)))
|
291
|
+
end
|
292
|
+
private :numeric
|
293
|
+
|
294
|
+
def unary_num(unary_t, numeric)
|
295
|
+
value, = *numeric
|
296
|
+
operator_loc = loc(unary_t)
|
297
|
+
|
298
|
+
case value(unary_t)
|
299
|
+
when '+'
|
300
|
+
value = +value
|
301
|
+
when '-'
|
302
|
+
value = -value
|
303
|
+
end
|
304
|
+
|
305
|
+
numeric.updated(nil, [ value ],
|
306
|
+
:location =>
|
307
|
+
Source::Map::Operator.new(
|
308
|
+
operator_loc,
|
309
|
+
operator_loc.join(numeric.loc.expression)))
|
310
|
+
end
|
311
|
+
|
312
|
+
def __LINE__(__LINE__t)
|
313
|
+
n0(:__LINE__,
|
314
|
+
token_map(__LINE__t))
|
315
|
+
end
|
316
|
+
|
317
|
+
# Strings
|
318
|
+
|
319
|
+
def string(string_t)
|
320
|
+
n(:str, [ string_value(string_t) ],
|
321
|
+
delimited_string_map(string_t))
|
322
|
+
end
|
323
|
+
|
324
|
+
def string_internal(string_t)
|
325
|
+
n(:str, [ string_value(string_t) ],
|
326
|
+
unquoted_map(string_t))
|
327
|
+
end
|
328
|
+
|
329
|
+
def string_compose(begin_t, parts, end_t)
|
330
|
+
if collapse_string_parts?(parts)
|
331
|
+
if begin_t.nil? && end_t.nil?
|
332
|
+
parts.first
|
333
|
+
else
|
334
|
+
n(:str, parts.first.children,
|
335
|
+
string_map(begin_t, parts, end_t))
|
336
|
+
end
|
337
|
+
else
|
338
|
+
n(:dstr, [ *parts ],
|
339
|
+
string_map(begin_t, parts, end_t))
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
def character(char_t)
|
344
|
+
n(:str, [ string_value(char_t) ],
|
345
|
+
prefix_string_map(char_t))
|
346
|
+
end
|
347
|
+
|
348
|
+
def __FILE__(__FILE__t)
|
349
|
+
n0(:__FILE__,
|
350
|
+
token_map(__FILE__t))
|
351
|
+
end
|
352
|
+
|
353
|
+
# Symbols
|
354
|
+
|
355
|
+
def symbol(symbol_t)
|
356
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
357
|
+
prefix_string_map(symbol_t))
|
358
|
+
end
|
359
|
+
|
360
|
+
def symbol_internal(symbol_t)
|
361
|
+
n(:sym, [ string_value(symbol_t).to_sym ],
|
362
|
+
unquoted_map(symbol_t))
|
363
|
+
end
|
364
|
+
|
365
|
+
def symbol_compose(begin_t, parts, end_t)
|
366
|
+
if collapse_string_parts?(parts)
|
367
|
+
str = parts.first
|
368
|
+
|
369
|
+
n(:sym, [ str.children.first.to_sym ],
|
370
|
+
collection_map(begin_t, str.loc.expression, end_t))
|
371
|
+
elsif @parser.version == 18 && parts.empty?
|
372
|
+
diagnostic :error, :empty_symbol, nil, loc(begin_t).join(loc(end_t))
|
373
|
+
else
|
374
|
+
n(:dsym, [ *parts ],
|
375
|
+
collection_map(begin_t, parts, end_t))
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# Executable strings
|
380
|
+
|
381
|
+
def xstring_compose(begin_t, parts, end_t)
|
382
|
+
n(:xstr, [ *parts ],
|
383
|
+
string_map(begin_t, parts, end_t))
|
384
|
+
end
|
385
|
+
|
386
|
+
# Indented (interpolated, noninterpolated, executable) strings
|
387
|
+
|
388
|
+
def dedent_string(node, dedent_level)
|
389
|
+
if !dedent_level.nil?
|
390
|
+
dedenter = Lexer::Dedenter.new(dedent_level)
|
391
|
+
|
392
|
+
case node.type
|
393
|
+
when :str
|
394
|
+
str = node.children.first
|
395
|
+
dedenter.dedent(str)
|
396
|
+
when :dstr, :xstr
|
397
|
+
children = node.children.map do |str_node|
|
398
|
+
if str_node.type == :str
|
399
|
+
str = str_node.children.first
|
400
|
+
dedenter.dedent(str)
|
401
|
+
next nil if str.empty?
|
402
|
+
else
|
403
|
+
dedenter.interrupt
|
404
|
+
end
|
405
|
+
str_node
|
406
|
+
end
|
407
|
+
|
408
|
+
node = node.updated(nil, children.compact)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
node
|
413
|
+
end
|
414
|
+
|
415
|
+
# Regular expressions
|
416
|
+
|
417
|
+
def regexp_options(regopt_t)
|
418
|
+
options = value(regopt_t).
|
419
|
+
each_char.sort.uniq.
|
420
|
+
map(&:to_sym)
|
421
|
+
|
422
|
+
n(:regopt, options,
|
423
|
+
token_map(regopt_t))
|
424
|
+
end
|
425
|
+
|
426
|
+
def regexp_compose(begin_t, parts, end_t, options)
|
427
|
+
begin
|
428
|
+
static_regexp(parts, options)
|
429
|
+
rescue RegexpError => e
|
430
|
+
diagnostic :error, :invalid_regexp, { :message => e.message },
|
431
|
+
loc(begin_t).join(loc(end_t))
|
432
|
+
end
|
433
|
+
|
434
|
+
n(:regexp, (parts << options),
|
435
|
+
regexp_map(begin_t, end_t, options))
|
436
|
+
end
|
437
|
+
|
438
|
+
# Arrays
|
439
|
+
|
440
|
+
def array(begin_t, elements, end_t)
|
441
|
+
n(:array, elements,
|
442
|
+
collection_map(begin_t, elements, end_t))
|
443
|
+
end
|
444
|
+
|
445
|
+
def splat(star_t, arg=nil)
|
446
|
+
if arg.nil?
|
447
|
+
n0(:splat,
|
448
|
+
unary_op_map(star_t))
|
449
|
+
else
|
450
|
+
n(:splat, [ arg ],
|
451
|
+
unary_op_map(star_t, arg))
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
def word(parts)
|
456
|
+
if collapse_string_parts?(parts)
|
457
|
+
parts.first
|
458
|
+
else
|
459
|
+
n(:dstr, [ *parts ],
|
460
|
+
collection_map(nil, parts, nil))
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
def words_compose(begin_t, parts, end_t)
|
465
|
+
n(:array, [ *parts ],
|
466
|
+
collection_map(begin_t, parts, end_t))
|
467
|
+
end
|
468
|
+
|
469
|
+
def symbols_compose(begin_t, parts, end_t)
|
470
|
+
parts = parts.map do |part|
|
471
|
+
case part.type
|
472
|
+
when :str
|
473
|
+
value, = *part
|
474
|
+
part.updated(:sym, [ value.to_sym ])
|
475
|
+
when :dstr
|
476
|
+
part.updated(:dsym)
|
477
|
+
else
|
478
|
+
part
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
n(:array, [ *parts ],
|
483
|
+
collection_map(begin_t, parts, end_t))
|
484
|
+
end
|
485
|
+
|
486
|
+
# Hashes
|
487
|
+
|
488
|
+
def pair(key, assoc_t, value)
|
489
|
+
n(:pair, [ key, value ],
|
490
|
+
binary_op_map(key, assoc_t, value))
|
491
|
+
end
|
492
|
+
|
493
|
+
def pair_list_18(list)
|
494
|
+
if list.size % 2 != 0
|
495
|
+
diagnostic :error, :odd_hash, nil, list.last.loc.expression
|
496
|
+
else
|
497
|
+
list.
|
498
|
+
each_slice(2).map do |key, value|
|
499
|
+
n(:pair, [ key, value ],
|
500
|
+
binary_op_map(key, nil, value))
|
501
|
+
end
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
def pair_keyword(key_t, value)
|
506
|
+
key_map, pair_map = pair_keyword_map(key_t, value)
|
507
|
+
|
508
|
+
key = n(:sym, [ value(key_t).to_sym ], key_map)
|
509
|
+
|
510
|
+
n(:pair, [ key, value ], pair_map)
|
511
|
+
end
|
512
|
+
|
513
|
+
def pair_quoted(begin_t, parts, end_t, value)
|
514
|
+
end_t, pair_map = pair_quoted_map(begin_t, end_t, value)
|
515
|
+
|
516
|
+
key = symbol_compose(begin_t, parts, end_t)
|
517
|
+
|
518
|
+
n(:pair, [ key, value ], pair_map)
|
519
|
+
end
|
520
|
+
|
521
|
+
def pair_label(key_t)
|
522
|
+
key_l = loc(key_t)
|
523
|
+
value_l = key_l.adjust(end_pos: -1)
|
524
|
+
|
525
|
+
label = value(key_t)
|
526
|
+
value =
|
527
|
+
if label =~ /\A[[:lower:]]/
|
528
|
+
n(:ident, [ label.to_sym ], Source::Map::Variable.new(value_l))
|
529
|
+
else
|
530
|
+
n(:const, [ nil, label.to_sym ], Source::Map::Constant.new(nil, value_l, value_l))
|
531
|
+
end
|
532
|
+
pair_keyword(key_t, accessible(value))
|
533
|
+
end
|
534
|
+
|
535
|
+
def kwsplat(dstar_t, arg)
|
536
|
+
n(:kwsplat, [ arg ],
|
537
|
+
unary_op_map(dstar_t, arg))
|
538
|
+
end
|
539
|
+
|
540
|
+
def associate(begin_t, pairs, end_t)
|
541
|
+
0.upto(pairs.length - 1) do |i|
|
542
|
+
(i + 1).upto(pairs.length - 1) do |j|
|
543
|
+
key1, = *pairs[i]
|
544
|
+
key2, = *pairs[j]
|
545
|
+
|
546
|
+
do_warn = false
|
547
|
+
|
548
|
+
# keys have to be simple nodes, MRI ignores equal composite keys like
|
549
|
+
# `{ a(1) => 1, a(1) => 1 }`
|
550
|
+
case key1.type
|
551
|
+
when :sym, :str, :int, :float
|
552
|
+
if key1 == key2
|
553
|
+
do_warn = true
|
554
|
+
end
|
555
|
+
when :rational, :complex, :regexp
|
556
|
+
if @parser.version >= 31 && key1 == key2
|
557
|
+
do_warn = true
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
if do_warn
|
562
|
+
diagnostic :warning, :duplicate_hash_key, nil, key2.loc.expression
|
563
|
+
end
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
n(:hash, [ *pairs ],
|
568
|
+
collection_map(begin_t, pairs, end_t))
|
569
|
+
end
|
570
|
+
|
571
|
+
# Ranges
|
572
|
+
|
573
|
+
def range_inclusive(lhs, dot2_t, rhs)
|
574
|
+
n(:irange, [ lhs, rhs ],
|
575
|
+
range_map(lhs, dot2_t, rhs))
|
576
|
+
end
|
577
|
+
|
578
|
+
def range_exclusive(lhs, dot3_t, rhs)
|
579
|
+
n(:erange, [ lhs, rhs ],
|
580
|
+
range_map(lhs, dot3_t, rhs))
|
581
|
+
end
|
582
|
+
|
583
|
+
#
|
584
|
+
# Access
|
585
|
+
#
|
586
|
+
|
587
|
+
def self(token)
|
588
|
+
n0(:self,
|
589
|
+
token_map(token))
|
590
|
+
end
|
591
|
+
|
592
|
+
def ident(token)
|
593
|
+
n(:ident, [ value(token).to_sym ],
|
594
|
+
variable_map(token))
|
595
|
+
end
|
596
|
+
|
597
|
+
def ivar(token)
|
598
|
+
n(:ivar, [ value(token).to_sym ],
|
599
|
+
variable_map(token))
|
600
|
+
end
|
601
|
+
|
602
|
+
def gvar(token)
|
603
|
+
n(:gvar, [ value(token).to_sym ],
|
604
|
+
variable_map(token))
|
605
|
+
end
|
606
|
+
|
607
|
+
def cvar(token)
|
608
|
+
n(:cvar, [ value(token).to_sym ],
|
609
|
+
variable_map(token))
|
610
|
+
end
|
611
|
+
|
612
|
+
def back_ref(token)
|
613
|
+
n(:back_ref, [ value(token).to_sym ],
|
614
|
+
token_map(token))
|
615
|
+
end
|
616
|
+
|
617
|
+
def nth_ref(token)
|
618
|
+
n(:nth_ref, [ value(token) ],
|
619
|
+
token_map(token))
|
620
|
+
end
|
621
|
+
|
622
|
+
def accessible(node)
|
623
|
+
case node.type
|
624
|
+
when :__FILE__
|
625
|
+
if @emit_file_line_as_literals
|
626
|
+
n(:str, [ node.loc.expression.source_buffer.name ],
|
627
|
+
node.loc.dup)
|
628
|
+
else
|
629
|
+
node
|
630
|
+
end
|
631
|
+
|
632
|
+
when :__LINE__
|
633
|
+
if @emit_file_line_as_literals
|
634
|
+
n(:int, [ node.loc.expression.line ],
|
635
|
+
node.loc.dup)
|
636
|
+
else
|
637
|
+
node
|
638
|
+
end
|
639
|
+
|
640
|
+
when :__ENCODING__
|
641
|
+
if !self.class.emit_encoding
|
642
|
+
n(:const, [ n(:const, [ nil, :Encoding], nil), :UTF_8 ],
|
643
|
+
node.loc.dup)
|
644
|
+
else
|
645
|
+
node
|
646
|
+
end
|
647
|
+
|
648
|
+
when :ident
|
649
|
+
name, = *node
|
650
|
+
|
651
|
+
if %w[? !].any? { |c| name.to_s.end_with?(c) }
|
652
|
+
diagnostic :error, :invalid_id_to_get,
|
653
|
+
{ :identifier => name.to_s }, node.loc.expression
|
654
|
+
end
|
655
|
+
|
656
|
+
# Numbered parameters are not declared anywhere,
|
657
|
+
# so they take precedence over method calls in numblock contexts
|
658
|
+
if @parser.version >= 27 && @parser.try_declare_numparam(node)
|
659
|
+
return node.updated(:lvar)
|
660
|
+
end
|
661
|
+
|
662
|
+
unless @parser.static_env.declared?(name)
|
663
|
+
return n(:send, [ nil, name ],
|
664
|
+
var_send_map(node))
|
665
|
+
end
|
666
|
+
|
667
|
+
if name.to_s == parser.current_arg_stack.top
|
668
|
+
diagnostic :error, :circular_argument_reference,
|
669
|
+
{ :var_name => name.to_s }, node.loc.expression
|
670
|
+
end
|
671
|
+
|
672
|
+
node.updated(:lvar)
|
673
|
+
|
674
|
+
else
|
675
|
+
node
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
def const(name_t)
|
680
|
+
n(:const, [ nil, value(name_t).to_sym ],
|
681
|
+
constant_map(nil, nil, name_t))
|
682
|
+
end
|
683
|
+
|
684
|
+
def const_global(t_colon3, name_t)
|
685
|
+
cbase = n0(:cbase, token_map(t_colon3))
|
686
|
+
|
687
|
+
n(:const, [ cbase, value(name_t).to_sym ],
|
688
|
+
constant_map(cbase, t_colon3, name_t))
|
689
|
+
end
|
690
|
+
|
691
|
+
def const_fetch(scope, t_colon2, name_t)
|
692
|
+
n(:const, [ scope, value(name_t).to_sym ],
|
693
|
+
constant_map(scope, t_colon2, name_t))
|
694
|
+
end
|
695
|
+
|
696
|
+
def __ENCODING__(__ENCODING__t)
|
697
|
+
n0(:__ENCODING__,
|
698
|
+
token_map(__ENCODING__t))
|
699
|
+
end
|
700
|
+
|
701
|
+
#
|
702
|
+
# Assignment
|
703
|
+
#
|
704
|
+
|
705
|
+
def assignable(node)
|
706
|
+
case node.type
|
707
|
+
when :cvar
|
708
|
+
node.updated(:cvasgn)
|
709
|
+
|
710
|
+
when :ivar
|
711
|
+
node.updated(:ivasgn)
|
712
|
+
|
713
|
+
when :gvar
|
714
|
+
node.updated(:gvasgn)
|
715
|
+
|
716
|
+
when :const
|
717
|
+
if @parser.context.in_def
|
718
|
+
diagnostic :error, :dynamic_const, nil, node.loc.expression
|
719
|
+
end
|
720
|
+
|
721
|
+
node.updated(:casgn)
|
722
|
+
|
723
|
+
when :ident
|
724
|
+
name, = *node
|
725
|
+
|
726
|
+
var_name = node.children[0].to_s
|
727
|
+
name_loc = node.loc.expression
|
728
|
+
|
729
|
+
check_assignment_to_numparam(var_name, name_loc)
|
730
|
+
check_reserved_for_numparam(var_name, name_loc)
|
731
|
+
|
732
|
+
@parser.static_env.declare(name)
|
733
|
+
|
734
|
+
node.updated(:lvasgn)
|
735
|
+
|
736
|
+
when :match_var
|
737
|
+
name, = *node
|
738
|
+
|
739
|
+
var_name = node.children[0].to_s
|
740
|
+
name_loc = node.loc.expression
|
741
|
+
|
742
|
+
check_assignment_to_numparam(var_name, name_loc)
|
743
|
+
check_reserved_for_numparam(var_name, name_loc)
|
744
|
+
|
745
|
+
node
|
746
|
+
|
747
|
+
when :nil, :self, :true, :false,
|
748
|
+
:__FILE__, :__LINE__, :__ENCODING__
|
749
|
+
diagnostic :error, :invalid_assignment, nil, node.loc.expression
|
750
|
+
|
751
|
+
when :back_ref, :nth_ref
|
752
|
+
diagnostic :error, :backref_assignment, nil, node.loc.expression
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
def const_op_assignable(node)
|
757
|
+
node.updated(:casgn)
|
758
|
+
end
|
759
|
+
|
760
|
+
def assign(lhs, eql_t, rhs)
|
761
|
+
(lhs << rhs).updated(nil, nil,
|
762
|
+
:location => lhs.loc.
|
763
|
+
with_operator(loc(eql_t)).
|
764
|
+
with_expression(join_exprs(lhs, rhs)))
|
765
|
+
end
|
766
|
+
|
767
|
+
def op_assign(lhs, op_t, rhs)
|
768
|
+
case lhs.type
|
769
|
+
when :gvasgn, :ivasgn, :lvasgn, :cvasgn, :casgn, :send, :csend, :index
|
770
|
+
operator = value(op_t)[0..-1].to_sym
|
771
|
+
source_map = lhs.loc.
|
772
|
+
with_operator(loc(op_t)).
|
773
|
+
with_expression(join_exprs(lhs, rhs))
|
774
|
+
|
775
|
+
if lhs.type == :index
|
776
|
+
lhs = lhs.updated(:indexasgn)
|
777
|
+
end
|
778
|
+
|
779
|
+
case operator
|
780
|
+
when :'&&'
|
781
|
+
n(:and_asgn, [ lhs, rhs ], source_map)
|
782
|
+
when :'||'
|
783
|
+
n(:or_asgn, [ lhs, rhs ], source_map)
|
784
|
+
else
|
785
|
+
n(:op_asgn, [ lhs, operator, rhs ], source_map)
|
786
|
+
end
|
787
|
+
|
788
|
+
when :back_ref, :nth_ref
|
789
|
+
diagnostic :error, :backref_assignment, nil, lhs.loc.expression
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
def multi_lhs(begin_t, items, end_t)
|
794
|
+
n(:mlhs, [ *items ],
|
795
|
+
collection_map(begin_t, items, end_t))
|
796
|
+
end
|
797
|
+
|
798
|
+
def multi_assign(lhs, eql_t, rhs)
|
799
|
+
n(:masgn, [ lhs, rhs ],
|
800
|
+
binary_op_map(lhs, eql_t, rhs))
|
801
|
+
end
|
802
|
+
|
803
|
+
#
|
804
|
+
# Class and module definition
|
805
|
+
#
|
806
|
+
|
807
|
+
def def_class(class_t, name,
|
808
|
+
lt_t, superclass,
|
809
|
+
body, end_t)
|
810
|
+
n(:class, [ name, superclass, body ],
|
811
|
+
module_definition_map(class_t, name, lt_t, end_t))
|
812
|
+
end
|
813
|
+
|
814
|
+
def def_sclass(class_t, lshft_t, expr,
|
815
|
+
body, end_t)
|
816
|
+
n(:sclass, [ expr, body ],
|
817
|
+
module_definition_map(class_t, nil, lshft_t, end_t))
|
818
|
+
end
|
819
|
+
|
820
|
+
def def_module(module_t, name,
|
821
|
+
body, end_t)
|
822
|
+
n(:module, [ name, body ],
|
823
|
+
module_definition_map(module_t, name, nil, end_t))
|
824
|
+
end
|
825
|
+
|
826
|
+
#
|
827
|
+
# Method (un)definition
|
828
|
+
#
|
829
|
+
|
830
|
+
def def_method(def_t, name_t, args,
|
831
|
+
body, end_t)
|
832
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
833
|
+
|
834
|
+
n(:def, [ value(name_t).to_sym, args, body ],
|
835
|
+
definition_map(def_t, nil, name_t, end_t))
|
836
|
+
end
|
837
|
+
|
838
|
+
def def_endless_method(def_t, name_t, args,
|
839
|
+
assignment_t, body)
|
840
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
841
|
+
|
842
|
+
n(:def, [ value(name_t).to_sym, args, body ],
|
843
|
+
endless_definition_map(def_t, nil, name_t, assignment_t, body))
|
844
|
+
end
|
845
|
+
|
846
|
+
def def_singleton(def_t, definee, dot_t,
|
847
|
+
name_t, args,
|
848
|
+
body, end_t)
|
849
|
+
validate_definee(definee)
|
850
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
851
|
+
|
852
|
+
n(:defs, [ definee, value(name_t).to_sym, args, body ],
|
853
|
+
definition_map(def_t, dot_t, name_t, end_t))
|
854
|
+
end
|
855
|
+
|
856
|
+
def def_endless_singleton(def_t, definee, dot_t,
|
857
|
+
name_t, args,
|
858
|
+
assignment_t, body)
|
859
|
+
validate_definee(definee)
|
860
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
861
|
+
|
862
|
+
n(:defs, [ definee, value(name_t).to_sym, args, body ],
|
863
|
+
endless_definition_map(def_t, dot_t, name_t, assignment_t, body))
|
864
|
+
end
|
865
|
+
|
866
|
+
def undef_method(undef_t, names)
|
867
|
+
n(:undef, [ *names ],
|
868
|
+
keyword_map(undef_t, nil, names, nil))
|
869
|
+
end
|
870
|
+
|
871
|
+
def alias(alias_t, to, from)
|
872
|
+
n(:alias, [ to, from ],
|
873
|
+
keyword_map(alias_t, nil, [to, from], nil))
|
874
|
+
end
|
875
|
+
|
876
|
+
#
|
877
|
+
# Formal arguments
|
878
|
+
#
|
879
|
+
|
880
|
+
def args(begin_t, args, end_t, check_args=true)
|
881
|
+
args = check_duplicate_args(args) if check_args
|
882
|
+
validate_no_forward_arg_after_restarg(args)
|
883
|
+
|
884
|
+
map = collection_map(begin_t, args, end_t)
|
885
|
+
if !self.class.emit_forward_arg && args.length == 1 && args[0].type == :forward_arg
|
886
|
+
n(:forward_args, [], map)
|
887
|
+
else
|
888
|
+
n(:args, args, map)
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
892
|
+
def numargs(max_numparam)
|
893
|
+
n(:numargs, [ max_numparam ], nil)
|
894
|
+
end
|
895
|
+
|
896
|
+
def forward_only_args(begin_t, dots_t, end_t)
|
897
|
+
if self.class.emit_forward_arg
|
898
|
+
arg = forward_arg(dots_t)
|
899
|
+
n(:args, [ arg ],
|
900
|
+
collection_map(begin_t, [ arg ], end_t))
|
901
|
+
else
|
902
|
+
n(:forward_args, [], collection_map(begin_t, token_map(dots_t), end_t))
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
def forward_arg(dots_t)
|
907
|
+
n(:forward_arg, [], token_map(dots_t))
|
908
|
+
end
|
909
|
+
|
910
|
+
def arg(name_t)
|
911
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
912
|
+
|
913
|
+
n(:arg, [ value(name_t).to_sym ],
|
914
|
+
variable_map(name_t))
|
915
|
+
end
|
916
|
+
|
917
|
+
def optarg(name_t, eql_t, value)
|
918
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
919
|
+
|
920
|
+
n(:optarg, [ value(name_t).to_sym, value ],
|
921
|
+
variable_map(name_t).
|
922
|
+
with_operator(loc(eql_t)).
|
923
|
+
with_expression(loc(name_t).join(value.loc.expression)))
|
924
|
+
end
|
925
|
+
|
926
|
+
def restarg(star_t, name_t=nil)
|
927
|
+
if name_t
|
928
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
929
|
+
n(:restarg, [ value(name_t).to_sym ],
|
930
|
+
arg_prefix_map(star_t, name_t))
|
931
|
+
else
|
932
|
+
n0(:restarg,
|
933
|
+
arg_prefix_map(star_t))
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
937
|
+
def kwarg(name_t)
|
938
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
939
|
+
|
940
|
+
n(:kwarg, [ value(name_t).to_sym ],
|
941
|
+
kwarg_map(name_t))
|
942
|
+
end
|
943
|
+
|
944
|
+
def kwoptarg(name_t, value)
|
945
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
946
|
+
|
947
|
+
n(:kwoptarg, [ value(name_t).to_sym, value ],
|
948
|
+
kwarg_map(name_t, value))
|
949
|
+
end
|
950
|
+
|
951
|
+
def kwrestarg(dstar_t, name_t=nil)
|
952
|
+
if name_t
|
953
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
954
|
+
|
955
|
+
n(:kwrestarg, [ value(name_t).to_sym ],
|
956
|
+
arg_prefix_map(dstar_t, name_t))
|
957
|
+
else
|
958
|
+
n0(:kwrestarg,
|
959
|
+
arg_prefix_map(dstar_t))
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
def kwnilarg(dstar_t, nil_t)
|
964
|
+
n0(:kwnilarg,
|
965
|
+
arg_prefix_map(dstar_t, nil_t))
|
966
|
+
end
|
967
|
+
|
968
|
+
def shadowarg(name_t)
|
969
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
970
|
+
|
971
|
+
n(:shadowarg, [ value(name_t).to_sym ],
|
972
|
+
variable_map(name_t))
|
973
|
+
end
|
974
|
+
|
975
|
+
def blockarg(amper_t, name_t)
|
976
|
+
if !name_t.nil?
|
977
|
+
check_reserved_for_numparam(value(name_t), loc(name_t))
|
978
|
+
end
|
979
|
+
|
980
|
+
arg_name = name_t ? value(name_t).to_sym : nil
|
981
|
+
n(:blockarg, [ arg_name ],
|
982
|
+
arg_prefix_map(amper_t, name_t))
|
983
|
+
end
|
984
|
+
|
985
|
+
def procarg0(arg)
|
986
|
+
if self.class.emit_procarg0
|
987
|
+
if arg.type == :arg && self.class.emit_arg_inside_procarg0
|
988
|
+
n(:procarg0, [ arg ],
|
989
|
+
Source::Map::Collection.new(nil, nil, arg.location.expression))
|
990
|
+
else
|
991
|
+
arg.updated(:procarg0)
|
992
|
+
end
|
993
|
+
else
|
994
|
+
arg
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
# Ruby 1.8 block arguments
|
999
|
+
|
1000
|
+
def arg_expr(expr)
|
1001
|
+
if expr.type == :lvasgn
|
1002
|
+
expr.updated(:arg)
|
1003
|
+
else
|
1004
|
+
n(:arg_expr, [ expr ],
|
1005
|
+
expr.loc.dup)
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def restarg_expr(star_t, expr=nil)
|
1010
|
+
if expr.nil?
|
1011
|
+
n0(:restarg, token_map(star_t))
|
1012
|
+
elsif expr.type == :lvasgn
|
1013
|
+
expr.updated(:restarg)
|
1014
|
+
else
|
1015
|
+
n(:restarg_expr, [ expr ],
|
1016
|
+
expr.loc.dup)
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
def blockarg_expr(amper_t, expr)
|
1021
|
+
if expr.type == :lvasgn
|
1022
|
+
expr.updated(:blockarg)
|
1023
|
+
else
|
1024
|
+
n(:blockarg_expr, [ expr ],
|
1025
|
+
expr.loc.dup)
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# MacRuby Objective-C arguments
|
1030
|
+
|
1031
|
+
def objc_kwarg(kwname_t, assoc_t, name_t)
|
1032
|
+
kwname_l = loc(kwname_t)
|
1033
|
+
if assoc_t.nil? # a: b, not a => b
|
1034
|
+
kwname_l = kwname_l.resize(kwname_l.size - 1)
|
1035
|
+
operator_l = kwname_l.end.resize(1)
|
1036
|
+
else
|
1037
|
+
operator_l = loc(assoc_t)
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
n(:objc_kwarg, [ value(kwname_t).to_sym, value(name_t).to_sym ],
|
1041
|
+
Source::Map::ObjcKwarg.new(kwname_l, operator_l, loc(name_t),
|
1042
|
+
kwname_l.join(loc(name_t))))
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
def objc_restarg(star_t, name=nil)
|
1046
|
+
if name.nil?
|
1047
|
+
n0(:restarg, arg_prefix_map(star_t))
|
1048
|
+
elsif name.type == :arg # regular restarg
|
1049
|
+
name.updated(:restarg, nil,
|
1050
|
+
{ :location => name.loc.with_operator(loc(star_t)) })
|
1051
|
+
else # restarg with objc_kwarg inside
|
1052
|
+
n(:objc_restarg, [ name ],
|
1053
|
+
unary_op_map(star_t, name))
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
#
|
1058
|
+
# Method calls
|
1059
|
+
#
|
1060
|
+
|
1061
|
+
def call_type_for_dot(dot_t)
|
1062
|
+
if !dot_t.nil? && value(dot_t) == :anddot
|
1063
|
+
:csend
|
1064
|
+
else
|
1065
|
+
# This case is a bit tricky. ruby23.y returns the token tDOT with
|
1066
|
+
# the value :dot, and the token :tANDDOT with the value :anddot.
|
1067
|
+
#
|
1068
|
+
# But, ruby{18..22}.y (which unconditionally expect tDOT) just
|
1069
|
+
# return "." there, since they are to be kept close to the corresponding
|
1070
|
+
# Ruby MRI grammars.
|
1071
|
+
#
|
1072
|
+
# Thankfully, we don't have to care.
|
1073
|
+
:send
|
1074
|
+
end
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
def forwarded_args(dots_t)
|
1078
|
+
n(:forwarded_args, [], token_map(dots_t))
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
def call_method(receiver, dot_t, selector_t,
|
1082
|
+
lparen_t=nil, args=[], rparen_t=nil)
|
1083
|
+
type = call_type_for_dot(dot_t)
|
1084
|
+
|
1085
|
+
if self.class.emit_kwargs
|
1086
|
+
rewrite_hash_args_to_kwargs(args)
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
if selector_t.nil?
|
1090
|
+
n(type, [ receiver, :call, *args ],
|
1091
|
+
send_map(receiver, dot_t, nil, lparen_t, args, rparen_t))
|
1092
|
+
else
|
1093
|
+
n(type, [ receiver, value(selector_t).to_sym, *args ],
|
1094
|
+
send_map(receiver, dot_t, selector_t, lparen_t, args, rparen_t))
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def call_lambda(lambda_t)
|
1099
|
+
if self.class.emit_lambda
|
1100
|
+
n0(:lambda, expr_map(loc(lambda_t)))
|
1101
|
+
else
|
1102
|
+
n(:send, [ nil, :lambda ],
|
1103
|
+
send_map(nil, nil, lambda_t))
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
def block(method_call, begin_t, args, body, end_t)
|
1108
|
+
_receiver, _selector, *call_args = *method_call
|
1109
|
+
|
1110
|
+
if method_call.type == :yield
|
1111
|
+
diagnostic :error, :block_given_to_yield, nil, method_call.loc.keyword, [loc(begin_t)]
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
last_arg = call_args.last
|
1115
|
+
if last_arg && (last_arg.type == :block_pass || last_arg.type == :forwarded_args)
|
1116
|
+
diagnostic :error, :block_and_blockarg, nil, last_arg.loc.expression, [loc(begin_t)]
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
if args.type == :numargs
|
1120
|
+
block_type = :numblock
|
1121
|
+
args = args.children[0]
|
1122
|
+
else
|
1123
|
+
block_type = :block
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
if [:send, :csend, :index, :super, :zsuper, :lambda].include?(method_call.type)
|
1127
|
+
n(block_type, [ method_call, args, body ],
|
1128
|
+
block_map(method_call.loc.expression, begin_t, end_t))
|
1129
|
+
else
|
1130
|
+
# Code like "return foo 1 do end" is reduced in a weird sequence.
|
1131
|
+
# Here, method_call is actually (return).
|
1132
|
+
actual_send, = *method_call
|
1133
|
+
block =
|
1134
|
+
n(block_type, [ actual_send, args, body ],
|
1135
|
+
block_map(actual_send.loc.expression, begin_t, end_t))
|
1136
|
+
|
1137
|
+
n(method_call.type, [ block ],
|
1138
|
+
method_call.loc.with_expression(join_exprs(method_call, block)))
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
def block_pass(amper_t, arg)
|
1143
|
+
n(:block_pass, [ arg ],
|
1144
|
+
unary_op_map(amper_t, arg))
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
def objc_varargs(pair, rest_of_varargs)
|
1148
|
+
value, first_vararg = *pair
|
1149
|
+
vararg_array = array(nil, [ first_vararg, *rest_of_varargs ], nil).
|
1150
|
+
updated(:objc_varargs)
|
1151
|
+
pair.updated(nil, [ value, vararg_array ],
|
1152
|
+
{ :location => pair.loc.with_expression(
|
1153
|
+
pair.loc.expression.join(vararg_array.loc.expression)) })
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
def attr_asgn(receiver, dot_t, selector_t)
|
1157
|
+
method_name = (value(selector_t) + '=').to_sym
|
1158
|
+
type = call_type_for_dot(dot_t)
|
1159
|
+
|
1160
|
+
# Incomplete method call.
|
1161
|
+
n(type, [ receiver, method_name ],
|
1162
|
+
send_map(receiver, dot_t, selector_t))
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
def index(receiver, lbrack_t, indexes, rbrack_t)
|
1166
|
+
if self.class.emit_kwargs
|
1167
|
+
rewrite_hash_args_to_kwargs(indexes)
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
if self.class.emit_index
|
1171
|
+
n(:index, [ receiver, *indexes ],
|
1172
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
1173
|
+
else
|
1174
|
+
n(:send, [ receiver, :[], *indexes ],
|
1175
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
def index_asgn(receiver, lbrack_t, indexes, rbrack_t)
|
1180
|
+
if self.class.emit_index
|
1181
|
+
n(:indexasgn, [ receiver, *indexes ],
|
1182
|
+
index_map(receiver, lbrack_t, rbrack_t))
|
1183
|
+
else
|
1184
|
+
# Incomplete method call.
|
1185
|
+
n(:send, [ receiver, :[]=, *indexes ],
|
1186
|
+
send_index_map(receiver, lbrack_t, rbrack_t))
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def binary_op(receiver, operator_t, arg)
|
1191
|
+
source_map = send_binary_op_map(receiver, operator_t, arg)
|
1192
|
+
|
1193
|
+
if @parser.version == 18
|
1194
|
+
operator = value(operator_t)
|
1195
|
+
|
1196
|
+
if operator == '!='
|
1197
|
+
method_call = n(:send, [ receiver, :==, arg ], source_map)
|
1198
|
+
elsif operator == '!~'
|
1199
|
+
method_call = n(:send, [ receiver, :=~, arg ], source_map)
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
if %w(!= !~).include?(operator)
|
1203
|
+
return n(:not, [ method_call ],
|
1204
|
+
expr_map(source_map.expression))
|
1205
|
+
end
|
1206
|
+
end
|
1207
|
+
|
1208
|
+
n(:send, [ receiver, value(operator_t).to_sym, arg ],
|
1209
|
+
source_map)
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
def match_op(receiver, match_t, arg)
|
1213
|
+
source_map = send_binary_op_map(receiver, match_t, arg)
|
1214
|
+
|
1215
|
+
if (regexp = static_regexp_node(receiver))
|
1216
|
+
regexp.names.each do |name|
|
1217
|
+
@parser.static_env.declare(name)
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
n(:match_with_lvasgn, [ receiver, arg ],
|
1221
|
+
source_map)
|
1222
|
+
else
|
1223
|
+
n(:send, [ receiver, :=~, arg ],
|
1224
|
+
source_map)
|
1225
|
+
end
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def unary_op(op_t, receiver)
|
1229
|
+
case value(op_t)
|
1230
|
+
when '+', '-'
|
1231
|
+
method = value(op_t) + '@'
|
1232
|
+
else
|
1233
|
+
method = value(op_t)
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
n(:send, [ receiver, method.to_sym ],
|
1237
|
+
send_unary_op_map(op_t, receiver))
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
def not_op(not_t, begin_t=nil, receiver=nil, end_t=nil)
|
1241
|
+
if @parser.version == 18
|
1242
|
+
n(:not, [ check_condition(receiver) ],
|
1243
|
+
unary_op_map(not_t, receiver))
|
1244
|
+
else
|
1245
|
+
if receiver.nil?
|
1246
|
+
nil_node = n0(:begin, collection_map(begin_t, nil, end_t))
|
1247
|
+
|
1248
|
+
n(:send, [
|
1249
|
+
nil_node, :'!'
|
1250
|
+
], send_unary_op_map(not_t, nil_node))
|
1251
|
+
else
|
1252
|
+
n(:send, [ check_condition(receiver), :'!' ],
|
1253
|
+
send_map(nil, nil, not_t, begin_t, [receiver], end_t))
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
#
|
1259
|
+
# Control flow
|
1260
|
+
#
|
1261
|
+
|
1262
|
+
# Logical operations: and, or
|
1263
|
+
|
1264
|
+
def logical_op(type, lhs, op_t, rhs)
|
1265
|
+
n(type, [ lhs, rhs ],
|
1266
|
+
binary_op_map(lhs, op_t, rhs))
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# Conditionals
|
1270
|
+
|
1271
|
+
def condition(cond_t, cond, then_t,
|
1272
|
+
if_true, else_t, if_false, end_t)
|
1273
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1274
|
+
condition_map(cond_t, cond, then_t, if_true, else_t, if_false, end_t))
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
def condition_mod(if_true, if_false, cond_t, cond)
|
1278
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1279
|
+
keyword_mod_map(if_true || if_false, cond_t, cond))
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
def ternary(cond, question_t, if_true, colon_t, if_false)
|
1283
|
+
n(:if, [ check_condition(cond), if_true, if_false ],
|
1284
|
+
ternary_map(cond, question_t, if_true, colon_t, if_false))
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Case matching
|
1288
|
+
|
1289
|
+
def when(when_t, patterns, then_t, body)
|
1290
|
+
children = patterns << body
|
1291
|
+
n(:when, children,
|
1292
|
+
keyword_map(when_t, then_t, children, nil))
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
def case(case_t, expr, when_bodies, else_t, else_body, end_t)
|
1296
|
+
n(:case, [ expr, *(when_bodies << else_body)],
|
1297
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# Loops
|
1301
|
+
|
1302
|
+
def loop(type, keyword_t, cond, do_t, body, end_t)
|
1303
|
+
n(type, [ check_condition(cond), body ],
|
1304
|
+
keyword_map(keyword_t, do_t, nil, end_t))
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def loop_mod(type, body, keyword_t, cond)
|
1308
|
+
if body.type == :kwbegin
|
1309
|
+
type = :"#{type}_post"
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
n(type, [ check_condition(cond), body ],
|
1313
|
+
keyword_mod_map(body, keyword_t, cond))
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
def for(for_t, iterator, in_t, iteratee,
|
1317
|
+
do_t, body, end_t)
|
1318
|
+
n(:for, [ iterator, iteratee, body ],
|
1319
|
+
for_map(for_t, in_t, do_t, end_t))
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Keywords
|
1323
|
+
|
1324
|
+
def keyword_cmd(type, keyword_t, lparen_t=nil, args=[], rparen_t=nil)
|
1325
|
+
if type == :yield && args.count > 0
|
1326
|
+
last_arg = args.last
|
1327
|
+
if last_arg.type == :block_pass
|
1328
|
+
diagnostic :error, :block_given_to_yield, nil, loc(keyword_t), [last_arg.loc.expression]
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
if %i[yield super].include?(type) && self.class.emit_kwargs
|
1333
|
+
rewrite_hash_args_to_kwargs(args)
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
n(type, args,
|
1337
|
+
keyword_map(keyword_t, lparen_t, args, rparen_t))
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# BEGIN, END
|
1341
|
+
|
1342
|
+
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t)
|
1343
|
+
n(:preexe, [ compstmt ],
|
1344
|
+
keyword_map(preexe_t, lbrace_t, [], rbrace_t))
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t)
|
1348
|
+
n(:postexe, [ compstmt ],
|
1349
|
+
keyword_map(postexe_t, lbrace_t, [], rbrace_t))
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# Exception handling
|
1353
|
+
|
1354
|
+
def rescue_body(rescue_t,
|
1355
|
+
exc_list, assoc_t, exc_var,
|
1356
|
+
then_t, compound_stmt)
|
1357
|
+
n(:resbody, [ exc_list, exc_var, compound_stmt ],
|
1358
|
+
rescue_body_map(rescue_t, exc_list, assoc_t,
|
1359
|
+
exc_var, then_t, compound_stmt))
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def begin_body(compound_stmt, rescue_bodies=[],
|
1363
|
+
else_t=nil, else_=nil,
|
1364
|
+
ensure_t=nil, ensure_=nil)
|
1365
|
+
if rescue_bodies.any?
|
1366
|
+
if else_t
|
1367
|
+
compound_stmt =
|
1368
|
+
n(:rescue,
|
1369
|
+
[ compound_stmt, *(rescue_bodies + [ else_ ]) ],
|
1370
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, else_t, else_))
|
1371
|
+
else
|
1372
|
+
compound_stmt =
|
1373
|
+
n(:rescue,
|
1374
|
+
[ compound_stmt, *(rescue_bodies + [ nil ]) ],
|
1375
|
+
eh_keyword_map(compound_stmt, nil, rescue_bodies, nil, nil))
|
1376
|
+
end
|
1377
|
+
elsif else_t
|
1378
|
+
statements = []
|
1379
|
+
if !compound_stmt.nil?
|
1380
|
+
if compound_stmt.type == :begin
|
1381
|
+
statements += compound_stmt.children
|
1382
|
+
else
|
1383
|
+
statements.push(compound_stmt)
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
statements.push(
|
1387
|
+
n(:begin, [ else_ ],
|
1388
|
+
collection_map(else_t, [ else_ ], nil)))
|
1389
|
+
compound_stmt =
|
1390
|
+
n(:begin, statements,
|
1391
|
+
collection_map(nil, statements, nil))
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
if ensure_t
|
1395
|
+
compound_stmt =
|
1396
|
+
n(:ensure,
|
1397
|
+
[ compound_stmt, ensure_ ],
|
1398
|
+
eh_keyword_map(compound_stmt, ensure_t, [ ensure_ ], nil, nil))
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
compound_stmt
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
#
|
1405
|
+
# Expression grouping
|
1406
|
+
#
|
1407
|
+
|
1408
|
+
def compstmt(statements)
|
1409
|
+
case
|
1410
|
+
when statements.none?
|
1411
|
+
nil
|
1412
|
+
when statements.one?
|
1413
|
+
statements.first
|
1414
|
+
else
|
1415
|
+
n(:begin, statements,
|
1416
|
+
collection_map(nil, statements, nil))
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
def begin(begin_t, body, end_t)
|
1421
|
+
if body.nil?
|
1422
|
+
# A nil expression: `()'.
|
1423
|
+
n0(:begin,
|
1424
|
+
collection_map(begin_t, nil, end_t))
|
1425
|
+
elsif body.type == :mlhs ||
|
1426
|
+
(body.type == :begin &&
|
1427
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1428
|
+
# Synthesized (begin) from compstmt "a; b" or (mlhs)
|
1429
|
+
# from multi_lhs "(a, b) = *foo".
|
1430
|
+
n(body.type, body.children,
|
1431
|
+
collection_map(begin_t, body.children, end_t))
|
1432
|
+
else
|
1433
|
+
n(:begin, [ body ],
|
1434
|
+
collection_map(begin_t, [ body ], end_t))
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
def begin_keyword(begin_t, body, end_t)
|
1439
|
+
if body.nil?
|
1440
|
+
# A nil expression: `begin end'.
|
1441
|
+
n0(:kwbegin,
|
1442
|
+
collection_map(begin_t, nil, end_t))
|
1443
|
+
elsif (body.type == :begin &&
|
1444
|
+
body.loc.begin.nil? && body.loc.end.nil?)
|
1445
|
+
# Synthesized (begin) from compstmt "a; b".
|
1446
|
+
n(:kwbegin, body.children,
|
1447
|
+
collection_map(begin_t, body.children, end_t))
|
1448
|
+
else
|
1449
|
+
n(:kwbegin, [ body ],
|
1450
|
+
collection_map(begin_t, [ body ], end_t))
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
#
|
1455
|
+
# PATTERN MATCHING
|
1456
|
+
#
|
1457
|
+
|
1458
|
+
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t)
|
1459
|
+
else_body = n(:empty_else, nil, token_map(else_t)) if else_t && !else_body
|
1460
|
+
n(:case_match, [ expr, *(in_bodies << else_body)],
|
1461
|
+
condition_map(case_t, expr, nil, nil, else_t, else_body, end_t))
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
def in_match(lhs, in_t, rhs)
|
1465
|
+
n(:in_match, [lhs, rhs],
|
1466
|
+
binary_op_map(lhs, in_t, rhs))
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
def match_pattern(lhs, match_t, rhs)
|
1470
|
+
n(:match_pattern, [lhs, rhs],
|
1471
|
+
binary_op_map(lhs, match_t, rhs))
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
def match_pattern_p(lhs, match_t, rhs)
|
1475
|
+
n(:match_pattern_p, [lhs, rhs],
|
1476
|
+
binary_op_map(lhs, match_t, rhs))
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
def in_pattern(in_t, pattern, guard, then_t, body)
|
1480
|
+
children = [pattern, guard, body]
|
1481
|
+
n(:in_pattern, children,
|
1482
|
+
keyword_map(in_t, then_t, children.compact, nil))
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def if_guard(if_t, if_body)
|
1486
|
+
n(:if_guard, [if_body], guard_map(if_t, if_body))
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
def unless_guard(unless_t, unless_body)
|
1490
|
+
n(:unless_guard, [unless_body], guard_map(unless_t, unless_body))
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
def match_var(name_t)
|
1494
|
+
name = value(name_t).to_sym
|
1495
|
+
name_l = loc(name_t)
|
1496
|
+
|
1497
|
+
check_lvar_name(name, name_l)
|
1498
|
+
check_duplicate_pattern_variable(name, name_l)
|
1499
|
+
@parser.static_env.declare(name)
|
1500
|
+
|
1501
|
+
n(:match_var, [ name ],
|
1502
|
+
variable_map(name_t))
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
def match_hash_var(name_t)
|
1506
|
+
name = value(name_t).to_sym
|
1507
|
+
|
1508
|
+
expr_l = loc(name_t)
|
1509
|
+
name_l = expr_l.adjust(end_pos: -1)
|
1510
|
+
|
1511
|
+
check_lvar_name(name, name_l)
|
1512
|
+
check_duplicate_pattern_variable(name, name_l)
|
1513
|
+
@parser.static_env.declare(name)
|
1514
|
+
|
1515
|
+
n(:match_var, [ name ],
|
1516
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
def match_hash_var_from_str(begin_t, strings, end_t)
|
1520
|
+
if strings.length > 1
|
1521
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
string = strings[0]
|
1525
|
+
|
1526
|
+
case string.type
|
1527
|
+
when :str
|
1528
|
+
# MRI supports plain strings in hash pattern matching
|
1529
|
+
name, = *string
|
1530
|
+
name_l = string.loc.expression
|
1531
|
+
|
1532
|
+
check_lvar_name(name, name_l)
|
1533
|
+
check_duplicate_pattern_variable(name, name_l)
|
1534
|
+
|
1535
|
+
@parser.static_env.declare(name)
|
1536
|
+
|
1537
|
+
if (begin_l = string.loc.begin)
|
1538
|
+
# exclude beginning of the string from the location of the variable
|
1539
|
+
name_l = name_l.adjust(begin_pos: begin_l.length)
|
1540
|
+
end
|
1541
|
+
|
1542
|
+
if (end_l = string.loc.end)
|
1543
|
+
# exclude end of the string from the location of the variable
|
1544
|
+
name_l = name_l.adjust(end_pos: -end_l.length)
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
expr_l = loc(begin_t).join(string.loc.expression).join(loc(end_t))
|
1548
|
+
n(:match_var, [ name.to_sym ],
|
1549
|
+
Source::Map::Variable.new(name_l, expr_l))
|
1550
|
+
when :begin
|
1551
|
+
match_hash_var_from_str(begin_t, string.children, end_t)
|
1552
|
+
else
|
1553
|
+
# we only can get here if there is an interpolation, e.g., ``in "#{ a }":`
|
1554
|
+
diagnostic :error, :pm_interp_in_var_name, nil, loc(begin_t).join(loc(end_t))
|
1555
|
+
end
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
def match_rest(star_t, name_t = nil)
|
1559
|
+
if name_t.nil?
|
1560
|
+
n0(:match_rest,
|
1561
|
+
unary_op_map(star_t))
|
1562
|
+
else
|
1563
|
+
name = match_var(name_t)
|
1564
|
+
n(:match_rest, [ name ],
|
1565
|
+
unary_op_map(star_t, name))
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
def hash_pattern(lbrace_t, kwargs, rbrace_t)
|
1570
|
+
args = check_duplicate_args(kwargs)
|
1571
|
+
n(:hash_pattern, args,
|
1572
|
+
collection_map(lbrace_t, args, rbrace_t))
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
def array_pattern(lbrack_t, elements, rbrack_t)
|
1576
|
+
return n(:array_pattern, nil, collection_map(lbrack_t, [], rbrack_t)) if elements.nil?
|
1577
|
+
|
1578
|
+
trailing_comma = false
|
1579
|
+
|
1580
|
+
node_elements = elements.map do |element|
|
1581
|
+
if element.type == :match_with_trailing_comma
|
1582
|
+
trailing_comma = true
|
1583
|
+
element.children.first
|
1584
|
+
else
|
1585
|
+
trailing_comma = false
|
1586
|
+
element
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
node_type = trailing_comma ? :array_pattern_with_tail : :array_pattern
|
1591
|
+
|
1592
|
+
n(node_type, node_elements,
|
1593
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
def find_pattern(lbrack_t, elements, rbrack_t)
|
1597
|
+
n(:find_pattern, elements,
|
1598
|
+
collection_map(lbrack_t, elements, rbrack_t))
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
def match_with_trailing_comma(match, comma_t)
|
1602
|
+
n(:match_with_trailing_comma, [ match ], expr_map(match.loc.expression.join(loc(comma_t))))
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
def const_pattern(const, ldelim_t, pattern, rdelim_t)
|
1606
|
+
n(:const_pattern, [const, pattern],
|
1607
|
+
Source::Map::Collection.new(
|
1608
|
+
loc(ldelim_t), loc(rdelim_t),
|
1609
|
+
const.loc.expression.join(loc(rdelim_t))
|
1610
|
+
)
|
1611
|
+
)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
def pin(pin_t, var)
|
1615
|
+
n(:pin, [ var ],
|
1616
|
+
send_unary_op_map(pin_t, var))
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
def match_alt(left, pipe_t, right)
|
1620
|
+
source_map = binary_op_map(left, pipe_t, right)
|
1621
|
+
|
1622
|
+
n(:match_alt, [ left, right ],
|
1623
|
+
source_map)
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
def match_as(value, assoc_t, as)
|
1627
|
+
source_map = binary_op_map(value, assoc_t, as)
|
1628
|
+
|
1629
|
+
n(:match_as, [ value, as ],
|
1630
|
+
source_map)
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
def match_nil_pattern(dstar_t, nil_t)
|
1634
|
+
n0(:match_nil_pattern,
|
1635
|
+
arg_prefix_map(dstar_t, nil_t))
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
def match_pair(label_type, label, value)
|
1639
|
+
if label_type == :label
|
1640
|
+
check_duplicate_pattern_key(label[0], label[1])
|
1641
|
+
pair_keyword(label, value)
|
1642
|
+
else
|
1643
|
+
begin_t, parts, end_t = label
|
1644
|
+
label_loc = loc(begin_t).join(loc(end_t))
|
1645
|
+
|
1646
|
+
# quoted label like "label": value
|
1647
|
+
if (var_name = static_string(parts))
|
1648
|
+
check_duplicate_pattern_key(var_name, label_loc)
|
1649
|
+
else
|
1650
|
+
diagnostic :error, :pm_interp_in_var_name, nil, label_loc
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
pair_quoted(begin_t, parts, end_t, value)
|
1654
|
+
end
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
def match_label(label_type, label)
|
1658
|
+
if label_type == :label
|
1659
|
+
match_hash_var(label)
|
1660
|
+
else
|
1661
|
+
# quoted label like "label": value
|
1662
|
+
begin_t, strings, end_t = label
|
1663
|
+
match_hash_var_from_str(begin_t, strings, end_t)
|
1664
|
+
end
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
private
|
1668
|
+
|
1669
|
+
#
|
1670
|
+
# VERIFICATION
|
1671
|
+
#
|
1672
|
+
|
1673
|
+
def check_condition(cond)
|
1674
|
+
case cond.type
|
1675
|
+
when :masgn
|
1676
|
+
if @parser.version <= 23
|
1677
|
+
diagnostic :error, :masgn_as_condition, nil, cond.loc.expression
|
1678
|
+
else
|
1679
|
+
cond
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
when :begin
|
1683
|
+
if cond.children.count == 1
|
1684
|
+
cond.updated(nil, [
|
1685
|
+
check_condition(cond.children.last)
|
1686
|
+
])
|
1687
|
+
else
|
1688
|
+
cond
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
when :and, :or, :irange, :erange
|
1692
|
+
lhs, rhs = *cond
|
1693
|
+
|
1694
|
+
type = case cond.type
|
1695
|
+
when :irange then :iflipflop
|
1696
|
+
when :erange then :eflipflop
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
if [:and, :or].include?(cond.type) &&
|
1700
|
+
@parser.version == 18
|
1701
|
+
cond
|
1702
|
+
else
|
1703
|
+
cond.updated(type, [
|
1704
|
+
check_condition(lhs),
|
1705
|
+
check_condition(rhs)
|
1706
|
+
])
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
when :regexp
|
1710
|
+
n(:match_current_line, [ cond ], expr_map(cond.loc.expression))
|
1711
|
+
|
1712
|
+
else
|
1713
|
+
cond
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
def check_duplicate_args(args, map={})
|
1718
|
+
args.each do |this_arg|
|
1719
|
+
case this_arg.type
|
1720
|
+
when :arg, :optarg, :restarg, :blockarg,
|
1721
|
+
:kwarg, :kwoptarg, :kwrestarg,
|
1722
|
+
:shadowarg
|
1723
|
+
|
1724
|
+
check_duplicate_arg(this_arg, map)
|
1725
|
+
|
1726
|
+
when :procarg0
|
1727
|
+
|
1728
|
+
if this_arg.children[0].is_a?(Symbol)
|
1729
|
+
# s(:procarg0, :a)
|
1730
|
+
check_duplicate_arg(this_arg, map)
|
1731
|
+
else
|
1732
|
+
# s(:procarg0, s(:arg, :a), ...)
|
1733
|
+
check_duplicate_args(this_arg.children, map)
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
when :mlhs
|
1737
|
+
check_duplicate_args(this_arg.children, map)
|
1738
|
+
end
|
1739
|
+
end
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
def check_duplicate_arg(this_arg, map={})
|
1743
|
+
this_name, = *this_arg
|
1744
|
+
|
1745
|
+
that_arg = map[this_name]
|
1746
|
+
that_name, = *that_arg
|
1747
|
+
|
1748
|
+
if that_arg.nil?
|
1749
|
+
map[this_name] = this_arg
|
1750
|
+
elsif arg_name_collides?(this_name, that_name)
|
1751
|
+
diagnostic :error, :duplicate_argument, nil,
|
1752
|
+
this_arg.loc.name, [ that_arg.loc.name ]
|
1753
|
+
end
|
1754
|
+
end
|
1755
|
+
|
1756
|
+
def validate_no_forward_arg_after_restarg(args)
|
1757
|
+
restarg = nil
|
1758
|
+
forward_arg = nil
|
1759
|
+
args.each do |arg|
|
1760
|
+
case arg.type
|
1761
|
+
when :restarg then restarg = arg
|
1762
|
+
when :forward_arg then forward_arg = arg
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
if !forward_arg.nil? && !restarg.nil?
|
1767
|
+
diagnostic :error, :forward_arg_after_restarg, nil, forward_arg.loc.expression, [restarg.loc.expression]
|
1768
|
+
end
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
def check_assignment_to_numparam(name, loc)
|
1772
|
+
# MRI < 2.7 treats numbered parameters as regular variables
|
1773
|
+
# and so it's allowed to perform assignments like `_1 = 42`.
|
1774
|
+
return if @parser.version < 27
|
1775
|
+
|
1776
|
+
assigning_to_numparam =
|
1777
|
+
@parser.context.in_dynamic_block? &&
|
1778
|
+
name =~ /\A_([1-9])\z/ &&
|
1779
|
+
@parser.max_numparam_stack.has_numparams?
|
1780
|
+
|
1781
|
+
if assigning_to_numparam
|
1782
|
+
diagnostic :error, :cant_assign_to_numparam, { :name => name }, loc
|
1783
|
+
end
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
def check_reserved_for_numparam(name, loc)
|
1787
|
+
# MRI < 3.0 accepts assignemnt to variables like _1
|
1788
|
+
# if it's not a numbered parameter. MRI 3.0 and newer throws an error.
|
1789
|
+
return if @parser.version < 30
|
1790
|
+
|
1791
|
+
if name =~ /\A_([1-9])\z/
|
1792
|
+
diagnostic :error, :reserved_for_numparam, { :name => name }, loc
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
def arg_name_collides?(this_name, that_name)
|
1797
|
+
case @parser.version
|
1798
|
+
when 18
|
1799
|
+
this_name == that_name
|
1800
|
+
when 19
|
1801
|
+
# Ignore underscore.
|
1802
|
+
this_name != :_ &&
|
1803
|
+
this_name == that_name
|
1804
|
+
else
|
1805
|
+
# Ignore everything beginning with underscore.
|
1806
|
+
this_name && this_name[0] != '_' &&
|
1807
|
+
this_name == that_name
|
1808
|
+
end
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
def check_lvar_name(name, loc)
|
1812
|
+
if name =~ /\A[[[:lower:]]_][[[:alnum:]]_]*\z/
|
1813
|
+
# OK
|
1814
|
+
else
|
1815
|
+
diagnostic :error, :lvar_name, { name: name }, loc
|
1816
|
+
end
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def check_duplicate_pattern_variable(name, loc)
|
1820
|
+
return if name.to_s.start_with?('_')
|
1821
|
+
|
1822
|
+
if @parser.pattern_variables.declared?(name)
|
1823
|
+
diagnostic :error, :duplicate_variable_name, { name: name.to_s }, loc
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
@parser.pattern_variables.declare(name)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
def check_duplicate_pattern_key(name, loc)
|
1830
|
+
if @parser.pattern_hash_keys.declared?(name)
|
1831
|
+
diagnostic :error, :duplicate_pattern_key, { name: name.to_s }, loc
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
@parser.pattern_hash_keys.declare(name)
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
#
|
1838
|
+
# SOURCE MAPS
|
1839
|
+
#
|
1840
|
+
|
1841
|
+
def n(type, children, source_map)
|
1842
|
+
AST::Node.new(type, children, :location => source_map)
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
def n0(type, source_map)
|
1846
|
+
n(type, [], source_map)
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
def join_exprs(left_expr, right_expr)
|
1850
|
+
left_expr.loc.expression.
|
1851
|
+
join(right_expr.loc.expression)
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
def token_map(token)
|
1855
|
+
Source::Map.new(loc(token))
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
def delimited_string_map(string_t)
|
1859
|
+
str_range = loc(string_t)
|
1860
|
+
|
1861
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1862
|
+
|
1863
|
+
end_l = str_range.with(begin_pos: str_range.end_pos - 1)
|
1864
|
+
|
1865
|
+
Source::Map::Collection.new(begin_l, end_l,
|
1866
|
+
loc(string_t))
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
def prefix_string_map(symbol)
|
1870
|
+
str_range = loc(symbol)
|
1871
|
+
|
1872
|
+
begin_l = str_range.with(end_pos: str_range.begin_pos + 1)
|
1873
|
+
|
1874
|
+
Source::Map::Collection.new(begin_l, nil,
|
1875
|
+
loc(symbol))
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
def unquoted_map(token)
|
1879
|
+
Source::Map::Collection.new(nil, nil,
|
1880
|
+
loc(token))
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
def pair_keyword_map(key_t, value_e)
|
1884
|
+
key_range = loc(key_t)
|
1885
|
+
|
1886
|
+
key_l = key_range.adjust(end_pos: -1)
|
1887
|
+
|
1888
|
+
colon_l = key_range.with(begin_pos: key_range.end_pos - 1)
|
1889
|
+
|
1890
|
+
[ # key map
|
1891
|
+
Source::Map::Collection.new(nil, nil,
|
1892
|
+
key_l),
|
1893
|
+
# pair map
|
1894
|
+
Source::Map::Operator.new(colon_l,
|
1895
|
+
key_range.join(value_e.loc.expression)) ]
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
def pair_quoted_map(begin_t, end_t, value_e)
|
1899
|
+
end_l = loc(end_t)
|
1900
|
+
|
1901
|
+
quote_l = end_l.with(begin_pos: end_l.end_pos - 2,
|
1902
|
+
end_pos: end_l.end_pos - 1)
|
1903
|
+
|
1904
|
+
colon_l = end_l.with(begin_pos: end_l.end_pos - 1)
|
1905
|
+
|
1906
|
+
[ # modified end token
|
1907
|
+
[ value(end_t), quote_l ],
|
1908
|
+
# pair map
|
1909
|
+
Source::Map::Operator.new(colon_l,
|
1910
|
+
loc(begin_t).join(value_e.loc.expression)) ]
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
def expr_map(loc)
|
1914
|
+
Source::Map.new(loc)
|
1915
|
+
end
|
1916
|
+
|
1917
|
+
def collection_map(begin_t, parts, end_t)
|
1918
|
+
if begin_t.nil? || end_t.nil?
|
1919
|
+
if parts.any?
|
1920
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1921
|
+
elsif !begin_t.nil?
|
1922
|
+
expr_l = loc(begin_t)
|
1923
|
+
elsif !end_t.nil?
|
1924
|
+
expr_l = loc(end_t)
|
1925
|
+
end
|
1926
|
+
else
|
1927
|
+
expr_l = loc(begin_t).join(loc(end_t))
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t), expr_l)
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
def string_map(begin_t, parts, end_t)
|
1934
|
+
if begin_t && value(begin_t).start_with?('<<')
|
1935
|
+
if parts.any?
|
1936
|
+
expr_l = join_exprs(parts.first, parts.last)
|
1937
|
+
else
|
1938
|
+
expr_l = loc(end_t).begin
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
Source::Map::Heredoc.new(loc(begin_t), expr_l, loc(end_t))
|
1942
|
+
else
|
1943
|
+
collection_map(begin_t, parts, end_t)
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
def regexp_map(begin_t, end_t, options_e)
|
1948
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
1949
|
+
loc(begin_t).join(options_e.loc.expression))
|
1950
|
+
end
|
1951
|
+
|
1952
|
+
def constant_map(scope, colon2_t, name_t)
|
1953
|
+
if scope.nil?
|
1954
|
+
expr_l = loc(name_t)
|
1955
|
+
else
|
1956
|
+
expr_l = scope.loc.expression.join(loc(name_t))
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
Source::Map::Constant.new(loc(colon2_t), loc(name_t), expr_l)
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
def variable_map(name_t)
|
1963
|
+
Source::Map::Variable.new(loc(name_t))
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
def binary_op_map(left_e, op_t, right_e)
|
1967
|
+
Source::Map::Operator.new(loc(op_t), join_exprs(left_e, right_e))
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
def unary_op_map(op_t, arg_e=nil)
|
1971
|
+
if arg_e.nil?
|
1972
|
+
expr_l = loc(op_t)
|
1973
|
+
else
|
1974
|
+
expr_l = loc(op_t).join(arg_e.loc.expression)
|
1975
|
+
end
|
1976
|
+
|
1977
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
def range_map(start_e, op_t, end_e)
|
1981
|
+
if start_e && end_e
|
1982
|
+
expr_l = join_exprs(start_e, end_e)
|
1983
|
+
elsif start_e
|
1984
|
+
expr_l = start_e.loc.expression.join(loc(op_t))
|
1985
|
+
elsif end_e
|
1986
|
+
expr_l = loc(op_t).join(end_e.loc.expression)
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
Source::Map::Operator.new(loc(op_t), expr_l)
|
1990
|
+
end
|
1991
|
+
|
1992
|
+
def arg_prefix_map(op_t, name_t=nil)
|
1993
|
+
if name_t.nil?
|
1994
|
+
expr_l = loc(op_t)
|
1995
|
+
else
|
1996
|
+
expr_l = loc(op_t).join(loc(name_t))
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
Source::Map::Variable.new(loc(name_t), expr_l)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
def kwarg_map(name_t, value_e=nil)
|
2003
|
+
label_range = loc(name_t)
|
2004
|
+
name_range = label_range.adjust(end_pos: -1)
|
2005
|
+
|
2006
|
+
if value_e
|
2007
|
+
expr_l = loc(name_t).join(value_e.loc.expression)
|
2008
|
+
else
|
2009
|
+
expr_l = loc(name_t)
|
2010
|
+
end
|
2011
|
+
|
2012
|
+
Source::Map::Variable.new(name_range, expr_l)
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
def module_definition_map(keyword_t, name_e, operator_t, end_t)
|
2016
|
+
if name_e
|
2017
|
+
name_l = name_e.loc.expression
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
Source::Map::Definition.new(loc(keyword_t),
|
2021
|
+
loc(operator_t), name_l,
|
2022
|
+
loc(end_t))
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
def definition_map(keyword_t, operator_t, name_t, end_t)
|
2026
|
+
Source::Map::MethodDefinition.new(loc(keyword_t),
|
2027
|
+
loc(operator_t), loc(name_t),
|
2028
|
+
loc(end_t), nil, nil)
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e)
|
2032
|
+
body_l = body_e.loc.expression
|
2033
|
+
|
2034
|
+
Source::Map::MethodDefinition.new(loc(keyword_t),
|
2035
|
+
loc(operator_t), loc(name_t), nil,
|
2036
|
+
loc(assignment_t), body_l)
|
2037
|
+
end
|
2038
|
+
|
2039
|
+
def send_map(receiver_e, dot_t, selector_t, begin_t=nil, args=[], end_t=nil)
|
2040
|
+
if receiver_e
|
2041
|
+
begin_l = receiver_e.loc.expression
|
2042
|
+
elsif selector_t
|
2043
|
+
begin_l = loc(selector_t)
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
if end_t
|
2047
|
+
end_l = loc(end_t)
|
2048
|
+
elsif args.any?
|
2049
|
+
end_l = args.last.loc.expression
|
2050
|
+
elsif selector_t
|
2051
|
+
end_l = loc(selector_t)
|
2052
|
+
end
|
2053
|
+
|
2054
|
+
Source::Map::Send.new(loc(dot_t), loc(selector_t),
|
2055
|
+
loc(begin_t), loc(end_t),
|
2056
|
+
begin_l.join(end_l))
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
def var_send_map(variable_e)
|
2060
|
+
Source::Map::Send.new(nil, variable_e.loc.expression,
|
2061
|
+
nil, nil,
|
2062
|
+
variable_e.loc.expression)
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
def send_binary_op_map(lhs_e, selector_t, rhs_e)
|
2066
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
2067
|
+
nil, nil,
|
2068
|
+
join_exprs(lhs_e, rhs_e))
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
def send_unary_op_map(selector_t, arg_e)
|
2072
|
+
if arg_e.nil?
|
2073
|
+
expr_l = loc(selector_t)
|
2074
|
+
else
|
2075
|
+
expr_l = loc(selector_t).join(arg_e.loc.expression)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
Source::Map::Send.new(nil, loc(selector_t),
|
2079
|
+
nil, nil,
|
2080
|
+
expr_l)
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
def index_map(receiver_e, lbrack_t, rbrack_t)
|
2084
|
+
Source::Map::Index.new(loc(lbrack_t), loc(rbrack_t),
|
2085
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
def send_index_map(receiver_e, lbrack_t, rbrack_t)
|
2089
|
+
Source::Map::Send.new(nil, loc(lbrack_t).join(loc(rbrack_t)),
|
2090
|
+
nil, nil,
|
2091
|
+
receiver_e.loc.expression.join(loc(rbrack_t)))
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
def block_map(receiver_l, begin_t, end_t)
|
2095
|
+
Source::Map::Collection.new(loc(begin_t), loc(end_t),
|
2096
|
+
receiver_l.join(loc(end_t)))
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
def keyword_map(keyword_t, begin_t, args, end_t)
|
2100
|
+
args ||= []
|
2101
|
+
|
2102
|
+
if end_t
|
2103
|
+
end_l = loc(end_t)
|
2104
|
+
elsif args.any? && !args.last.nil?
|
2105
|
+
end_l = args.last.loc.expression
|
2106
|
+
elsif args.any? && args.count > 1
|
2107
|
+
end_l = args[-2].loc.expression
|
2108
|
+
else
|
2109
|
+
end_l = loc(keyword_t)
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
Source::Map::Keyword.new(loc(keyword_t), loc(begin_t), loc(end_t),
|
2113
|
+
loc(keyword_t).join(end_l))
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
def keyword_mod_map(pre_e, keyword_t, post_e)
|
2117
|
+
Source::Map::Keyword.new(loc(keyword_t), nil, nil,
|
2118
|
+
join_exprs(pre_e, post_e))
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t)
|
2122
|
+
if end_t
|
2123
|
+
end_l = loc(end_t)
|
2124
|
+
elsif else_e && else_e.loc.expression
|
2125
|
+
end_l = else_e.loc.expression
|
2126
|
+
elsif loc(else_t)
|
2127
|
+
end_l = loc(else_t)
|
2128
|
+
elsif body_e && body_e.loc.expression
|
2129
|
+
end_l = body_e.loc.expression
|
2130
|
+
elsif loc(begin_t)
|
2131
|
+
end_l = loc(begin_t)
|
2132
|
+
else
|
2133
|
+
end_l = cond_e.loc.expression
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
Source::Map::Condition.new(loc(keyword_t),
|
2137
|
+
loc(begin_t), loc(else_t), loc(end_t),
|
2138
|
+
loc(keyword_t).join(end_l))
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e)
|
2142
|
+
Source::Map::Ternary.new(loc(question_t), loc(colon_t),
|
2143
|
+
join_exprs(begin_e, end_e))
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
def for_map(keyword_t, in_t, begin_t, end_t)
|
2147
|
+
Source::Map::For.new(loc(keyword_t), loc(in_t),
|
2148
|
+
loc(begin_t), loc(end_t),
|
2149
|
+
loc(keyword_t).join(loc(end_t)))
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
def rescue_body_map(keyword_t, exc_list_e, assoc_t,
|
2153
|
+
exc_var_e, then_t,
|
2154
|
+
compstmt_e)
|
2155
|
+
end_l = compstmt_e.loc.expression if compstmt_e
|
2156
|
+
end_l = loc(then_t) if end_l.nil? && then_t
|
2157
|
+
end_l = exc_var_e.loc.expression if end_l.nil? && exc_var_e
|
2158
|
+
end_l = exc_list_e.loc.expression if end_l.nil? && exc_list_e
|
2159
|
+
end_l = loc(keyword_t) if end_l.nil?
|
2160
|
+
|
2161
|
+
Source::Map::RescueBody.new(loc(keyword_t), loc(assoc_t), loc(then_t),
|
2162
|
+
loc(keyword_t).join(end_l))
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
def eh_keyword_map(compstmt_e, keyword_t, body_es,
|
2166
|
+
else_t, else_e)
|
2167
|
+
if compstmt_e.nil?
|
2168
|
+
if keyword_t.nil?
|
2169
|
+
begin_l = body_es.first.loc.expression
|
2170
|
+
else
|
2171
|
+
begin_l = loc(keyword_t)
|
2172
|
+
end
|
2173
|
+
else
|
2174
|
+
begin_l = compstmt_e.loc.expression
|
2175
|
+
end
|
2176
|
+
|
2177
|
+
if else_t
|
2178
|
+
if else_e.nil?
|
2179
|
+
end_l = loc(else_t)
|
2180
|
+
else
|
2181
|
+
end_l = else_e.loc.expression
|
2182
|
+
end
|
2183
|
+
elsif !body_es.last.nil?
|
2184
|
+
end_l = body_es.last.loc.expression
|
2185
|
+
else
|
2186
|
+
end_l = loc(keyword_t)
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
Source::Map::Condition.new(loc(keyword_t), nil, loc(else_t), nil,
|
2190
|
+
begin_l.join(end_l))
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
def guard_map(keyword_t, guard_body_e)
|
2194
|
+
keyword_l = loc(keyword_t)
|
2195
|
+
guard_body_l = guard_body_e.loc.expression
|
2196
|
+
|
2197
|
+
Source::Map::Keyword.new(keyword_l, nil, nil, keyword_l.join(guard_body_l))
|
2198
|
+
end
|
2199
|
+
|
2200
|
+
#
|
2201
|
+
# HELPERS
|
2202
|
+
#
|
2203
|
+
|
2204
|
+
# Extract a static string from e.g. a regular expression,
|
2205
|
+
# honoring the fact that MRI expands interpolations like #{""}
|
2206
|
+
# at parse time.
|
2207
|
+
def static_string(nodes)
|
2208
|
+
nodes.map do |node|
|
2209
|
+
case node.type
|
2210
|
+
when :str
|
2211
|
+
node.children[0]
|
2212
|
+
when :begin
|
2213
|
+
if (string = static_string(node.children))
|
2214
|
+
string
|
2215
|
+
else
|
2216
|
+
return nil
|
2217
|
+
end
|
2218
|
+
else
|
2219
|
+
return nil
|
2220
|
+
end
|
2221
|
+
end.join
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
def static_regexp(parts, options)
|
2225
|
+
source = static_string(parts)
|
2226
|
+
return nil if source.nil?
|
2227
|
+
|
2228
|
+
source = case
|
2229
|
+
when options.children.include?(:u)
|
2230
|
+
source.encode(Encoding::UTF_8)
|
2231
|
+
when options.children.include?(:e)
|
2232
|
+
source.encode(Encoding::EUC_JP)
|
2233
|
+
when options.children.include?(:s)
|
2234
|
+
source.encode(Encoding::WINDOWS_31J)
|
2235
|
+
when options.children.include?(:n)
|
2236
|
+
source.encode(Encoding::BINARY)
|
2237
|
+
else
|
2238
|
+
source
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
Regexp.new(source, (Regexp::EXTENDED if options.children.include?(:x)))
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
def static_regexp_node(node)
|
2245
|
+
if node.type == :regexp
|
2246
|
+
parts, options = node.children[0..-2], node.children[-1]
|
2247
|
+
static_regexp(parts, options)
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
def collapse_string_parts?(parts)
|
2252
|
+
parts.one? &&
|
2253
|
+
[:str, :dstr].include?(parts.first.type)
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def value(token)
|
2257
|
+
token[0]
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
def string_value(token)
|
2261
|
+
unless token[0].valid_encoding?
|
2262
|
+
diagnostic(:error, :invalid_encoding, nil, token[1])
|
2263
|
+
end
|
2264
|
+
|
2265
|
+
token[0]
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
def loc(token)
|
2269
|
+
# Pass through `nil`s and return nil for tNL.
|
2270
|
+
token[1] if token && token[0]
|
2271
|
+
end
|
2272
|
+
|
2273
|
+
def diagnostic(type, reason, arguments, location, highlights=[])
|
2274
|
+
@parser.diagnostics.process(
|
2275
|
+
Diagnostic.new(type, reason, arguments, location, highlights))
|
2276
|
+
|
2277
|
+
if type == :error
|
2278
|
+
@parser.send :yyerror
|
2279
|
+
end
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
def validate_definee(definee)
|
2283
|
+
case definee.type
|
2284
|
+
when :int, :str, :dstr, :sym, :dsym,
|
2285
|
+
:regexp, :array, :hash
|
2286
|
+
|
2287
|
+
diagnostic :error, :singleton_literal, nil, definee.loc.expression
|
2288
|
+
false
|
2289
|
+
else
|
2290
|
+
true
|
2291
|
+
end
|
2292
|
+
end
|
2293
|
+
|
2294
|
+
def rewrite_hash_args_to_kwargs(args)
|
2295
|
+
if args.any? && kwargs?(args.last)
|
2296
|
+
# foo(..., bar: baz)
|
2297
|
+
args[args.length - 1] = args[args.length - 1].updated(:kwargs)
|
2298
|
+
elsif args.length > 1 && args.last.type == :block_pass && kwargs?(args[args.length - 2])
|
2299
|
+
# foo(..., bar: baz, &blk)
|
2300
|
+
args[args.length - 2] = args[args.length - 2].updated(:kwargs)
|
2301
|
+
end
|
2302
|
+
end
|
2303
|
+
|
2304
|
+
def kwargs?(node)
|
2305
|
+
node.type == :hash && node.loc.begin.nil? && node.loc.end.nil?
|
2306
|
+
end
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
end
|