From 95e8c48dd3348503a8c7db5d0498894a1b676395 Mon Sep 17 00:00:00 2001 From: eregon Date: Sun, 7 May 2017 12:04:49 +0000 Subject: Add in-tree mspec and ruby/spec * For easier modifications of ruby/spec by MRI developers. * .gitignore: track changes under spec. * spec/mspec, spec/rubyspec: add in-tree mspec and ruby/spec. These files can therefore be updated like any other file in MRI. Instructions are provided in spec/README. [Feature #13156] [ruby-core:79246] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/mspec/mspec.gemspec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 spec/mspec/mspec.gemspec (limited to 'spec/mspec/mspec.gemspec') diff --git a/spec/mspec/mspec.gemspec b/spec/mspec/mspec.gemspec new file mode 100644 index 0000000000..428067dfd3 --- /dev/null +++ b/spec/mspec/mspec.gemspec @@ -0,0 +1,40 @@ +# -*- encoding: utf-8 -*- +$:.unshift File.expand_path('../lib', __FILE__) +require 'mspec/version' + +Gem::Specification.new do |gem| + gem.name = "mspec" + gem.version = MSpec::VERSION.to_s + gem.authors = ["Brian Shirai"] + gem.email = ["bshirai@engineyard.com"] + gem.homepage = "http://rubyspec.org" + + gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) unless File.extname(f) == ".bat" }.compact + gem.files = `git ls-files`.split("\n") + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + gem.require_paths = ["lib"] + gem.description = <<-EOD +MSpec is a specialized framework for RubySpec. + EOD + gem.summary = <<-EOS +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. Also, +MSpec attempts to use the simplest Ruby language features +so that beginning Ruby implementations can run it. + EOS + gem.has_rdoc = true + gem.extra_rdoc_files = %w[ README.md LICENSE ] + gem.rubygems_version = %q{1.3.5} + gem.rubyforge_project = 'http://rubyforge.org/projects/mspec' + + gem.rdoc_options << '--title' << 'MSpec Gem' << + '--main' << 'README.md' << + '--line-numbers' + + gem.add_development_dependency "rake", "~> 10.0" + gem.add_development_dependency "rspec", "~> 2.14.1" +end -- cgit v1.2.3