activerecord-jdbc-adapter 0.9 → 0.9.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module JdbcAdapter
2
2
  module Version
3
- VERSION = "0.9"
3
+ VERSION = "0.9.0.1"
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /***** BEGIN LICENSE BLOCK *****
2
- * Copyright (c) 2006-2008 Nick Sieger <nick@nicksieger.com>
2
+ * Copyright (c) 2006-2009 Nick Sieger <nick@nicksieger.com>
3
3
  * Copyright (c) 2006-2007 Ola Bini <ola.bini@gmail.com>
4
4
  *
5
5
  * Permission is hereby granted, free of charge, to any person obtaining
@@ -1128,7 +1128,8 @@ public class JdbcAdapterInternalService implements BasicLibraryService {
1128
1128
  IRubyObject connection_factory = rubyApi.getInstanceVariable(recv, "@connection_factory");
1129
1129
  JdbcConnectionFactory factory = null;
1130
1130
  try {
1131
- factory = (JdbcConnectionFactory) ((JavaObject) rubyApi.getInstanceVariable(connection_factory, "@java_object")).getValue();
1131
+ factory = (JdbcConnectionFactory) JavaEmbedUtils.rubyToJava(
1132
+ recv.getRuntime(), connection_factory, JdbcConnectionFactory.class);
1132
1133
  } catch (Exception e) {
1133
1134
  factory = null;
1134
1135
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbc-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.9"
4
+ version: 0.9.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger, Ola Bini and JRuby contributors
@@ -9,11 +9,14 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-26 00:00:00 -06:00
12
+ date: 2009-10-26 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: activerecord-jdbc-adapter is a database adapter for Rails' ActiveRecord component that can be used with JRuby[http://www.jruby.org/]. It allows use of virtually any JDBC-compliant database with your JRuby on Rails application.
16
+ description: |-
17
+ activerecord-jdbc-adapter is a database adapter for Rails' ActiveRecord
18
+ component that can be used with JRuby[http://www.jruby.org/]. It allows use of
19
+ virtually any JDBC-compliant database with your JRuby on Rails application.
17
20
  email: nick@nicksieger.com, ola.bini@gmail.com
18
21
  executables: []
19
22
 
@@ -120,6 +123,8 @@ files:
120
123
  - src/java/jdbc_adapter/SQLBlock.java
121
124
  has_rdoc: true
122
125
  homepage: http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter
126
+ licenses: []
127
+
123
128
  post_install_message:
124
129
  rdoc_options:
125
130
  - --main
@@ -141,9 +146,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
146
  requirements: []
142
147
 
143
148
  rubyforge_project: jruby-extras
144
- rubygems_version: 1.3.1
149
+ rubygems_version: 1.3.5
145
150
  signing_key:
146
- specification_version: 2
151
+ specification_version: 3
147
152
  summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
148
153
  test_files: []
149
154