public
Description: RSpec-syntax compatible framework for RubySpecs
Homepage: http://rubyspec.org
Clone URL: git://github.com/rubyspec/mspec.git
mspec / Rakefile
100644 48 lines (37 sloc) 1.785 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require 'rubygems'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
 
$:.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'lib/mspec/version'
 
Spec::Rake::SpecTask.new
 
task :default => :spec
 
 
spec = Gem::Specification.new do |s|
  s.name = %q{mspec}
  s.version = MSpec::VERSION.to_s
 
  s.specification_version = 2 if s.respond_to? :specification_version=
 
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.authors = ["Brian Ford"]
  s.date = %q{2009-6-8}
  s.email = %q{bford@engineyard.com}
  s.has_rdoc = true
  s.extra_rdoc_files = %w[ README LICENSE ]
  s.executables = ["mkspec", "mspec", "mspec-ci", "mspec-run", "mspec-tag"]
  s.files = FileList[ '{bin,lib,spec}/**/*.{yaml,txt,rb}', 'Rakefile', *s.extra_rdoc_files ]
  s.homepage = %q{http://rubyspec.org}
  s.rubyforge_project = 'http://rubyforge.org/projects/mspec'
  s.require_paths = ["lib"]
  s.rubygems_version = %q{1.1.1}
  s.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
 
  s.rdoc_options << '--title' << 'MSpec Gem' <<
                   '--main' << 'README' <<
                   '--line-numbers'
end
 
Rake::GemPackageTask.new(spec){ |pkg| pkg.gem_spec = spec }