sequel-jdbc-pervasive-adapter 0.0.2 → 0.0.3

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.2"
5
+ VERSION = "0.0.3"
6
6
  end
7
7
  end
8
8
  end
@@ -1,10 +1,4 @@
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
-
8
2
  module Sequel
9
3
  module JDBC
10
4
  module Pervasive
@@ -4,6 +4,12 @@ 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
+
7
13
  db.extend(Sequel::JDBC::Pervasive::DatabaseMethods)
8
14
  java.sql.DriverManager.registerDriver("com.pervasive.jdbc.v2.Driver");
9
15
  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.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stefan Penner