-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
45 lines (33 loc) · 1.1 KB
/
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
37
38
39
40
41
42
43
44
45
# -*- ruby -*-
require 'rubygems'
require 'hoe'
Hoe.plugins.delete :rubyforge
Hoe.plugin :git
Hoe.plugin :rcov
Hoe.plugin :roodi
Hoe.plugin :reek
spec = Hoe.spec 'rdbi-driver-mysql' do
developer 'Erik Hollensbe', '[email protected]'
self.rubyforge_name = nil
self.description = <<-EOF
This is the mysql driver for RDBI.
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 = 'MySQL driver for RDBI';
self.url = %w[http://github.com/rdbi/rdbi-driver-mysql]
require_ruby_version ">= 1.8.7"
extra_dev_deps << ['hoe-roodi']
extra_dev_deps << ['hoe-reek']
extra_dev_deps << ['minitest']
extra_deps << ['rdbi']
extra_deps << ['mysql', '>= 2.8.1']
desc "install a gem without sudo"
end
task :install => [:gem] do
sh "gem install pkg/#{spec.name}-#{spec.version}.gem"
end
# vim: syntax=ruby