vagrant-unbundled 1.9.5.1 → 1.9.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/2.14.0 +5 -0
- data/CHANGELOG.md +55 -0
- data/Gemfile.lock +23 -18
- data/lib/vagrant/action/builtin/box_add.rb +10 -0
- data/lib/vagrant/action/builtin/ssh_run.rb +3 -1
- data/lib/vagrant/bundler.rb +33 -8
- data/lib/vagrant/config/loader.rb +12 -0
- data/lib/vagrant/environment.rb +100 -36
- data/lib/vagrant/errors.rb +12 -0
- data/lib/vagrant/machine.rb +32 -0
- data/lib/vagrant/plugin/manager.rb +13 -2
- data/lib/vagrant/shared_helpers.rb +15 -2
- data/lib/vagrant/util/platform.rb +6 -15
- data/lib/vagrant/util/safe_exec.rb +6 -6
- data/lib/vagrant/util/ssh.rb +8 -2
- data/plugins/commands/box/command/add.rb +1 -1
- data/plugins/commands/login/client.rb +12 -9
- data/plugins/commands/login/command.rb +4 -4
- data/plugins/commands/login/locales/en.yml +5 -5
- data/plugins/commands/login/middleware/add_authentication.rb +2 -1
- data/plugins/commands/login/plugin.rb +1 -1
- data/plugins/commands/snapshot/command/delete.rb +13 -1
- data/plugins/commands/snapshot/command/list.rb +1 -2
- data/plugins/commands/snapshot/command/restore.rb +13 -1
- data/plugins/commands/snapshot/command/save.rb +20 -1
- data/plugins/commands/ssh/command.rb +7 -1
- data/plugins/communicators/ssh/communicator.rb +9 -0
- data/plugins/communicators/winssh/communicator.rb +1 -1
- data/plugins/communicators/winssh/config.rb +8 -0
- data/plugins/guests/kali/guest.rb +10 -0
- data/plugins/guests/kali/plugin.rb +15 -0
- data/plugins/guests/smartos/cap/change_host_name.rb +14 -5
- data/plugins/guests/smartos/cap/halt.rb +1 -1
- data/plugins/guests/smartos/cap/insert_public_key.rb +28 -0
- data/plugins/guests/smartos/cap/mount_nfs.rb +11 -2
- data/plugins/guests/smartos/cap/remove_public_key.rb +25 -0
- data/plugins/guests/smartos/plugin.rb +11 -0
- data/plugins/guests/windows/cap/public_key.rb +106 -0
- data/plugins/guests/windows/cap/rsync.rb +1 -1
- data/plugins/guests/windows/errors.rb +4 -0
- data/plugins/guests/windows/plugin.rb +10 -0
- data/plugins/hosts/bsd/cap/nfs.rb +1 -1
- data/plugins/kernel_v2/config/ssh_connect.rb +6 -0
- data/plugins/kernel_v2/config/vm.rb +10 -12
- data/plugins/kernel_v2/config/vm_provisioner.rb +10 -0
- data/plugins/providers/docker/driver/compose.rb +1 -1
- data/plugins/providers/docker/provider.rb +1 -1
- data/plugins/providers/hyperv/action/import.rb +1 -1
- data/plugins/providers/virtualbox/action.rb +2 -3
- data/plugins/providers/virtualbox/driver/version_4_3.rb +6 -1
- data/plugins/providers/virtualbox/driver/version_5_0.rb +12 -1
- data/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb +1 -1
- data/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb +1 -1
- data/plugins/provisioners/ansible/provisioner/host.rb +2 -5
- data/plugins/provisioners/docker/config.rb +11 -0
- data/plugins/provisioners/docker/installer.rb +5 -1
- data/plugins/provisioners/docker/provisioner.rb +18 -1
- data/plugins/provisioners/salt/provisioner.rb +17 -7
- data/plugins/synced_folders/rsync/command/rsync_auto.rb +18 -0
- data/plugins/synced_folders/unix_mount_helpers.rb +1 -1
- data/templates/commands/init/Vagrantfile.erb +1 -8
- data/templates/locales/en.yml +29 -6
- data/templates/locales/guest_windows.yml +4 -0
- data/test/unit/plugins/commands/login/client_test.rb +2 -2
- data/test/unit/plugins/commands/snapshot/command/delete_test.rb +97 -0
- data/test/unit/plugins/commands/snapshot/command/list_test.rb +83 -0
- data/test/unit/plugins/commands/snapshot/command/restore_test.rb +97 -0
- data/test/unit/plugins/commands/snapshot/command/save_test.rb +110 -0
- data/test/unit/plugins/communicators/ssh/communicator_test.rb +14 -0
- data/test/unit/plugins/communicators/winssh/communicator_test.rb +2 -1
- data/test/unit/plugins/guests/smartos/cap/change_host_name_test.rb +22 -16
- data/test/unit/plugins/guests/smartos/cap/halt_test.rb +1 -1
- data/test/unit/plugins/guests/smartos/cap/insert_public_key_test.rb +38 -0
- data/test/unit/plugins/guests/smartos/cap/mount_nfs_test.rb +21 -13
- data/test/unit/plugins/guests/smartos/cap/remove_public_key_test.rb +34 -0
- data/test/unit/plugins/guests/windows/cap/insert_public_key_test.rb +75 -0
- data/test/unit/plugins/guests/windows/cap/remove_public_key_test.rb +66 -0
- data/test/unit/plugins/guests/windows/cap/rsync_test.rb +1 -1
- data/test/unit/plugins/kernel_v2/config/vm_test.rb +28 -0
- data/test/unit/plugins/provisioners/ansible/provisioner_test.rb +16 -0
- data/test/unit/plugins/provisioners/docker/config_test.rb +22 -0
- data/test/unit/plugins/provisioners/docker/provisioner_test.rb +79 -0
- data/test/unit/plugins/synced_folders/rsync/command/rsync_auto_test.rb +61 -15
- data/test/unit/vagrant/action/builtin/box_add_test.rb +47 -0
- data/test/unit/vagrant/action/builtin/ssh_run_test.rb +83 -0
- data/test/unit/vagrant/config/loader_test.rb +20 -1
- data/test/unit/vagrant/environment_test.rb +59 -14
- data/test/unit/vagrant/machine_test.rb +61 -0
- data/test/unit/vagrant/plugin/manager_test.rb +2 -2
- data/test/unit/vagrant/util/platform_test.rb +8 -2
- data/test/unit/vagrant/util/ssh_test.rb +158 -0
- data/test/unit/vagrant/util/subprocess_test.rb +1 -1
- data/vagrant.gemspec +1 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/.travis.yml +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/README.md +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/cli/box_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/cli/init_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/acceptance/cli/plugin_spec.rb +164 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/cli/version_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/output/box_output.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/acceptance/output/plugin_output.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/output/version_output.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provider/basic_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/acceptance/provider/network_forwarded_port_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/acceptance/provider/network_private_network_spec.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provider/package_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provider/synced_folder_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provisioner/chef_solo_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provisioner/docker_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provisioner/puppet_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/provisioner/shell_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-boxes/empty.box +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-boxes/empty/metadata.json +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/README.md +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.2.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/vagrant-spec-helper-basic/gem-renamed-0.1.0.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vagrant-spec-helper-basic.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vshb/command.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/network_forwarded_port/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/network_private_network/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/cookbooks/bar/recipes/default.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/roles/foo.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_chef_solo/basic/cookbooks/foo/recipes/default.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_docker/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_puppet/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_puppet/basic-modules/manifests/default.pp +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_puppet/basic-modules/modules/foo/manifests/init.pp +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_puppet/manifests/default.pp +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_shell/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_shell/args.sh +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_shell/path.sh +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_shell/user.sh +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/provisioner_shell/user_root.sh +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folder_nfs/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folder_nfs/foo +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folder_rsync/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folder_rsync/foo +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folders/Vagrantfile +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/support-skeletons/synced_folders/foo +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/synced_folder/nfs_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/acceptance/synced_folder/rsync_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/bin/vagrant-spec +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/isolated_environment.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/output.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec/context.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec/formatter.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec/matcher_exit_with.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec/matcher_match_output.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/rspec/shared_provider_synced_folder.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/acceptance/runner.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/lib/vagrant-spec/cli.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/lib/vagrant-spec/components.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/isolated_environment.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/server.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/subprocess.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/unit.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/unit/dummy_provider.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/unit/isolated_environment.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/unit/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/unit/rspec/context.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/vagrant-plugin/command.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/vagrant-plugin/plugin.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/version.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/lib/vagrant-spec/which.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/acceptance/configuration_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/acceptance/isolated_environment_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/spec/acceptance/shared/isolated_environment_spec.rb +43 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/acceptance/shared/output_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/components_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/isolated_environment_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/subprocess_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/{vagrant-spec-1d09951eaef3 → vagrant-spec-af86757912f7}/spec/unit/isolated_environment_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-af86757912f7/vagrant-spec.gemspec +47 -0
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/FETCH_HEAD +1 -1
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/hooks/pre-rebase.sample +3 -3
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/objects/pack/pack-f979460dc5541c1808629bdb43fe5492f9589bee.idx +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/objects/pack/pack-f979460dc5541c1808629bdb43fe5492f9589bee.pack +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/packed-refs +1 -1
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.9.18/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.9.18/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/ffi-1.9.18/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/unf_ext-0.0.7.4/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/unf_ext-0.0.7.4/unf_ext.so +0 -0
- data/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/wdm-0.1.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.codeclimate.yml +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.gitignore +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.rspec +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.rubocop.yml +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.rubocop_todo.yml +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.simplecov +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/.travis.yml +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/CHANGELOG.md +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/CONTRIBUTORS.md +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/Gemfile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/Guardfile +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/LICENSE.md +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/README.md +101 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/Rakefile +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/fake_ftp.gemspec +21 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/file.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb +240 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands.rb +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/acct.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cdup.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cwd.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/dele.rb +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/list.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mdtm.rb +17 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mkd.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/nlst.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pass.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pasv.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/port.rb +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pwd.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/quit.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/retr.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnfr.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnto.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/site.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/size.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/stor.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/type.rb +18 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/user.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/wat.rb +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/lib/fake_ftp/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/{fake_ftp-0.1.1 → fake_ftp-0.3.0}/spec/fixtures/invisible_bike.jpg +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{fake_ftp-0.1.1 → fake_ftp-0.3.0}/spec/fixtures/text_file.txt +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/spec/functional/server_spec.rb +585 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/spec/integration/server_spec.rb +91 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/spec/models/fake_ftp/file_spec.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/spec/models/fake_ftp/server_spec.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.3.0/spec/spec_helper.rb +102 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/DataConverter.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/StructByReference.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/.rspec +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/.travis.yml +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/Gemfile +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/README.md +243 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/changelog.md +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/hashdiff.gemspec +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/lib/hashdiff.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/lib/hashdiff/diff.rb +227 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/lib/hashdiff/lcs.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/lib/hashdiff/patch.rb +88 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/lib/hashdiff/util.rb +146 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/lib/hashdiff/version.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/spec/hashdiff/best_diff_spec.rb +74 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/spec/hashdiff/diff_array_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/spec/hashdiff/diff_spec.rb +313 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/spec/hashdiff/lcs_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/spec/hashdiff/patch_spec.rb +183 -0
- data/vendor/bundle/ruby/2.4.0/gems/{hashdiff-0.3.4 → hashdiff-0.3.5}/spec/hashdiff/util_spec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.5/spec/spec_helper.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/Gemfile +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/Guardfile +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/README.md +259 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/Rakefile +33 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/bin/fsevent_watch +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/LICENSE +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/FSEventsFix.c +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/FSEventsFix.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/TSICTString.c +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/TSICTString.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/ext/fsevent_watch/cli.c +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/cli.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/common.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/ext/fsevent_watch/compat.c +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/ext/fsevent_watch/compat.h +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/defines.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/ext/fsevent_watch/main.c +548 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/signal_handlers.c +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/ext/fsevent_watch/signal_handlers.h +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/ext/rakefile.rb +226 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/lib/otnetstring.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-fsevent-0.9.8 → rb-fsevent-0.10.2}/lib/rb-fsevent.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/lib/rb-fsevent/fsevent.rb +157 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/lib/rb-fsevent/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.10.2/rb-fsevent.gemspec +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/.gitignore +19 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/.travis.yml +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-inotify-0.9.8 → rb-inotify-0.9.10}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/Gemfile +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/README.md +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/Rakefile +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/lib/rb-inotify.rb +15 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-inotify-0.9.8 → rb-inotify-0.9.10}/lib/rb-inotify/errors.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-inotify-0.9.8 → rb-inotify-0.9.10}/lib/rb-inotify/event.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/lib/rb-inotify/native.rb +36 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/lib/rb-inotify/native/flags.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/lib/rb-inotify/notifier.rb +339 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/lib/rb-inotify/version.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rb-inotify-0.9.8 → rb-inotify-0.9.10}/lib/rb-inotify/watcher.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/rb-inotify.gemspec +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/spec/rb-inotify/errors_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/spec/rb-inotify_spec.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.10/spec/spec_helper.rb +12 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.5.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.5.0/README.md +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/{rspec-2.14.1 → rspec-3.5.0}/lib/rspec.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-3.5.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/.document +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/.yardopts +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/Changelog.md +2102 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/README.md +384 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +2100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +111 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +649 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +879 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +255 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +65 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +491 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +151 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +96 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +624 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +67 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +532 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +243 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +498 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +289 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/.rspec +2 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +248 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +188 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +247 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +93 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +71 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +256 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/.document +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/Changelog.md +1034 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/README.md +303 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +1038 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +354 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +86 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +419 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +185 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +466 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/.document +5 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/.yardopts +6 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/Changelog.md +1043 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/README.md +445 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +28 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +205 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +422 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +135 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +335 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +489 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +170 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +213 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/Changelog.md +192 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/README.md +40 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support.rb +139 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +249 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +149 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +52 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +82 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext/Makefile +2 -2
- data/vendor/bundle/ruby/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext/unf.o +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/unf_ext-0.0.7.4/ext/unf_ext/unf_ext.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/unf_ext-0.0.7.4/lib/unf_ext.so +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/wdm-0.1.1/ext/wdm/Makefile +2 -2
- data/vendor/bundle/ruby/2.4.0/specifications/fake_ftp-0.3.0.gemspec +20 -0
- data/vendor/bundle/ruby/2.4.0/specifications/hashdiff-0.3.5.gemspec +39 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rb-fsevent-0.10.2.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rb-inotify-0.9.10.gemspec +40 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-3.5.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-core-3.5.4.gemspec +62 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-expectations-3.5.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-mocks-3.5.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-support-3.5.0.gemspec +41 -0
- data/version.txt +1 -1
- metadata +448 -752
- data/vendor/bundle/ruby/2.4.0/bin/autospec +0 -22
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/acceptance/cli/plugin_spec.rb +0 -156
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/acceptance/output/plugin_output.rb +0 -42
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/acceptance/provider/network_forwarded_port_spec.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/acceptance/provider/network_private_network_spec.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/lib/vagrant-spec/cli.rb +0 -45
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/lib/vagrant-spec/components.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/spec/acceptance/shared/isolated_environment_spec.rb +0 -43
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-1d09951eaef3/vagrant-spec.gemspec +0 -50
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/.gitignore +0 -18
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/.travis.yml +0 -8
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/Gemfile +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/LICENSE.txt +0 -373
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/README.md +0 -319
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/Rakefile +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/cli/box_spec.rb +0 -198
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/cli/init_spec.rb +0 -42
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/cli/plugin_spec.rb +0 -156
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/cli/version_spec.rb +0 -15
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/output/box_output.rb +0 -41
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/output/plugin_output.rb +0 -25
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/output/version_output.rb +0 -10
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provider/basic_spec.rb +0 -90
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provider/network_forwarded_port_spec.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provider/network_private_network_spec.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provider/package_spec.rb +0 -65
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provider/synced_folder_spec.rb +0 -33
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provisioner/chef_solo_spec.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provisioner/docker_spec.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provisioner/puppet_spec.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/provisioner/shell_spec.rb +0 -45
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-boxes/empty.box +0 -0
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-boxes/empty/metadata.json +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/README.md +0 -4
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.1.0.gemspec +0 -18
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/vagrant-spec-helper-basic/gem-0.2.0.gemspec +0 -18
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/vagrant-spec-helper-basic/gem-renamed-0.1.0.gemspec +0 -18
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vagrant-spec-helper-basic.rb +0 -10
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-plugins/vagrant-spec-helper-basic/lib/vshb/command.rb +0 -7
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/network_forwarded_port/Vagrantfile +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/network_private_network/Vagrantfile +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile +0 -14
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/cookbooks/bar/recipes/default.rb +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_chef_solo/basic-roles/roles/foo.rb +0 -2
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_chef_solo/basic/cookbooks/foo/recipes/default.rb +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_docker/Vagrantfile +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_puppet/Vagrantfile +0 -10
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_puppet/basic-modules/manifests/default.pp +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_puppet/basic-modules/modules/foo/manifests/init.pp +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_puppet/manifests/default.pp +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_shell/Vagrantfile +0 -10
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_shell/args.sh +0 -4
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_shell/path.sh +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_shell/user.sh +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/provisioner_shell/user_root.sh +0 -3
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folder_nfs/Vagrantfile +0 -7
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folder_nfs/foo +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folder_rsync/Vagrantfile +0 -6
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folder_rsync/foo +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folders/Vagrantfile +0 -6
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/support-skeletons/synced_folders/foo +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/synced_folder/nfs_spec.rb +0 -29
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/acceptance/synced_folder/rsync_spec.rb +0 -38
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/bin/vagrant-spec +0 -7
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec.rb +0 -20
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance.rb +0 -29
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/configuration.rb +0 -74
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/isolated_environment.rb +0 -90
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/output.rb +0 -38
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec/context.rb +0 -96
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec/formatter.rb +0 -33
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec/matcher_exit_with.rb +0 -12
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec/matcher_match_output.rb +0 -15
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/rspec/shared_provider_synced_folder.rb +0 -33
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/acceptance/runner.rb +0 -84
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/cli.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/components.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/isolated_environment.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/server.rb +0 -37
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/subprocess.rb +0 -259
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/unit.rb +0 -17
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/unit/dummy_provider.rb +0 -51
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/unit/isolated_environment.rb +0 -230
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/unit/rspec.rb +0 -1
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/unit/rspec/context.rb +0 -104
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/version.rb +0 -5
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/lib/vagrant-spec/which.rb +0 -36
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/acceptance/configuration_spec.rb +0 -25
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/acceptance/isolated_environment_spec.rb +0 -43
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/acceptance/shared/isolated_environment_spec.rb +0 -43
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/acceptance/shared/output_spec.rb +0 -53
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/components_spec.rb +0 -63
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/isolated_environment_spec.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/subprocess_spec.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/spec/unit/isolated_environment_spec.rb +0 -64
- data/vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-spec-9bba7e122837/vagrant-spec.gemspec +0 -50
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/objects/pack/pack-d95cb1f984995f857020b8c7be1573cc02e1be74.idx +0 -0
- data/vendor/bundle/ruby/2.4.0/cache/bundler/git/vagrant-spec-7f2ea299b3766e9a077e5bd825aa24cac5a3ef16/objects/pack/pack-d95cb1f984995f857020b8c7be1573cc02e1be74.pack +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/.gitignore +0 -7
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/.rspec +0 -2
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/.travis.yml +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/CONTRIBUTORS.md +0 -19
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/Gemfile +0 -12
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/Gemfile.lock +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/Guardfile +0 -10
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/README.md +0 -134
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/Rakefile +0 -10
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/fake_ftp.gemspec +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/lib/fake_ftp.rb +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/lib/fake_ftp/file.rb +0 -34
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/lib/fake_ftp/server.rb +0 -340
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/lib/fake_ftp/version.rb +0 -3
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/spec/functional/server_spec.rb +0 -468
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/spec/integration/server_spec.rb +0 -81
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/spec/models/fake_ftp/file_spec.rb +0 -102
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/spec/models/fake_ftp/server_spec.rb +0 -76
- data/vendor/bundle/ruby/2.4.0/gems/fake_ftp-0.1.1/spec/spec_helper.rb +0 -18
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/Gemfile +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/README.md +0 -207
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/changelog.md +0 -60
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/lib/hashdiff/diff.rb +0 -220
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/lib/hashdiff/lcs.rb +0 -69
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/lib/hashdiff/patch.rb +0 -84
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/lib/hashdiff/util.rb +0 -132
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/lib/hashdiff/version.rb +0 -3
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/spec/hashdiff/best_diff_spec.rb +0 -65
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/spec/hashdiff/diff_spec.rb +0 -277
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/spec/hashdiff/patch_spec.rb +0 -161
- data/vendor/bundle/ruby/2.4.0/gems/hashdiff-0.3.4/spec/spec_helper.rb +0 -13
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/Gemfile +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/README.md +0 -242
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/Rakefile +0 -32
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/bin/fsevent_watch +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/cli.c +0 -202
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.c +0 -25
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/compat.h +0 -47
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/fsevent_watch/main.c +0 -509
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/ext/rakefile.rb +0 -224
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/lib/rb-fsevent/fsevent.rb +0 -123
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/lib/rb-fsevent/version.rb +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/rb-fsevent-0.9.8/rb-fsevent.gemspec +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/MIT-LICENSE +0 -20
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/README.md +0 -66
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/Rakefile +0 -54
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/VERSION +0 -1
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify.rb +0 -18
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/native.rb +0 -35
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/native/flags.rb +0 -89
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/lib/rb-inotify/notifier.rb +0 -332
- data/vendor/bundle/ruby/2.4.0/gems/rb-inotify-0.9.8/rb-inotify.gemspec +0 -54
- data/vendor/bundle/ruby/2.4.0/gems/rspec-2.14.1/License.txt +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-2.14.1/README.md +0 -47
- data/vendor/bundle/ruby/2.4.0/gems/rspec-2.14.1/lib/rspec/version.rb +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/.document +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/.yardopts +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/Changelog.md +0 -912
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/License.txt +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/README.md +0 -261
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/exe/autospec +0 -13
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/exe/rspec +0 -25
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/Autotest.md +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/README.md +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/Upgrade.md +0 -364
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/README.md +0 -28
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/example_name_option.feature +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/exit_status.feature +0 -82
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/format_option.feature +0 -75
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/init.feature +0 -18
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/line_number_appended_to_path.feature +0 -140
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/line_number_option.feature +0 -58
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/order.feature +0 -29
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/pattern_option.feature +0 -49
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/rake_task.feature +0 -122
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/require_option.feature +0 -43
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/ruby.feature +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/tag.feature +0 -98
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature +0 -29
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/alias_example_to.feature +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/backtrace_clean_patterns.feature +0 -102
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/custom_settings.feature +0 -84
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/default_path.feature +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/deprecation_stream.feature +0 -58
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/fail_fast.feature +0 -77
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/failure_exit_code.feature +0 -36
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/order_and_seed.feature +0 -3
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/output_stream.feature +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/pattern.feature +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/profile.feature +0 -220
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/read_options_from_file.feature +0 -90
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/run_all_when_everything_filtered.feature +0 -76
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/show_failures_in_pending_blocks.feature +0 -61
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +0 -52
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/example_groups/basic_structure.feature +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/example_groups/shared_context.feature +0 -74
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/example_groups/shared_examples.feature +0 -294
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/expectation_framework_integration/configure_expectation_framework.feature +0 -102
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/filtering/exclusion_filters.feature +0 -138
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/filtering/if_and_unless.feature +0 -168
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/filtering/inclusion_filters.feature +0 -105
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/formatters/configurable_colors.feature +0 -31
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/formatters/custom_formatter.feature +0 -36
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/formatters/json_formatter.feature +0 -30
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/formatters/text_formatter.feature +0 -46
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/helper_methods/arbitrary_methods.feature +0 -40
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/helper_methods/let.feature +0 -50
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/helper_methods/modules.feature +0 -149
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/hooks/around_hooks.feature +0 -343
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/hooks/before_and_after_hooks.feature +0 -427
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/hooks/filtering.feature +0 -234
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/metadata/current_example.feature +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/metadata/described_class.feature +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/metadata/user_defined.feature +0 -113
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/mock_framework_integration/use_any_framework.feature +0 -106
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/mock_framework_integration/use_flexmock.feature +0 -96
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/mock_framework_integration/use_mocha.feature +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/mock_framework_integration/use_rr.feature +0 -98
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/mock_framework_integration/use_rspec.feature +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/pending/pending_examples.feature +0 -229
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/spec_files/arbitrary_file_suffix.feature +0 -13
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/step_definitions/additional_cli_steps.rb +0 -49
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/subject/attribute_of_subject.feature +0 -124
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/subject/explicit_subject.feature +0 -101
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/subject/implicit_receiver.feature +0 -29
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/subject/implicit_subject.feature +0 -63
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/support/env.rb +0 -14
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/support/rubinius.rb +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/autotest/discover.rb +0 -1
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/autotest/rspec2.rb +0 -73
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/autorun.rb +0 -2
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core.rb +0 -169
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/backtrace_cleaner.rb +0 -46
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/backward_compatibility.rb +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/command_line.rb +0 -36
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration.rb +0 -1174
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/configuration_options.rb +0 -156
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/deprecation.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/drb_command_line.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/drb_options.rb +0 -87
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/dsl.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/example.rb +0 -325
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/example_group.rb +0 -479
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/extensions/instance_eval_with_args.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/extensions/kernel.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/extensions/module_eval_with_args.rb +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/extensions/ordered.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/filter_manager.rb +0 -203
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters.rb +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/base_formatter.rb +0 -246
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/base_text_formatter.rb +0 -329
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/deprecation_formatter.rb +0 -39
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/documentation_formatter.rb +0 -67
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/helpers.rb +0 -110
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/html_formatter.rb +0 -155
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/html_printer.rb +0 -408
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/json_formatter.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb +0 -32
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/snippet_extractor.rb +0 -92
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/text_mate_formatter.rb +0 -46
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/hooks.rb +0 -519
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/memoized_helpers.rb +0 -514
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/metadata.rb +0 -299
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/metadata_hash_builder.rb +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/mocking/with_absolutely_nothing.rb +0 -11
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/mocking/with_flexmock.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/mocking/with_mocha.rb +0 -52
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/mocking/with_rr.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/mocking/with_rspec.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/option_parser.rb +0 -219
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/pending.rb +0 -113
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/project_initializer.rb +0 -86
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/rake_task.rb +0 -206
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/reporter.rb +0 -132
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/ruby_project.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/runner.rb +0 -87
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/shared_context.rb +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/shared_example_group.rb +0 -185
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/shared_example_group/collection.rb +0 -43
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/version.rb +0 -8
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/world.rb +0 -127
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/autotest/discover_spec.rb +0 -19
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/autotest/failed_results_re_spec.rb +0 -45
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/autotest/rspec_spec.rb +0 -133
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/command_line/order_spec.rb +0 -204
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/backtrace_cleaner_spec.rb +0 -68
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/command_line_spec.rb +0 -108
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/configuration_options_spec.rb +0 -417
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/configuration_spec.rb +0 -1561
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/deprecation_spec.rb +0 -46
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/deprecations_spec.rb +0 -73
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/drb_command_line_spec.rb +0 -102
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/drb_options_spec.rb +0 -193
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/dsl_spec.rb +0 -25
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/example_group_spec.rb +0 -1187
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/example_spec.rb +0 -465
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/filter_manager_spec.rb +0 -246
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/base_formatter_spec.rb +0 -108
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/base_text_formatter_spec.rb +0 -494
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/deprecation_formatter_spec.rb +0 -96
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/documentation_formatter_spec.rb +0 -88
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/helpers_spec.rb +0 -104
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +0 -404
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +0 -477
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.8.7.html +0 -414
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.9.2.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +0 -404
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +0 -477
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-1.9.3.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatted-2.0.0.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/html_formatter_spec.rb +0 -110
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/json_formatter_spec.rb +0 -115
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/progress_formatter_spec.rb +0 -30
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/snippet_extractor_spec.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +0 -395
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +0 -477
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +0 -414
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +0 -404
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +0 -477
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatted-2.1.0.html +0 -425
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/formatters/text_mate_formatter_spec.rb +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/hooks_filtering_spec.rb +0 -227
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/hooks_spec.rb +0 -267
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/kernel_extensions_spec.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/memoized_helpers_spec.rb +0 -688
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/metadata_spec.rb +0 -491
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/option_parser_spec.rb +0 -242
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/pending_example_spec.rb +0 -220
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/project_initializer_spec.rb +0 -130
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/rake_task_spec.rb +0 -181
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/reporter_spec.rb +0 -141
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/a_bar.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/a_foo.rb +0 -0
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/a_spec.rb +0 -1
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/custom_example_group_runner.rb +0 -14
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/formatter_specs.rb +0 -60
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/resources/utf8_encoded.rb +0 -8
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/rspec_matchers_spec.rb +0 -45
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/ruby_project_spec.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/runner_spec.rb +0 -82
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/shared_context_spec.rb +0 -114
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/shared_example_group/collection_spec.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/shared_example_group_spec.rb +0 -120
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core/world_spec.rb +0 -142
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/rspec/core_spec.rb +0 -74
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/spec_helper.rb +0 -132
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/config_options_helper.rb +0 -15
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/helper_methods.rb +0 -36
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/in_sub_process.rb +0 -37
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/isolate_load_path_mutation.rb +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/isolated_directory.rb +0 -10
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/isolated_home_directory.rb +0 -16
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/matchers.rb +0 -65
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/mathn_integration_support.rb +0 -12
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/sandboxed_mock_space.rb +0 -100
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/shared_example_groups.rb +0 -41
- data/vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/spec/support/spec_files.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/.document +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/.yardopts +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/Changelog.md +0 -426
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/License.txt +0 -23
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/README.md +0 -184
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/README.md +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/Upgrade.md +0 -53
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/README.md +0 -90
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/be.feature +0 -175
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/be_within.feature +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/cover.feature +0 -47
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/end_with.feature +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/equality.feature +0 -139
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/exist.feature +0 -45
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/expect_change.feature +0 -59
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/expect_error.feature +0 -144
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/have.feature +0 -109
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/include.feature +0 -174
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/match.feature +0 -52
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/operators.feature +0 -227
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/predicates.feature +0 -137
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/respond_to.feature +0 -84
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/satisfy.feature +0 -33
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/start_with.feature +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/throw_symbol.feature +0 -91
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/types.feature +0 -116
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/built_in_matchers/yield.feature +0 -161
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/custom_matchers/access_running_example.feature +0 -53
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/custom_matchers/define_diffable_matcher.feature +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/custom_matchers/define_matcher.feature +0 -368
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/custom_matchers/define_matcher_outside_rspec.feature +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/custom_matchers/define_matcher_with_fluent_interface.feature +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/customized_message.feature +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/diffing.feature +0 -85
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/implicit_docstrings.feature +0 -52
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/step_definitions/additional_cli_steps.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/support/env.rb +0 -14
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/support/rubinius.rb +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/syntax_configuration.feature +0 -71
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/features/test_frameworks/test_unit.feature +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec-expectations.rb +0 -1
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations.rb +0 -73
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/deprecation.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/differ.rb +0 -154
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/errors.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/expectation_target.rb +0 -87
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/extensions.rb +0 -2
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/extensions/array.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/extensions/object.rb +0 -29
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/fail_with.rb +0 -79
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/handler.rb +0 -68
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/syntax.rb +0 -164
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/expectations/version.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers.rb +0 -694
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/be_close.rb +0 -9
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in.rb +0 -39
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/base_matcher.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/be.rb +0 -197
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/be_instance_of.rb +0 -15
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/be_kind_of.rb +0 -11
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/be_within.rb +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/change.rb +0 -141
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/cover.rb +0 -21
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/eq.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/eql.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/equal.rb +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/exist.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/has.rb +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/have.rb +0 -124
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/include.rb +0 -61
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/match.rb +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/match_array.rb +0 -51
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/raise_error.rb +0 -127
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/respond_to.rb +0 -74
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/satisfy.rb +0 -30
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/start_and_end_with.rb +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/throw_symbol.rb +0 -94
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/built_in/yield.rb +0 -296
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/compatibility.rb +0 -14
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/configuration.rb +0 -108
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/dsl.rb +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/extensions/instance_eval_with_args.rb +0 -39
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/generated_descriptions.rb +0 -35
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/matcher.rb +0 -300
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/method_missing.rb +0 -12
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/operator_matcher.rb +0 -113
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/pretty.rb +0 -70
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/lib/rspec/matchers/test_unit_integration.rb +0 -11
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/differ_spec.rb +0 -229
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/expectation_target_spec.rb +0 -82
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/extensions/kernel_spec.rb +0 -67
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/fail_with_spec.rb +0 -114
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/handler_spec.rb +0 -227
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations/syntax_spec.rb +0 -139
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/expectations_spec.rb +0 -50
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/base_matcher_spec.rb +0 -83
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/be_close_spec.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/be_instance_of_spec.rb +0 -63
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/be_kind_of_spec.rb +0 -41
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/be_spec.rb +0 -522
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/be_within_spec.rb +0 -137
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/change_spec.rb +0 -567
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/configuration_spec.rb +0 -206
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/cover_spec.rb +0 -69
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/description_generation_spec.rb +0 -190
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/dsl_spec.rb +0 -57
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/eq_spec.rb +0 -60
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/eql_spec.rb +0 -41
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/equal_spec.rb +0 -104
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/exist_spec.rb +0 -124
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/has_spec.rb +0 -122
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/have_spec.rb +0 -455
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/include_matcher_integration_spec.rb +0 -30
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/include_spec.rb +0 -531
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/match_array_spec.rb +0 -194
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/match_spec.rb +0 -74
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/matcher_spec.rb +0 -471
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/matchers_spec.rb +0 -37
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/method_missing_spec.rb +0 -28
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/operator_matcher_spec.rb +0 -252
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/raise_error_spec.rb +0 -535
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/respond_to_spec.rb +0 -292
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/satisfy_spec.rb +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/start_with_end_with_spec.rb +0 -186
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/throw_symbol_spec.rb +0 -116
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/rspec/matchers/yield_spec.rb +0 -514
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/spec_helper.rb +0 -54
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/support/classes.rb +0 -56
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/support/in_sub_process.rb +0 -38
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/support/matchers.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/support/ruby_version.rb +0 -10
- data/vendor/bundle/ruby/2.4.0/gems/rspec-expectations-2.14.5/spec/support/shared_examples.rb +0 -13
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/.document +0 -5
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/.yardopts +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/Changelog.md +0 -438
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/License.txt +0 -23
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/README.md +0 -315
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/README.md +0 -67
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/Scope.md +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/Upgrade.md +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/argument_matchers/README.md +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/argument_matchers/explicit.feature +0 -59
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/argument_matchers/general_matchers.feature +0 -85
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/argument_matchers/type_matchers.feature +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/README.md +0 -73
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/allow_any_instance_of.feature +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/any_instance.feature +0 -21
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/block_local_expectations.feature.pending +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/call_original.feature +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/expect_any_instance_of.feature +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/expect_message_using_expect.feature +0 -107
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/expect_message_using_should_receive.feature +0 -118
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/receive_counts.feature +0 -209
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +0 -50
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/README.md +0 -73
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/any_instance.feature +0 -136
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/as_null_object.feature +0 -40
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/simple_return_value_with_allow.feature +0 -44
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/simple_return_value_with_stub.feature +0 -64
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/stub_chain.feature +0 -51
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/stub_implementation.feature +0 -48
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/method_stubs/to_ary.feature +0 -51
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/mutating_constants/README.md +0 -82
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/mutating_constants/hiding_defined_constant.feature +0 -64
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/mutating_constants/stub_defined_constant.feature +0 -79
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/mutating_constants/stub_undefined_constant.feature +0 -50
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/outside_rspec/configuration.feature +0 -62
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/outside_rspec/standalone.feature +0 -33
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/spies/spy_partial_mock_method.feature +0 -34
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/spies/spy_pure_mock_method.feature +0 -76
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/spies/spy_unstubbed_method.feature +0 -18
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/step_definitions/additional_cli_steps.rb +0 -11
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/support/env.rb +0 -13
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/support/rubinius.rb +0 -6
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/features/test_frameworks/test_unit.feature +0 -43
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks.rb +0 -96
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/chain.rb +0 -94
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -42
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/message_chains.rb +0 -60
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/recorder.rb +0 -208
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/stub_chain.rb +0 -40
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/argument_list_matcher.rb +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/argument_matchers.rb +0 -238
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/configuration.rb +0 -55
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/deprecation.rb +0 -18
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/error_generator.rb +0 -179
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/errors.rb +0 -12
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/example_methods.rb +0 -156
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/extensions/instance_exec.rb +0 -34
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/extensions/marshal.rb +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/framework.rb +0 -34
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/instance_method_stasher.rb +0 -94
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/matchers/have_received.rb +0 -93
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/matchers/receive.rb +0 -97
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/message_expectation.rb +0 -600
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/method_double.rb +0 -271
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/mock.rb +0 -7
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/mutate_const.rb +0 -403
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/order_group.rb +0 -40
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy.rb +0 -223
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/proxy_for_nil.rb +0 -37
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/space.rb +0 -92
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/standalone.rb +0 -3
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/stub_chain.rb +0 -51
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/syntax.rb +0 -349
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/targets.rb +0 -69
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/test_double.rb +0 -135
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/rspec/mocks/version.rb +0 -7
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/lib/spec/mocks.rb +0 -4
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/and_call_original_spec.rb +0 -243
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/and_yield_spec.rb +0 -127
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/any_instance/message_chains_spec.rb +0 -41
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/any_instance_spec.rb +0 -1036
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/any_number_of_times_spec.rb +0 -36
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/argument_expectation_spec.rb +0 -32
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/at_least_spec.rb +0 -151
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/at_most_spec.rb +0 -90
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/block_return_value_spec.rb +0 -99
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_10260_spec.rb +0 -8
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_10263_spec.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_11545_spec.rb +0 -32
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_496_spec.rb +0 -17
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_600_spec.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_7611_spec.rb +0 -16
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_8165_spec.rb +0 -31
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_830_spec.rb +0 -21
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/bug_report_957_spec.rb +0 -22
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/combining_implementation_instructions_spec.rb +0 -205
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/configuration_spec.rb +0 -150
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/double_spec.rb +0 -24
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/extensions/marshal_spec.rb +0 -54
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/failing_argument_matchers_spec.rb +0 -110
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/hash_excluding_matcher_spec.rb +0 -67
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/hash_including_matcher_spec.rb +0 -90
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/instance_method_stasher_spec.rb +0 -58
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/matchers/have_received_spec.rb +0 -266
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/matchers/receive_spec.rb +0 -342
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/methods_spec.rb +0 -27
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/mock_ordering_spec.rb +0 -103
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/mock_space_spec.rb +0 -103
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/mock_spec.rb +0 -798
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/multiple_return_value_spec.rb +0 -132
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/mutate_const_spec.rb +0 -501
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/nil_expectation_warning_spec.rb +0 -68
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/null_object_mock_spec.rb +0 -123
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/once_counts_spec.rb +0 -52
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/options_hash_spec.rb +0 -35
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/partial_mock_spec.rb +0 -205
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +0 -95
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/passing_argument_matchers_spec.rb +0 -142
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/precise_counts_spec.rb +0 -68
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/record_messages_spec.rb +0 -26
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/serialization_spec.rb +0 -89
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/space_spec.rb +0 -32
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/stash_spec.rb +0 -46
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/stub_chain_spec.rb +0 -166
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/stub_implementation_spec.rb +0 -81
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/stub_spec.rb +0 -353
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/stubbed_message_expectations_spec.rb +0 -58
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb +0 -81
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/test_double_spec.rb +0 -67
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/to_ary_spec.rb +0 -54
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/twice_counts_spec.rb +0 -66
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks_spec.rb +0 -65
- data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/spec_helper.rb +0 -60
- data/vendor/bundle/ruby/2.4.0/specifications/fake_ftp-0.1.1.gemspec +0 -20
- data/vendor/bundle/ruby/2.4.0/specifications/hashdiff-0.3.4.gemspec +0 -39
- data/vendor/bundle/ruby/2.4.0/specifications/rb-fsevent-0.9.8.gemspec +0 -38
- data/vendor/bundle/ruby/2.4.0/specifications/rb-inotify-0.9.8.gemspec +0 -36
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-2.14.1.gemspec +0 -42
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-core-2.14.8.gemspec +0 -61
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-expectations-2.14.5.gemspec +0 -43
- data/vendor/bundle/ruby/2.4.0/specifications/rspec-mocks-2.14.6.gemspec +0 -40
data/vendor/bundle/ruby/2.4.0/gems/rspec-mocks-2.14.6/spec/rspec/mocks/and_call_original_spec.rb
DELETED
@@ -1,243 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'delegate'
|
3
|
-
|
4
|
-
describe "and_call_original" do
|
5
|
-
context "on a partial mock object" do
|
6
|
-
let(:klass) do
|
7
|
-
Class.new do
|
8
|
-
def meth_1
|
9
|
-
:original
|
10
|
-
end
|
11
|
-
|
12
|
-
def meth_2(x)
|
13
|
-
yield x, :additional_yielded_arg
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.new_instance
|
17
|
-
new
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
let(:instance) { klass.new }
|
23
|
-
|
24
|
-
it 'passes the received message through to the original method' do
|
25
|
-
instance.should_receive(:meth_1).and_call_original
|
26
|
-
expect(instance.meth_1).to eq(:original)
|
27
|
-
end
|
28
|
-
|
29
|
-
it 'passes args and blocks through to the original method' do
|
30
|
-
instance.should_receive(:meth_2).and_call_original
|
31
|
-
value = instance.meth_2(:submitted_arg) { |a, b| [a, b] }
|
32
|
-
expect(value).to eq([:submitted_arg, :additional_yielded_arg])
|
33
|
-
end
|
34
|
-
|
35
|
-
it 'errors when you pass through the wrong number of args' do
|
36
|
-
instance.stub(:meth_1).and_call_original
|
37
|
-
instance.stub(:meth_2).and_call_original
|
38
|
-
expect { instance.meth_1 :a }.to raise_error ArgumentError
|
39
|
-
expect { instance.meth_2 {} }.to raise_error ArgumentError
|
40
|
-
expect { instance.meth_2(:a, :b) {} }.to raise_error ArgumentError
|
41
|
-
end
|
42
|
-
|
43
|
-
context "for singleton methods" do
|
44
|
-
it 'works' do
|
45
|
-
def instance.foo; :bar; end
|
46
|
-
instance.should_receive(:foo).and_call_original
|
47
|
-
expect(instance.foo).to eq(:bar)
|
48
|
-
end
|
49
|
-
|
50
|
-
it 'works for SimpleDelegator subclasses', :if => (RUBY_VERSION.to_f > 1.8) do
|
51
|
-
instance = Class.new(SimpleDelegator).new(1)
|
52
|
-
def instance.foo; :bar; end
|
53
|
-
instance.should_receive(:foo).and_call_original
|
54
|
-
expect(instance.foo).to eq(:bar)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
it 'works for methods added through an extended module' do
|
59
|
-
instance.extend Module.new { def foo; :bar; end }
|
60
|
-
instance.should_receive(:foo).and_call_original
|
61
|
-
expect(instance.foo).to eq(:bar)
|
62
|
-
end
|
63
|
-
|
64
|
-
it "works for method added through an extended module onto a class's ancestor" do
|
65
|
-
sub_sub_klass = Class.new(Class.new(klass))
|
66
|
-
klass.extend Module.new { def foo; :bar; end }
|
67
|
-
sub_sub_klass.should_receive(:foo).and_call_original
|
68
|
-
expect(sub_sub_klass.foo).to eq(:bar)
|
69
|
-
end
|
70
|
-
|
71
|
-
it "finds the method on the most direct ancestor even if the method " +
|
72
|
-
"is available on more distant ancestors" do
|
73
|
-
klass.extend Module.new { def foo; :klass_bar; end }
|
74
|
-
sub_klass = Class.new(klass)
|
75
|
-
sub_klass.extend Module.new { def foo; :sub_klass_bar; end }
|
76
|
-
sub_klass.should_receive(:foo).and_call_original
|
77
|
-
expect(sub_klass.foo).to eq(:sub_klass_bar)
|
78
|
-
end
|
79
|
-
|
80
|
-
context 'when using any_instance' do
|
81
|
-
it 'works for instance methods defined on the class' do
|
82
|
-
klass.any_instance.should_receive(:meth_1).and_call_original
|
83
|
-
expect(klass.new.meth_1).to eq(:original)
|
84
|
-
end
|
85
|
-
|
86
|
-
it 'works for instance methods defined on the superclass of the class' do
|
87
|
-
subclass = Class.new(klass)
|
88
|
-
subclass.any_instance.should_receive(:meth_1).and_call_original
|
89
|
-
expect(subclass.new.meth_1).to eq(:original)
|
90
|
-
end
|
91
|
-
|
92
|
-
it 'works when mocking the method on one class and calling the method on an instance of a subclass' do
|
93
|
-
klass.any_instance.should_receive(:meth_1).and_call_original
|
94
|
-
expect(Class.new(klass).new.meth_1).to eq(:original)
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
if RUBY_VERSION.to_f > 1.8
|
99
|
-
it 'works for class methods defined on a superclass' do
|
100
|
-
subclass = Class.new(klass)
|
101
|
-
subclass.should_receive(:new_instance).and_call_original
|
102
|
-
expect(subclass.new_instance).to be_a(subclass)
|
103
|
-
end
|
104
|
-
|
105
|
-
it 'works for class methods defined on a grandparent class' do
|
106
|
-
sub_subclass = Class.new(Class.new(klass))
|
107
|
-
sub_subclass.should_receive(:new_instance).and_call_original
|
108
|
-
expect(sub_subclass.new_instance).to be_a(sub_subclass)
|
109
|
-
end
|
110
|
-
else
|
111
|
-
it 'attempts to work for class methods defined on a superclass but ' +
|
112
|
-
'executes the method with `self` as the superclass' do
|
113
|
-
::Kernel.stub(:warn)
|
114
|
-
subclass = Class.new(klass)
|
115
|
-
subclass.should_receive(:new_instance).and_call_original
|
116
|
-
expect(subclass.new_instance).to be_an_instance_of(klass)
|
117
|
-
end
|
118
|
-
|
119
|
-
it 'prints a warning to notify users that `self` will not be correct' do
|
120
|
-
subclass = Class.new(klass)
|
121
|
-
::Kernel.should_receive(:warn).with(/may not work correctly/)
|
122
|
-
subclass.should_receive(:new_instance).and_call_original
|
123
|
-
subclass.new_instance
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
it 'works for class methods defined on the Class class' do
|
128
|
-
klass.should_receive(:new).and_call_original
|
129
|
-
expect(klass.new).to be_an_instance_of(klass)
|
130
|
-
end
|
131
|
-
|
132
|
-
it "works for instance methods defined on the object's class's superclass" do
|
133
|
-
subclass = Class.new(klass)
|
134
|
-
inst = subclass.new
|
135
|
-
inst.should_receive(:meth_1).and_call_original
|
136
|
-
expect(inst.meth_1).to eq(:original)
|
137
|
-
end
|
138
|
-
|
139
|
-
it 'works for aliased methods' do
|
140
|
-
klass = Class.new do
|
141
|
-
class << self
|
142
|
-
alias alternate_new new
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
klass.should_receive(:alternate_new).and_call_original
|
147
|
-
expect(klass.alternate_new).to be_an_instance_of(klass)
|
148
|
-
end
|
149
|
-
|
150
|
-
context 'on an object that defines method_missing' do
|
151
|
-
before do
|
152
|
-
klass.class_eval do
|
153
|
-
private
|
154
|
-
|
155
|
-
def method_missing(name, *args)
|
156
|
-
if name.to_s == "greet_jack"
|
157
|
-
"Hello, jack"
|
158
|
-
else
|
159
|
-
super
|
160
|
-
end
|
161
|
-
end
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
it 'works when the method_missing definition handles the message' do
|
166
|
-
instance.should_receive(:greet_jack).and_call_original
|
167
|
-
expect(instance.greet_jack).to eq("Hello, jack")
|
168
|
-
end
|
169
|
-
|
170
|
-
it 'works for an any_instance partial mock' do
|
171
|
-
klass.any_instance.should_receive(:greet_jack).and_call_original
|
172
|
-
expect(instance.greet_jack).to eq("Hello, jack")
|
173
|
-
end
|
174
|
-
|
175
|
-
it 'raises an error for an unhandled message for an any_instance partial mock' do
|
176
|
-
klass.any_instance.should_receive(:not_a_handled_message).and_call_original
|
177
|
-
expect {
|
178
|
-
instance.not_a_handled_message
|
179
|
-
}.to raise_error(NameError, /not_a_handled_message/)
|
180
|
-
end
|
181
|
-
|
182
|
-
it 'raises an error on invocation if method_missing does not handle the message' do
|
183
|
-
instance.should_receive(:not_a_handled_message).and_call_original
|
184
|
-
|
185
|
-
# Note: it should raise a NoMethodError (and usually does), but
|
186
|
-
# due to a weird rspec-expectations issue (see #183) it sometimes
|
187
|
-
# raises a `NameError` when a `be_xxx` predicate matcher has been
|
188
|
-
# recently used. `NameError` is the superclass of `NoMethodError`
|
189
|
-
# so this example will pass regardless.
|
190
|
-
# If/when we solve the rspec-expectations issue, this can (and should)
|
191
|
-
# be changed to `NoMethodError`.
|
192
|
-
expect {
|
193
|
-
instance.not_a_handled_message
|
194
|
-
}.to raise_error(NameError, /not_a_handled_message/)
|
195
|
-
end
|
196
|
-
end
|
197
|
-
end
|
198
|
-
|
199
|
-
context "on a partial mock object that overrides #method" do
|
200
|
-
let(:request_klass) do
|
201
|
-
Struct.new(:method, :url) do
|
202
|
-
def perform
|
203
|
-
:the_response
|
204
|
-
end
|
205
|
-
|
206
|
-
def self.method
|
207
|
-
:some_method
|
208
|
-
end
|
209
|
-
end
|
210
|
-
end
|
211
|
-
|
212
|
-
let(:request) { request_klass.new(:get, "http://foo.com/bar") }
|
213
|
-
|
214
|
-
it 'still works even though #method has been overriden' do
|
215
|
-
request.should_receive(:perform).and_call_original
|
216
|
-
expect(request.perform).to eq(:the_response)
|
217
|
-
end
|
218
|
-
|
219
|
-
it 'works for a singleton method' do
|
220
|
-
def request.perform
|
221
|
-
:a_response
|
222
|
-
end
|
223
|
-
|
224
|
-
request.should_receive(:perform).and_call_original
|
225
|
-
expect(request.perform).to eq(:a_response)
|
226
|
-
end
|
227
|
-
end
|
228
|
-
|
229
|
-
context "on a pure mock object" do
|
230
|
-
let(:instance) { double }
|
231
|
-
|
232
|
-
it 'raises an error even if the mock object responds to the message' do
|
233
|
-
expect(instance.to_s).to be_a(String)
|
234
|
-
mock_expectation = instance.should_receive(:to_s)
|
235
|
-
instance.to_s # to satisfy the expectation
|
236
|
-
|
237
|
-
expect {
|
238
|
-
mock_expectation.and_call_original
|
239
|
-
}.to raise_error(/and_call_original.*partial mock/i)
|
240
|
-
end
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
@@ -1,127 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe RSpec::Mocks::Mock do
|
4
|
-
|
5
|
-
let(:obj) { double }
|
6
|
-
|
7
|
-
describe "#and_yield" do
|
8
|
-
context 'when the method double has been constrained by `with`' do
|
9
|
-
it 'uses the default stub if the provided args do not match' do
|
10
|
-
obj.stub(:foo) { 15 }
|
11
|
-
obj.stub(:foo).with(:yield).and_yield
|
12
|
-
|
13
|
-
# should_receive is required to trigger the bug:
|
14
|
-
# https://github.com/rspec/rspec-mocks/issues/127
|
15
|
-
obj.should_receive(:foo)
|
16
|
-
|
17
|
-
expect(obj.foo(:dont_yield)).to eq(15)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
context "with eval context as block argument" do
|
22
|
-
|
23
|
-
it "evaluates the supplied block as it is read" do
|
24
|
-
evaluated = false
|
25
|
-
obj.stub(:method_that_accepts_a_block).and_yield do |eval_context|
|
26
|
-
evaluated = true
|
27
|
-
end
|
28
|
-
expect(evaluated).to be_true
|
29
|
-
end
|
30
|
-
|
31
|
-
it "passes an eval context object to the supplied block" do
|
32
|
-
obj.stub(:method_that_accepts_a_block).and_yield do |eval_context|
|
33
|
-
expect(eval_context).not_to be_nil
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
it "evaluates the block passed to the stubbed method in the context of the supplied eval context" do
|
38
|
-
expected_eval_context = nil
|
39
|
-
actual_eval_context = nil
|
40
|
-
|
41
|
-
obj.stub(:method_that_accepts_a_block).and_yield do |eval_context|
|
42
|
-
expected_eval_context = eval_context
|
43
|
-
end
|
44
|
-
|
45
|
-
obj.method_that_accepts_a_block do
|
46
|
-
actual_eval_context = self
|
47
|
-
end
|
48
|
-
|
49
|
-
expect(actual_eval_context).to equal(expected_eval_context)
|
50
|
-
end
|
51
|
-
|
52
|
-
context "and no yielded arguments" do
|
53
|
-
|
54
|
-
it "passes when expectations set on the eval context are met" do
|
55
|
-
configured_eval_context = nil
|
56
|
-
obj.stub(:method_that_accepts_a_block).and_yield do |eval_context|
|
57
|
-
configured_eval_context = eval_context
|
58
|
-
configured_eval_context.should_receive(:foo)
|
59
|
-
end
|
60
|
-
|
61
|
-
obj.method_that_accepts_a_block do
|
62
|
-
foo
|
63
|
-
end
|
64
|
-
|
65
|
-
verify configured_eval_context
|
66
|
-
end
|
67
|
-
|
68
|
-
it "fails when expectations set on the eval context are not met" do
|
69
|
-
configured_eval_context = nil
|
70
|
-
obj.stub(:method_that_accepts_a_block).and_yield do |eval_context|
|
71
|
-
configured_eval_context = eval_context
|
72
|
-
configured_eval_context.should_receive(:foo)
|
73
|
-
end
|
74
|
-
|
75
|
-
obj.method_that_accepts_a_block do
|
76
|
-
# foo is not called here
|
77
|
-
end
|
78
|
-
|
79
|
-
expect { verify configured_eval_context }.to raise_error(RSpec::Mocks::MockExpectationError)
|
80
|
-
end
|
81
|
-
|
82
|
-
end
|
83
|
-
|
84
|
-
context "and yielded arguments" do
|
85
|
-
|
86
|
-
it "passes when expectations set on the eval context and yielded arguments are met" do
|
87
|
-
configured_eval_context = nil
|
88
|
-
yielded_arg = Object.new
|
89
|
-
obj.stub(:method_that_accepts_a_block).and_yield(yielded_arg) do |eval_context|
|
90
|
-
configured_eval_context = eval_context
|
91
|
-
configured_eval_context.should_receive(:foo)
|
92
|
-
yielded_arg.should_receive(:bar)
|
93
|
-
end
|
94
|
-
|
95
|
-
obj.method_that_accepts_a_block do |obj|
|
96
|
-
obj.bar
|
97
|
-
foo
|
98
|
-
end
|
99
|
-
|
100
|
-
verify configured_eval_context
|
101
|
-
verify yielded_arg
|
102
|
-
end
|
103
|
-
|
104
|
-
it "fails when expectations set on the eval context and yielded arguments are not met" do
|
105
|
-
configured_eval_context = nil
|
106
|
-
yielded_arg = Object.new
|
107
|
-
obj.stub(:method_that_accepts_a_block).and_yield(yielded_arg) do |eval_context|
|
108
|
-
configured_eval_context = eval_context
|
109
|
-
configured_eval_context.should_receive(:foo)
|
110
|
-
yielded_arg.should_receive(:bar)
|
111
|
-
end
|
112
|
-
|
113
|
-
obj.method_that_accepts_a_block do |obj|
|
114
|
-
# obj.bar is not called here
|
115
|
-
# foo is not called here
|
116
|
-
end
|
117
|
-
|
118
|
-
expect { verify configured_eval_context }.to raise_error(RSpec::Mocks::MockExpectationError)
|
119
|
-
expect { verify yielded_arg }.to raise_error(RSpec::Mocks::MockExpectationError)
|
120
|
-
end
|
121
|
-
|
122
|
-
end
|
123
|
-
|
124
|
-
end
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
@@ -1,41 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe RSpec::Mocks::AnyInstance::MessageChains do
|
4
|
-
let(:recorder) { double }
|
5
|
-
let(:chains) { RSpec::Mocks::AnyInstance::MessageChains.new }
|
6
|
-
let(:stub_chain) { RSpec::Mocks::AnyInstance::StubChain.new recorder }
|
7
|
-
let(:expectation_chain) { RSpec::Mocks::AnyInstance::PositiveExpectationChain.new recorder }
|
8
|
-
|
9
|
-
it "knows if a method does not have an expectation set on it" do
|
10
|
-
chains.add(:method_name, stub_chain)
|
11
|
-
expect(chains.has_expectation?(:method_name)).to be_false
|
12
|
-
end
|
13
|
-
|
14
|
-
it "knows if a method has an expectation set on it" do
|
15
|
-
chains.add(:method_name, stub_chain)
|
16
|
-
chains.add(:method_name, expectation_chain)
|
17
|
-
expect(chains.has_expectation?(:method_name)).to be_true
|
18
|
-
end
|
19
|
-
|
20
|
-
it "can remove all stub chains" do
|
21
|
-
chains.add(:method_name, stub_chain)
|
22
|
-
chains.add(:method_name, expectation_chain)
|
23
|
-
chains.add(:method_name, RSpec::Mocks::AnyInstance::StubChain.new(recorder))
|
24
|
-
|
25
|
-
chains.remove_stub_chains_for!(:method_name)
|
26
|
-
expect(chains[:method_name]).to eq([expectation_chain])
|
27
|
-
end
|
28
|
-
|
29
|
-
context "creating stub chains" do
|
30
|
-
it "understands how to add a stub chain for a method" do
|
31
|
-
chains.add(:method_name, stub_chain)
|
32
|
-
expect(chains[:method_name]).to eq([stub_chain])
|
33
|
-
end
|
34
|
-
|
35
|
-
it "allows multiple stub chains for a method" do
|
36
|
-
chains.add(:method_name, stub_chain)
|
37
|
-
chains.add(:method_name, another_stub_chain = RSpec::Mocks::AnyInstance::StubChain.new(recorder))
|
38
|
-
expect(chains[:method_name]).to eq([stub_chain, another_stub_chain])
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,1036 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'delegate'
|
3
|
-
|
4
|
-
module RSpec
|
5
|
-
module Mocks
|
6
|
-
describe "#any_instance" do
|
7
|
-
class CustomErrorForAnyInstanceSpec < StandardError;end
|
8
|
-
|
9
|
-
let(:klass) do
|
10
|
-
Class.new do
|
11
|
-
def existing_method; :existing_method_return_value; end
|
12
|
-
def existing_method_with_arguments(arg_one, arg_two = nil); :existing_method_with_arguments_return_value; end
|
13
|
-
def another_existing_method; end
|
14
|
-
private
|
15
|
-
def private_method; :private_method_return_value; end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
let(:existing_method_return_value){ :existing_method_return_value }
|
19
|
-
|
20
|
-
context "invocation order" do
|
21
|
-
context "#stub" do
|
22
|
-
it "raises an error if 'stub' follows 'with'" do
|
23
|
-
expect { klass.any_instance.with("1").stub(:foo) }.to raise_error(NoMethodError)
|
24
|
-
end
|
25
|
-
|
26
|
-
it "raises an error if 'with' follows 'and_return'" do
|
27
|
-
expect { klass.any_instance.stub(:foo).and_return(1).with("1") }.to raise_error(NoMethodError)
|
28
|
-
end
|
29
|
-
|
30
|
-
it "raises an error if 'with' follows 'and_raise'" do
|
31
|
-
expect { klass.any_instance.stub(:foo).and_raise(1).with("1") }.to raise_error(NoMethodError)
|
32
|
-
end
|
33
|
-
|
34
|
-
it "raises an error if 'with' follows 'and_yield'" do
|
35
|
-
expect { klass.any_instance.stub(:foo).and_yield(1).with("1") }.to raise_error(NoMethodError)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
context "#stub_chain" do
|
40
|
-
it "raises an error if 'stub_chain' follows 'any_instance'" do
|
41
|
-
expect { klass.any_instance.and_return("1").stub_chain(:foo, :bar) }.to raise_error(NoMethodError)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
context "#should_receive" do
|
46
|
-
it "raises an error if 'should_receive' follows 'with'" do
|
47
|
-
expect { klass.any_instance.with("1").should_receive(:foo) }.to raise_error(NoMethodError)
|
48
|
-
end
|
49
|
-
|
50
|
-
it "raises an error if 'with' follows 'and_return'" do
|
51
|
-
pending "see Github issue #42"
|
52
|
-
expect { klass.any_instance.should_receive(:foo).and_return(1).with("1") }.to raise_error(NoMethodError)
|
53
|
-
end
|
54
|
-
|
55
|
-
it "raises an error if 'with' follows 'and_raise'" do
|
56
|
-
pending "see Github issue #42"
|
57
|
-
expect { klass.any_instance.should_receive(:foo).and_raise(1).with("1") }.to raise_error(NoMethodError)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
context "with #stub" do
|
63
|
-
it "does not suppress an exception when a method that doesn't exist is invoked" do
|
64
|
-
klass.any_instance.stub(:foo)
|
65
|
-
expect { klass.new.bar }.to raise_error(NoMethodError)
|
66
|
-
end
|
67
|
-
|
68
|
-
context 'multiple methods' do
|
69
|
-
it "allows multiple methods to be stubbed in a single invocation" do
|
70
|
-
klass.any_instance.stub(:foo => 'foo', :bar => 'bar')
|
71
|
-
instance = klass.new
|
72
|
-
expect(instance.foo).to eq('foo')
|
73
|
-
expect(instance.bar).to eq('bar')
|
74
|
-
end
|
75
|
-
|
76
|
-
it "adheres to the contract of multiple method stubbing withou any instance" do
|
77
|
-
expect(Object.new.stub(:foo => 'foo', :bar => 'bar')).to eq(:foo => 'foo', :bar => 'bar')
|
78
|
-
expect(klass.any_instance.stub(:foo => 'foo', :bar => 'bar')).to eq(:foo => 'foo', :bar => 'bar')
|
79
|
-
end
|
80
|
-
|
81
|
-
context "allows a chain of methods to be stubbed using #stub_chain" do
|
82
|
-
it "given symbols representing the methods" do
|
83
|
-
klass.any_instance.stub_chain(:one, :two, :three).and_return(:four)
|
84
|
-
expect(klass.new.one.two.three).to eq(:four)
|
85
|
-
end
|
86
|
-
|
87
|
-
it "given a hash as the last argument uses the value as the expected return value" do
|
88
|
-
klass.any_instance.stub_chain(:one, :two, :three => :four)
|
89
|
-
expect(klass.new.one.two.three).to eq(:four)
|
90
|
-
end
|
91
|
-
|
92
|
-
it "given a string of '.' separated method names representing the chain" do
|
93
|
-
klass.any_instance.stub_chain('one.two.three').and_return(:four)
|
94
|
-
expect(klass.new.one.two.three).to eq(:four)
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
context "behaves as 'every instance'" do
|
100
|
-
it "stubs every instance in the spec" do
|
101
|
-
klass.any_instance.stub(:foo).and_return(result = Object.new)
|
102
|
-
expect(klass.new.foo).to eq(result)
|
103
|
-
expect(klass.new.foo).to eq(result)
|
104
|
-
end
|
105
|
-
|
106
|
-
it "stubs instance created before any_instance was called" do
|
107
|
-
instance = klass.new
|
108
|
-
klass.any_instance.stub(:foo).and_return(result = Object.new)
|
109
|
-
expect(instance.foo).to eq(result)
|
110
|
-
end
|
111
|
-
|
112
|
-
it 'handles freeze and duplication correctly' do
|
113
|
-
String.any_instance.stub(:any_method)
|
114
|
-
|
115
|
-
foo = 'foo'.freeze
|
116
|
-
expect(foo.dup.concat 'bar').to eq 'foobar'
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
context "with argument matching" do
|
121
|
-
before do
|
122
|
-
klass.any_instance.stub(:foo).with(:param_one, :param_two).and_return(:result_one)
|
123
|
-
klass.any_instance.stub(:foo).with(:param_three, :param_four).and_return(:result_two)
|
124
|
-
end
|
125
|
-
|
126
|
-
it "returns the stubbed value when arguments match" do
|
127
|
-
instance = klass.new
|
128
|
-
expect(instance.foo(:param_one, :param_two)).to eq(:result_one)
|
129
|
-
expect(instance.foo(:param_three, :param_four)).to eq(:result_two)
|
130
|
-
end
|
131
|
-
|
132
|
-
it "fails the spec with an expectation error when the arguments do not match" do
|
133
|
-
expect do
|
134
|
-
klass.new.foo(:param_one, :param_three)
|
135
|
-
end.to(raise_error(RSpec::Mocks::MockExpectationError))
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
context "with multiple stubs" do
|
140
|
-
before do
|
141
|
-
klass.any_instance.stub(:foo).and_return(1)
|
142
|
-
klass.any_instance.stub(:bar).and_return(2)
|
143
|
-
end
|
144
|
-
|
145
|
-
it "stubs a method" do
|
146
|
-
instance = klass.new
|
147
|
-
expect(instance.foo).to eq(1)
|
148
|
-
expect(instance.bar).to eq(2)
|
149
|
-
end
|
150
|
-
|
151
|
-
it "returns the same value for calls on different instances" do
|
152
|
-
expect(klass.new.foo).to eq(klass.new.foo)
|
153
|
-
expect(klass.new.bar).to eq(klass.new.bar)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
|
-
context "with #and_return" do
|
158
|
-
it "stubs a method that doesn't exist" do
|
159
|
-
klass.any_instance.stub(:foo).and_return(1)
|
160
|
-
expect(klass.new.foo).to eq(1)
|
161
|
-
end
|
162
|
-
|
163
|
-
it "stubs a method that exists" do
|
164
|
-
klass.any_instance.stub(:existing_method).and_return(1)
|
165
|
-
expect(klass.new.existing_method).to eq(1)
|
166
|
-
end
|
167
|
-
|
168
|
-
it "returns the same object for calls on different instances" do
|
169
|
-
return_value = Object.new
|
170
|
-
klass.any_instance.stub(:foo).and_return(return_value)
|
171
|
-
expect(klass.new.foo).to be(return_value)
|
172
|
-
expect(klass.new.foo).to be(return_value)
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
context "with #and_yield" do
|
177
|
-
it "yields the value specified" do
|
178
|
-
yielded_value = Object.new
|
179
|
-
klass.any_instance.stub(:foo).and_yield(yielded_value)
|
180
|
-
klass.new.foo{|value| expect(value).to be(yielded_value)}
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
context 'with #and_call_original and competing #with' do
|
185
|
-
let(:klass) { Struct.new(:a_method) }
|
186
|
-
|
187
|
-
it 'can combine and_call_original, with, and_return' do
|
188
|
-
allow_any_instance_of(klass).to receive(:a_method).and_call_original
|
189
|
-
allow_any_instance_of(klass).to receive(:a_method).with(:arg).and_return('value')
|
190
|
-
|
191
|
-
expect(klass.new('org').a_method).to eq 'org'
|
192
|
-
expect(klass.new.a_method(:arg)).to eq 'value'
|
193
|
-
end
|
194
|
-
|
195
|
-
it 'can combine and_call_original, with, and_return (old syntax)' do
|
196
|
-
klass.any_instance.stub(:a_method).and_call_original
|
197
|
-
klass.any_instance.stub(:a_method).with(:arg).and_return('value')
|
198
|
-
|
199
|
-
expect(klass.new('org').a_method).to eq 'org'
|
200
|
-
expect(klass.new.a_method(:arg)).to eq 'value'
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
context "with #and_raise" do
|
205
|
-
it "stubs a method that doesn't exist" do
|
206
|
-
klass.any_instance.stub(:foo).and_raise(CustomErrorForAnyInstanceSpec)
|
207
|
-
expect { klass.new.foo}.to raise_error(CustomErrorForAnyInstanceSpec)
|
208
|
-
end
|
209
|
-
|
210
|
-
it "stubs a method that exists" do
|
211
|
-
klass.any_instance.stub(:existing_method).and_raise(CustomErrorForAnyInstanceSpec)
|
212
|
-
expect { klass.new.existing_method}.to raise_error(CustomErrorForAnyInstanceSpec)
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
context "with a block" do
|
217
|
-
it "stubs a method" do
|
218
|
-
klass.any_instance.stub(:foo) { 1 }
|
219
|
-
expect(klass.new.foo).to eq(1)
|
220
|
-
end
|
221
|
-
|
222
|
-
it "returns the same computed value for calls on different instances" do
|
223
|
-
klass.any_instance.stub(:foo) { 1 + 2 }
|
224
|
-
expect(klass.new.foo).to eq(klass.new.foo)
|
225
|
-
end
|
226
|
-
end
|
227
|
-
|
228
|
-
context "core ruby objects" do
|
229
|
-
it "works uniformly across *everything*" do
|
230
|
-
Object.any_instance.stub(:foo).and_return(1)
|
231
|
-
expect(Object.new.foo).to eq(1)
|
232
|
-
end
|
233
|
-
|
234
|
-
it "works with the non-standard constructor []" do
|
235
|
-
Array.any_instance.stub(:foo).and_return(1)
|
236
|
-
expect([].foo).to eq(1)
|
237
|
-
end
|
238
|
-
|
239
|
-
it "works with the non-standard constructor {}" do
|
240
|
-
Hash.any_instance.stub(:foo).and_return(1)
|
241
|
-
expect({}.foo).to eq(1)
|
242
|
-
end
|
243
|
-
|
244
|
-
it "works with the non-standard constructor \"\"" do
|
245
|
-
String.any_instance.stub(:foo).and_return(1)
|
246
|
-
expect("".foo).to eq(1)
|
247
|
-
end
|
248
|
-
|
249
|
-
it "works with the non-standard constructor \'\'" do
|
250
|
-
String.any_instance.stub(:foo).and_return(1)
|
251
|
-
expect(''.foo).to eq(1)
|
252
|
-
end
|
253
|
-
|
254
|
-
it "works with the non-standard constructor module" do
|
255
|
-
Module.any_instance.stub(:foo).and_return(1)
|
256
|
-
module RSpec::SampleRspecTestModule;end
|
257
|
-
expect(RSpec::SampleRspecTestModule.foo).to eq(1)
|
258
|
-
end
|
259
|
-
|
260
|
-
it "works with the non-standard constructor class" do
|
261
|
-
Class.any_instance.stub(:foo).and_return(1)
|
262
|
-
class RSpec::SampleRspecTestClass;end
|
263
|
-
expect(RSpec::SampleRspecTestClass.foo).to eq(1)
|
264
|
-
end
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
context "with #stub!" do
|
269
|
-
it "raises with a message instructing the user to use stub instead" do
|
270
|
-
expect do
|
271
|
-
klass.any_instance.stub!(:foo)
|
272
|
-
end.to raise_error(/Use stub instead/)
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
|
-
context "with #unstub!" do
|
277
|
-
it "raises with a message instructing the user to use unstub instead" do
|
278
|
-
expect do
|
279
|
-
klass.any_instance.unstub!(:foo)
|
280
|
-
end.to raise_error(/Use unstub instead/)
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
context "unstub implementation" do
|
285
|
-
it "replaces the stubbed method with the original method" do
|
286
|
-
klass.any_instance.stub(:existing_method)
|
287
|
-
klass.any_instance.unstub(:existing_method)
|
288
|
-
expect(klass.new.existing_method).to eq(:existing_method_return_value)
|
289
|
-
end
|
290
|
-
|
291
|
-
it "removes all stubs with the supplied method name" do
|
292
|
-
klass.any_instance.stub(:existing_method).with(1)
|
293
|
-
klass.any_instance.stub(:existing_method).with(2)
|
294
|
-
klass.any_instance.unstub(:existing_method)
|
295
|
-
expect(klass.new.existing_method).to eq(:existing_method_return_value)
|
296
|
-
end
|
297
|
-
|
298
|
-
it "removes stubs even if they have already been invoked" do
|
299
|
-
klass.any_instance.stub(:existing_method).and_return(:any_instance_value)
|
300
|
-
obj = klass.new
|
301
|
-
obj.existing_method
|
302
|
-
klass.any_instance.unstub(:existing_method)
|
303
|
-
expect(obj.existing_method).to eq(:existing_method_return_value)
|
304
|
-
end
|
305
|
-
|
306
|
-
it "removes stubs from sub class after invokation when super class was originally stubbed" do
|
307
|
-
klass.any_instance.stub(:existing_method).and_return(:any_instance_value)
|
308
|
-
obj = Class.new(klass).new
|
309
|
-
expect(obj.existing_method).to eq(:any_instance_value)
|
310
|
-
klass.any_instance.unstub(:existing_method)
|
311
|
-
expect(obj.existing_method).to eq(:existing_method_return_value)
|
312
|
-
end
|
313
|
-
|
314
|
-
it "does not remove any stubs set directly on an instance" do
|
315
|
-
klass.any_instance.stub(:existing_method).and_return(:any_instance_value)
|
316
|
-
obj = klass.new
|
317
|
-
obj.stub(:existing_method).and_return(:local_method)
|
318
|
-
klass.any_instance.unstub(:existing_method)
|
319
|
-
expect(obj.existing_method).to eq(:local_method)
|
320
|
-
end
|
321
|
-
|
322
|
-
it "does not remove any expectations with the same method name" do
|
323
|
-
klass.any_instance.should_receive(:existing_method_with_arguments).with(3).and_return(:three)
|
324
|
-
klass.any_instance.stub(:existing_method_with_arguments).with(1)
|
325
|
-
klass.any_instance.stub(:existing_method_with_arguments).with(2)
|
326
|
-
klass.any_instance.unstub(:existing_method_with_arguments)
|
327
|
-
expect(klass.new.existing_method_with_arguments(3)).to eq(:three)
|
328
|
-
end
|
329
|
-
|
330
|
-
it "raises a MockExpectationError if the method has not been stubbed" do
|
331
|
-
expect {
|
332
|
-
klass.any_instance.unstub(:existing_method)
|
333
|
-
}.to raise_error(RSpec::Mocks::MockExpectationError, 'The method `existing_method` was not stubbed or was already unstubbed')
|
334
|
-
end
|
335
|
-
end
|
336
|
-
|
337
|
-
context "with #should_not_receive" do
|
338
|
-
it "fails if the method is called" do
|
339
|
-
klass.any_instance.should_not_receive(:existing_method)
|
340
|
-
expect { klass.new.existing_method }.to raise_error(RSpec::Mocks::MockExpectationError)
|
341
|
-
end
|
342
|
-
|
343
|
-
it "passes if no method is called" do
|
344
|
-
expect { klass.any_instance.should_not_receive(:existing_method) }.to_not raise_error
|
345
|
-
end
|
346
|
-
|
347
|
-
it "passes if only a different method is called" do
|
348
|
-
klass.any_instance.should_not_receive(:existing_method)
|
349
|
-
expect { klass.new.another_existing_method }.to_not raise_error
|
350
|
-
end
|
351
|
-
|
352
|
-
context "with constraints" do
|
353
|
-
it "fails if the method is called with the specified parameters" do
|
354
|
-
klass.any_instance.should_not_receive(:existing_method_with_arguments).with(:argument_one, :argument_two)
|
355
|
-
expect {
|
356
|
-
klass.new.existing_method_with_arguments(:argument_one, :argument_two)
|
357
|
-
}.to raise_error(RSpec::Mocks::MockExpectationError)
|
358
|
-
end
|
359
|
-
|
360
|
-
it "passes if the method is called with different parameters" do
|
361
|
-
klass.any_instance.should_not_receive(:existing_method_with_arguments).with(:argument_one, :argument_two)
|
362
|
-
expect { klass.new.existing_method_with_arguments(:argument_three, :argument_four) }.to_not raise_error
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
|
-
context 'when used in combination with should_receive' do
|
367
|
-
it 'passes if only the expected message is received' do
|
368
|
-
klass.any_instance.should_receive(:foo)
|
369
|
-
klass.any_instance.should_not_receive(:bar)
|
370
|
-
klass.new.foo
|
371
|
-
RSpec::Mocks.space.verify_all
|
372
|
-
RSpec::Mocks.space.reset_all
|
373
|
-
end
|
374
|
-
end
|
375
|
-
|
376
|
-
it "prevents confusing double-negative expressions involving `never`" do
|
377
|
-
expect {
|
378
|
-
klass.any_instance.should_not_receive(:not_expected).never
|
379
|
-
}.to raise_error(/trying to negate it again/)
|
380
|
-
end
|
381
|
-
end
|
382
|
-
|
383
|
-
context "with #should_receive" do
|
384
|
-
let(:foo_expectation_error_message) { 'Exactly one instance should have received the following message(s) but didn\'t: foo' }
|
385
|
-
let(:existing_method_expectation_error_message) { 'Exactly one instance should have received the following message(s) but didn\'t: existing_method' }
|
386
|
-
|
387
|
-
context "with an expectation is set on a method which does not exist" do
|
388
|
-
it "returns the expected value" do
|
389
|
-
klass.any_instance.should_receive(:foo).and_return(1)
|
390
|
-
expect(klass.new.foo(1)).to eq(1)
|
391
|
-
end
|
392
|
-
|
393
|
-
it "fails if an instance is created but no invocation occurs" do
|
394
|
-
expect do
|
395
|
-
begin
|
396
|
-
klass.any_instance.should_receive(:foo)
|
397
|
-
klass.new
|
398
|
-
RSpec::Mocks.space.verify_all
|
399
|
-
ensure
|
400
|
-
RSpec::Mocks.space.reset_all
|
401
|
-
end
|
402
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, foo_expectation_error_message)
|
403
|
-
end
|
404
|
-
|
405
|
-
it "fails if no instance is created" do
|
406
|
-
expect do
|
407
|
-
begin
|
408
|
-
klass.any_instance.should_receive(:foo).and_return(1)
|
409
|
-
RSpec::Mocks.space.verify_all
|
410
|
-
ensure
|
411
|
-
RSpec::Mocks.space.reset_all
|
412
|
-
end
|
413
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, foo_expectation_error_message)
|
414
|
-
end
|
415
|
-
|
416
|
-
it "fails if no instance is created and there are multiple expectations" do
|
417
|
-
expect do
|
418
|
-
begin
|
419
|
-
klass.any_instance.should_receive(:foo)
|
420
|
-
klass.any_instance.should_receive(:bar)
|
421
|
-
RSpec::Mocks.space.verify_all
|
422
|
-
ensure
|
423
|
-
RSpec::Mocks.space.reset_all
|
424
|
-
end
|
425
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, 'Exactly one instance should have received the following message(s) but didn\'t: bar, foo')
|
426
|
-
end
|
427
|
-
|
428
|
-
it "allows expectations on instances to take priority" do
|
429
|
-
klass.any_instance.should_receive(:foo)
|
430
|
-
klass.new.foo
|
431
|
-
|
432
|
-
instance = klass.new
|
433
|
-
instance.should_receive(:foo).and_return(result = Object.new)
|
434
|
-
expect(instance.foo).to eq(result)
|
435
|
-
end
|
436
|
-
|
437
|
-
context "behaves as 'exactly one instance'" do
|
438
|
-
it "passes if subsequent invocations do not receive that message" do
|
439
|
-
klass.any_instance.should_receive(:foo)
|
440
|
-
klass.new.foo
|
441
|
-
klass.new
|
442
|
-
end
|
443
|
-
|
444
|
-
it "fails if the method is invoked on a second instance" do
|
445
|
-
instance_one = klass.new
|
446
|
-
instance_two = klass.new
|
447
|
-
expect do
|
448
|
-
klass.any_instance.should_receive(:foo)
|
449
|
-
|
450
|
-
instance_one.foo
|
451
|
-
instance_two.foo
|
452
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, "The message 'foo' was received by #{instance_two.inspect} but has already been received by #{instance_one.inspect}")
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
|
-
context "normal expectations on the class object" do
|
457
|
-
it "fail when unfulfilled" do
|
458
|
-
expect do
|
459
|
-
klass.any_instance.should_receive(:foo)
|
460
|
-
klass.should_receive(:woot)
|
461
|
-
klass.new.foo
|
462
|
-
RSpec::Mocks.space.verify_all
|
463
|
-
end.to(raise_error(RSpec::Mocks::MockExpectationError) do |error|
|
464
|
-
expect(error.message).not_to eq(existing_method_expectation_error_message)
|
465
|
-
end)
|
466
|
-
end
|
467
|
-
|
468
|
-
|
469
|
-
it "pass when expectations are met" do
|
470
|
-
klass.any_instance.should_receive(:foo)
|
471
|
-
klass.should_receive(:woot).and_return(result = Object.new)
|
472
|
-
klass.new.foo
|
473
|
-
expect(klass.woot).to eq(result)
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|
477
|
-
|
478
|
-
context "with an expectation is set on a method that exists" do
|
479
|
-
it "returns the expected value" do
|
480
|
-
klass.any_instance.should_receive(:existing_method).and_return(1)
|
481
|
-
expect(klass.new.existing_method(1)).to eq(1)
|
482
|
-
end
|
483
|
-
|
484
|
-
it "fails if an instance is created but no invocation occurs" do
|
485
|
-
expect do
|
486
|
-
begin
|
487
|
-
klass.any_instance.should_receive(:existing_method)
|
488
|
-
klass.new
|
489
|
-
RSpec::Mocks.space.verify_all
|
490
|
-
ensure
|
491
|
-
RSpec::Mocks.space.reset_all
|
492
|
-
end
|
493
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, existing_method_expectation_error_message)
|
494
|
-
end
|
495
|
-
|
496
|
-
it "fails if no instance is created" do
|
497
|
-
expect do
|
498
|
-
begin
|
499
|
-
klass.any_instance.should_receive(:existing_method)
|
500
|
-
RSpec::Mocks.space.verify_all
|
501
|
-
ensure
|
502
|
-
RSpec::Mocks.space.reset_all
|
503
|
-
end
|
504
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, existing_method_expectation_error_message)
|
505
|
-
end
|
506
|
-
|
507
|
-
it "fails if no instance is created and there are multiple expectations" do
|
508
|
-
expect do
|
509
|
-
begin
|
510
|
-
klass.any_instance.should_receive(:existing_method)
|
511
|
-
klass.any_instance.should_receive(:another_existing_method)
|
512
|
-
RSpec::Mocks.space.verify_all
|
513
|
-
ensure
|
514
|
-
RSpec::Mocks.space.reset_all
|
515
|
-
end
|
516
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, 'Exactly one instance should have received the following message(s) but didn\'t: another_existing_method, existing_method')
|
517
|
-
end
|
518
|
-
|
519
|
-
context "after any one instance has received a message" do
|
520
|
-
it "passes if subsequent invocations do not receive that message" do
|
521
|
-
klass.any_instance.should_receive(:existing_method)
|
522
|
-
klass.new.existing_method
|
523
|
-
klass.new
|
524
|
-
end
|
525
|
-
|
526
|
-
it "fails if the method is invoked on a second instance" do
|
527
|
-
instance_one = klass.new
|
528
|
-
instance_two = klass.new
|
529
|
-
expect do
|
530
|
-
klass.any_instance.should_receive(:existing_method)
|
531
|
-
|
532
|
-
instance_one.existing_method
|
533
|
-
instance_two.existing_method
|
534
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, "The message 'existing_method' was received by #{instance_two.inspect} but has already been received by #{instance_one.inspect}")
|
535
|
-
end
|
536
|
-
end
|
537
|
-
end
|
538
|
-
|
539
|
-
it 'works with a BasicObject subclass that mixes in Kernel', :if => defined?(BasicObject) do
|
540
|
-
klass = Class.new(BasicObject) do
|
541
|
-
include ::Kernel
|
542
|
-
def foo; end
|
543
|
-
end
|
544
|
-
|
545
|
-
klass.any_instance.should_receive(:foo)
|
546
|
-
klass.new.foo
|
547
|
-
end
|
548
|
-
|
549
|
-
it 'works with a SimpleDelegator subclass', :if => (RUBY_VERSION.to_f > 1.8) do
|
550
|
-
klass = Class.new(SimpleDelegator) do
|
551
|
-
def foo; end
|
552
|
-
end
|
553
|
-
|
554
|
-
klass.any_instance.should_receive(:foo)
|
555
|
-
klass.new(Object.new).foo
|
556
|
-
end
|
557
|
-
|
558
|
-
context "with argument matching" do
|
559
|
-
before do
|
560
|
-
klass.any_instance.should_receive(:foo).with(:param_one, :param_two).and_return(:result_one)
|
561
|
-
klass.any_instance.should_receive(:foo).with(:param_three, :param_four).and_return(:result_two)
|
562
|
-
end
|
563
|
-
|
564
|
-
it "returns the expected value when arguments match" do
|
565
|
-
instance = klass.new
|
566
|
-
expect(instance.foo(:param_one, :param_two)).to eq(:result_one)
|
567
|
-
expect(instance.foo(:param_three, :param_four)).to eq(:result_two)
|
568
|
-
end
|
569
|
-
|
570
|
-
it "fails when the arguments match but different instances are used" do
|
571
|
-
instances = Array.new(2) { klass.new }
|
572
|
-
expect do
|
573
|
-
expect(instances[0].foo(:param_one, :param_two)).to eq(:result_one)
|
574
|
-
expect(instances[1].foo(:param_three, :param_four)).to eq(:result_two)
|
575
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
576
|
-
|
577
|
-
# ignore the fact that should_receive expectations were not met
|
578
|
-
instances.each { |instance| reset instance }
|
579
|
-
end
|
580
|
-
|
581
|
-
it "is not affected by the invocation of existing methods on other instances" do
|
582
|
-
expect(klass.new.existing_method_with_arguments(:param_one, :param_two)).to eq(:existing_method_with_arguments_return_value)
|
583
|
-
instance = klass.new
|
584
|
-
expect(instance.foo(:param_one, :param_two)).to eq(:result_one)
|
585
|
-
expect(instance.foo(:param_three, :param_four)).to eq(:result_two)
|
586
|
-
end
|
587
|
-
|
588
|
-
it "fails when arguments do not match" do
|
589
|
-
instance = klass.new
|
590
|
-
expect do
|
591
|
-
instance.foo(:param_one, :param_three)
|
592
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
593
|
-
|
594
|
-
# ignore the fact that should_receive expectations were not met
|
595
|
-
reset instance
|
596
|
-
end
|
597
|
-
end
|
598
|
-
|
599
|
-
context "message count" do
|
600
|
-
context "the 'once' constraint" do
|
601
|
-
it "passes for one invocation" do
|
602
|
-
klass.any_instance.should_receive(:foo).once
|
603
|
-
klass.new.foo
|
604
|
-
end
|
605
|
-
|
606
|
-
it "fails when no instances are declared" do
|
607
|
-
expect do
|
608
|
-
begin
|
609
|
-
klass.any_instance.should_receive(:foo).once
|
610
|
-
RSpec::Mocks.space.verify_all
|
611
|
-
ensure
|
612
|
-
RSpec::Mocks.space.reset_all
|
613
|
-
end
|
614
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, foo_expectation_error_message)
|
615
|
-
end
|
616
|
-
|
617
|
-
it "fails when an instance is declared but there are no invocations" do
|
618
|
-
expect do
|
619
|
-
begin
|
620
|
-
klass.any_instance.should_receive(:foo).once
|
621
|
-
klass.new
|
622
|
-
RSpec::Mocks.space.verify_all
|
623
|
-
ensure
|
624
|
-
RSpec::Mocks.space.reset_all
|
625
|
-
end
|
626
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, foo_expectation_error_message)
|
627
|
-
end
|
628
|
-
|
629
|
-
it "fails for more than one invocation" do
|
630
|
-
expect do
|
631
|
-
klass.any_instance.should_receive(:foo).once
|
632
|
-
instance = klass.new
|
633
|
-
2.times { instance.foo }
|
634
|
-
verify instance
|
635
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
636
|
-
end
|
637
|
-
end
|
638
|
-
|
639
|
-
context "the 'twice' constraint" do
|
640
|
-
it "passes for two invocations" do
|
641
|
-
klass.any_instance.should_receive(:foo).twice
|
642
|
-
instance = klass.new
|
643
|
-
2.times { instance.foo }
|
644
|
-
end
|
645
|
-
|
646
|
-
it "fails for more than two invocations" do
|
647
|
-
expect do
|
648
|
-
klass.any_instance.should_receive(:foo).twice
|
649
|
-
instance = klass.new
|
650
|
-
3.times { instance.foo }
|
651
|
-
verify instance
|
652
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
653
|
-
end
|
654
|
-
end
|
655
|
-
|
656
|
-
context "the 'exactly(n)' constraint" do
|
657
|
-
it "passes for n invocations where n = 3" do
|
658
|
-
klass.any_instance.should_receive(:foo).exactly(3).times
|
659
|
-
instance = klass.new
|
660
|
-
3.times { instance.foo }
|
661
|
-
end
|
662
|
-
|
663
|
-
it "fails for n invocations where n < 3" do
|
664
|
-
expect do
|
665
|
-
klass.any_instance.should_receive(:foo).exactly(3).times
|
666
|
-
instance = klass.new
|
667
|
-
2.times { instance.foo }
|
668
|
-
verify instance
|
669
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
670
|
-
end
|
671
|
-
|
672
|
-
it "fails for n invocations where n > 3" do
|
673
|
-
expect do
|
674
|
-
klass.any_instance.should_receive(:foo).exactly(3).times
|
675
|
-
instance = klass.new
|
676
|
-
4.times { instance.foo }
|
677
|
-
verify instance
|
678
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
679
|
-
end
|
680
|
-
end
|
681
|
-
|
682
|
-
context "the 'at_least(n)' constraint" do
|
683
|
-
it "passes for n invocations where n = 3" do
|
684
|
-
klass.any_instance.should_receive(:foo).at_least(3).times
|
685
|
-
instance = klass.new
|
686
|
-
3.times { instance.foo }
|
687
|
-
end
|
688
|
-
|
689
|
-
it "fails for n invocations where n < 3" do
|
690
|
-
expect do
|
691
|
-
klass.any_instance.should_receive(:foo).at_least(3).times
|
692
|
-
instance = klass.new
|
693
|
-
2.times { instance.foo }
|
694
|
-
verify instance
|
695
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
696
|
-
end
|
697
|
-
|
698
|
-
it "passes for n invocations where n > 3" do
|
699
|
-
klass.any_instance.should_receive(:foo).at_least(3).times
|
700
|
-
instance = klass.new
|
701
|
-
4.times { instance.foo }
|
702
|
-
end
|
703
|
-
end
|
704
|
-
|
705
|
-
context "the 'at_most(n)' constraint" do
|
706
|
-
it "passes for n invocations where n = 3" do
|
707
|
-
klass.any_instance.should_receive(:foo).at_most(3).times
|
708
|
-
instance = klass.new
|
709
|
-
3.times { instance.foo }
|
710
|
-
end
|
711
|
-
|
712
|
-
it "passes for n invocations where n < 3" do
|
713
|
-
klass.any_instance.should_receive(:foo).at_most(3).times
|
714
|
-
instance = klass.new
|
715
|
-
2.times { instance.foo }
|
716
|
-
end
|
717
|
-
|
718
|
-
it "fails for n invocations where n > 3" do
|
719
|
-
expect do
|
720
|
-
klass.any_instance.should_receive(:foo).at_most(3).times
|
721
|
-
instance = klass.new
|
722
|
-
4.times { instance.foo }
|
723
|
-
verify instance
|
724
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
725
|
-
end
|
726
|
-
end
|
727
|
-
|
728
|
-
context "the 'never' constraint" do
|
729
|
-
it "passes for 0 invocations" do
|
730
|
-
klass.any_instance.should_receive(:foo).never
|
731
|
-
RSpec::Mocks.space.verify_all
|
732
|
-
end
|
733
|
-
|
734
|
-
it "fails on the first invocation" do
|
735
|
-
expect do
|
736
|
-
klass.any_instance.should_receive(:foo).never
|
737
|
-
klass.new.foo
|
738
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError)
|
739
|
-
end
|
740
|
-
|
741
|
-
context "when combined with other expectations" do
|
742
|
-
it "passes when the other expecations are met" do
|
743
|
-
klass.any_instance.should_receive(:foo).never
|
744
|
-
klass.any_instance.should_receive(:existing_method).and_return(5)
|
745
|
-
expect(klass.new.existing_method).to eq(5)
|
746
|
-
end
|
747
|
-
|
748
|
-
it "fails when the other expecations are not met" do
|
749
|
-
expect do
|
750
|
-
begin
|
751
|
-
klass.any_instance.should_receive(:foo).never
|
752
|
-
klass.any_instance.should_receive(:existing_method).and_return(5)
|
753
|
-
RSpec::Mocks.space.verify_all
|
754
|
-
ensure
|
755
|
-
RSpec::Mocks.space.reset_all
|
756
|
-
end
|
757
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, existing_method_expectation_error_message)
|
758
|
-
end
|
759
|
-
end
|
760
|
-
end
|
761
|
-
|
762
|
-
context "the 'any_number_of_times' constraint" do
|
763
|
-
it "passes for 0 invocations" do
|
764
|
-
klass.any_instance.should_receive(:foo).any_number_of_times
|
765
|
-
verify klass.new
|
766
|
-
end
|
767
|
-
|
768
|
-
it "passes for a non-zero number of invocations" do
|
769
|
-
allow(RSpec).to receive(:deprecate).with("any_number_of_times", :replacement => "stub")
|
770
|
-
|
771
|
-
klass.any_instance.should_receive(:foo).any_number_of_times
|
772
|
-
instance = klass.new
|
773
|
-
instance.foo
|
774
|
-
verify instance
|
775
|
-
end
|
776
|
-
|
777
|
-
it "does not interfere with other expectations" do
|
778
|
-
klass.any_instance.should_receive(:foo).any_number_of_times
|
779
|
-
klass.any_instance.should_receive(:existing_method).and_return(5)
|
780
|
-
expect(klass.new.existing_method).to eq(5)
|
781
|
-
end
|
782
|
-
|
783
|
-
context "when combined with other expectations" do
|
784
|
-
it "passes when the other expecations are met" do
|
785
|
-
klass.any_instance.should_receive(:foo).any_number_of_times
|
786
|
-
klass.any_instance.should_receive(:existing_method).and_return(5)
|
787
|
-
expect(klass.new.existing_method).to eq(5)
|
788
|
-
end
|
789
|
-
|
790
|
-
it "fails when the other expecations are not met" do
|
791
|
-
expect do
|
792
|
-
begin
|
793
|
-
klass.any_instance.should_receive(:foo).any_number_of_times
|
794
|
-
klass.any_instance.should_receive(:existing_method).and_return(5)
|
795
|
-
RSpec::Mocks.space.verify_all
|
796
|
-
ensure
|
797
|
-
RSpec::Mocks.space.reset_all
|
798
|
-
end
|
799
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, existing_method_expectation_error_message)
|
800
|
-
end
|
801
|
-
end
|
802
|
-
end
|
803
|
-
end
|
804
|
-
end
|
805
|
-
|
806
|
-
context "when resetting post-verification" do
|
807
|
-
let(:space) { RSpec::Mocks.space }
|
808
|
-
|
809
|
-
context "existing method" do
|
810
|
-
before(:each) do
|
811
|
-
klass.any_instance # to force it to be tracked
|
812
|
-
end
|
813
|
-
|
814
|
-
context "with stubbing" do
|
815
|
-
context "public methods" do
|
816
|
-
before(:each) do
|
817
|
-
klass.any_instance.stub(:existing_method).and_return(1)
|
818
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_true
|
819
|
-
end
|
820
|
-
|
821
|
-
it "restores the class to its original state after each example when no instance is created" do
|
822
|
-
space.verify_all
|
823
|
-
space.reset_all
|
824
|
-
|
825
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_false
|
826
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
827
|
-
end
|
828
|
-
|
829
|
-
it "restores the class to its original state after each example when one instance is created" do
|
830
|
-
klass.new.existing_method
|
831
|
-
|
832
|
-
space.verify_all
|
833
|
-
space.reset_all
|
834
|
-
|
835
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_false
|
836
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
837
|
-
end
|
838
|
-
|
839
|
-
it "restores the class to its original state after each example when more than one instance is created" do
|
840
|
-
klass.new.existing_method
|
841
|
-
klass.new.existing_method
|
842
|
-
|
843
|
-
space.verify_all
|
844
|
-
space.reset_all
|
845
|
-
|
846
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_false
|
847
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
848
|
-
end
|
849
|
-
end
|
850
|
-
|
851
|
-
context "private methods" do
|
852
|
-
before :each do
|
853
|
-
klass.any_instance.stub(:private_method).and_return(:something)
|
854
|
-
space.verify_all
|
855
|
-
space.reset_all
|
856
|
-
end
|
857
|
-
|
858
|
-
it "cleans up the backed up method" do
|
859
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_false
|
860
|
-
end
|
861
|
-
|
862
|
-
it "restores a stubbed private method after the spec is run" do
|
863
|
-
expect(klass.private_method_defined?(:private_method)).to be_true
|
864
|
-
end
|
865
|
-
|
866
|
-
it "ensures that the restored method behaves as it originally did" do
|
867
|
-
expect(klass.new.send(:private_method)).to eq(:private_method_return_value)
|
868
|
-
end
|
869
|
-
end
|
870
|
-
end
|
871
|
-
|
872
|
-
context "with expectations" do
|
873
|
-
context "private methods" do
|
874
|
-
before :each do
|
875
|
-
klass.any_instance.should_receive(:private_method).and_return(:something)
|
876
|
-
klass.new.private_method
|
877
|
-
space.verify_all
|
878
|
-
space.reset_all
|
879
|
-
end
|
880
|
-
|
881
|
-
it "cleans up the backed up method" do
|
882
|
-
expect(klass.method_defined?(:__existing_method_without_any_instance__)).to be_false
|
883
|
-
end
|
884
|
-
|
885
|
-
it "restores a stubbed private method after the spec is run" do
|
886
|
-
expect(klass.private_method_defined?(:private_method)).to be_true
|
887
|
-
end
|
888
|
-
|
889
|
-
it "ensures that the restored method behaves as it originally did" do
|
890
|
-
expect(klass.new.send(:private_method)).to eq(:private_method_return_value)
|
891
|
-
end
|
892
|
-
end
|
893
|
-
|
894
|
-
context "ensures that the subsequent specs do not see expectations set in previous specs" do
|
895
|
-
context "when the instance created after the expectation is set" do
|
896
|
-
it "first spec" do
|
897
|
-
klass.any_instance.should_receive(:existing_method).and_return(Object.new)
|
898
|
-
klass.new.existing_method
|
899
|
-
end
|
900
|
-
|
901
|
-
it "second spec" do
|
902
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
903
|
-
end
|
904
|
-
end
|
905
|
-
|
906
|
-
context "when the instance created before the expectation is set" do
|
907
|
-
before :each do
|
908
|
-
@instance = klass.new
|
909
|
-
end
|
910
|
-
|
911
|
-
it "first spec" do
|
912
|
-
klass.any_instance.should_receive(:existing_method).and_return(Object.new)
|
913
|
-
@instance.existing_method
|
914
|
-
end
|
915
|
-
|
916
|
-
it "second spec" do
|
917
|
-
expect(@instance.existing_method).to eq(existing_method_return_value)
|
918
|
-
end
|
919
|
-
end
|
920
|
-
end
|
921
|
-
|
922
|
-
it "ensures that the next spec does not see that expectation" do
|
923
|
-
klass.any_instance.should_receive(:existing_method).and_return(Object.new)
|
924
|
-
klass.new.existing_method
|
925
|
-
space.verify_all
|
926
|
-
space.reset_all
|
927
|
-
|
928
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
929
|
-
end
|
930
|
-
end
|
931
|
-
end
|
932
|
-
|
933
|
-
context "with multiple calls to any_instance in the same example" do
|
934
|
-
it "does not prevent the change from being rolled back" do
|
935
|
-
klass.any_instance.stub(:existing_method).and_return(false)
|
936
|
-
klass.any_instance.stub(:existing_method).and_return(true)
|
937
|
-
|
938
|
-
RSpec::Mocks.space.verify_all
|
939
|
-
RSpec::Mocks.space.reset_all
|
940
|
-
expect(klass.new).to respond_to(:existing_method)
|
941
|
-
expect(klass.new.existing_method).to eq(existing_method_return_value)
|
942
|
-
end
|
943
|
-
end
|
944
|
-
|
945
|
-
it "adds an class to the current space when #any_instance is invoked" do
|
946
|
-
expect {
|
947
|
-
klass.any_instance
|
948
|
-
}.to change { space.any_instance_recorders.size }.by(1)
|
949
|
-
end
|
950
|
-
|
951
|
-
it "adds an instance to the current space when stubbed method is invoked" do
|
952
|
-
klass.any_instance.stub(:foo)
|
953
|
-
instance = klass.new
|
954
|
-
instance.foo
|
955
|
-
expect(RSpec::Mocks.space.proxies.keys).to include(instance.object_id)
|
956
|
-
end
|
957
|
-
end
|
958
|
-
|
959
|
-
context 'when used in conjunction with a `dup`' do
|
960
|
-
it "doesn't cause an infinite loop" do
|
961
|
-
pending "This intermittently fails on JRuby" if RUBY_PLATFORM == 'java'
|
962
|
-
|
963
|
-
Object.any_instance.stub(:some_method)
|
964
|
-
o = Object.new
|
965
|
-
o.some_method
|
966
|
-
expect { o.dup.some_method }.to_not raise_error
|
967
|
-
end
|
968
|
-
|
969
|
-
it "doesn't bomb if the object doesn't support `dup`" do
|
970
|
-
klass = Class.new do
|
971
|
-
undef_method :dup
|
972
|
-
end
|
973
|
-
klass.any_instance
|
974
|
-
end
|
975
|
-
|
976
|
-
it "doesn't fail when dup accepts parameters" do
|
977
|
-
klass = Class.new do
|
978
|
-
def dup(funky_option)
|
979
|
-
end
|
980
|
-
end
|
981
|
-
|
982
|
-
klass.any_instance
|
983
|
-
|
984
|
-
expect { klass.new.dup('Dup dup dup') }.to_not raise_error
|
985
|
-
end
|
986
|
-
end
|
987
|
-
|
988
|
-
context "when directed at a method defined on a superclass" do
|
989
|
-
let(:sub_klass) { Class.new(klass) }
|
990
|
-
|
991
|
-
it "stubs the method correctly" do
|
992
|
-
klass.any_instance.stub(:existing_method).and_return("foo")
|
993
|
-
expect(sub_klass.new.existing_method).to eq "foo"
|
994
|
-
end
|
995
|
-
|
996
|
-
it "mocks the method correctly" do
|
997
|
-
instance_one = sub_klass.new
|
998
|
-
instance_two = sub_klass.new
|
999
|
-
expect do
|
1000
|
-
klass.any_instance.should_receive(:existing_method)
|
1001
|
-
instance_one.existing_method
|
1002
|
-
instance_two.existing_method
|
1003
|
-
end.to raise_error(RSpec::Mocks::MockExpectationError, "The message 'existing_method' was received by #{instance_two.inspect} but has already been received by #{instance_one.inspect}")
|
1004
|
-
end
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
context "when a class overrides Object#method" do
|
1008
|
-
let(:http_request_class) { Struct.new(:method, :uri) }
|
1009
|
-
|
1010
|
-
it "stubs the method correctly" do
|
1011
|
-
http_request_class.any_instance.stub(:existing_method).and_return("foo")
|
1012
|
-
expect(http_request_class.new.existing_method).to eq "foo"
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
it "mocks the method correctly" do
|
1016
|
-
http_request_class.any_instance.should_receive(:existing_method).and_return("foo")
|
1017
|
-
expect(http_request_class.new.existing_method).to eq "foo"
|
1018
|
-
end
|
1019
|
-
end
|
1020
|
-
|
1021
|
-
context "when used after the test has finished" do
|
1022
|
-
it "restores the original behavior of a stubbed method" do
|
1023
|
-
klass.any_instance.stub(:existing_method).and_return(:stubbed_return_value)
|
1024
|
-
|
1025
|
-
instance = klass.new
|
1026
|
-
expect(instance.existing_method).to eq :stubbed_return_value
|
1027
|
-
|
1028
|
-
RSpec::Mocks.verify
|
1029
|
-
RSpec::Mocks.teardown
|
1030
|
-
|
1031
|
-
expect(instance.existing_method).to eq :existing_method_return_value
|
1032
|
-
end
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
end
|
1036
|
-
end
|