do_sqlite3 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -18
- metadata +4 -4
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
|
|
3
3
|
|
4
4
|
PLUGIN = "do_sqlite3"
|
5
5
|
NAME = "do_sqlite3"
|
6
|
-
VERSION = "0.2.
|
6
|
+
VERSION = "0.2.1"
|
7
7
|
AUTHOR = "Yehuda Katz"
|
8
8
|
EMAIL = "wycats@gmail.com"
|
9
9
|
HOMEPAGE = "http://dataobjects.devjavu.com"
|
@@ -23,6 +23,7 @@ spec = Gem::Specification.new do |s|
|
|
23
23
|
s.add_dependency('data_objects')
|
24
24
|
s.require_path = 'lib'
|
25
25
|
s.autorequire = PLUGIN
|
26
|
+
s.extensions = ["ext/extconf.rb"]
|
26
27
|
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs,ext}/**/*")
|
27
28
|
end
|
28
29
|
|
@@ -31,21 +32,5 @@ Rake::GemPackageTask.new(spec) do |pkg|
|
|
31
32
|
end
|
32
33
|
|
33
34
|
task :install => [:package] do
|
34
|
-
|
35
|
-
STDERR.puts "* Installing native extensions"
|
36
|
-
old_stdout, old_stderr = STDOUT.dup, STDERR.dup
|
37
|
-
|
38
|
-
STDOUT.reopen("/dev/null")
|
39
|
-
STDERR.reopen("/dev/null")
|
40
|
-
|
41
|
-
sh %{ruby ext/extconf.rb}
|
42
|
-
sh %{make clean}
|
43
|
-
sh %{make}
|
44
|
-
sh %{sudo make install}
|
45
|
-
sh %{sudo gem install pkg/#{NAME}-#{VERSION}}
|
46
|
-
|
47
|
-
STDOUT.reopen(old_stdout)
|
48
|
-
STDERR.reopen(old_stderr)
|
49
|
-
|
50
|
-
puts "* Successfully installed native extensions"
|
35
|
+
sh %{sudo gem install pkg/#{NAME}-#{VERSION}}, :verbose => false
|
51
36
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: do_sqlite3
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2007-11-
|
6
|
+
version: 0.2.1
|
7
|
+
date: 2007-11-12 00:00:00 -08:00
|
8
8
|
summary: A DataObject.rb driver for sqlite3
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -47,8 +47,8 @@ extra_rdoc_files:
|
|
47
47
|
- TODO
|
48
48
|
executables: []
|
49
49
|
|
50
|
-
extensions:
|
51
|
-
|
50
|
+
extensions:
|
51
|
+
- ext/extconf.rb
|
52
52
|
requirements: []
|
53
53
|
|
54
54
|
dependencies:
|