summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixsocket/path_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/unixsocket/path_spec.rb')
0 files changed, 0 insertions, 0 deletions
class='right'>24
-rw-r--r--spec/mspec/LICENSE22
-rw-r--r--spec/mspec/README.md91
-rw-r--r--spec/mspec/Rakefile6
-rwxr-xr-xspec/mspec/bin/mkspec7
-rwxr-xr-xspec/mspec/bin/mkspec.bat1
-rwxr-xr-xspec/mspec/bin/mspec7
-rwxr-xr-xspec/mspec/bin/mspec-ci7
-rwxr-xr-xspec/mspec/bin/mspec-ci.bat1
-rwxr-xr-xspec/mspec/bin/mspec-run7
-rwxr-xr-xspec/mspec/bin/mspec-run.bat1
-rwxr-xr-xspec/mspec/bin/mspec-tag7
-rwxr-xr-xspec/mspec/bin/mspec-tag.bat1
-rwxr-xr-xspec/mspec/bin/mspec.bat1
-rw-r--r--spec/mspec/lib/mspec.rb20
-rwxr-xr-xspec/mspec/lib/mspec/commands/mkspec.rb155
-rw-r--r--spec/mspec/lib/mspec/commands/mspec-ci.rb78
-rw-r--r--spec/mspec/lib/mspec/commands/mspec-run.rb86
-rw-r--r--spec/mspec/lib/mspec/commands/mspec-tag.rb132
-rwxr-xr-xspec/mspec/lib/mspec/commands/mspec.rb119
-rw-r--r--spec/mspec/lib/mspec/expectations.rb2
-rw-r--r--spec/mspec/lib/mspec/expectations/expectations.rb21
-rw-r--r--spec/mspec/lib/mspec/expectations/should.rb29
-rw-r--r--spec/mspec/lib/mspec/guards.rb11
-rw-r--r--spec/mspec/lib/mspec/guards/block_device.rb16
-rw-r--r--spec/mspec/lib/mspec/guards/bug.rb28
-rw-r--r--spec/mspec/lib/mspec/guards/conflict.rb23
-rw-r--r--spec/mspec/lib/mspec/guards/endian.rb25
-rw-r--r--spec/mspec/lib/mspec/guards/feature.rb45
-rw-r--r--spec/mspec/lib/mspec/guards/guard.rb141
-rw-r--r--spec/mspec/lib/mspec/guards/platform.rb91
-rw-r--r--spec/mspec/lib/mspec/guards/quarantine.rb11
-rw-r--r--spec/mspec/lib/mspec/guards/superuser.rb15
-rw-r--r--spec/mspec/lib/mspec/guards/support.rb14
-rw-r--r--spec/mspec/lib/mspec/guards/version.rb37
-rw-r--r--spec/mspec/lib/mspec/helpers.rb14
-rw-r--r--spec/mspec/lib/mspec/helpers/argf.rb35
-rw-r--r--spec/mspec/lib/mspec/helpers/argv.rb44
-rw-r--r--spec/mspec/lib/mspec/helpers/datetime.rb47
-rw-r--r--spec/mspec/lib/mspec/helpers/fixture.rb24
-rw-r--r--spec/mspec/lib/mspec/helpers/flunk.rb3
-rw-r--r--spec/mspec/lib/mspec/helpers/frozen_error_class.rb17
-rw-r--r--spec/mspec/lib/mspec/helpers/fs.rb64
-rw-r--r--spec/mspec/lib/mspec/helpers/io.rb111
-rw-r--r--spec/mspec/lib/mspec/helpers/mock_to_path.rb6
-rw-r--r--spec/mspec/lib/mspec/helpers/numeric.rb70
-rw-r--r--spec/mspec/lib/mspec/helpers/ruby_exe.rb186
-rw-r--r--spec/mspec/lib/mspec/helpers/scratch.rb17
-rw-r--r--spec/mspec/lib/mspec/helpers/tmp.rb43
-rw-r--r--spec/mspec/lib/mspec/helpers/warning.rb7
-rw-r--r--spec/mspec/lib/mspec/matchers.rb36
-rw-r--r--spec/mspec/lib/mspec/matchers/base.rb107
-rw-r--r--spec/mspec/lib/mspec/matchers/be_an_instance_of.rb26
-rw-r--r--spec/mspec/lib/mspec/matchers/be_ancestor_of.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/be_close.rb27
-rw-r--r--spec/mspec/lib/mspec/matchers/be_computed_by.rb37
-rw-r--r--spec/mspec/lib/mspec/matchers/be_empty.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/be_false.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/be_kind_of.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/be_nan.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/be_nil.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/be_true.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/be_true_or_false.rb20
-rw-r--r--spec/mspec/lib/mspec/matchers/block_caller.rb37
-rw-r--r--spec/mspec/lib/mspec/matchers/complain.rb60
-rw-r--r--spec/mspec/lib/mspec/matchers/eql.rb26
-rw-r--r--spec/mspec/lib/mspec/matchers/equal.rb26
-rw-r--r--spec/mspec/lib/mspec/matchers/equal_element.rb78
-rw-r--r--spec/mspec/lib/mspec/matchers/have_class_variable.rb12
-rw-r--r--spec/mspec/lib/mspec/matchers/have_constant.rb12
-rw-r--r--spec/mspec/lib/mspec/matchers/have_instance_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_instance_variable.rb12
-rw-r--r--spec/mspec/lib/mspec/matchers/have_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_private_instance_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_private_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_protected_instance_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_public_instance_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/have_singleton_method.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/include.rb31
-rw-r--r--spec/mspec/lib/mspec/matchers/include_any_of.rb29
-rw-r--r--spec/mspec/lib/mspec/matchers/infinity.rb28
-rw-r--r--spec/mspec/lib/mspec/matchers/match_yaml.rb46
-rw-r--r--spec/mspec/lib/mspec/matchers/method.rb10
-rw-r--r--spec/mspec/lib/mspec/matchers/output.rb67
-rw-r--r--spec/mspec/lib/mspec/matchers/output_to_fd.rb71
-rw-r--r--spec/mspec/lib/mspec/matchers/raise_error.rb85
-rw-r--r--spec/mspec/lib/mspec/matchers/respond_to.rb24
-rw-r--r--spec/mspec/lib/mspec/matchers/signed_zero.rb28
-rw-r--r--spec/mspec/lib/mspec/matchers/variable.rb24
-rw-r--r--spec/mspec/lib/mspec/mocks.rb3
-rw-r--r--spec/mspec/lib/mspec/mocks/mock.rb212
-rw-r--r--spec/mspec/lib/mspec/mocks/object.rb28
-rw-r--r--spec/mspec/lib/mspec/mocks/proxy.rb186
-rw-r--r--spec/mspec/lib/mspec/runner.rb12
-rw-r--r--spec/mspec/lib/mspec/runner/actions.rb6
-rw-r--r--spec/mspec/lib/mspec/runner/actions/filter.rb40
-rw-r--r--spec/mspec/lib/mspec/runner/actions/leakchecker.rb301
-rw-r--r--spec/mspec/lib/mspec/runner/actions/tag.rb133
-rw-r--r--spec/mspec/lib/mspec/runner/actions/taglist.rb56
-rw-r--r--spec/mspec/lib/mspec/runner/actions/tagpurge.rb56
-rw-r--r--spec/mspec/lib/mspec/runner/actions/tally.rb133
-rw-r--r--spec/mspec/lib/mspec/runner/actions/timer.rb22
-rw-r--r--spec/mspec/lib/mspec/runner/context.rb239
-rw-r--r--spec/mspec/lib/mspec/runner/evaluate.rb54
-rw-r--r--spec/mspec/lib/mspec/runner/example.rb34
-rw-r--r--spec/mspec/lib/mspec/runner/exception.rb43
-rw-r--r--spec/mspec/lib/mspec/runner/filters.rb4
-rw-r--r--spec/mspec/lib/mspec/runner/filters/match.rb18
-rw-r--r--spec/mspec/lib/mspec/runner/filters/profile.rb54
-rw-r--r--spec/mspec/lib/mspec/runner/filters/regexp.rb23
-rw-r--r--spec/mspec/lib/mspec/runner/filters/tag.rb29
-rw-r--r--spec/mspec/lib/mspec/runner/formatters.rb12
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/describe.rb24
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/dotted.rb117
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/file.rb19
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/html.rb81
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/junit.rb88
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/method.rb93
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/multi.rb40
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/profile.rb70
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/specdoc.rb41
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/spinner.rb117
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/summary.rb11
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/unit.rb21
-rw-r--r--spec/mspec/lib/mspec/runner/formatters/yaml.rb42
-rw-r--r--spec/mspec/lib/mspec/runner/mspec.rb408
-rw-r--r--spec/mspec/lib/mspec/runner/object.rb26
-rw-r--r--spec/mspec/lib/mspec/runner/parallel.rb98
-rw-r--r--spec/mspec/lib/mspec/runner/shared.rb10
-rw-r--r--spec/mspec/lib/mspec/runner/tag.rb38
-rw-r--r--spec/mspec/lib/mspec/utils/deprecate.rb6
-rw-r--r--spec/mspec/lib/mspec/utils/name_map.rb121
-rw-r--r--spec/mspec/lib/mspec/utils/options.rb481
-rw-r--r--spec/mspec/lib/mspec/utils/script.rb278
-rw-r--r--spec/mspec/lib/mspec/utils/version.rb52
-rw-r--r--spec/mspec/lib/mspec/utils/warnings.rb61
-rw-r--r--spec/mspec/lib/mspec/version.rb5
-rw-r--r--spec/mspec/spec/commands/fixtures/four.txt0
-rw-r--r--spec/mspec/spec/commands/fixtures/level2/three_spec.rb1
-rw-r--r--spec/mspec/spec/commands/fixtures/one_spec.rb1
-rw-r--r--spec/mspec/spec/commands/fixtures/three.rb1
-rw-r--r--spec/mspec/spec/commands/fixtures/two_spec.rb1
-rw-r--r--spec/mspec/spec/commands/mkspec_spec.rb363
-rw-r--r--spec/mspec/spec/commands/mspec_ci_spec.rb150
-rw-r--r--spec/mspec/spec/commands/mspec_run_spec.rb173
-rw-r--r--spec/mspec/spec/commands/mspec_spec.rb207
-rw-r--r--spec/mspec/spec/commands/mspec_tag_spec.rb414
-rw-r--r--spec/mspec/spec/expectations/expectations_spec.rb29
-rw-r--r--spec/mspec/spec/expectations/should.rb73
-rw-r--r--spec/mspec/spec/expectations/should_spec.rb61
-rw-r--r--spec/mspec/spec/fixtures/a_spec.rb15
-rw-r--r--spec/mspec/spec/fixtures/b_spec.rb7
-rw-r--r--spec/mspec/spec/fixtures/chatty_spec.rb8
-rw-r--r--spec/mspec/spec/fixtures/config.mspec10
-rw-r--r--spec/mspec/spec/fixtures/die_spec.rb7
-rwxr-xr-xspec/mspec/spec/fixtures/my_ruby4
-rw-r--r--spec/mspec/spec/fixtures/object_methods_spec.rb8
-rw-r--r--spec/mspec/spec/fixtures/print_interpreter_spec.rb4
-rw-r--r--spec/mspec/spec/fixtures/tagging_spec.rb16
-rw-r--r--spec/mspec/spec/guards/block_device_spec.rb46
-rw-r--r--spec/mspec/spec/guards/bug_spec.rb151
-rw-r--r--spec/mspec/spec/guards/conflict_spec.rb53
-rw-r--r--spec/mspec/spec/guards/endian_spec.rb55
-rw-r--r--spec/mspec/spec/guards/feature_spec.rb120
-rw-r--r--spec/mspec/spec/guards/guard_spec.rb421
-rw-r--r--spec/mspec/spec/guards/platform_spec.rb328
-rw-r--r--spec/mspec/spec/guards/quarantine_spec.rb35
-rw-r--r--spec/mspec/spec/guards/superuser_spec.rb35
-rw-r--r--spec/mspec/spec/guards/support_spec.rb54
-rw-r--r--spec/mspec/spec/guards/user_spec.rb20
-rw-r--r--spec/mspec/spec/guards/version_spec.rb90
-rw-r--r--spec/mspec/spec/helpers/argf_spec.rb37
-rw-r--r--spec/mspec/spec/helpers/argv_spec.rb27
-rw-r--r--spec/mspec/spec/helpers/datetime_spec.rb44
-rw-r--r--spec/mspec/spec/helpers/fixture_spec.rb25
-rw-r--r--spec/mspec/spec/helpers/flunk_spec.rb20
-rw-r--r--spec/mspec/spec/helpers/fs_spec.rb195
-rw-r--r--spec/mspec/spec/helpers/io_spec.rb174
-rw-r--r--spec/mspec/spec/helpers/mock_to_path_spec.rb17
-rw-r--r--spec/mspec/spec/helpers/numeric_spec.rb25
-rw-r--r--spec/mspec/spec/helpers/ruby_exe_spec.rb197
-rw-r--r--spec/mspec/spec/helpers/scratch_spec.rb24
-rw-r--r--spec/mspec/spec/helpers/suppress_warning_spec.rb19
-rw-r--r--spec/mspec/spec/helpers/tmp_spec.rb27
-rw-r--r--spec/mspec/spec/integration/interpreter_spec.rb18
-rw-r--r--spec/mspec/spec/integration/object_methods_spec.rb18
-rw-r--r--spec/mspec/spec/integration/run_spec.rb68
-rw-r--r--spec/mspec/spec/integration/tag_spec.rb63
-rw-r--r--spec/mspec/spec/matchers/base_spec.rb225
-rw-r--r--spec/mspec/spec/matchers/be_an_instance_of_spec.rb50
-rw-r--r--spec/mspec/spec/matchers/be_ancestor_of_spec.rb28
-rw-r--r--spec/mspec/spec/matchers/be_close_spec.rb48
-rw-r--r--spec/mspec/spec/matchers/be_computed_by_spec.rb42
-rw-r--r--spec/mspec/spec/matchers/be_empty_spec.rb26
-rw-r--r--spec/mspec/spec/matchers/be_false_spec.rb28
-rw-r--r--spec/mspec/spec/matchers/be_kind_of_spec.rb31
-rw-r--r--spec/mspec/spec/matchers/be_nan_spec.rb28
-rw-r--r--spec/mspec/spec/matchers/be_nil_spec.rb27
-rw-r--r--spec/mspec/spec/matchers/be_true_or_false_spec.rb19
-rw-r--r--spec/mspec/spec/matchers/be_true_spec.rb28
-rw-r--r--spec/mspec/spec/matchers/block_caller_spec.rb13
-rw-r--r--spec/mspec/spec/matchers/complain_spec.rb52
-rw-r--r--spec/mspec/spec/matchers/eql_spec.rb33
-rw-r--r--spec/mspec/spec/matchers/equal_element_spec.rb75
-rw-r--r--spec/mspec/spec/matchers/equal_spec.rb32
-rw-r--r--spec/mspec/spec/matchers/have_class_variable_spec.rb49
-rw-r--r--spec/mspec/spec/matchers/have_constant_spec.rb37
-rw-r--r--spec/mspec/spec/matchers/have_instance_method_spec.rb53
-rw-r--r--spec/mspec/spec/matchers/have_instance_variable_spec.rb50
-rw-r--r--spec/mspec/spec/matchers/have_method_spec.rb55
-rw-r--r--spec/mspec/spec/matchers/have_private_instance_method_spec.rb57
-rw-r--r--spec/mspec/spec/matchers/have_private_method_spec.rb44
-rw-r--r--spec/mspec/spec/matchers/have_protected_instance_method_spec.rb57
-rw-r--r--spec/mspec/spec/matchers/have_public_instance_method_spec.rb53
-rw-r--r--spec/mspec/spec/matchers/have_singleton_method_spec.rb45
-rw-r--r--spec/mspec/spec/matchers/include_any_of_spec.rb42
-rw-r--r--spec/mspec/spec/matchers/include_spec.rb37
-rw-r--r--spec/mspec/spec/matchers/infinity_spec.rb34
-rw-r--r--spec/mspec/spec/matchers/match_yaml_spec.rb39
-rw-r--r--spec/mspec/spec/matchers/output_spec.rb74
-rw-r--r--spec/mspec/spec/matchers/output_to_fd_spec.rb44
-rw-r--r--spec/mspec/spec/matchers/raise_error_spec.rb120
-rw-r--r--spec/mspec/spec/matchers/respond_to_spec.rb33
-rw-r--r--spec/mspec/spec/matchers/signed_zero_spec.rb32
-rw-r--r--spec/mspec/spec/mocks/mock_spec.rb530
-rw-r--r--spec/mspec/spec/mocks/proxy_spec.rb405
-rw-r--r--spec/mspec/spec/runner/actions/filter_spec.rb84
-rw-r--r--spec/mspec/spec/runner/actions/tag_spec.rb315
-rw-r--r--spec/mspec/spec/runner/actions/taglist_spec.rb152
-rw-r--r--spec/mspec/spec/runner/actions/tagpurge_spec.rb154
-rw-r--r--spec/mspec/spec/runner/actions/tally_spec.rb352
-rw-r--r--spec/mspec/spec/runner/actions/timer_spec.rb44
-rw-r--r--spec/mspec/spec/runner/context_spec.rb1041
-rw-r--r--spec/mspec/spec/runner/example_spec.rb117
-rw-r--r--spec/mspec/spec/runner/exception_spec.rb146
-rw-r--r--spec/mspec/spec/runner/filters/a.yaml4
-rw-r--r--spec/mspec/spec/runner/filters/b.yaml11
-rw-r--r--spec/mspec/spec/runner/filters/match_spec.rb34
-rw-r--r--spec/mspec/spec/runner/filters/profile_spec.rb117
-rw-r--r--spec/mspec/spec/runner/filters/regexp_spec.rb31
-rw-r--r--spec/mspec/spec/runner/filters/tag_spec.rb92
-rw-r--r--spec/mspec/spec/runner/formatters/describe_spec.rb67
-rw-r--r--spec/mspec/spec/runner/formatters/dotted_spec.rb285
-rw-r--r--spec/mspec/spec/runner/formatters/file_spec.rb84
-rw-r--r--spec/mspec/spec/runner/formatters/html_spec.rb216
-rw-r--r--spec/mspec/spec/runner/formatters/junit_spec.rb147
-rw-r--r--spec/mspec/spec/runner/formatters/method_spec.rb178
-rw-r--r--spec/mspec/spec/runner/formatters/multi_spec.rb68
-rw-r--r--spec/mspec/spec/runner/formatters/specdoc_spec.rb106
-rw-r--r--spec/mspec/spec/runner/formatters/spinner_spec.rb83
-rw-r--r--spec/mspec/spec/runner/formatters/summary_spec.rb26
-rw-r--r--spec/mspec/spec/runner/formatters/unit_spec.rb74
-rw-r--r--spec/mspec/spec/runner/formatters/yaml_spec.rb125
-rw-r--r--spec/mspec/spec/runner/mspec_spec.rb595
-rw-r--r--spec/mspec/spec/runner/shared_spec.rb90
-rw-r--r--spec/mspec/spec/runner/tag_spec.rb123
-rw-r--r--spec/mspec/spec/runner/tags.txt4
-rw-r--r--spec/mspec/spec/spec_helper.rb55
-rw-r--r--spec/mspec/spec/utils/deprecate_spec.rb17
-rw-r--r--spec/mspec/spec/utils/name_map_spec.rb175
-rw-r--r--spec/mspec/spec/utils/options_spec.rb1285
-rw-r--r--spec/mspec/spec/utils/script_spec.rb475
-rw-r--r--spec/mspec/spec/utils/version_spec.rb45
-rwxr-xr-xspec/mspec/tool/find.rb10
-rwxr-xr-xspec/mspec/tool/pull-latest-mspec-spec19
-rw-r--r--spec/mspec/tool/remove_old_guards.rb41
-rw-r--r--spec/mspec/tool/sync/.gitignore4
-rw-r--r--spec/mspec/tool/sync/sync-rubyspec.rb229
269 files changed, 0 insertions, 21249 deletions
diff --git a/spec/mspec/Gemfile b/spec/mspec/Gemfile
deleted file mode 100644
index 3dc3c4145b..0000000000
--- a/spec/mspec/Gemfile
+++ /dev/null
@@ -1,4 +0,0 @@
-source 'https://rubygems.org'
-
-gem "rake", "~> 10.0"
-gem "rspec", "~> 2.14.1"
diff --git a/spec/mspec/Gemfile.lock b/spec/mspec/Gemfile.lock
deleted file mode 100644
index e977989f8c..0000000000
--- a/spec/mspec/Gemfile.lock
+++ /dev/null
@@ -1,24 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- diff-lcs (1.3)
- rake (10.5.0)
- rspec (2.14.1)
- rspec-core (~> 2.14.0)
- rspec-expectations (~> 2.14.0)
- rspec-mocks (~> 2.14.0)
- rspec-core (2.14.8)
- rspec-expectations (2.14.5)
- diff-lcs (>= 1.1.3, < 2.0)
- rspec-mocks (2.14.6)
-
-PLATFORMS
- java
- ruby
-
-DEPENDENCIES
- rake (~> 10.0)
- rspec (~> 2.14.1)
-
-BUNDLED WITH
- 1.16.1
diff --git a/spec/mspec/LICENSE b/spec/mspec/LICENSE
deleted file mode 100644
index d581dd1c9f..0000000000
--- a/spec/mspec/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright (c) 2008 Engine Yard, Inc. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
diff --git a/spec/mspec/README.md b/spec/mspec/README.md
deleted file mode 100644
index 23986c92e4..0000000000
--- a/spec/mspec/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-[![Build Status](https://travis-ci.org/ruby/mspec.svg?branch=master)](https://travis-ci.org/ruby/mspec)
-
-## Overview
-
-MSpec is a specialized framework that is syntax-compatible with RSpec for
-basic things like 'describe', 'it' blocks and 'before', 'after' actions. MSpec
-contains additional features that assist in writing the RubySpecs used by
-multiple Ruby implementations.
-
-MSpec attempts to use the simplest Ruby language features so that beginning
-Ruby implementations can run the Ruby specs.
-
-MSpec is not intended as a replacement for RSpec. MSpec attempts to provide a
-subset of RSpec's features in some cases and a superset in others. It does not
-provide all the matchers, for instance.
-
-However, MSpec provides several extensions to facilitate writing the Ruby
-specs in a manner compatible with multiple Ruby implementations.
-
- 1. MSpec offers a set of guards to control execution of the specs. These
- guards not only enable or disable execution but also annotate the specs
- with additional information about why they are run or not run.
-
- 2. MSpec provides a different shared spec implementation specifically
- designed to ease writing specs for the numerous aliased methods in Ruby.
- The MSpec shared spec implementation should not conflict with RSpec's own
- shared behavior facility.
-
- 3. MSpec provides various helper methods to simplify some specs, for
- example, creating temporary file names.
-
- 4. MSpec has several specialized runner scripts that includes a
- configuration facility with a default project file and user-specific
- overrides.
-
-## Requirements
-
-MSpec requires Ruby 2.3 or more recent.
-
-## Bundler
-
-A Gemfile is provided. Use Bundler to install gem dependencies. To install
-Bundler, run the following:
-
-```bash
-gem install bundler
-```
-
-To install the gem dependencies with Bundler, run the following:
-
-```bash
-ruby -S bundle install
-```
-
-## Running Specs
-
-Use RSpec to run the MSpec specs. There are no plans currently to make the
-MSpec specs runnable by MSpec.
-
-After installing the gem dependencies, the specs can be run as follows:
-
-```bash
-ruby -S bundle exec rspec
-```
-
-Or
-
-```bash
-ruby -S rake
-```
-
-To run an individual spec file, use the following example:
-
-```bash
-ruby -S bundle exec rspec spec/helpers/ruby_exe_spec.rb
-```
-
-
-## Documentation
-
-See http://ruby.github.io/rubyspec.github.io/
-
-
-## Source Code
-
-See https://github.com/ruby/mspec
-
-
-## License
-
-See the LICENSE in the source code.
diff --git a/spec/mspec/Rakefile b/spec/mspec/Rakefile
deleted file mode 100644
index 6a9de7a95e..0000000000
--- a/spec/mspec/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'bundler/setup'
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
diff --git a/spec/mspec/bin/mkspec b/spec/mspec/bin/mkspec
deleted file mode 100755
index 00f1fdff47..0000000000
--- a/spec/mspec/bin/mkspec
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path('../../lib', __FILE__)
-
-require 'mspec/commands/mkspec'
-
-MkSpec.main
diff --git a/spec/mspec/bin/mkspec.bat b/spec/mspec/bin/mkspec.bat
deleted file mode 100755
index 1073d20a9b..0000000000
--- a/spec/mspec/bin/mkspec.bat
+++ /dev/null
@@ -1 +0,0 @@
-@"ruby.exe" "%~dpn0" %*
diff --git a/spec/mspec/bin/mspec b/spec/mspec/bin/mspec
deleted file mode 100755
index f833257bb0..0000000000
--- a/spec/mspec/bin/mspec
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path('../../lib', __FILE__)
-
-require 'mspec/commands/mspec'
-
-MSpecMain.main
diff --git a/spec/mspec/bin/mspec-ci b/spec/mspec/bin/mspec-ci
deleted file mode 100755
index d7cd50a827..0000000000
--- a/spec/mspec/bin/mspec-ci
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path('../../lib', __FILE__)
-
-require 'mspec/commands/mspec-ci'
-
-MSpecCI.main
diff --git a/spec/mspec/bin/mspec-ci.bat b/spec/mspec/bin/mspec-ci.bat
deleted file mode 100755
index 1073d20a9b..0000000000
--- a/spec/mspec/bin/mspec-ci.bat
+++ /dev/null
@@ -1 +0,0 @@
-@"ruby.exe" "%~dpn0" %*
diff --git a/spec/mspec/bin/mspec-run b/spec/mspec/bin/mspec-run
deleted file mode 100755
index 010ecefe35..0000000000
--- a/spec/mspec/bin/mspec-run
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path('../../lib', __FILE__)
-
-require 'mspec/commands/mspec-run'
-
-MSpecRun.main
diff --git a/spec/mspec/bin/mspec-run.bat b/spec/mspec/bin/mspec-run.bat
deleted file mode 100755
index 1073d20a9b..0000000000
--- a/spec/mspec/bin/mspec-run.bat
+++ /dev/null
@@ -1 +0,0 @@
-@"ruby.exe" "%~dpn0" %*
diff --git a/spec/mspec/bin/mspec-tag b/spec/mspec/bin/mspec-tag
deleted file mode 100755
index a5f9fffaaa..0000000000
--- a/spec/mspec/bin/mspec-tag
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path('../../lib', __FILE__)
-
-require 'mspec/commands/mspec-tag'
-
-MSpecTag.main
diff --git a/spec/mspec/bin/mspec-tag.bat b/spec/mspec/bin/mspec-tag.bat
deleted file mode 100755
index 1073d20a9b..0000000000
--- a/spec/mspec/bin/mspec-tag.bat
+++ /dev/null
@@ -1 +0,0 @@
-@"ruby.exe" "%~dpn0" %*
diff --git a/spec/mspec/bin/mspec.bat b/spec/mspec/bin/mspec.bat
deleted file mode 100755
index 1073d20a9b..0000000000
--- a/spec/mspec/bin/mspec.bat
+++ /dev/null
@@ -1 +0,0 @@
-@"ruby.exe" "%~dpn0" %*
diff --git a/spec/mspec/lib/mspec.rb b/spec/mspec/lib/mspec.rb
deleted file mode 100644
index 42d590c99a..0000000000
--- a/spec/mspec/lib/mspec.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-require 'mspec/matchers'
-require 'mspec/expectations'
-require 'mspec/mocks'
-require 'mspec/runner'
-require 'mspec/guards'
-require 'mspec/helpers'
-require 'mspec/version'
-
-# If the implementation on which the specs are run cannot
-# load pp from the standard library, add a pp.rb file that
-# defines the #pretty_inspect method on Object or Kernel.
-begin
- require 'pp'
-rescue LoadError
- module Kernel
- def pretty_inspect
- inspect
- end
- end
-end
diff --git a/spec/mspec/lib/mspec/commands/mkspec.rb b/spec/mspec/lib/mspec/commands/mkspec.rb
deleted file mode 100755
index 49a2e6b616..0000000000
--- a/spec/mspec/lib/mspec/commands/mkspec.rb
+++ /dev/null
@@ -1,155 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'rbconfig'
-require 'mspec/version'
-require 'mspec/utils/options'
-require 'mspec/utils/name_map'
-require 'mspec/helpers/fs'
-
-class MkSpec
- attr_reader :config
-
- def initialize
- @config = {
- :constants => [],
- :requires => [],
- :base => "core",
- :version => nil
- }
- @map = NameMap.new true
- end
-
- def options(argv=ARGV)
- options = MSpecOptions.new "mkspec [options]", 32
-
- options.on("-c", "--constant", "CONSTANT",
- "Class or Module to generate spec stubs for") do |name|
- config[:constants] << name
- end
- options.on("-b", "--base", "DIR",
- "Directory to generate specs into") do |directory|
- config[:base] = File.expand_path directory
- end
- options.on("-r", "--require", "LIBRARY",
- "A library to require") do |file|
- config[:requires] << file
- end
- options.on("-V", "--version-guard", "VERSION",
- "Specify version for ruby_version_is guards") do |version|
- config[:version] = version
- end
- options.version MSpec::VERSION
- options.help
-
- options.doc "\n How might this work in the real world?\n"
- options.doc " 1. To create spec stubs for every class or module in Object\n"
- options.doc " $ mkspec\n"
- options.doc " 2. To create spec stubs for Fixnum\n"
- options.doc " $ mkspec -c Fixnum\n"
- options.doc " 3. To create spec stubs for Complex in 'superspec/complex'\n"
- options.doc " $ mkspec -c Complex -r complex -b superspec"
- options.doc ""
-
- options.parse argv
- end
-
- def create_directory(mod)
- subdir = @map.dir_name mod, config[:base]
-
- if File.exist? subdir
- unless File.directory? subdir
- puts "#{subdir} already exists and is not a directory."
- return nil
- end
- else
- mkdir_p subdir
- end
-
- subdir
- end
-
- def write_requires(dir, file)
- prefix = config[:base] + '/'
- raise dir unless dir.start_with? prefix
- sub = dir[prefix.size..-1]
- parents = '../' * (sub.split('/').length + 1)
-
- File.open(file, 'w') do |f|
- f.puts "require_relative '#{parents}spec_helper'"
- config[:requires].each do |lib|
- f.puts "require '#{lib}'"
- end
- end
- end
-
- def write_version(f)
- f.puts ""
- if version = config[:version]
- f.puts "ruby_version_is #{version} do"
- yield " "
- f.puts "end"
- else
- yield ""
- end
- end
-
- def write_spec(file, meth, exists)
- if exists
- out = `#{ruby} #{MSPEC_HOME}/bin/mspec-run --dry-run --unguarded -fs -e '#{meth}' #{file}`
- return if out.include?(meth)
- end
-
- File.open file, 'a' do |f|
- write_version(f) do |indent|
- f.puts <<-EOS
-#{indent}describe "#{meth}" do
-#{indent} it "needs to be reviewed for spec completeness"
-#{indent}end
-EOS
- end
- end
-
- puts file
- end
-
- def create_file(dir, mod, meth, name)
- file = File.join dir, @map.file_name(meth, mod)
- exists = File.exist? file
-
- write_requires dir, file unless exists
- write_spec file, name, exists
- end
-
- def run
- config[:requires].each { |lib| require lib }
- constants = config[:constants]
- constants = Object.constants if constants.empty?
-
- @map.map({}, constants).each do |mod, methods|
- name = mod.chop
- next unless dir = create_directory(name)
-
- methods.each { |method| create_file dir, name, method, mod + method }
- end
- end
-
- ##
- # Determine and return the path of the ruby executable.
-
- def ruby
- ruby = File.join(RbConfig::CONFIG['bindir'],
- RbConfig::CONFIG['ruby_install_name'])
-
- ruby.gsub! File::SEPARATOR, File::ALT_SEPARATOR if File::ALT_SEPARATOR
-
- return ruby
- end
-
- def self.main
- ENV['MSPEC_RUNNER'] = '1'
-
- script = new
- script.options
- script.run
- end
-end
diff --git a/spec/mspec/lib/mspec/commands/mspec-ci.rb b/spec/mspec/lib/mspec/commands/mspec-ci.rb
deleted file mode 100644
index cb0193f42d..0000000000
--- a/spec/mspec/lib/mspec/commands/mspec-ci.rb
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
-
-require 'mspec/version'
-require 'mspec/utils/options'
-require 'mspec/utils/script'
-
-
-class MSpecCI < MSpecScript
- def options(argv=ARGV)
- options = MSpecOptions.new "mspec ci [options] (FILE|DIRECTORY|GLOB)+", 30, config
-
- options.doc " Ask yourself:"
- options.doc " 1. How to run the specs?"
- options.doc " 2. How to modify the guard behavior?"
- options.doc " 2. How to display the output?"
- options.doc " 3. What action to perform?"
- options.doc " 4. When to perform it?"
-
- options.doc "\n How to run the specs"
- options.chdir
- options.prefix
- options.configure { |f| load f }
- options.pretend
- options.interrupt
-
- options.doc "\n How to modify the guard behavior"
- options.unguarded
- options.verify
-
- options.doc "\n How to display their output"
- options.formatters
- options.verbose
-
- options.doc "\n What action to perform"
- options.actions
-
- options.doc "\n When to perform it"
- options.action_filters
-
- options.doc "\n Help!"
- options.debug
- options.version MSpec::VERSION
- options.help
-
- options.doc "\n Custom options"
- custom_options options
-
- options.doc "\n How might this work in the real world?"
- options.doc "\n 1. To simply run the known good specs"
- options.doc "\n $ mspec ci"
- options.doc "\n 2. To run a subset of the known good specs"
- options.doc "\n $ mspec ci path/to/specs"
- options.doc "\n 3. To start the debugger before the spec matching 'this crashes'"
- options.doc "\n $ mspec ci --spec-debug -S 'this crashes'"
- options.doc ""
-
- patterns = options.parse argv
- patterns = config[:ci_files] if patterns.empty?
- @files = files patterns
- end
-
- def run
- MSpec.register_tags_patterns config[:tags_patterns]
- MSpec.register_files @files
-
- tags = ["fails", "critical", "unstable", "incomplete", "unsupported"]
- tags += Array(config[:ci_xtags])
-
- require 'mspec/runner/filters/tag'
- filter = TagFilter.new(:exclude, *tags)
- filter.register
-
- MSpec.process
- exit MSpec.exit_code
- end
-end
diff --git a/spec/mspec/lib/mspec/commands/mspec-run.rb b/spec/mspec/lib/mspec/commands/mspec-run.rb
deleted file mode 100644
index 249f9f5771..0000000000
--- a/spec/mspec/lib/mspec/commands/mspec-run.rb
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/usr/bin/env ruby
-
-$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
-
-require 'mspec/version'
-require 'mspec/utils/options'
-require 'mspec/utils/script'
-
-
-class MSpecRun < MSpecScript
- def initialize
- super
-
- config[:files] = []
- end
-
- def options(argv=ARGV)
- options = MSpecOptions.new "mspec run [options] (FILE|DIRECTORY|GLOB)+", 30, config
-
- options.doc " Ask yourself:"
- options.doc " 1. What specs to run?"
- options.doc " 2. How to modify the execution?"
- options.doc " 3. How to modify the guard behavior?"
- options.doc " 4. How to display the output?"
- options.doc " 5. What action to perform?"
- options.doc " 6. When to perform it?"
-
- options.doc "\n What specs to run"
- options.filters
-
- options.doc "\n How to modify the execution"
- options.chdir
- options.prefix
- options.configure { |f| load f }
- options.randomize
- options.repeat
- options.pretend
- options.interrupt
-
- options.doc "\n How to modify the guard behavior"
- options.unguarded
- options.verify
-
- options.doc "\n How to display their output"
- options.formatters
- options.verbose
-
- options.doc "\n What action to perform"
- options.actions
-
- options.doc "\n When to perform it"
- options.action_filters
-
- options.doc "\n Help!"
- options.debug
- options.version MSpec::VERSION
- options.help
-
- options.doc "\n Custom options"
- custom_options options
-
- options.doc "\n How might this work in the real world?"
- options.doc "\n 1. To simply run some specs"
- options.doc "\n $ mspec path/to/the/specs"
- options.doc " mspec path/to/the_file_spec.rb"
- options.doc "\n 2. To run specs tagged with 'fails'"
- options.doc "\n $ mspec -g fails path/to/the_file_spec.rb"
- options.doc "\n 3. To start the debugger before the spec matching 'this crashes'"
- options.doc "\n $ mspec --spec-debug -S 'this crashes' path/to/the_file_spec.rb"
- options.doc "\n 4. To run some specs matching 'this crashes'"
- options.doc "\n $ mspec -e 'this crashes' path/to/the_file_spec.rb"
-
- options.doc ""
-
- patterns = options.parse argv
- @files = files_from_patterns(patterns)
- end
-
- def run
- MSpec.register_tags_patterns config[:tags_patterns]
- MSpec.register_files @files
-
- MSpec.process
- exit MSpec.exit_code
- end
-end
diff --git a/spec/mspec/lib/mspec/commands/mspec-tag.rb b/spec/mspec/lib/mspec/commands/mspec-tag.rb
deleted file mode 100644