-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
36 lines (25 loc) · 954 Bytes
/
Rakefile
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
# -*- ruby -*-
require 'rubygems'
require 'hoe'
Hoe.plugins.delete :rubyforge
Hoe.plugin :git
spec = Hoe.spec 'rdbi-driver-mock' do
developer 'Erik Hollensbe', '[email protected]'
self.rubyforge_name = nil
self.description = <<-EOF
This is the mock driver we use to facilitate testing.
RDBI is a database interface built out of small parts. A micro framework for
databases, RDBI works with and extends libraries like 'typelib' and 'epoxy'
to provide type conversion and binding facilities. Via a driver/adapter
system it provides database access. RDBI itself provides pooling and other
enhanced database features.
EOF
self.summary = 'Mock driver for RDBI. For testing only.'
self.url = %w[http://github.com/rdbi/rdbi-driver-mock]
require_ruby_version ">= 1.8.7"
extra_deps << ['rdbi']
desc "install a gem without sudo"
end
task :install => [:gem] do
sh "gem install pkg/#{spec.name}-#{spec.version}.gem"
end