sequel-jdbc-pervasive-adapter 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Sequel
2
2
  module Jdbc
3
3
  module Pervasive
4
4
  module Adapter
5
- VERSION = "0.0.3"
5
+ VERSION = "0.0.4"
6
6
  end
7
7
  end
8
8
  end
@@ -1,4 +1,10 @@
1
1
  # encoding: utf-8
2
+ require "sequel-jdbc-pervasive-adapter/jpscs.jar"
3
+ require "sequel-jdbc-pervasive-adapter/pvjdbc2.jar"
4
+ require "sequel-jdbc-pervasive-adapter/pvjdbc2x.jar"
5
+
6
+ Java::JavaClass.for_name("com.pervasive.jdbc.v2.Driver")
7
+
2
8
  module Sequel
3
9
  module JDBC
4
10
  module Pervasive
@@ -4,12 +4,6 @@ require 'sequel/adapters/jdbc'
4
4
 
5
5
  Sequel::JDBC::DATABASE_SETUP[:pervasive] = proc do |db|
6
6
  require 'sequel/adapters/jdbc/pervasive'
7
- require 'sequel-jdbc-pervasive-adapter/jpscs.jar'
8
- require 'sequel-jdbc-pervasive-adapter/pvjdbc2.jar'
9
- require 'sequel-jdbc-pervasive-adapter/pvjdbc2x.jar'
10
-
11
- Java::JavaClass.for_name("com.pervasive.jdbc.v2.Driver")
12
-
13
7
  db.extend(Sequel::JDBC::Pervasive::DatabaseMethods)
14
8
  java.sql.DriverManager.registerDriver("com.pervasive.jdbc.v2.Driver");
15
9
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sequel-jdbc-pervasive-adapter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stefan Penner