cloudsmith-api 0.21.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/README.md +187 -0
- data/Rakefile +8 -0
- data/build.json +15 -0
- data/cloudsmith-api.gemspec +45 -0
- data/docs/Distribution.md +14 -0
- data/docs/DistributionVersions.md +9 -0
- data/docs/DistrosApi.md +130 -0
- data/docs/FilesApi.md +149 -0
- data/docs/FilesCreate.md +9 -0
- data/docs/FilesValidate.md +9 -0
- data/docs/Format.md +16 -0
- data/docs/FormatDistributions.md +11 -0
- data/docs/FormatsApi.md +130 -0
- data/docs/MavenPackageUpload.md +62 -0
- data/docs/Namespace.md +11 -0
- data/docs/NamespacesApi.md +139 -0
- data/docs/Organization.md +14 -0
- data/docs/OrgsApi.md +139 -0
- data/docs/PackageFileUpload.md +10 -0
- data/docs/PackageStatus.md +21 -0
- data/docs/PackagesApi.md +1277 -0
- data/docs/PackagesUploadDeb.md +9 -0
- data/docs/PackagesUploadMaven.md +15 -0
- data/docs/PackagesUploadPython.md +8 -0
- data/docs/PackagesUploadRaw.md +9 -0
- data/docs/PackagesUploadRpm.md +9 -0
- data/docs/PackagesUploadRuby.md +8 -0
- data/docs/PackagesUploadVagrant.md +10 -0
- data/docs/PackagesValidateuploadDeb.md +9 -0
- data/docs/PackagesValidateuploadMaven.md +15 -0
- data/docs/PackagesValidateuploadPython.md +8 -0
- data/docs/PackagesValidateuploadRaw.md +9 -0
- data/docs/PackagesValidateuploadRpm.md +9 -0
- data/docs/PackagesValidateuploadRuby.md +8 -0
- data/docs/PackagesValidateuploadVagrant.md +10 -0
- data/docs/ReposApi.md +145 -0
- data/docs/Repository.md +27 -0
- data/docs/RpmPackageUpload.md +59 -0
- data/docs/RpmPackageUploadArchitectures.md +9 -0
- data/docs/RpmPackageUploadFiles.md +20 -0
- data/docs/Status.md +8 -0
- data/docs/StatusApi.md +50 -0
- data/docs/StatusBasic.md +9 -0
- data/docs/UserApi.md +131 -0
- data/docs/UserAuthToken.md +8 -0
- data/docs/UserBrief.md +14 -0
- data/docs/UserProfile.md +17 -0
- data/docs/UserTokenCreate.md +9 -0
- data/docs/UsersApi.md +72 -0
- data/docs/VagrantPackageUpload.md +60 -0
- data/git_push.sh +55 -0
- data/lib/cloudsmith-api.rb +85 -0
- data/lib/cloudsmith-api/api/distros_api.rb +119 -0
- data/lib/cloudsmith-api/api/files_api.rb +144 -0
- data/lib/cloudsmith-api/api/formats_api.rb +119 -0
- data/lib/cloudsmith-api/api/namespaces_api.rb +125 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +125 -0
- data/lib/cloudsmith-api/api/packages_api.rb +1121 -0
- data/lib/cloudsmith-api/api/repos_api.rb +137 -0
- data/lib/cloudsmith-api/api/status_api.rb +68 -0
- data/lib/cloudsmith-api/api/user_api.rb +117 -0
- data/lib/cloudsmith-api/api/users_api.rb +74 -0
- data/lib/cloudsmith-api/api_client.rb +389 -0
- data/lib/cloudsmith-api/api_error.rb +38 -0
- data/lib/cloudsmith-api/configuration.rb +223 -0
- data/lib/cloudsmith-api/models/distribution.rb +256 -0
- data/lib/cloudsmith-api/models/distribution_versions.rb +199 -0
- data/lib/cloudsmith-api/models/files_create.rb +209 -0
- data/lib/cloudsmith-api/models/files_validate.rb +209 -0
- data/lib/cloudsmith-api/models/format.rb +303 -0
- data/lib/cloudsmith-api/models/format_distributions.rb +219 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +733 -0
- data/lib/cloudsmith-api/models/namespace.rb +219 -0
- data/lib/cloudsmith-api/models/organization.rb +249 -0
- data/lib/cloudsmith-api/models/package_file_upload.rb +209 -0
- data/lib/cloudsmith-api/models/package_status.rb +319 -0
- data/lib/cloudsmith-api/models/packages_upload_deb.rb +209 -0
- data/lib/cloudsmith-api/models/packages_upload_maven.rb +264 -0
- data/lib/cloudsmith-api/models/packages_upload_python.rb +194 -0
- data/lib/cloudsmith-api/models/packages_upload_raw.rb +204 -0
- data/lib/cloudsmith-api/models/packages_upload_rpm.rb +209 -0
- data/lib/cloudsmith-api/models/packages_upload_ruby.rb +194 -0
- data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +224 -0
- data/lib/cloudsmith-api/models/packages_validateupload_deb.rb +209 -0
- data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +264 -0
- data/lib/cloudsmith-api/models/packages_validateupload_python.rb +194 -0
- data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +204 -0
- data/lib/cloudsmith-api/models/packages_validateupload_rpm.rb +209 -0
- data/lib/cloudsmith-api/models/packages_validateupload_ruby.rb +194 -0
- data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +224 -0
- data/lib/cloudsmith-api/models/repository.rb +404 -0
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +703 -0
- data/lib/cloudsmith-api/models/rpm_package_upload_architectures.rb +199 -0
- data/lib/cloudsmith-api/models/rpm_package_upload_files.rb +309 -0
- data/lib/cloudsmith-api/models/status.rb +189 -0
- data/lib/cloudsmith-api/models/status_basic.rb +199 -0
- data/lib/cloudsmith-api/models/user_auth_token.rb +189 -0
- data/lib/cloudsmith-api/models/user_brief.rb +249 -0
- data/lib/cloudsmith-api/models/user_profile.rb +289 -0
- data/lib/cloudsmith-api/models/user_token_create.rb +199 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +723 -0
- data/lib/cloudsmith-api/version.rb +15 -0
- data/spec/api/distros_api_spec.rb +58 -0
- data/spec/api/files_api_spec.rb +63 -0
- data/spec/api/formats_api_spec.rb +58 -0
- data/spec/api/namespaces_api_spec.rb +60 -0
- data/spec/api/orgs_api_spec.rb +60 -0
- data/spec/api/packages_api_spec.rb +288 -0
- data/spec/api/repos_api_spec.rb +62 -0
- data/spec/api/status_api_spec.rb +46 -0
- data/spec/api/user_api_spec.rb +58 -0
- data/spec/api/users_api_spec.rb +47 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/distribution_spec.rb +78 -0
- data/spec/models/distribution_versions_spec.rb +48 -0
- data/spec/models/files_create_spec.rb +48 -0
- data/spec/models/files_validate_spec.rb +48 -0
- data/spec/models/format_distributions_spec.rb +60 -0
- data/spec/models/format_spec.rb +90 -0
- data/spec/models/maven_package_upload_spec.rb +366 -0
- data/spec/models/namespace_spec.rb +60 -0
- data/spec/models/organization_spec.rb +78 -0
- data/spec/models/package_file_upload_spec.rb +54 -0
- data/spec/models/package_status_spec.rb +120 -0
- data/spec/models/packages_upload_deb_spec.rb +48 -0
- data/spec/models/packages_upload_maven_spec.rb +84 -0
- data/spec/models/packages_upload_python_spec.rb +42 -0
- data/spec/models/packages_upload_raw_spec.rb +48 -0
- data/spec/models/packages_upload_rpm_spec.rb +48 -0
- data/spec/models/packages_upload_ruby_spec.rb +42 -0
- data/spec/models/packages_upload_vagrant_spec.rb +54 -0
- data/spec/models/packages_validateupload_deb_spec.rb +48 -0
- data/spec/models/packages_validateupload_maven_spec.rb +84 -0
- data/spec/models/packages_validateupload_python_spec.rb +42 -0
- data/spec/models/packages_validateupload_raw_spec.rb +48 -0
- data/spec/models/packages_validateupload_rpm_spec.rb +48 -0
- data/spec/models/packages_validateupload_ruby_spec.rb +42 -0
- data/spec/models/packages_validateupload_vagrant_spec.rb +54 -0
- data/spec/models/repository_spec.rb +156 -0
- data/spec/models/rpm_package_upload_architectures_spec.rb +48 -0
- data/spec/models/rpm_package_upload_files_spec.rb +114 -0
- data/spec/models/rpm_package_upload_spec.rb +348 -0
- data/spec/models/status_basic_spec.rb +48 -0
- data/spec/models/status_spec.rb +42 -0
- data/spec/models/user_auth_token_spec.rb +42 -0
- data/spec/models/user_brief_spec.rb +78 -0
- data/spec/models/user_profile_spec.rb +96 -0
- data/spec/models/user_token_create_spec.rb +48 -0
- data/spec/models/vagrant_package_upload_spec.rb +354 -0
- data/spec/spec_helper.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/bin/autotest +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/htmldiff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/ldiff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multigem +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multiruby +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/multiruby_setup +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/rake +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/rspec +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/safe_yaml +22 -0
- data/vendor/bundle/ruby/2.3.0/bin/unit_diff +24 -0
- data/vendor/bundle/ruby/2.3.0/bin/zentest +24 -0
- data/vendor/bundle/ruby/2.3.0/cache/ZenTest-4.11.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/addressable-2.5.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-4.4.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-fsevent-0.2.13.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-growl-0.2.16.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/autotest-rails-pure-4.1.2.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/crack-0.4.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ethon-0.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/ffi-1.9.18.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/hashdiff-0.3.7.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/json-2.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/public_suffix-3.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rake-12.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-expectations-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-mocks-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/safe_yaml-1.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/sys-uname-1.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/typhoeus-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/vcr-3.0.3.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/cache/webmock-1.24.6.gem +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/autotest-fsevent-0.2.13/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/autotest-fsevent-0.2.13/gem_make.out +14 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/gem_make.out +63 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/mkmf.log +413 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem_make.out +13 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/mkmf.log +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/.autotest +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/History.txt +933 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/Manifest.txt +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/README.txt +164 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/Rakefile +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/articles/Article.css +721 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/articles/getting_started_with_autotest.html +533 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/articles/how_to_use_zentest.txt +393 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/autotest +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/multigem +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/multiruby +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/multiruby_setup +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/unit_diff +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/bin/zentest +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/example.txt +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/example1.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/example2.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/example_dot_autotest.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest.rb +901 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/autoupdate.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/bundler.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/isolate.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/once.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/preload.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/rcov.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/restart.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/timestamp.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/focus.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/functional_test_matrix.rb +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/multiruby.rb +413 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/unit_diff.rb +274 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/zentest.rb +601 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/zentest_mapping.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/test/test_autotest.rb +560 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/test/test_focus.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/test/test_unit_diff.rb +372 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/test/test_zentest.rb +581 -0
- data/vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/test/test_zentest_mapping.rb +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/CHANGELOG.md +216 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/Gemfile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/LICENSE.txt +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/README.md +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/Rakefile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/data/unicode.data +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna/native.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/idna/pure.rb +677 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/template.rb +1065 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/uri.rb +2492 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/lib/addressable/version.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/idna_spec.rb +298 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/net_http_compat_spec.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/rack_mount_compat_spec.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/security_spec.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/template_spec.rb +1419 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/addressable/uri_spec.rb +6468 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/spec/spec_helper.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/clobber.rake +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/gem.rake +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/git.rake +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/metrics.rake +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/rspec.rake +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/addressable-2.5.2/tasks/yard.rake +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/History.txt +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/Manifest.txt +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/README.txt +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-4.4.6/Rakefile +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/.gitignore +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/.ruby-version +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/CHANGELOG.txt +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/Gemfile.lock +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/PostInstall.txt +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/README.rdoc +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/Rakefile +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/autotest-fsevent.gemspec +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/Makefile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/extconf.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/fsevent.dll +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/fsevent.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/fsevent_sleep.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/make +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/ext/fsevent/nmake.bat +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/lib/autotest-fsevent.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/lib/autotest-fsevent/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/lib/autotest/fsevent.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/prebuilt/10.7/fsevent_sleep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/spec/autotest-fsevent_spec.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-fsevent-0.2.13/spec/spec_helper.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/.gitignore +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/.rvmrc +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/CHANGELOG.txt +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Gemfile +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Gemfile.lock +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/PostInstall.txt +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/README.rdoc +268 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/Rakefile +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/autotest-growl.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify-1.1.5 +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify-1.3 +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/growl/growlnotify.com +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/error.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/failed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/info.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/passed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ampelmaennchen/pending.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/error.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/failed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/info.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/passed.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/img/ruby/pending.png +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest-growl.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest-growl/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest/growl.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/lib/autotest/result.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/spec/autotest-growl_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-growl-0.2.16/spec/spec_helper.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/.autotest +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/History.txt +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/Rakefile +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/Readme.md +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/VERSION +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/autotest-rails-pure.gemspec +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/discover.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/fixtures.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/migrate.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/lib/autotest/rails.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/autotest-rails-pure-4.1.2/test/rails_test.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/.gitignore +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/.travis.yml +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/Gemfile +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/History +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/README.md +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/crack.gemspec +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/json.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/util.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/lib/crack/xml.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/bootstrap +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/release +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/test +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/large_dataset.json +139988 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/hash_test.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/json_test.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/parser_test.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/string_test.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/test_helper.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/test/xml_test.rb +514 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.3.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.gitignore +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.rspec +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/.travis.yml +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/CHANGELOG.md +357 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Gemfile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/README.md +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/Rakefile +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/ethon.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curl.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/classes.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/codes.rb +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/constants.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/form_options.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/functions.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/infos.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/messages.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/options.rb +465 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/curls/settings.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/callbacks.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/debug_info.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/features.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/form.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/header.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/actionable.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/custom.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/delete.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/get.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/head.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/patch.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/post.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/postable.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/put.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/putable.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/informations.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/mirror.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/operations.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/options.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/params.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/queryable.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/response_callbacks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/util.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/ethon_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/global_init.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/invalid_option.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/invalid_value.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_add.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_fdset.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_remove.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/multi_timeout.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/errors/select.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/libc.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/loggable.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/operations.rb +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/options.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/multi/stack.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/benchmarks.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/memory_leaks.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/perf_spec_helper.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/memory_test_helpers.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/os_memory_leak_tracker.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/profile/support/ruby_object_leak_tracker.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/curl_spec.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/callbacks_spec.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/debug_info_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/features_spec.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/form_spec.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/header_spec.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/custom_spec.rb +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/delete_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/get_spec.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/head_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/options_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/patch_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/post_spec.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http/put_spec.rb +167 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/http_spec.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/informations_spec.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/mirror_spec.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/operations_spec.rb +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/options_spec.rb +192 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/queryable_spec.rb +226 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/response_callbacks_spec.rb +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy/util_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/easy_spec.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/libc_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/loggable_spec.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/operations_spec.rb +297 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/options_spec.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi/stack_spec.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/ethon/multi_spec.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/spec_helper.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/spec/support/server.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/COPYING +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/LICENSE +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/README.md +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/Rakefile +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/.RUBYARCHDIR.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.c +1104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.h +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ArrayType.c +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ArrayType.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Buffer.c +365 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Call.c +517 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Call.h +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ClosurePool.c +283 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ClosurePool.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DataConverter.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DataConverter.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DynamicLibrary.c +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DynamicLibrary.h +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Function.c +998 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Function.h +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/FunctionInfo.c +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LastError.c +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LastError.h +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LongDouble.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LongDouble.h +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Makefile +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MappedType.c +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MappedType.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MemoryPointer.c +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MemoryPointer.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MethodHandle.c +358 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MethodHandle.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Platform.c +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Platform.h +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Pointer.c +508 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Pointer.h +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Struct.c +829 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Struct.h +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByReference.c +190 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByReference.h +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByReference.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByValue.c +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByValue.h +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructLayout.c +698 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Thread.c +352 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Thread.h +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Type.c +397 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Type.h +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Types.c +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Types.h +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Variadic.c +304 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/compat.h +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/extconf.h +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/extconf.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ffi.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.bsd.mk +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.darwin.mk +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.gnu.mk +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.mk +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.vc.mk +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.vc64.mk +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog +4600 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog.libgcj +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.am +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.in +1820 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.vc +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.vc64 +141 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/README +342 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/acinclude.m4 +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/aclocal.m4 +1873 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/build-ios.sh +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/compile +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/config.guess +1501 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/config.sub +1705 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure +17191 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure.ac +496 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure.host +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/depcomp +630 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/libffi.info +593 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/libffi.texi +600 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/stamp-vti +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/version.texi +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/fficonfig.h.in +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/fficonfig.hw +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/Makefile.am +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/Makefile.in +487 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.in +427 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi_common.h +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/install-sh +520 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/libffi.pc.in +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/libtool-version +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ltmain.sh +9636 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/libtool.m4 +7831 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltoptions.m4 +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltsugar.m4 +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltversion.m4 +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/lt~obsolete.m4 +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/Makefile.am +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/Makefile.in +466 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/ffi.3 +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/ffi_call.3 +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/ffi_prep_cif.3 +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/mdate-sh +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/missing +376 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/msvcc.sh +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/ffi.c +284 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/ffitarget.h +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/osf.S +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/ffi.c +728 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/ffitarget.h +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/sysv.S +497 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/avr32/ffi.c +423 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/avr32/ffitarget.h +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/avr32/sysv.S +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/closures.c +615 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/cris/ffi.c +383 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/cris/ffitarget.h +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/cris/sysv.S +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/debug.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/dlmalloc.c +5161 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/frv/eabi.S +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/frv/ffitarget.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/ffi.c +582 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/ffitarget.h +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/ia64_flags.h +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/unix.S +560 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/java_raw_api.c +356 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m32r/ffitarget.h +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m32r/sysv.S +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/ffi.c +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/sysv.S +270 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/ffi.c +1038 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/ffitarget.h +242 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/n32.S +591 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/o32.S +381 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/pa/ffi.c +719 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/pa/ffitarget.h +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/pa/hpux32.S +368 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/pa/linux.S +357 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/aix.S +328 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/aix_closure.S +445 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/darwin.S +383 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +575 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffi.c +1448 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1359 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffitarget.h +139 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/linux64.S +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +236 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +327 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/sysv.S +219 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/prep_cif.c +177 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/raw_api.c +254 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/ffi.c +780 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/ffitarget.h +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/sysv.S +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh/ffi.c +716 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh/ffitarget.h +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh/sysv.S +850 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh64/ffi.c +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh64/ffitarget.h +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh64/sysv.S +539 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/ffi.c +669 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/ffitarget.h +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/v8.S +313 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/v9.S +307 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/types.c +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/darwin.S +444 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/darwin64.S +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffi.c +644 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffi64.c +635 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffitarget.h +121 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/freebsd.S +458 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/sysv.S +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/unix64.S +426 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/win32.S +1065 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/win64.S +468 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/Makefile.am +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/Makefile.in +500 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/config/default.exp +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +300 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +263 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +140 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +342 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/many.c +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +80 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/texinfo.tex +7210 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/rbffi.h +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/rbffi_endian.h +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/win32/stdbool.h +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/win32/stdint.h +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ffi.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/gen/Rakefile +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/autopointer.rb +203 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/buffer.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/callback.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/enum.rb +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/errno.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/ffi.rb +44 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/io.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/library.rb +538 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/managedstruct.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/memorypointer.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform.rb +159 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/aarch64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/arm-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-freebsd/types.conf +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-gnu/types.conf +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-linux/types.conf +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-netbsd/types.conf +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-openbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/i386-windows/types.conf +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/ia64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/mips-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/mips64el-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/mipsel-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/powerpc-aix/types.conf +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/powerpc-darwin/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/powerpc-linux/types.conf +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/s390-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/s390x-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/sparc-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/sparc-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/sparcv9-solaris/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-cygwin/types.conf +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-darwin/types.conf +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-freebsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-linux/types.conf +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-netbsd/types.conf +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-openbsd/types.conf +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-solaris/types.conf +122 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-windows/types.conf +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/pointer.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/struct.rb +373 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/struct_layout_builder.rb +227 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/tools/const_generator.rb +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/tools/generator.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/tools/generator_task.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/tools/struct_generator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/tools/types_generator.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/types.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/union.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/variadic.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/version.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/Benchmark.c +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BoolTest.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BufferTest.c +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/ClosureTest.c +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/EnumTest.c +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/FunctionTest.c +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/GNUmakefile +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/GlobalVariable.c +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/LastErrorTest.c +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/NumberTest.c +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/PointerTest.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/ReferenceTest.c +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/StringTest.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/StructTest.c +243 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/UnionTest.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/VariadicTest.c +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/LICENSE.SPECS +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/async_callback_spec.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/bool_spec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/buffer_spec.rb +279 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/callback_spec.rb +773 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/custom_param_type.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/custom_type_spec.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/dup_spec.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/enum_spec.rb +423 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/errno_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/ffi_spec.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/Benchmark.c +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BufferTest.c +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/ClosureTest.c +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/EnumTest.c +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/FunctionTest.c +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/GNUmakefile +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/GlobalVariable.c +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/LastErrorTest.c +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/NumberTest.c +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelper.h +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelperPosix.c +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelperWindows.c +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PointerTest.c +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/ReferenceTest.c +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/StringTest.c +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/StructTest.c +243 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/UnionTest.c +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/VariadicTest.c +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/classes.rb +438 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/function_spec.rb +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/io_spec.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/library_spec.rb +286 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/long_double.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/managed_struct_spec.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/memorypointer_spec.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/number_spec.rb +247 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/platform_spec.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/pointer_spec.rb +285 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/attach_function_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/memory_pointer_spec.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/struct_spec.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/spec_helper.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/string_spec.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/strptr_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_by_ref_spec.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_callback_spec.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_initialize_spec.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_packed_spec.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_spec.rb +886 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/typedef_spec.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/union_spec.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/variadic_spec.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/spec.opts +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.gitignore +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.travis.yml +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/Gemfile +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/LICENSE +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/README.md +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/Rakefile +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/changelog.md +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/hashdiff.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/diff.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/lcs.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/linear_compare_array.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/patch.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/util.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/lib/hashdiff/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/best_diff_spec.rb +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/diff_array_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/diff_spec.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/lcs_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/linear_compare_array_spec.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/patch_spec.rb +183 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/hashdiff/util_spec.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/hashdiff-0.3.7/spec/spec_helper.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/.gitignore +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/.travis.yml +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/CHANGES.md +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Gemfile +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README-json-jruby.md +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/README.md +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/Rakefile +408 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/VERSION +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/example.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/index.html +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/data/prototype.js +4184 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/diagrams/.keep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/.RUBYARCHDIR.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/extconf.rb +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.c +1443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.h +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/.RUBYARCHDIR.-.json.-.ext.time +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/depend +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/extconf.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.c +2109 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.h +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.rl +869 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/extconf.rb +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/install.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ByteListTranscoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Generator.java +443 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorMethods.java +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorService.java +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/GeneratorState.java +490 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.java +2362 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Parser.rl +893 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/ParserService.java +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/RuntimeInfo.java +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/StringEncoder.java +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/java/src/json/ext/Utils.java +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json-java.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/json_pure.gemspec +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/bigdecimal.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/complex.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/core.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/range.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/rational.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/add/time.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/common.rb +456 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/.keep +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/generic_object.rb +71 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/generator.rb +458 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/pure/parser.rb +311 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/references/rfc7159.txt +899 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/obsolete_fail1.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_addition_test.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_common_interface_test.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_encoding_test.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_ext_parser_test.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_fixtures_test.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generator_test.rb +377 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_generic_object_test.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_parser_test.rb +471 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/json_string_matching_test.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tests/test_helper.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/diff.sh +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/fuzz.rb +131 -0
- data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/tools/server.rb +62 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.gitignore +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.rubocop.yml +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.rubocop_defaults.yml +177 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.ruby-gemset +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.travis.yml +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.yardopts +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/2.0-Upgrade.md +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/CHANGELOG.md +330 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/Gemfile +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/README.md +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/Rakefile +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/bin/console +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/data/list.txt +12288 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/domain.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/errors.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/list.rb +243 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/rule.rb +348 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/version.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/public_suffix.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/.empty +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/acceptance_test.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_find.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_find_all.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_names.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_select.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_select_incremental.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/benchmarks/bm_valid.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/domain_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/find_profiler.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/find_profiler_jp.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/initialization_profiler.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/list_profsize.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/profilers/object_binsize.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/psl_test.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/test_helper.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/tests.txt +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/domain_test.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/errors_test.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/list_test.rb +239 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/public_suffix_test.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/rule_test.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.gitignore +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.rubocop.yml +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/.travis.yml +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/History.rdoc +2247 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/appveyor.yml +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/application.rb +785 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/backtrace.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/clean.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/cloneable.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/cpu_counter.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/default_loader.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/dsl_definition.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/early_time.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/ext/core.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/ext/string.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_list.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_task.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_utils.rb +136 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/file_utils_ext.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/invocation_chain.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/late_time.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/linked_list.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/loaders/makefile.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/multi_task.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/name_space.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/packagetask.rb +210 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/phony.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/private_reader.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/promise.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/pseudo_status.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/rule_recursion_overflow_error.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/scope.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task.rb +390 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_arguments.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/task_manager.rb +303 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/tasklib.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/testtask.rb +222 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/thread_history_display.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/thread_pool.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/trace_output.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/lib/rake/win32.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/rake.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/README.md +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-3.7.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/.yardopts +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/Changelog.md +2187 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/README.md +384 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/server.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb +2179 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration_options.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb +884 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters.rb +265 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/deprecation_formatter.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/exception_presenter.rb +496 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_printer.rb +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb +626 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/invocations.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb +260 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/world.rb +264 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/Changelog.md +1083 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/README.md +305 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +1031 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +387 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.document +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/Changelog.md +1089 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/README.md +460 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +484 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/Changelog.md +229 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/README.md +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/object_formatter.rb +267 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/ruby_features.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/node.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/.gitignore +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/.travis.yml +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/CHANGES.md +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Gemfile +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/README.md +191 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/Rakefile +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bin/safe_yaml +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/bundle_install_all_ruby_versions.sh +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/deep.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/date.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/hexadecimal.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/parse/sexagesimal.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb +99 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/safe_to_ruby_visitor.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_hack.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/syck_resolver.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_boolean.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_date.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_float.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_integer.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_nil.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/to_symbol.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/transform/transformation_map.rb +47 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/lib/safe_yaml/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/run_specs_all_ruby_versions.sh +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/safe_yaml.gemspec +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.2.yaml +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/exploit.1.9.3.yaml +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue48.txt +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/issue49.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/libyaml_checker_spec.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/psych_resolver_spec.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/resolver_specs.rb +278 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/safe_yaml_spec.rb +731 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/spec_helper.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/support/exploitable_back_door.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/syck_resolver_spec.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/base64_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_date_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_float_spec.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_integer_spec.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/transform/to_symbol_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/safe_yaml-1.0.4/spec/yaml_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/CHANGES +202 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/MANIFEST +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/README +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/Rakefile +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/certs/djberg96_pub.pem +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/doc/uname.txt +127 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/examples/uname_test.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys-uname.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/platform.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/uname.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/unix/uname.rb +327 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/lib/sys/windows/uname.rb +507 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/sys-uname.gemspec +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/test/test_sys_platform.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/sys-uname-1.0.3/test/test_sys_uname.rb +463 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.gitignore +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/.travis.yml +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/CHANGELOG.md +394 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/CONTRIBUTING.md +16 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Gemfile +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Guardfile +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/LICENSE +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/README.md +533 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/UPGRADE.md +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus.rb +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus/middleware/params_decoder.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/adapters/faraday.rb +180 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/dalli.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/rails.rb +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/cache/redis.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/config.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/easy_factory.rb +175 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors/no_stub.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/errors/typhoeus_error.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/expectation.rb +217 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/addable.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/before.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/block_connection.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/cacheable.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/memoizable.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/queueable.rb +83 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/runnable.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/hydra/stubbable.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/pool.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/railtie.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/actions.rb +125 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/before.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/block_connection.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/cacheable.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb +133 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/marshal.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/memoizable.rb +38 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/operations.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/responseable.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/streamable.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/request/stubbable.rb +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/cacheable.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/header.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/informations.rb +248 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/response/status.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/lib/typhoeus/version.rb +5 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/perf/profile.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/perf/vs_nethttp.rb +64 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/rack/typhoeus/middleware/params_decoder/helper_spec.rb +156 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/rack/typhoeus/middleware/params_decoder_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/spec_helper.rb +29 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/localhost_server.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/memory_cache.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/support/server.rb +116 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/adapters/faraday_spec.rb +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/cache/dalli_spec.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/cache/redis_spec.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/config_spec.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/easy_factory_spec.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/errors/no_stub_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/expectation_spec.rb +280 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/addable_spec.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/before_spec.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/block_connection_spec.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/cacheable_spec.rb +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/memoizable_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/queueable_spec.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/runnable_spec.rb +137 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra/stubbable_spec.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/hydra_spec.rb +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/pool_spec.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/actions_spec.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/before_spec.rb +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/block_connection_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/cacheable_spec.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/callbacks_spec.rb +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/marshal_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/memoizable_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/operations_spec.rb +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/responseable_spec.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request/stubbable_spec.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/request_spec.rb +232 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/header_spec.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/informations_spec.rb +283 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response/status_spec.rb +256 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus/response_spec.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/spec/typhoeus_spec.rb +105 -0
- data/vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.0/typhoeus.gemspec +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/CHANGELOG.md +710 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/CONTRIBUTING.md +26 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/README.md +339 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/Upgrade.md +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/about_these_examples.md +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/allow_unused_http_interactions.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/automatic_re_recording.feature +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/decompress.feature +74 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/dynamic_erb.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/exclusive.feature +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/format.feature +411 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/freezing_time.feature +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/naming.feature +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/no_cassette.feature +152 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/cassettes/update_content_length_header.feature +112 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/allow_http_connections_when_no_cassette.feature +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/cassette_library_dir.feature +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/debug_logging.feature +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/default_cassette_options.feature +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/filter_sensitive_data.feature +153 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/hook_into.feature +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/ignore_request.feature +192 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/preserve_exact_body_bytes.feature +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/query_parser.feature +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/configuration/uri_parser.feature +93 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/getting_started.md +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/after_http_request.feature +58 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/around_http_request.feature +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_http_request.feature +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_playback.feature +184 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/hooks/before_record.feature +172 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/http_libraries/em_http_request.feature +250 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/http_libraries/net_http.feature +179 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/middleware/faraday.feature +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/middleware/rack.feature +92 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/all.feature +82 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/new_episodes.feature +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/none.feature +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/record_modes/once.feature +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/README.md +30 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/body.feature +91 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/body_as_json.feature +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/custom_matcher.feature +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/headers.feature +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/host.feature +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/identical_request_sequence.feature +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/method.feature +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/path.feature +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/playback_repeats.feature +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/query.feature +97 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/uri.feature +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/request_matching/uri_without_param.feature +101 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/step_definitions/cli_steps.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/support/env.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/support/http_lib_filters.rb +46 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/cucumber.feature +211 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/rspec_macro.feature +81 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/rspec_metadata.feature +150 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/features/test_frameworks/test_unit.feature +49 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr.rb +430 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette.rb +298 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/erb_renderer.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/http_interaction_list.rb +108 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/migrator.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/persisters.rb +42 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/persisters/file_system.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/compressed.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/json.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/psych.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/syck.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/cassette/serializers/yaml.rb +50 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/configuration.rb +576 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/deprecations.rb +109 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/errors.rb +315 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/extensions/net_http_response.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/excon.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/fakeweb.rb +197 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/faraday.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus.rb +120 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/typhoeus_0.4.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/library_hooks/webmock.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/linked_cassette.rb +72 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/excon.rb +221 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/excon/legacy_methods.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/faraday.rb +118 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/middleware/rack.rb +79 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_handler.rb +114 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_ignorer.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/request_matcher_registry.rb +149 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/structs.rb +578 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/tasks/vcr.rake +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/test_frameworks/cucumber.rb +98 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/test_frameworks/rspec.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/hooks.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/internet_connection.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/logger.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb +13 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/version_checker.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/version.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/acceptance/concurrency_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/acceptance/threading_spec.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/1_x_cassette.yml +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/empty.yml +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/example.yml +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/cassette_spec/with_localhost_requests.yml +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/fake_example_responses.yml +110 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/fixtures/match_requests_on.yml +187 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/erb_renderer_spec.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/http_interaction_list_spec.rb +295 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/migrator_spec.rb +196 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters/file_system_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/persisters_spec.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette/serializers_spec.rb +182 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/cassette_spec.rb +618 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/configuration_spec.rb +326 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/deprecations_spec.rb +85 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/errors_spec.rb +178 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/extensions/net_http_response_spec.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/excon_spec.rb +104 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/fakeweb_spec.rb +169 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/faraday_spec.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_0.4_spec.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/typhoeus_spec.rb +162 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks/webmock_spec.rb +117 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/library_hooks_spec.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/middleware/faraday_spec.rb +181 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/middleware/rack_spec.rb +115 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/request_ignorer_spec.rb +70 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/request_matcher_registry_spec.rb +345 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/structs_spec.rb +732 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/cucumber_spec.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/test_frameworks/rspec_spec.rb +94 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/hooks_spec.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/internet_connection_spec.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/util/version_checker_spec.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr/version_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/lib/vcr_spec.rb +354 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/monkey_patches.rb +186 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/spec_helper.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/configuration_stubbing.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/cucumber_helpers.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/fixnum_extension.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/http_library_adapters.rb +289 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/limited_uri.rb +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/ruby_interpreter.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/excon.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/hook_into_http_library.rb +594 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/shared_example_groups/request_hooks.rb +59 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/sinatra_app.rb +86 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/vcr_localhost_server.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/spec/support/vcr_stub_helpers.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.gemtest +0 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.gitignore +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.rspec-tm +2 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/.travis.yml +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Appraisals +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/CHANGELOG.md +1349 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Gemfile +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/LICENSE +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/README.md +1060 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/Rakefile +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/gemfiles/ruby_1_8.gemfile +21 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock.rb +66 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/api.rb +96 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/assertion_failure.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/callback_registry.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/config.rb +18 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/cucumber.rb +8 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/deprecation.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/errors.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/curb_adapter.rb +272 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb +228 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/em_http_request_adapter.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/excon_adapter.rb +154 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_lib_adapter.rb +7 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/client.rb +14 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/request.rb +10 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/response.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/streamer.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb/webmock.rb +68 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_rb_adapter.rb +37 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/httpclient_adapter.rb +277 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/manticore_adapter.rb +123 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/net_http.rb +338 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/net_http_response.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/patron_adapter.rb +126 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb +170 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/matchers/hash_including_matcher.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/minitest.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rack_response.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_body_diff.rb +63 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_execution_verifier.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_pattern.rb +328 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_registry.rb +35 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_signature.rb +54 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_signature_snippet.rb +61 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/request_stub.rb +100 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/response.rb +160 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/responses_sequence.rb +40 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers/request_pattern_matcher.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/rspec/matchers/webmock_matcher.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/stub_registry.rb +67 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/stub_request_snippet.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/test_unit.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_counter.rb +32 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_keys_stringifier.rb +25 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/hash_validator.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/headers.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/json.rb +78 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/query_mapper.rb +279 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/uri.rb +111 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/util/version_checker.rb +107 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/version.rb +3 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/lib/webmock/webmock.rb +158 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/test_helper.rb +34 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/test_webmock.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/minitest/webmock_spec.rb +60 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/curb/curb_spec.rb +416 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/curb/curb_spec_helper.rb +144 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/em_http_request/em_http_request_spec.rb +406 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/em_http_request/em_http_request_spec_helper.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/excon/excon_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/excon/excon_spec_helper.rb +43 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/http_rb/http_rb_spec.rb +73 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/http_rb/http_rb_spec_helper.rb +45 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/httpclient/httpclient_spec.rb +205 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/httpclient/httpclient_spec_helper.rb +48 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/manticore/manticore_spec.rb +56 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/manticore/manticore_spec_helper.rb +31 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_shared.rb +142 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_spec.rb +316 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/net_http_spec_helper.rb +55 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/net_http/real_net_http_spec.rb +20 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/patron/patron_spec.rb +134 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/patron/patron_spec_helper.rb +51 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +313 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/callbacks.rb +147 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/complex_cross_concern_behaviors.rb +36 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/enabling_and_disabling_webmock.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/precedence_of_stubs.rb +15 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/request_expectations.rb +859 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/returning_declared_responses.rb +388 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/shared/stubbing_requests.rb +528 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/typhoeus/typhoeus_hydra_spec.rb +135 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb +57 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/acceptance/webmock_shared.rb +41 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/fixtures/test.txt +1 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/quality_spec.rb +84 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/spec_helper.rb +52 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/example_curl_output.txt +22 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/failures.rb +9 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/my_rack_app.rb +53 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/network_connection.rb +19 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/support/webmock_server.rb +69 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/api_spec.rb +75 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/errors_spec.rb +129 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb +17 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/http_lib_adapters/http_lib_adapter_spec.rb +12 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/matchers/hash_including_matcher_spec.rb +87 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/rack_response_spec.rb +102 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_body_diff_spec.rb +90 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_execution_verifier_spec.rb +208 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_pattern_spec.rb +590 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_registry_spec.rb +76 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_signature_snippet_spec.rb +89 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_signature_spec.rb +155 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/request_stub_spec.rb +199 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/response_spec.rb +282 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/stub_registry_spec.rb +103 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/stub_request_snippet_spec.rb +95 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/hash_counter_spec.rb +39 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/hash_keys_stringifier_spec.rb +27 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/headers_spec.rb +28 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/json_spec.rb +33 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/query_mapper_spec.rb +138 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/uri_spec.rb +299 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/util/version_checker_spec.rb +65 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/spec/unit/webmock_spec.rb +11 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/http_request.rb +24 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/shared_test.rb +88 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/test_helper.rb +23 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/test/test_webmock.rb +6 -0
- data/vendor/bundle/ruby/2.3.0/gems/webmock-1.24.6/webmock.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ZenTest-4.11.1.gemspec +40 -0
- data/vendor/bundle/ruby/2.3.0/specifications/addressable-2.5.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-4.4.6.gemspec +44 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-fsevent-0.2.13.gemspec +45 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-growl-0.2.16.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/autotest-rails-pure-4.1.2.gemspec +18 -0
- data/vendor/bundle/ruby/2.3.0/specifications/crack-0.4.3.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ethon-0.11.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/ffi-1.9.18.gemspec +49 -0
- data/vendor/bundle/ruby/2.3.0/specifications/hashdiff-0.3.7.gemspec +39 -0
- data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.3.0/specifications/public_suffix-3.0.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rake-12.0.0.gemspec +43 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.7.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.3.0/specifications/safe_yaml-1.0.4.gemspec +23 -0
- data/vendor/bundle/ruby/2.3.0/specifications/sys-uname-1.0.3.gemspec +35 -0
- data/vendor/bundle/ruby/2.3.0/specifications/typhoeus-1.3.0.gemspec +32 -0
- data/vendor/bundle/ruby/2.3.0/specifications/vcr-3.0.3.gemspec +96 -0
- data/vendor/bundle/ruby/2.3.0/specifications/webmock-1.24.6.gemspec +75 -0
- metadata +2201 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
module RSpec
|
2
|
+
module Expectations
|
3
|
+
# @private
|
4
|
+
module ExpectationHelper
|
5
|
+
def self.check_message(msg)
|
6
|
+
unless msg.nil? || msg.respond_to?(:to_str) || msg.respond_to?(:call)
|
7
|
+
::Kernel.warn [
|
8
|
+
"WARNING: ignoring the provided expectation message argument (",
|
9
|
+
msg.inspect,
|
10
|
+
") since it is not a string or a proc."
|
11
|
+
].join
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# Returns an RSpec-3+ compatible matcher, wrapping a legacy one
|
16
|
+
# in an adapter if necessary.
|
17
|
+
#
|
18
|
+
# @private
|
19
|
+
def self.modern_matcher_from(matcher)
|
20
|
+
LegacyMatcherAdapter::RSpec2.wrap(matcher) ||
|
21
|
+
LegacyMatcherAdapter::RSpec1.wrap(matcher) || matcher
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.with_matcher(handler, matcher, message)
|
25
|
+
check_message(message)
|
26
|
+
matcher = modern_matcher_from(matcher)
|
27
|
+
yield matcher
|
28
|
+
ensure
|
29
|
+
::RSpec::Matchers.last_expectation_handler = handler
|
30
|
+
::RSpec::Matchers.last_matcher = matcher
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.handle_failure(matcher, message, failure_message_method)
|
34
|
+
message = message.call if message.respond_to?(:call)
|
35
|
+
message ||= matcher.__send__(failure_message_method)
|
36
|
+
|
37
|
+
if matcher.respond_to?(:diffable?) && matcher.diffable?
|
38
|
+
::RSpec::Expectations.fail_with message, matcher.expected, matcher.actual
|
39
|
+
else
|
40
|
+
::RSpec::Expectations.fail_with message
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# @private
|
46
|
+
class PositiveExpectationHandler
|
47
|
+
def self.handle_matcher(actual, initial_matcher, message=nil, &block)
|
48
|
+
ExpectationHelper.with_matcher(self, initial_matcher, message) do |matcher|
|
49
|
+
return ::RSpec::Matchers::BuiltIn::PositiveOperatorMatcher.new(actual) unless initial_matcher
|
50
|
+
matcher.matches?(actual, &block) || ExpectationHelper.handle_failure(matcher, message, :failure_message)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.verb
|
55
|
+
"should"
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.should_method
|
59
|
+
:should
|
60
|
+
end
|
61
|
+
|
62
|
+
def self.opposite_should_method
|
63
|
+
:should_not
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# @private
|
68
|
+
class NegativeExpectationHandler
|
69
|
+
def self.handle_matcher(actual, initial_matcher, message=nil, &block)
|
70
|
+
ExpectationHelper.with_matcher(self, initial_matcher, message) do |matcher|
|
71
|
+
return ::RSpec::Matchers::BuiltIn::NegativeOperatorMatcher.new(actual) unless initial_matcher
|
72
|
+
does_not_match?(matcher, actual, &block) || ExpectationHelper.handle_failure(matcher, message, :failure_message_when_negated)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def self.does_not_match?(matcher, actual, &block)
|
77
|
+
if matcher.respond_to?(:does_not_match?)
|
78
|
+
matcher.does_not_match?(actual, &block)
|
79
|
+
else
|
80
|
+
!matcher.matches?(actual, &block)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
def self.verb
|
85
|
+
"should not"
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.should_method
|
89
|
+
:should_not
|
90
|
+
end
|
91
|
+
|
92
|
+
def self.opposite_should_method
|
93
|
+
:should
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# Wraps a matcher written against one of the legacy protocols in
|
98
|
+
# order to present the current protocol.
|
99
|
+
#
|
100
|
+
# @private
|
101
|
+
class LegacyMatcherAdapter < Matchers::MatcherDelegator
|
102
|
+
def initialize(matcher)
|
103
|
+
super
|
104
|
+
::RSpec.warn_deprecation(<<-EOS.gsub(/^\s+\|/, ''), :type => "legacy_matcher")
|
105
|
+
|#{matcher.class.name || matcher.inspect} implements a legacy RSpec matcher
|
106
|
+
|protocol. For the current protocol you should expose the failure messages
|
107
|
+
|via the `failure_message` and `failure_message_when_negated` methods.
|
108
|
+
|(Used from #{CallerFilter.first_non_rspec_line})
|
109
|
+
EOS
|
110
|
+
end
|
111
|
+
|
112
|
+
def self.wrap(matcher)
|
113
|
+
new(matcher) if interface_matches?(matcher)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Starting in RSpec 1.2 (and continuing through all 2.x releases),
|
117
|
+
# the failure message protocol was:
|
118
|
+
# * `failure_message_for_should`
|
119
|
+
# * `failure_message_for_should_not`
|
120
|
+
# @private
|
121
|
+
class RSpec2 < self
|
122
|
+
def failure_message
|
123
|
+
base_matcher.failure_message_for_should
|
124
|
+
end
|
125
|
+
|
126
|
+
def failure_message_when_negated
|
127
|
+
base_matcher.failure_message_for_should_not
|
128
|
+
end
|
129
|
+
|
130
|
+
def self.interface_matches?(matcher)
|
131
|
+
(
|
132
|
+
!matcher.respond_to?(:failure_message) &&
|
133
|
+
matcher.respond_to?(:failure_message_for_should)
|
134
|
+
) || (
|
135
|
+
!matcher.respond_to?(:failure_message_when_negated) &&
|
136
|
+
matcher.respond_to?(:failure_message_for_should_not)
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Before RSpec 1.2, the failure message protocol was:
|
142
|
+
# * `failure_message`
|
143
|
+
# * `negative_failure_message`
|
144
|
+
# @private
|
145
|
+
class RSpec1 < self
|
146
|
+
def failure_message
|
147
|
+
base_matcher.failure_message
|
148
|
+
end
|
149
|
+
|
150
|
+
def failure_message_when_negated
|
151
|
+
base_matcher.negative_failure_message
|
152
|
+
end
|
153
|
+
|
154
|
+
# Note: `failure_message` is part of the RSpec 3 protocol
|
155
|
+
# (paired with `failure_message_when_negated`), so we don't check
|
156
|
+
# for `failure_message` here.
|
157
|
+
def self.interface_matches?(matcher)
|
158
|
+
!matcher.respond_to?(:failure_message_when_negated) &&
|
159
|
+
matcher.respond_to?(:negative_failure_message)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# RSpec 3.0 was released with the class name misspelled. For SemVer compatibility,
|
165
|
+
# we will provide this misspelled alias until 4.0.
|
166
|
+
# @deprecated Use LegacyMatcherAdapter instead.
|
167
|
+
# @private
|
168
|
+
LegacyMacherAdapter = LegacyMatcherAdapter
|
169
|
+
end
|
170
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'rspec/expectations'
|
2
|
+
|
3
|
+
Minitest::Test.class_eval do
|
4
|
+
include ::RSpec::Matchers
|
5
|
+
|
6
|
+
# This `expect` will only be called if the user is using Minitest < 5.6
|
7
|
+
# or if they are _not_ using Minitest::Spec on 5.6+. Minitest::Spec on 5.6+
|
8
|
+
# defines its own `expect` and will have the assertions incremented via our
|
9
|
+
# definitions of `to`/`not_to`/`to_not` below.
|
10
|
+
def expect(*a, &b)
|
11
|
+
self.assertions += 1
|
12
|
+
super
|
13
|
+
end
|
14
|
+
|
15
|
+
# Convert a `MultipleExpectationsNotMetError` to a `Minitest::Assertion` error so
|
16
|
+
# it gets counted in minitest's summary stats as a failure rather than an error.
|
17
|
+
# It would be nice to make `MultipleExpectationsNotMetError` subclass
|
18
|
+
# `Minitest::Assertion`, but Minitest's implementation does not treat subclasses
|
19
|
+
# the same, so this is the best we can do.
|
20
|
+
def aggregate_failures(*args, &block)
|
21
|
+
super
|
22
|
+
rescue RSpec::Expectations::MultipleExpectationsNotMetError => e
|
23
|
+
assertion_failed = Minitest::Assertion.new(e.message)
|
24
|
+
assertion_failed.set_backtrace e.backtrace
|
25
|
+
raise assertion_failed
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# Older versions of Minitest (e.g. before 5.6) do not define
|
30
|
+
# `Minitest::Expectation`.
|
31
|
+
if defined?(::Minitest::Expectation)
|
32
|
+
Minitest::Expectation.class_eval do
|
33
|
+
include RSpec::Expectations::ExpectationTarget::InstanceMethods
|
34
|
+
|
35
|
+
def to(*args)
|
36
|
+
ctx.assertions += 1
|
37
|
+
super
|
38
|
+
end
|
39
|
+
|
40
|
+
def not_to(*args)
|
41
|
+
ctx.assertions += 1
|
42
|
+
super
|
43
|
+
end
|
44
|
+
|
45
|
+
def to_not(*args)
|
46
|
+
ctx.assertions += 1
|
47
|
+
super
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
module RSpec
|
53
|
+
module Expectations
|
54
|
+
remove_const :ExpectationNotMetError
|
55
|
+
# Exception raised when an expectation fails.
|
56
|
+
ExpectationNotMetError = ::Minitest::Assertion
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,132 @@
|
|
1
|
+
module RSpec
|
2
|
+
module Expectations
|
3
|
+
# @api private
|
4
|
+
# Provides methods for enabling and disabling the available
|
5
|
+
# syntaxes provided by rspec-expectations.
|
6
|
+
module Syntax
|
7
|
+
module_function
|
8
|
+
|
9
|
+
# @api private
|
10
|
+
# Determines where we add `should` and `should_not`.
|
11
|
+
def default_should_host
|
12
|
+
@default_should_host ||= ::Object.ancestors.last
|
13
|
+
end
|
14
|
+
|
15
|
+
# @api private
|
16
|
+
# Instructs rspec-expectations to warn on first usage of `should` or `should_not`.
|
17
|
+
# Enabled by default. This is largely here to facilitate testing.
|
18
|
+
def warn_about_should!
|
19
|
+
@warn_about_should = true
|
20
|
+
end
|
21
|
+
|
22
|
+
# @api private
|
23
|
+
# Generates a deprecation warning for the given method if no warning
|
24
|
+
# has already been issued.
|
25
|
+
def warn_about_should_unless_configured(method_name)
|
26
|
+
return unless @warn_about_should
|
27
|
+
|
28
|
+
RSpec.deprecate(
|
29
|
+
"Using `#{method_name}` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax",
|
30
|
+
:replacement => "the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }`"
|
31
|
+
)
|
32
|
+
|
33
|
+
@warn_about_should = false
|
34
|
+
end
|
35
|
+
|
36
|
+
# @api private
|
37
|
+
# Enables the `should` syntax.
|
38
|
+
def enable_should(syntax_host=default_should_host)
|
39
|
+
@warn_about_should = false if syntax_host == default_should_host
|
40
|
+
return if should_enabled?(syntax_host)
|
41
|
+
|
42
|
+
syntax_host.module_exec do
|
43
|
+
def should(matcher=nil, message=nil, &block)
|
44
|
+
::RSpec::Expectations::Syntax.warn_about_should_unless_configured(::Kernel.__method__)
|
45
|
+
::RSpec::Expectations::PositiveExpectationHandler.handle_matcher(self, matcher, message, &block)
|
46
|
+
end
|
47
|
+
|
48
|
+
def should_not(matcher=nil, message=nil, &block)
|
49
|
+
::RSpec::Expectations::Syntax.warn_about_should_unless_configured(::Kernel.__method__)
|
50
|
+
::RSpec::Expectations::NegativeExpectationHandler.handle_matcher(self, matcher, message, &block)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# @api private
|
56
|
+
# Disables the `should` syntax.
|
57
|
+
def disable_should(syntax_host=default_should_host)
|
58
|
+
return unless should_enabled?(syntax_host)
|
59
|
+
|
60
|
+
syntax_host.module_exec do
|
61
|
+
undef should
|
62
|
+
undef should_not
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# @api private
|
67
|
+
# Enables the `expect` syntax.
|
68
|
+
def enable_expect(syntax_host=::RSpec::Matchers)
|
69
|
+
return if expect_enabled?(syntax_host)
|
70
|
+
|
71
|
+
syntax_host.module_exec do
|
72
|
+
def expect(value=::RSpec::Expectations::ExpectationTarget::UndefinedValue, &block)
|
73
|
+
::RSpec::Expectations::ExpectationTarget.for(value, block)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# @api private
|
79
|
+
# Disables the `expect` syntax.
|
80
|
+
def disable_expect(syntax_host=::RSpec::Matchers)
|
81
|
+
return unless expect_enabled?(syntax_host)
|
82
|
+
|
83
|
+
syntax_host.module_exec do
|
84
|
+
undef expect
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# @api private
|
89
|
+
# Indicates whether or not the `should` syntax is enabled.
|
90
|
+
def should_enabled?(syntax_host=default_should_host)
|
91
|
+
syntax_host.method_defined?(:should)
|
92
|
+
end
|
93
|
+
|
94
|
+
# @api private
|
95
|
+
# Indicates whether or not the `expect` syntax is enabled.
|
96
|
+
def expect_enabled?(syntax_host=::RSpec::Matchers)
|
97
|
+
syntax_host.method_defined?(:expect)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
if defined?(BasicObject)
|
104
|
+
# The legacy `:should` syntax adds the following methods directly to
|
105
|
+
# `BasicObject` so that they are available off of any object. Note, however,
|
106
|
+
# that this syntax does not always play nice with delegate/proxy objects.
|
107
|
+
# We recommend you use the non-monkeypatching `:expect` syntax instead.
|
108
|
+
class BasicObject
|
109
|
+
# @method should
|
110
|
+
# Passes if `matcher` returns true. Available on every `Object`.
|
111
|
+
# @example
|
112
|
+
# actual.should eq expected
|
113
|
+
# actual.should match /expression/
|
114
|
+
# @param [Matcher]
|
115
|
+
# matcher
|
116
|
+
# @param [String] message optional message to display when the expectation fails
|
117
|
+
# @return [Boolean] true if the expectation succeeds (else raises)
|
118
|
+
# @note This is only available when you have enabled the `:should` syntax.
|
119
|
+
# @see RSpec::Matchers
|
120
|
+
|
121
|
+
# @method should_not
|
122
|
+
# Passes if `matcher` returns false. Available on every `Object`.
|
123
|
+
# @example
|
124
|
+
# actual.should_not eq expected
|
125
|
+
# @param [Matcher]
|
126
|
+
# matcher
|
127
|
+
# @param [String] message optional message to display when the expectation fails
|
128
|
+
# @return [Boolean] false if the negative expectation succeeds (else raises)
|
129
|
+
# @note This is only available when you have enabled the `:should` syntax.
|
130
|
+
# @see RSpec::Matchers
|
131
|
+
end
|
132
|
+
end
|
@@ -0,0 +1,1031 @@
|
|
1
|
+
require 'rspec/support'
|
2
|
+
RSpec::Support.require_rspec_support 'matcher_definition'
|
3
|
+
RSpec::Support.define_optimized_require_for_rspec(:matchers) { |f| require_relative(f) }
|
4
|
+
|
5
|
+
%w[
|
6
|
+
english_phrasing
|
7
|
+
composable
|
8
|
+
built_in
|
9
|
+
generated_descriptions
|
10
|
+
dsl
|
11
|
+
matcher_delegator
|
12
|
+
aliased_matcher
|
13
|
+
expecteds_for_multiple_diffs
|
14
|
+
].each { |file| RSpec::Support.require_rspec_matchers(file) }
|
15
|
+
|
16
|
+
# RSpec's top level namespace. All of rspec-expectations is contained
|
17
|
+
# in the `RSpec::Expectations` and `RSpec::Matchers` namespaces.
|
18
|
+
module RSpec
|
19
|
+
# RSpec::Matchers provides a number of useful matchers we use to define
|
20
|
+
# expectations. Any object that implements the [matcher protocol](Matchers/MatcherProtocol)
|
21
|
+
# can be used as a matcher.
|
22
|
+
#
|
23
|
+
# ## Predicates
|
24
|
+
#
|
25
|
+
# In addition to matchers that are defined explicitly, RSpec will create
|
26
|
+
# custom matchers on the fly for any arbitrary predicate, giving your specs a
|
27
|
+
# much more natural language feel.
|
28
|
+
#
|
29
|
+
# A Ruby predicate is a method that ends with a "?" and returns true or false.
|
30
|
+
# Common examples are `empty?`, `nil?`, and `instance_of?`.
|
31
|
+
#
|
32
|
+
# All you need to do is write `expect(..).to be_` followed by the predicate
|
33
|
+
# without the question mark, and RSpec will figure it out from there.
|
34
|
+
# For example:
|
35
|
+
#
|
36
|
+
# expect([]).to be_empty # => [].empty?() | passes
|
37
|
+
# expect([]).not_to be_empty # => [].empty?() | fails
|
38
|
+
#
|
39
|
+
# In addtion to prefixing the predicate matchers with "be_", you can also use "be_a_"
|
40
|
+
# and "be_an_", making your specs read much more naturally:
|
41
|
+
#
|
42
|
+
# expect("a string").to be_an_instance_of(String) # =>"a string".instance_of?(String) # passes
|
43
|
+
#
|
44
|
+
# expect(3).to be_a_kind_of(Integer) # => 3.kind_of?(Numeric) | passes
|
45
|
+
# expect(3).to be_a_kind_of(Numeric) # => 3.kind_of?(Numeric) | passes
|
46
|
+
# expect(3).to be_an_instance_of(Integer) # => 3.instance_of?(Integer) | passes
|
47
|
+
# expect(3).not_to be_an_instance_of(Numeric) # => 3.instance_of?(Numeric) | fails
|
48
|
+
#
|
49
|
+
# RSpec will also create custom matchers for predicates like `has_key?`. To
|
50
|
+
# use this feature, just state that the object should have_key(:key) and RSpec will
|
51
|
+
# call has_key?(:key) on the target. For example:
|
52
|
+
#
|
53
|
+
# expect(:a => "A").to have_key(:a)
|
54
|
+
# expect(:a => "A").to have_key(:b) # fails
|
55
|
+
#
|
56
|
+
# You can use this feature to invoke any predicate that begins with "has_", whether it is
|
57
|
+
# part of the Ruby libraries (like `Hash#has_key?`) or a method you wrote on your own class.
|
58
|
+
#
|
59
|
+
# Note that RSpec does not provide composable aliases for these dynamic predicate
|
60
|
+
# matchers. You can easily define your own aliases, though:
|
61
|
+
#
|
62
|
+
# RSpec::Matchers.alias_matcher :a_user_who_is_an_admin, :be_an_admin
|
63
|
+
# expect(user_list).to include(a_user_who_is_an_admin)
|
64
|
+
#
|
65
|
+
# ## Alias Matchers
|
66
|
+
#
|
67
|
+
# With {RSpec::Matchers.alias_matcher}, you can easily create an
|
68
|
+
# alternate name for a given matcher.
|
69
|
+
#
|
70
|
+
# The description will also change according to the new name:
|
71
|
+
#
|
72
|
+
# RSpec::Matchers.alias_matcher :a_list_that_sums_to, :sum_to
|
73
|
+
# sum_to(3).description # => "sum to 3"
|
74
|
+
# a_list_that_sums_to(3).description # => "a list that sums to 3"
|
75
|
+
#
|
76
|
+
# or you can specify a custom description like this:
|
77
|
+
#
|
78
|
+
# RSpec::Matchers.alias_matcher :a_list_sorted_by, :be_sorted_by do |description|
|
79
|
+
# description.sub("be sorted by", "a list sorted by")
|
80
|
+
# end
|
81
|
+
#
|
82
|
+
# be_sorted_by(:age).description # => "be sorted by age"
|
83
|
+
# a_list_sorted_by(:age).description # => "a list sorted by age"
|
84
|
+
#
|
85
|
+
# ## Custom Matchers
|
86
|
+
#
|
87
|
+
# When you find that none of the stock matchers provide a natural feeling
|
88
|
+
# expectation, you can very easily write your own using RSpec's matcher DSL
|
89
|
+
# or writing one from scratch.
|
90
|
+
#
|
91
|
+
# ### Matcher DSL
|
92
|
+
#
|
93
|
+
# Imagine that you are writing a game in which players can be in various
|
94
|
+
# zones on a virtual board. To specify that bob should be in zone 4, you
|
95
|
+
# could say:
|
96
|
+
#
|
97
|
+
# expect(bob.current_zone).to eql(Zone.new("4"))
|
98
|
+
#
|
99
|
+
# But you might find it more expressive to say:
|
100
|
+
#
|
101
|
+
# expect(bob).to be_in_zone("4")
|
102
|
+
#
|
103
|
+
# and/or
|
104
|
+
#
|
105
|
+
# expect(bob).not_to be_in_zone("3")
|
106
|
+
#
|
107
|
+
# You can create such a matcher like so:
|
108
|
+
#
|
109
|
+
# RSpec::Matchers.define :be_in_zone do |zone|
|
110
|
+
# match do |player|
|
111
|
+
# player.in_zone?(zone)
|
112
|
+
# end
|
113
|
+
# end
|
114
|
+
#
|
115
|
+
# This will generate a <tt>be_in_zone</tt> method that returns a matcher
|
116
|
+
# with logical default messages for failures. You can override the failure
|
117
|
+
# messages and the generated description as follows:
|
118
|
+
#
|
119
|
+
# RSpec::Matchers.define :be_in_zone do |zone|
|
120
|
+
# match do |player|
|
121
|
+
# player.in_zone?(zone)
|
122
|
+
# end
|
123
|
+
#
|
124
|
+
# failure_message do |player|
|
125
|
+
# # generate and return the appropriate string.
|
126
|
+
# end
|
127
|
+
#
|
128
|
+
# failure_message_when_negated do |player|
|
129
|
+
# # generate and return the appropriate string.
|
130
|
+
# end
|
131
|
+
#
|
132
|
+
# description do
|
133
|
+
# # generate and return the appropriate string.
|
134
|
+
# end
|
135
|
+
# end
|
136
|
+
#
|
137
|
+
# Each of the message-generation methods has access to the block arguments
|
138
|
+
# passed to the <tt>create</tt> method (in this case, <tt>zone</tt>). The
|
139
|
+
# failure message methods (<tt>failure_message</tt> and
|
140
|
+
# <tt>failure_message_when_negated</tt>) are passed the actual value (the
|
141
|
+
# receiver of <tt>expect(..)</tt> or <tt>expect(..).not_to</tt>).
|
142
|
+
#
|
143
|
+
# ### Custom Matcher from scratch
|
144
|
+
#
|
145
|
+
# You could also write a custom matcher from scratch, as follows:
|
146
|
+
#
|
147
|
+
# class BeInZone
|
148
|
+
# def initialize(expected)
|
149
|
+
# @expected = expected
|
150
|
+
# end
|
151
|
+
#
|
152
|
+
# def matches?(target)
|
153
|
+
# @target = target
|
154
|
+
# @target.current_zone.eql?(Zone.new(@expected))
|
155
|
+
# end
|
156
|
+
#
|
157
|
+
# def failure_message
|
158
|
+
# "expected #{@target.inspect} to be in Zone #{@expected}"
|
159
|
+
# end
|
160
|
+
#
|
161
|
+
# def failure_message_when_negated
|
162
|
+
# "expected #{@target.inspect} not to be in Zone #{@expected}"
|
163
|
+
# end
|
164
|
+
# end
|
165
|
+
#
|
166
|
+
# ... and a method like this:
|
167
|
+
#
|
168
|
+
# def be_in_zone(expected)
|
169
|
+
# BeInZone.new(expected)
|
170
|
+
# end
|
171
|
+
#
|
172
|
+
# And then expose the method to your specs. This is normally done
|
173
|
+
# by including the method and the class in a module, which is then
|
174
|
+
# included in your spec:
|
175
|
+
#
|
176
|
+
# module CustomGameMatchers
|
177
|
+
# class BeInZone
|
178
|
+
# # ...
|
179
|
+
# end
|
180
|
+
#
|
181
|
+
# def be_in_zone(expected)
|
182
|
+
# # ...
|
183
|
+
# end
|
184
|
+
# end
|
185
|
+
#
|
186
|
+
# describe "Player behaviour" do
|
187
|
+
# include CustomGameMatchers
|
188
|
+
# # ...
|
189
|
+
# end
|
190
|
+
#
|
191
|
+
# or you can include in globally in a spec_helper.rb file <tt>require</tt>d
|
192
|
+
# from your spec file(s):
|
193
|
+
#
|
194
|
+
# RSpec::configure do |config|
|
195
|
+
# config.include(CustomGameMatchers)
|
196
|
+
# end
|
197
|
+
#
|
198
|
+
# ### Making custom matchers composable
|
199
|
+
#
|
200
|
+
# RSpec's built-in matchers are designed to be composed, in expressions like:
|
201
|
+
#
|
202
|
+
# expect(["barn", 2.45]).to contain_exactly(
|
203
|
+
# a_value_within(0.1).of(2.5),
|
204
|
+
# a_string_starting_with("bar")
|
205
|
+
# )
|
206
|
+
#
|
207
|
+
# Custom matchers can easily participate in composed matcher expressions like these.
|
208
|
+
# Include {RSpec::Matchers::Composable} in your custom matcher to make it support
|
209
|
+
# being composed (matchers defined using the DSL have this included automatically).
|
210
|
+
# Within your matcher's `matches?` method (or the `match` block, if using the DSL),
|
211
|
+
# use `values_match?(expected, actual)` rather than `expected == actual`.
|
212
|
+
# Under the covers, `values_match?` is able to match arbitrary
|
213
|
+
# nested data structures containing a mix of both matchers and non-matcher objects.
|
214
|
+
# It uses `===` and `==` to perform the matching, considering the values to
|
215
|
+
# match if either returns `true`. The `Composable` mixin also provides some helper
|
216
|
+
# methods for surfacing the matcher descriptions within your matcher's description
|
217
|
+
# or failure messages.
|
218
|
+
#
|
219
|
+
# RSpec's built-in matchers each have a number of aliases that rephrase the matcher
|
220
|
+
# from a verb phrase (such as `be_within`) to a noun phrase (such as `a_value_within`),
|
221
|
+
# which reads better when the matcher is passed as an argument in a composed matcher
|
222
|
+
# expressions, and also uses the noun-phrase wording in the matcher's `description`,
|
223
|
+
# for readable failure messages. You can alias your custom matchers in similar fashion
|
224
|
+
# using {RSpec::Matchers.alias_matcher}.
|
225
|
+
#
|
226
|
+
# ## Negated Matchers
|
227
|
+
#
|
228
|
+
# Sometimes if you want to test for the opposite using a more descriptive name
|
229
|
+
# instead of using `not_to`, you can use {RSpec::Matchers.define_negated_matcher}:
|
230
|
+
#
|
231
|
+
# RSpec::Matchers.define_negated_matcher :exclude, :include
|
232
|
+
# include(1, 2).description # => "include 1 and 2"
|
233
|
+
# exclude(1, 2).description # => "exclude 1 and 2"
|
234
|
+
#
|
235
|
+
# While the most obvious negated form may be to add a `not_` prefix,
|
236
|
+
# the failure messages you get with that form can be confusing (e.g.
|
237
|
+
# "expected [actual] to not [verb], but did not"). We've found it works
|
238
|
+
# best to find a more positive name for the negated form, such as
|
239
|
+
# `avoid_changing` rather than `not_change`.
|
240
|
+
#
|
241
|
+
module Matchers
|
242
|
+
extend ::RSpec::Matchers::DSL
|
243
|
+
|
244
|
+
# @!macro [attach] alias_matcher
|
245
|
+
# @!parse
|
246
|
+
# alias $1 $2
|
247
|
+
# @!visibility private
|
248
|
+
# We define this override here so we can attach a YARD macro to it.
|
249
|
+
# It ensures that our docs list all the matcher aliases.
|
250
|
+
def self.alias_matcher(*args, &block)
|
251
|
+
super(*args, &block)
|
252
|
+
end
|
253
|
+
|
254
|
+
# @!method self.alias_matcher(new_name, old_name, options={}, &description_override)
|
255
|
+
# Extended from {RSpec::Matchers::DSL#alias_matcher}.
|
256
|
+
|
257
|
+
# @!method self.define(name, &declarations)
|
258
|
+
# Extended from {RSpec::Matchers::DSL#define}.
|
259
|
+
|
260
|
+
# @!method self.define_negated_matcher(negated_name, base_name, &description_override)
|
261
|
+
# Extended from {RSpec::Matchers::DSL#define_negated_matcher}.
|
262
|
+
|
263
|
+
# @method expect
|
264
|
+
# Supports `expect(actual).to matcher` syntax by wrapping `actual` in an
|
265
|
+
# `ExpectationTarget`.
|
266
|
+
# @example
|
267
|
+
# expect(actual).to eq(expected)
|
268
|
+
# expect(actual).not_to eq(expected)
|
269
|
+
# @return [ExpectationTarget]
|
270
|
+
# @see ExpectationTarget#to
|
271
|
+
# @see ExpectationTarget#not_to
|
272
|
+
|
273
|
+
# Allows multiple expectations in the provided block to fail, and then
|
274
|
+
# aggregates them into a single exception, rather than aborting on the
|
275
|
+
# first expectation failure like normal. This allows you to see all
|
276
|
+
# failures from an entire set of expectations without splitting each
|
277
|
+
# off into its own example (which may slow things down if the example
|
278
|
+
# setup is expensive).
|
279
|
+
#
|
280
|
+
# @param label [String] label for this aggregation block, which will be
|
281
|
+
# included in the aggregated exception message.
|
282
|
+
# @param metadata [Hash] additional metadata about this failure aggregation
|
283
|
+
# block. If multiple expectations fail, it will be exposed from the
|
284
|
+
# {Expectations::MultipleExpectationsNotMetError} exception. Mostly
|
285
|
+
# intended for internal RSpec use but you can use it as well.
|
286
|
+
# @yield Block containing as many expectation as you want. The block is
|
287
|
+
# simply yielded to, so you can trust that anything that works outside
|
288
|
+
# the block should work within it.
|
289
|
+
# @raise [Expectations::MultipleExpectationsNotMetError] raised when
|
290
|
+
# multiple expectations fail.
|
291
|
+
# @raise [Expectations::ExpectationNotMetError] raised when a single
|
292
|
+
# expectation fails.
|
293
|
+
# @raise [Exception] other sorts of exceptions will be raised as normal.
|
294
|
+
#
|
295
|
+
# @example
|
296
|
+
# aggregate_failures("verifying response") do
|
297
|
+
# expect(response.status).to eq(200)
|
298
|
+
# expect(response.headers).to include("Content-Type" => "text/plain")
|
299
|
+
# expect(response.body).to include("Success")
|
300
|
+
# end
|
301
|
+
#
|
302
|
+
# @note The implementation of this feature uses a thread-local variable,
|
303
|
+
# which means that if you have an expectation failure in another thread,
|
304
|
+
# it'll abort like normal.
|
305
|
+
def aggregate_failures(label=nil, metadata={}, &block)
|
306
|
+
Expectations::FailureAggregator.new(label, metadata).aggregate(&block)
|
307
|
+
end
|
308
|
+
|
309
|
+
# Passes if actual is truthy (anything but false or nil)
|
310
|
+
def be_truthy
|
311
|
+
BuiltIn::BeTruthy.new
|
312
|
+
end
|
313
|
+
alias_matcher :a_truthy_value, :be_truthy
|
314
|
+
|
315
|
+
# Passes if actual is falsey (false or nil)
|
316
|
+
def be_falsey
|
317
|
+
BuiltIn::BeFalsey.new
|
318
|
+
end
|
319
|
+
alias_matcher :be_falsy, :be_falsey
|
320
|
+
alias_matcher :a_falsey_value, :be_falsey
|
321
|
+
alias_matcher :a_falsy_value, :be_falsey
|
322
|
+
|
323
|
+
# Passes if actual is nil
|
324
|
+
def be_nil
|
325
|
+
BuiltIn::BeNil.new
|
326
|
+
end
|
327
|
+
alias_matcher :a_nil_value, :be_nil
|
328
|
+
|
329
|
+
# @example
|
330
|
+
# expect(actual).to be_truthy
|
331
|
+
# expect(actual).to be_falsey
|
332
|
+
# expect(actual).to be_nil
|
333
|
+
# expect(actual).to be_[arbitrary_predicate](*args)
|
334
|
+
# expect(actual).not_to be_nil
|
335
|
+
# expect(actual).not_to be_[arbitrary_predicate](*args)
|
336
|
+
#
|
337
|
+
# Given true, false, or nil, will pass if actual value is true, false or
|
338
|
+
# nil (respectively). Given no args means the caller should satisfy an if
|
339
|
+
# condition (to be or not to be).
|
340
|
+
#
|
341
|
+
# Predicates are any Ruby method that ends in a "?" and returns true or
|
342
|
+
# false. Given be_ followed by arbitrary_predicate (without the "?"),
|
343
|
+
# RSpec will match convert that into a query against the target object.
|
344
|
+
#
|
345
|
+
# The arbitrary_predicate feature will handle any predicate prefixed with
|
346
|
+
# "be_an_" (e.g. be_an_instance_of), "be_a_" (e.g. be_a_kind_of) or "be_"
|
347
|
+
# (e.g. be_empty), letting you choose the prefix that best suits the
|
348
|
+
# predicate.
|
349
|
+
def be(*args)
|
350
|
+
args.empty? ? Matchers::BuiltIn::Be.new : equal(*args)
|
351
|
+
end
|
352
|
+
alias_matcher :a_value, :be, :klass => AliasedMatcherWithOperatorSupport
|
353
|
+
|
354
|
+
# passes if target.kind_of?(klass)
|
355
|
+
def be_a(klass)
|
356
|
+
be_a_kind_of(klass)
|
357
|
+
end
|
358
|
+
alias_method :be_an, :be_a
|
359
|
+
|
360
|
+
# Passes if actual.instance_of?(expected)
|
361
|
+
#
|
362
|
+
# @example
|
363
|
+
# expect(5).to be_an_instance_of(Integer)
|
364
|
+
# expect(5).not_to be_an_instance_of(Numeric)
|
365
|
+
# expect(5).not_to be_an_instance_of(Float)
|
366
|
+
def be_an_instance_of(expected)
|
367
|
+
BuiltIn::BeAnInstanceOf.new(expected)
|
368
|
+
end
|
369
|
+
alias_method :be_instance_of, :be_an_instance_of
|
370
|
+
alias_matcher :an_instance_of, :be_an_instance_of
|
371
|
+
|
372
|
+
# Passes if actual.kind_of?(expected)
|
373
|
+
#
|
374
|
+
# @example
|
375
|
+
# expect(5).to be_a_kind_of(Integer)
|
376
|
+
# expect(5).to be_a_kind_of(Numeric)
|
377
|
+
# expect(5).not_to be_a_kind_of(Float)
|
378
|
+
def be_a_kind_of(expected)
|
379
|
+
BuiltIn::BeAKindOf.new(expected)
|
380
|
+
end
|
381
|
+
alias_method :be_kind_of, :be_a_kind_of
|
382
|
+
alias_matcher :a_kind_of, :be_a_kind_of
|
383
|
+
|
384
|
+
# Passes if actual.between?(min, max). Works with any Comparable object,
|
385
|
+
# including String, Symbol, Time, or Numeric (Fixnum, Bignum, Integer,
|
386
|
+
# Float, Complex, and Rational).
|
387
|
+
#
|
388
|
+
# By default, `be_between` is inclusive (i.e. passes when given either the max or min value),
|
389
|
+
# but you can make it `exclusive` by chaining that off the matcher.
|
390
|
+
#
|
391
|
+
# @example
|
392
|
+
# expect(5).to be_between(1, 10)
|
393
|
+
# expect(11).not_to be_between(1, 10)
|
394
|
+
# expect(10).not_to be_between(1, 10).exclusive
|
395
|
+
def be_between(min, max)
|
396
|
+
BuiltIn::BeBetween.new(min, max)
|
397
|
+
end
|
398
|
+
alias_matcher :a_value_between, :be_between
|
399
|
+
|
400
|
+
# Passes if actual == expected +/- delta
|
401
|
+
#
|
402
|
+
# @example
|
403
|
+
# expect(result).to be_within(0.5).of(3.0)
|
404
|
+
# expect(result).not_to be_within(0.5).of(3.0)
|
405
|
+
def be_within(delta)
|
406
|
+
BuiltIn::BeWithin.new(delta)
|
407
|
+
end
|
408
|
+
alias_matcher :a_value_within, :be_within
|
409
|
+
alias_matcher :within, :be_within
|
410
|
+
|
411
|
+
# Applied to a proc, specifies that its execution will cause some value to
|
412
|
+
# change.
|
413
|
+
#
|
414
|
+
# @param [Object] receiver
|
415
|
+
# @param [Symbol] message the message to send the receiver
|
416
|
+
#
|
417
|
+
# You can either pass <tt>receiver</tt> and <tt>message</tt>, or a block,
|
418
|
+
# but not both.
|
419
|
+
#
|
420
|
+
# When passing a block, it must use the `{ ... }` format, not
|
421
|
+
# do/end, as `{ ... }` binds to the `change` method, whereas do/end
|
422
|
+
# would errantly bind to the `expect(..).to` or `expect(...).not_to` method.
|
423
|
+
#
|
424
|
+
# You can chain any of the following off of the end to specify details
|
425
|
+
# about the change:
|
426
|
+
#
|
427
|
+
# * `from`
|
428
|
+
# * `to`
|
429
|
+
#
|
430
|
+
# or any one of:
|
431
|
+
#
|
432
|
+
# * `by`
|
433
|
+
# * `by_at_least`
|
434
|
+
# * `by_at_most`
|
435
|
+
#
|
436
|
+
# @example
|
437
|
+
# expect {
|
438
|
+
# team.add_player(player)
|
439
|
+
# }.to change(roster, :count)
|
440
|
+
#
|
441
|
+
# expect {
|
442
|
+
# team.add_player(player)
|
443
|
+
# }.to change(roster, :count).by(1)
|
444
|
+
#
|
445
|
+
# expect {
|
446
|
+
# team.add_player(player)
|
447
|
+
# }.to change(roster, :count).by_at_least(1)
|
448
|
+
#
|
449
|
+
# expect {
|
450
|
+
# team.add_player(player)
|
451
|
+
# }.to change(roster, :count).by_at_most(1)
|
452
|
+
#
|
453
|
+
# string = "string"
|
454
|
+
# expect {
|
455
|
+
# string.reverse!
|
456
|
+
# }.to change { string }.from("string").to("gnirts")
|
457
|
+
#
|
458
|
+
# string = "string"
|
459
|
+
# expect {
|
460
|
+
# string
|
461
|
+
# }.not_to change { string }.from("string")
|
462
|
+
#
|
463
|
+
# expect {
|
464
|
+
# person.happy_birthday
|
465
|
+
# }.to change(person, :birthday).from(32).to(33)
|
466
|
+
#
|
467
|
+
# expect {
|
468
|
+
# employee.develop_great_new_social_networking_app
|
469
|
+
# }.to change(employee, :title).from("Mail Clerk").to("CEO")
|
470
|
+
#
|
471
|
+
# expect {
|
472
|
+
# doctor.leave_office
|
473
|
+
# }.to change(doctor, :sign).from(/is in/).to(/is out/)
|
474
|
+
#
|
475
|
+
# user = User.new(:type => "admin")
|
476
|
+
# expect {
|
477
|
+
# user.symbolize_type
|
478
|
+
# }.to change(user, :type).from(String).to(Symbol)
|
479
|
+
#
|
480
|
+
# == Notes
|
481
|
+
#
|
482
|
+
# Evaluates `receiver.message` or `block` before and after it
|
483
|
+
# evaluates the block passed to `expect`.
|
484
|
+
#
|
485
|
+
# `expect( ... ).not_to change` supports the form that specifies `from`
|
486
|
+
# (which specifies what you expect the starting, unchanged value to be)
|
487
|
+
# but does not support forms with subsequent calls to `by`, `by_at_least`,
|
488
|
+
# `by_at_most` or `to`.
|
489
|
+
def change(receiver=nil, message=nil, &block)
|
490
|
+
BuiltIn::Change.new(receiver, message, &block)
|
491
|
+
end
|
492
|
+
alias_matcher :a_block_changing, :change
|
493
|
+
alias_matcher :changing, :change
|
494
|
+
|
495
|
+
# Passes if actual contains all of the expected regardless of order.
|
496
|
+
# This works for collections. Pass in multiple args and it will only
|
497
|
+
# pass if all args are found in collection.
|
498
|
+
#
|
499
|
+
# @note This is also available using the `=~` operator with `should`,
|
500
|
+
# but `=~` is not supported with `expect`.
|
501
|
+
#
|
502
|
+
# @example
|
503
|
+
# expect([1, 2, 3]).to contain_exactly(1, 2, 3)
|
504
|
+
# expect([1, 2, 3]).to contain_exactly(1, 3, 2)
|
505
|
+
#
|
506
|
+
# @see #match_array
|
507
|
+
def contain_exactly(*items)
|
508
|
+
BuiltIn::ContainExactly.new(items)
|
509
|
+
end
|
510
|
+
alias_matcher :a_collection_containing_exactly, :contain_exactly
|
511
|
+
alias_matcher :containing_exactly, :contain_exactly
|
512
|
+
|
513
|
+
# Passes if actual covers expected. This works for
|
514
|
+
# Ranges. You can also pass in multiple args
|
515
|
+
# and it will only pass if all args are found in Range.
|
516
|
+
#
|
517
|
+
# @example
|
518
|
+
# expect(1..10).to cover(5)
|
519
|
+
# expect(1..10).to cover(4, 6)
|
520
|
+
# expect(1..10).to cover(4, 6, 11) # fails
|
521
|
+
# expect(1..10).not_to cover(11)
|
522
|
+
# expect(1..10).not_to cover(5) # fails
|
523
|
+
#
|
524
|
+
# ### Warning:: Ruby >= 1.9 only
|
525
|
+
def cover(*values)
|
526
|
+
BuiltIn::Cover.new(*values)
|
527
|
+
end
|
528
|
+
alias_matcher :a_range_covering, :cover
|
529
|
+
alias_matcher :covering, :cover
|
530
|
+
|
531
|
+
# Matches if the actual value ends with the expected value(s). In the case
|
532
|
+
# of a string, matches against the last `expected.length` characters of the
|
533
|
+
# actual string. In the case of an array, matches against the last
|
534
|
+
# `expected.length` elements of the actual array.
|
535
|
+
#
|
536
|
+
# @example
|
537
|
+
# expect("this string").to end_with "string"
|
538
|
+
# expect([0, 1, 2, 3, 4]).to end_with 4
|
539
|
+
# expect([0, 2, 3, 4, 4]).to end_with 3, 4
|
540
|
+
def end_with(*expected)
|
541
|
+
BuiltIn::EndWith.new(*expected)
|
542
|
+
end
|
543
|
+
alias_matcher :a_collection_ending_with, :end_with
|
544
|
+
alias_matcher :a_string_ending_with, :end_with
|
545
|
+
alias_matcher :ending_with, :end_with
|
546
|
+
|
547
|
+
# Passes if <tt>actual == expected</tt>.
|
548
|
+
#
|
549
|
+
# See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more
|
550
|
+
# information about equality in Ruby.
|
551
|
+
#
|
552
|
+
# @example
|
553
|
+
# expect(5).to eq(5)
|
554
|
+
# expect(5).not_to eq(3)
|
555
|
+
def eq(expected)
|
556
|
+
BuiltIn::Eq.new(expected)
|
557
|
+
end
|
558
|
+
alias_matcher :an_object_eq_to, :eq
|
559
|
+
alias_matcher :eq_to, :eq
|
560
|
+
|
561
|
+
# Passes if `actual.eql?(expected)`
|
562
|
+
#
|
563
|
+
# See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more
|
564
|
+
# information about equality in Ruby.
|
565
|
+
#
|
566
|
+
# @example
|
567
|
+
# expect(5).to eql(5)
|
568
|
+
# expect(5).not_to eql(3)
|
569
|
+
def eql(expected)
|
570
|
+
BuiltIn::Eql.new(expected)
|
571
|
+
end
|
572
|
+
alias_matcher :an_object_eql_to, :eql
|
573
|
+
alias_matcher :eql_to, :eql
|
574
|
+
|
575
|
+
# Passes if <tt>actual.equal?(expected)</tt> (object identity).
|
576
|
+
#
|
577
|
+
# See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more
|
578
|
+
# information about equality in Ruby.
|
579
|
+
#
|
580
|
+
# @example
|
581
|
+
# expect(5).to equal(5) # Integers are equal
|
582
|
+
# expect("5").not_to equal("5") # Strings that look the same are not the same object
|
583
|
+
def equal(expected)
|
584
|
+
BuiltIn::Equal.new(expected)
|
585
|
+
end
|
586
|
+
alias_matcher :an_object_equal_to, :equal
|
587
|
+
alias_matcher :equal_to, :equal
|
588
|
+
|
589
|
+
# Passes if `actual.exist?` or `actual.exists?`
|
590
|
+
#
|
591
|
+
# @example
|
592
|
+
# expect(File).to exist("path/to/file")
|
593
|
+
def exist(*args)
|
594
|
+
BuiltIn::Exist.new(*args)
|
595
|
+
end
|
596
|
+
alias_matcher :an_object_existing, :exist
|
597
|
+
alias_matcher :existing, :exist
|
598
|
+
|
599
|
+
# Passes if actual's attribute values match the expected attributes hash.
|
600
|
+
# This works no matter how you define your attribute readers.
|
601
|
+
#
|
602
|
+
# @example
|
603
|
+
# Person = Struct.new(:name, :age)
|
604
|
+
# person = Person.new("Bob", 32)
|
605
|
+
#
|
606
|
+
# expect(person).to have_attributes(:name => "Bob", :age => 32)
|
607
|
+
# expect(person).to have_attributes(:name => a_string_starting_with("B"), :age => (a_value > 30) )
|
608
|
+
#
|
609
|
+
# @note It will fail if actual doesn't respond to any of the expected attributes.
|
610
|
+
#
|
611
|
+
# @example
|
612
|
+
# expect(person).to have_attributes(:color => "red")
|
613
|
+
def have_attributes(expected)
|
614
|
+
BuiltIn::HaveAttributes.new(expected)
|
615
|
+
end
|
616
|
+
alias_matcher :an_object_having_attributes, :have_attributes
|
617
|
+
alias_matcher :having_attributes, :have_attributes
|
618
|
+
|
619
|
+
# Passes if actual includes expected. This works for
|
620
|
+
# collections and Strings. You can also pass in multiple args
|
621
|
+
# and it will only pass if all args are found in collection.
|
622
|
+
#
|
623
|
+
# @example
|
624
|
+
# expect([1,2,3]).to include(3)
|
625
|
+
# expect([1,2,3]).to include(2,3)
|
626
|
+
# expect([1,2,3]).to include(2,3,4) # fails
|
627
|
+
# expect([1,2,3]).not_to include(4)
|
628
|
+
# expect("spread").to include("read")
|
629
|
+
# expect("spread").not_to include("red")
|
630
|
+
# expect(:a => 1, :b => 2).to include(:a)
|
631
|
+
# expect(:a => 1, :b => 2).to include(:a, :b)
|
632
|
+
# expect(:a => 1, :b => 2).to include(:a => 1)
|
633
|
+
# expect(:a => 1, :b => 2).to include(:b => 2, :a => 1)
|
634
|
+
# expect(:a => 1, :b => 2).to include(:c) # fails
|
635
|
+
# expect(:a => 1, :b => 2).not_to include(:a => 2)
|
636
|
+
def include(*expected)
|
637
|
+
BuiltIn::Include.new(*expected)
|
638
|
+
end
|
639
|
+
alias_matcher :a_collection_including, :include
|
640
|
+
alias_matcher :a_string_including, :include
|
641
|
+
alias_matcher :a_hash_including, :include
|
642
|
+
alias_matcher :including, :include
|
643
|
+
|
644
|
+
# Passes if the provided matcher passes when checked against all
|
645
|
+
# elements of the collection.
|
646
|
+
#
|
647
|
+
# @example
|
648
|
+
# expect([1, 3, 5]).to all be_odd
|
649
|
+
# expect([1, 3, 6]).to all be_odd # fails
|
650
|
+
#
|
651
|
+
# @note The negative form `not_to all` is not supported. Instead
|
652
|
+
# use `not_to include` or pass a negative form of a matcher
|
653
|
+
# as the argument (e.g. `all exclude(:foo)`).
|
654
|
+
#
|
655
|
+
# @note You can also use this with compound matchers as well.
|
656
|
+
#
|
657
|
+
# @example
|
658
|
+
# expect([1, 3, 5]).to all( be_odd.and be_an(Integer) )
|
659
|
+
def all(expected)
|
660
|
+
BuiltIn::All.new(expected)
|
661
|
+
end
|
662
|
+
|
663
|
+
# Given a `Regexp` or `String`, passes if `actual.match(pattern)`
|
664
|
+
# Given an arbitrary nested data structure (e.g. arrays and hashes),
|
665
|
+
# matches if `expected === actual` || `actual == expected` for each
|
666
|
+
# pair of elements.
|
667
|
+
#
|
668
|
+
# @example
|
669
|
+
# expect(email).to match(/^([^\s]+)((?:[-a-z0-9]+\.)+[a-z]{2,})$/i)
|
670
|
+
# expect(email).to match("@example.com")
|
671
|
+
#
|
672
|
+
# @example
|
673
|
+
# hash = {
|
674
|
+
# :a => {
|
675
|
+
# :b => ["foo", 5],
|
676
|
+
# :c => { :d => 2.05 }
|
677
|
+
# }
|
678
|
+
# }
|
679
|
+
#
|
680
|
+
# expect(hash).to match(
|
681
|
+
# :a => {
|
682
|
+
# :b => a_collection_containing_exactly(
|
683
|
+
# a_string_starting_with("f"),
|
684
|
+
# an_instance_of(Integer)
|
685
|
+
# ),
|
686
|
+
# :c => { :d => (a_value < 3) }
|
687
|
+
# }
|
688
|
+
# )
|
689
|
+
#
|
690
|
+
# @note The `match_regex` alias is deprecated and is not recommended for use.
|
691
|
+
# It was added in 2.12.1 to facilitate its use from within custom
|
692
|
+
# matchers (due to how the custom matcher DSL was evaluated in 2.x,
|
693
|
+
# `match` could not be used there), but is no longer needed in 3.x.
|
694
|
+
def match(expected)
|
695
|
+
BuiltIn::Match.new(expected)
|
696
|
+
end
|
697
|
+
alias_matcher :match_regex, :match
|
698
|
+
alias_matcher :an_object_matching, :match
|
699
|
+
alias_matcher :a_string_matching, :match
|
700
|
+
alias_matcher :matching, :match
|
701
|
+
|
702
|
+
# An alternate form of `contain_exactly` that accepts
|
703
|
+
# the expected contents as a single array arg rather
|
704
|
+
# that splatted out as individual items.
|
705
|
+
#
|
706
|
+
# @example
|
707
|
+
# expect(results).to contain_exactly(1, 2)
|
708
|
+
# # is identical to:
|
709
|
+
# expect(results).to match_array([1, 2])
|
710
|
+
#
|
711
|
+
# @see #contain_exactly
|
712
|
+
def match_array(items)
|
713
|
+
contain_exactly(*items)
|
714
|
+
end
|
715
|
+
|
716
|
+
# With no arg, passes if the block outputs `to_stdout` or `to_stderr`.
|
717
|
+
# With a string, passes if the block outputs that specific string `to_stdout` or `to_stderr`.
|
718
|
+
# With a regexp or matcher, passes if the block outputs a string `to_stdout` or `to_stderr` that matches.
|
719
|
+
#
|
720
|
+
# To capture output from any spawned subprocess as well, use `to_stdout_from_any_process` or
|
721
|
+
# `to_stderr_from_any_process`. Output from any process that inherits the main process's corresponding
|
722
|
+
# standard stream will be captured.
|
723
|
+
#
|
724
|
+
# @example
|
725
|
+
# expect { print 'foo' }.to output.to_stdout
|
726
|
+
# expect { print 'foo' }.to output('foo').to_stdout
|
727
|
+
# expect { print 'foo' }.to output(/foo/).to_stdout
|
728
|
+
#
|
729
|
+
# expect { do_something }.to_not output.to_stdout
|
730
|
+
#
|
731
|
+
# expect { warn('foo') }.to output.to_stderr
|
732
|
+
# expect { warn('foo') }.to output('foo').to_stderr
|
733
|
+
# expect { warn('foo') }.to output(/foo/).to_stderr
|
734
|
+
#
|
735
|
+
# expect { do_something }.to_not output.to_stderr
|
736
|
+
#
|
737
|
+
# expect { system('echo foo') }.to output("foo\n").to_stdout_from_any_process
|
738
|
+
# expect { system('echo foo', out: :err) }.to output("foo\n").to_stderr_from_any_process
|
739
|
+
#
|
740
|
+
# @note `to_stdout` and `to_stderr` work by temporarily replacing `$stdout` or `$stderr`,
|
741
|
+
# so they're not able to intercept stream output that explicitly uses `STDOUT`/`STDERR`
|
742
|
+
# or that uses a reference to `$stdout`/`$stderr` that was stored before the
|
743
|
+
# matcher was used.
|
744
|
+
# @note `to_stdout_from_any_process` and `to_stderr_from_any_process` use Tempfiles, and
|
745
|
+
# are thus significantly (~30x) slower than `to_stdout` and `to_stderr`.
|
746
|
+
def output(expected=nil)
|
747
|
+
BuiltIn::Output.new(expected)
|
748
|
+
end
|
749
|
+
alias_matcher :a_block_outputting, :output
|
750
|
+
|
751
|
+
# With no args, matches if any error is raised.
|
752
|
+
# With a named error, matches only if that specific error is raised.
|
753
|
+
# With a named error and messsage specified as a String, matches only if both match.
|
754
|
+
# With a named error and messsage specified as a Regexp, matches only if both match.
|
755
|
+
# Pass an optional block to perform extra verifications on the exception matched
|
756
|
+
#
|
757
|
+
# @example
|
758
|
+
# expect { do_something_risky }.to raise_error
|
759
|
+
# expect { do_something_risky }.to raise_error(PoorRiskDecisionError)
|
760
|
+
# expect { do_something_risky }.to raise_error(PoorRiskDecisionError) { |error| expect(error.data).to eq 42 }
|
761
|
+
# expect { do_something_risky }.to raise_error(PoorRiskDecisionError, "that was too risky")
|
762
|
+
# expect { do_something_risky }.to raise_error(PoorRiskDecisionError, /oo ri/)
|
763
|
+
#
|
764
|
+
# expect { do_something_risky }.not_to raise_error
|
765
|
+
def raise_error(error=nil, message=nil, &block)
|
766
|
+
BuiltIn::RaiseError.new(error, message, &block)
|
767
|
+
end
|
768
|
+
alias_method :raise_exception, :raise_error
|
769
|
+
|
770
|
+
alias_matcher :a_block_raising, :raise_error do |desc|
|
771
|
+
desc.sub("raise", "a block raising")
|
772
|
+
end
|
773
|
+
|
774
|
+
alias_matcher :raising, :raise_error do |desc|
|
775
|
+
desc.sub("raise", "raising")
|
776
|
+
end
|
777
|
+
|
778
|
+
# Matches if the target object responds to all of the names
|
779
|
+
# provided. Names can be Strings or Symbols.
|
780
|
+
#
|
781
|
+
# @example
|
782
|
+
# expect("string").to respond_to(:length)
|
783
|
+
#
|
784
|
+
def respond_to(*names)
|
785
|
+
BuiltIn::RespondTo.new(*names)
|
786
|
+
end
|
787
|
+
alias_matcher :an_object_responding_to, :respond_to
|
788
|
+
alias_matcher :responding_to, :respond_to
|
789
|
+
|
790
|
+
# Passes if the submitted block returns true. Yields target to the
|
791
|
+
# block.
|
792
|
+
#
|
793
|
+
# Generally speaking, this should be thought of as a last resort when
|
794
|
+
# you can't find any other way to specify the behaviour you wish to
|
795
|
+
# specify.
|
796
|
+
#
|
797
|
+
# If you do find yourself in such a situation, you could always write
|
798
|
+
# a custom matcher, which would likely make your specs more expressive.
|
799
|
+
#
|
800
|
+
# @param description [String] optional description to be used for this matcher.
|
801
|
+
#
|
802
|
+
# @example
|
803
|
+
# expect(5).to satisfy { |n| n > 3 }
|
804
|
+
# expect(5).to satisfy("be greater than 3") { |n| n > 3 }
|
805
|
+
def satisfy(description=nil, &block)
|
806
|
+
BuiltIn::Satisfy.new(description, &block)
|
807
|
+
end
|
808
|
+
alias_matcher :an_object_satisfying, :satisfy
|
809
|
+
alias_matcher :satisfying, :satisfy
|
810
|
+
|
811
|
+
# Matches if the actual value starts with the expected value(s). In the
|
812
|
+
# case of a string, matches against the first `expected.length` characters
|
813
|
+
# of the actual string. In the case of an array, matches against the first
|
814
|
+
# `expected.length` elements of the actual array.
|
815
|
+
#
|
816
|
+
# @example
|
817
|
+
# expect("this string").to start_with "this s"
|
818
|
+
# expect([0, 1, 2, 3, 4]).to start_with 0
|
819
|
+
# expect([0, 2, 3, 4, 4]).to start_with 0, 1
|
820
|
+
def start_with(*expected)
|
821
|
+
BuiltIn::StartWith.new(*expected)
|
822
|
+
end
|
823
|
+
alias_matcher :a_collection_starting_with, :start_with
|
824
|
+
alias_matcher :a_string_starting_with, :start_with
|
825
|
+
alias_matcher :starting_with, :start_with
|
826
|
+
|
827
|
+
# Given no argument, matches if a proc throws any Symbol.
|
828
|
+
#
|
829
|
+
# Given a Symbol, matches if the given proc throws the specified Symbol.
|
830
|
+
#
|
831
|
+
# Given a Symbol and an arg, matches if the given proc throws the
|
832
|
+
# specified Symbol with the specified arg.
|
833
|
+
#
|
834
|
+
# @example
|
835
|
+
# expect { do_something_risky }.to throw_symbol
|
836
|
+
# expect { do_something_risky }.to throw_symbol(:that_was_risky)
|
837
|
+
# expect { do_something_risky }.to throw_symbol(:that_was_risky, 'culprit')
|
838
|
+
#
|
839
|
+
# expect { do_something_risky }.not_to throw_symbol
|
840
|
+
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky)
|
841
|
+
# expect { do_something_risky }.not_to throw_symbol(:that_was_risky, 'culprit')
|
842
|
+
def throw_symbol(expected_symbol=nil, expected_arg=nil)
|
843
|
+
BuiltIn::ThrowSymbol.new(expected_symbol, expected_arg)
|
844
|
+
end
|
845
|
+
|
846
|
+
alias_matcher :a_block_throwing, :throw_symbol do |desc|
|
847
|
+
desc.sub("throw", "a block throwing")
|
848
|
+
end
|
849
|
+
|
850
|
+
alias_matcher :throwing, :throw_symbol do |desc|
|
851
|
+
desc.sub("throw", "throwing")
|
852
|
+
end
|
853
|
+
|
854
|
+
# Passes if the method called in the expect block yields, regardless
|
855
|
+
# of whether or not arguments are yielded.
|
856
|
+
#
|
857
|
+
# @example
|
858
|
+
# expect { |b| 5.tap(&b) }.to yield_control
|
859
|
+
# expect { |b| "a".to_sym(&b) }.not_to yield_control
|
860
|
+
#
|
861
|
+
# @note Your expect block must accept a parameter and pass it on to
|
862
|
+
# the method-under-test as a block.
|
863
|
+
def yield_control
|
864
|
+
BuiltIn::YieldControl.new
|
865
|
+
end
|
866
|
+
alias_matcher :a_block_yielding_control, :yield_control
|
867
|
+
alias_matcher :yielding_control, :yield_control
|
868
|
+
|
869
|
+
# Passes if the method called in the expect block yields with
|
870
|
+
# no arguments. Fails if it does not yield, or yields with arguments.
|
871
|
+
#
|
872
|
+
# @example
|
873
|
+
# expect { |b| User.transaction(&b) }.to yield_with_no_args
|
874
|
+
# expect { |b| 5.tap(&b) }.not_to yield_with_no_args # because it yields with `5`
|
875
|
+
# expect { |b| "a".to_sym(&b) }.not_to yield_with_no_args # because it does not yield
|
876
|
+
#
|
877
|
+
# @note Your expect block must accept a parameter and pass it on to
|
878
|
+
# the method-under-test as a block.
|
879
|
+
# @note This matcher is not designed for use with methods that yield
|
880
|
+
# multiple times.
|
881
|
+
def yield_with_no_args
|
882
|
+
BuiltIn::YieldWithNoArgs.new
|
883
|
+
end
|
884
|
+
alias_matcher :a_block_yielding_with_no_args, :yield_with_no_args
|
885
|
+
alias_matcher :yielding_with_no_args, :yield_with_no_args
|
886
|
+
|
887
|
+
# Given no arguments, matches if the method called in the expect
|
888
|
+
# block yields with arguments (regardless of what they are or how
|
889
|
+
# many there are).
|
890
|
+
#
|
891
|
+
# Given arguments, matches if the method called in the expect block
|
892
|
+
# yields with arguments that match the given arguments.
|
893
|
+
#
|
894
|
+
# Argument matching is done using `===` (the case match operator)
|
895
|
+
# and `==`. If the expected and actual arguments match with either
|
896
|
+
# operator, the matcher will pass.
|
897
|
+
#
|
898
|
+
# @example
|
899
|
+
# expect { |b| 5.tap(&b) }.to yield_with_args # because #tap yields an arg
|
900
|
+
# expect { |b| 5.tap(&b) }.to yield_with_args(5) # because 5 == 5
|
901
|
+
# expect { |b| 5.tap(&b) }.to yield_with_args(Integer) # because Integer === 5
|
902
|
+
# expect { |b| File.open("f.txt", &b) }.to yield_with_args(/txt/) # because /txt/ === "f.txt"
|
903
|
+
#
|
904
|
+
# expect { |b| User.transaction(&b) }.not_to yield_with_args # because it yields no args
|
905
|
+
# expect { |b| 5.tap(&b) }.not_to yield_with_args(1, 2, 3)
|
906
|
+
#
|
907
|
+
# @note Your expect block must accept a parameter and pass it on to
|
908
|
+
# the method-under-test as a block.
|
909
|
+
# @note This matcher is not designed for use with methods that yield
|
910
|
+
# multiple times.
|
911
|
+
def yield_with_args(*args)
|
912
|
+
BuiltIn::YieldWithArgs.new(*args)
|
913
|
+
end
|
914
|
+
alias_matcher :a_block_yielding_with_args, :yield_with_args
|
915
|
+
alias_matcher :yielding_with_args, :yield_with_args
|
916
|
+
|
917
|
+
# Designed for use with methods that repeatedly yield (such as
|
918
|
+
# iterators). Passes if the method called in the expect block yields
|
919
|
+
# multiple times with arguments matching those given.
|
920
|
+
#
|
921
|
+
# Argument matching is done using `===` (the case match operator)
|
922
|
+
# and `==`. If the expected and actual arguments match with either
|
923
|
+
# operator, the matcher will pass.
|
924
|
+
#
|
925
|
+
# @example
|
926
|
+
# expect { |b| [1, 2, 3].each(&b) }.to yield_successive_args(1, 2, 3)
|
927
|
+
# expect { |b| { :a => 1, :b => 2 }.each(&b) }.to yield_successive_args([:a, 1], [:b, 2])
|
928
|
+
# expect { |b| [1, 2, 3].each(&b) }.not_to yield_successive_args(1, 2)
|
929
|
+
#
|
930
|
+
# @note Your expect block must accept a parameter and pass it on to
|
931
|
+
# the method-under-test as a block.
|
932
|
+
def yield_successive_args(*args)
|
933
|
+
BuiltIn::YieldSuccessiveArgs.new(*args)
|
934
|
+
end
|
935
|
+
alias_matcher :a_block_yielding_successive_args, :yield_successive_args
|
936
|
+
alias_matcher :yielding_successive_args, :yield_successive_args
|
937
|
+
|
938
|
+
# Delegates to {RSpec::Expectations.configuration}.
|
939
|
+
# This is here because rspec-core's `expect_with` option
|
940
|
+
# looks for a `configuration` method on the mixin
|
941
|
+
# (`RSpec::Matchers`) to yield to a block.
|
942
|
+
# @return [RSpec::Expectations::Configuration] the configuration object
|
943
|
+
def self.configuration
|
944
|
+
Expectations.configuration
|
945
|
+
end
|
946
|
+
|
947
|
+
private
|
948
|
+
|
949
|
+
BE_PREDICATE_REGEX = /^(be_(?:an?_)?)(.*)/
|
950
|
+
HAS_REGEX = /^(?:have_)(.*)/
|
951
|
+
DYNAMIC_MATCHER_REGEX = Regexp.union(BE_PREDICATE_REGEX, HAS_REGEX)
|
952
|
+
|
953
|
+
def method_missing(method, *args, &block)
|
954
|
+
case method.to_s
|
955
|
+
when BE_PREDICATE_REGEX
|
956
|
+
BuiltIn::BePredicate.new(method, *args, &block)
|
957
|
+
when HAS_REGEX
|
958
|
+
BuiltIn::Has.new(method, *args, &block)
|
959
|
+
else
|
960
|
+
super
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
964
|
+
if RUBY_VERSION.to_f >= 1.9
|
965
|
+
def respond_to_missing?(method, *)
|
966
|
+
method =~ DYNAMIC_MATCHER_REGEX || super
|
967
|
+
end
|
968
|
+
else # for 1.8.7
|
969
|
+
# :nocov:
|
970
|
+
def respond_to?(method, *)
|
971
|
+
method = method.to_s
|
972
|
+
method =~ DYNAMIC_MATCHER_REGEX || super
|
973
|
+
end
|
974
|
+
public :respond_to?
|
975
|
+
# :nocov:
|
976
|
+
end
|
977
|
+
|
978
|
+
# @api private
|
979
|
+
def self.is_a_matcher?(obj)
|
980
|
+
return true if ::RSpec::Matchers::BuiltIn::BaseMatcher === obj
|
981
|
+
begin
|
982
|
+
return false if obj.respond_to?(:i_respond_to_everything_so_im_not_really_a_matcher)
|
983
|
+
rescue NoMethodError
|
984
|
+
# Some objects, like BasicObject, don't implemented standard
|
985
|
+
# reflection methods.
|
986
|
+
return false
|
987
|
+
end
|
988
|
+
return false unless obj.respond_to?(:matches?)
|
989
|
+
|
990
|
+
obj.respond_to?(:failure_message) ||
|
991
|
+
obj.respond_to?(:failure_message_for_should) # support legacy matchers
|
992
|
+
end
|
993
|
+
|
994
|
+
::RSpec::Support.register_matcher_definition do |obj|
|
995
|
+
is_a_matcher?(obj)
|
996
|
+
end
|
997
|
+
|
998
|
+
# @api private
|
999
|
+
def self.is_a_describable_matcher?(obj)
|
1000
|
+
is_a_matcher?(obj) && obj.respond_to?(:description)
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
if RSpec::Support::Ruby.mri? && RUBY_VERSION[0, 3] == '1.9'
|
1004
|
+
# @api private
|
1005
|
+
# Note that `included` doesn't work for this because it is triggered
|
1006
|
+
# _after_ `RSpec::Matchers` is an ancestor of the inclusion host, rather
|
1007
|
+
# than _before_, like `append_features`. It's important we check this before
|
1008
|
+
# in order to find the cases where it was already previously included.
|
1009
|
+
def self.append_features(mod)
|
1010
|
+
return super if mod < self # `mod < self` indicates a re-inclusion.
|
1011
|
+
|
1012
|
+
subclasses = ObjectSpace.each_object(Class).select { |c| c < mod && c < self }
|
1013
|
+
return super unless subclasses.any?
|
1014
|
+
|
1015
|
+
subclasses.reject! { |s| subclasses.any? { |s2| s < s2 } } # Filter to the root ancestor.
|
1016
|
+
subclasses = subclasses.map { |s| "`#{s}`" }.join(", ")
|
1017
|
+
|
1018
|
+
RSpec.warning "`#{self}` has been included in a superclass (`#{mod}`) " \
|
1019
|
+
"after previously being included in subclasses (#{subclasses}), " \
|
1020
|
+
"which can trigger infinite recursion from `super` due to an MRI 1.9 bug " \
|
1021
|
+
"(https://redmine.ruby-lang.org/issues/3351). To work around this, " \
|
1022
|
+
"either upgrade to MRI 2.0+, include a dup of the module (e.g. " \
|
1023
|
+
"`include #{self}.dup`), or find a way to include `#{self}` in `#{mod}` " \
|
1024
|
+
"before it is included in subclasses (#{subclasses}). See " \
|
1025
|
+
"https://github.com/rspec/rspec-expectations/issues/814 for more info"
|
1026
|
+
|
1027
|
+
super
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
end
|