do_sqlite3 0.10.0-java → 0.10.1-java

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.markdown DELETED
@@ -1,22 +0,0 @@
1
- ## 0.10.0 2009-10-15
2
- * Improvements
3
- * JRuby Support (using *do_jdbc*)
4
-
5
- ## 0.9.12 2009-05-17
6
- * Improvements
7
- * rake-compiler for Windows support
8
-
9
- ## 0.9.11 2009-01-19
10
- * Improvements
11
- * Ruby 1.9 support
12
- * Fixes
13
- * Fix Windows gem
14
-
15
- ## 0.9.9 2008-11-27
16
- * Improvements
17
- * Added cross compile rake tasks for Windows gems [Jonathan Stott, Luis Lavena]
18
- * Added initial support for Ruby 1.9 [John Harrison]
19
-
20
- * Bug Fixes
21
- * Removed sqlite3.dll from source gem [Dan Kubb]
22
- * Removed hard coded .bundle from source [Dirkjan Bussink]
data/Manifest.txt DELETED
@@ -1,31 +0,0 @@
1
- .gitignore
2
- HISTORY.markdown
3
- LICENSE
4
- Manifest.txt
5
- README.markdown
6
- Rakefile
7
- buildfile
8
- ext-java/src/main/java/DoSqlite3ExtService.java
9
- ext-java/src/main/java/do_sqlite3/Sqlite3DriverDefinition.java
10
- ext/do_sqlite3_ext/do_sqlite3_ext.c
11
- ext/do_sqlite3_ext/extconf.rb
12
- lib/do_sqlite3.rb
13
- lib/do_sqlite3/transaction.rb
14
- lib/do_sqlite3/version.rb
15
- spec/command_spec.rb
16
- spec/connection_spec.rb
17
- spec/reader_spec.rb
18
- spec/result_spec.rb
19
- spec/spec.opts
20
- spec/spec_helper.rb
21
- spec/typecast/bigdecimal_spec.rb
22
- spec/typecast/boolean_spec.rb
23
- spec/typecast/byte_array_spec.rb
24
- spec/typecast/class_spec.rb
25
- spec/typecast/date_spec.rb
26
- spec/typecast/datetime_spec.rb
27
- spec/typecast/float_spec.rb
28
- spec/typecast/integer_spec.rb
29
- spec/typecast/nil_spec.rb
30
- spec/typecast/string_spec.rb
31
- spec/typecast/time_spec.rb
Binary file
@@ -1,3 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'data_objects', 'spec', 'lib', 'rspec_immediate_feedback_formatter'))
data/tasks/gem.rake DELETED
@@ -1,8 +0,0 @@
1
- require 'rubygems/package_task'
2
-
3
- GEM_SPEC = eval(File.read('do_sqlite3.gemspec'))
4
-
5
- gem_package = Gem::PackageTask.new(GEM_SPEC) do |pkg|
6
- pkg.need_tar = false
7
- pkg.need_zip = false
8
- end
data/tasks/install.rake DELETED
@@ -1,15 +0,0 @@
1
- def sudo_gem(cmd)
2
- sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false
3
- end
4
-
5
- # Installation
6
-
7
- desc "Install #{GEM_SPEC.name} #{GEM_SPEC.version}"
8
- task :install => [ :package ] do
9
- sudo_gem "install pkg/#{GEM_SPEC.name}-#{GEM_SPEC.version} --no-update-sources"
10
- end
11
-
12
- desc "Uninstall #{GEM_SPEC.name} #{GEM_SPEC.version}"
13
- task :uninstall => [ :clean ] do
14
- sudo_gem "uninstall #{GEM_SPEC.name} -v#{GEM_SPEC.version} -I -x"
15
- end
data/tasks/native.rake DELETED
@@ -1,35 +0,0 @@
1
- begin
2
- gem('rake-compiler')
3
- require 'rake/extensiontask'
4
-
5
- # compile the extension
6
- if JRUBY
7
- # XXX: is it necessary to run this everytime?
8
- Rake::Task['compile:jruby'].invoke
9
- end
10
-
11
- Rake::ExtensionTask.new('do_sqlite3_ext', GEM_SPEC) do |ext|
12
-
13
- sqlite3_lib = File.expand_path(File.join(File.dirname(__FILE__), '..', 'vendor', 'sqlite3'))
14
-
15
- ext.cross_compile = true
16
- ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']
17
- ext.cross_config_options << "--with-sqlite3-dir=#{sqlite3_lib}"
18
-
19
- # automatically add build options to avoid need of manual input
20
- if RUBY_PLATFORM =~ /mswin|mingw/ then
21
- ext.config_options << "--with-sqlite3-dir=#{sqlite3_lib}"
22
- end
23
-
24
- end
25
- rescue LoadError
26
- warn "To cross-compile, install rake-compiler (gem install rake-compiler)"
27
-
28
- if (tasks_dir = ROOT.parent + 'tasks').directory?
29
- require tasks_dir + 'ext_helper'
30
- require tasks_dir + 'ext_helper_java'
31
-
32
- setup_c_extension("#{GEM_SPEC.name}_ext", GEM_SPEC)
33
- setup_java_extension("#{GEM_SPEC.name}_ext", GEM_SPEC)
34
- end
35
- end