Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (40 sloc) 1.246 kb
f91a892 Add one line in README
Joseph HALTER authored
1 require "rubygems"
2 require "rake"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
3
4 begin
f91a892 Add one line in README
Joseph HALTER authored
5 require "jeweler"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
6 Jeweler::Tasks.new do |gem|
f80a710 Jonathan Tron Update to work with RSpec 2.0.0a
JonathanTron authored
7 gem.version = "0.2.0"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
8 gem.name = "rspec_sequel_matchers"
e7b1008 Jonathan Tron Update Summary
JonathanTron authored
9 gem.summary = %Q{RSpec Matchers for Sequel}
5f67c31 Jonathan Tron Change author email and homepage
JonathanTron authored
10 gem.email = "team@openhood.com"
11 gem.homepage = "http://github.com/openhood/rspec_sequel_matchers"
7d6db54 Jonathan Tron Add Joseph as author
JonathanTron authored
12 gem.authors = ["Jonathan Tron", "Joseph Halter"]
f80a710 Jonathan Tron Update to work with RSpec 2.0.0a
JonathanTron authored
13 gem.add_dependency "rspec", ">= 2.0.0.a"
14 gem.add_dependency "sequel", ">= 3.8.0"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
15 end
f80a710 Jonathan Tron Update to work with RSpec 2.0.0a
JonathanTron authored
16 Jeweler::GemcutterTasks.new
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
17 rescue LoadError
18 puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
19 end
20
f80a710 Jonathan Tron Update to work with RSpec 2.0.0a
JonathanTron authored
21 require "rspec/core/rake_task"
22 Rspec::Core::RakeTask.new(:spec) do |spec|
23 spec.pattern = "spec/**/*_spec.rb"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
24 end
25
f80a710 Jonathan Tron Update to work with RSpec 2.0.0a
JonathanTron authored
26 Rspec::Core::RakeTask.new(:rcov) do |spec|
f91a892 Add one line in README
Joseph HALTER authored
27 spec.pattern = "spec/**/*_spec.rb"
f1da83e Jonathan Tron Finish switch to rspec...
JonathanTron authored
28 spec.rcov = true
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
29 end
30
f1da83e Jonathan Tron Finish switch to rspec...
JonathanTron authored
31 task :default => :spec
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
32
f91a892 Add one line in README
Joseph HALTER authored
33 require "rake/rdoctask"
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
34 Rake::RDocTask.new do |rdoc|
f91a892 Add one line in README
Joseph HALTER authored
35 if File.exist?("VERSION.yml")
36 config = YAML.load(File.read("VERSION.yml"))
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
37 version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
38 else
39 version = ""
40 end
41
f91a892 Add one line in README
Joseph HALTER authored
42 rdoc.rdoc_dir = "rdoc"
f1da83e Jonathan Tron Finish switch to rspec...
JonathanTron authored
43 rdoc.title = "test #{version}"
f91a892 Add one line in README
Joseph HALTER authored
44 rdoc.rdoc_files.include("README*")
45 rdoc.rdoc_files.include("lib/**/*.rb")
d6248b5 Jonathan Tron Initial commit to rspec_sequel_matchers.
JonathanTron authored
46 end
Something went wrong with that request. Please try again.