forked from ruby/mspec
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
53 lines (43 loc) · 1.86 KB
/
Rakefile
File metadata and controls
53 lines (43 loc) · 1.86 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
49
50
51
52
53
require 'rubygems'
begin
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new
task :default => :spec
rescue LoadError
task :default do
STDERR.puts "Please install RSpec 1.6.x to run MSpec specs"
end
end
require 'rake/gempackagetask'
$:.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'mspec/version'
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{2010-03-13}
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.3.5}
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 }