activerecord-jdbc-alt-adapter 50.3.1-java → 50.3.2-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/arjdbc/jdbc/adapter_java.jar +0 -0
- data/lib/arjdbc/version.rb +1 -1
- data/src/java/arjdbc/jdbc/RubyJdbcConnection.java +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09bfb6bcb1adba66ba35e7215833ce8983feb04de74c0e2daf5db33ad82cbb0c'
|
|
4
|
+
data.tar.gz: b85e0d8b6fa55c656099c9ee04274cecf4504a76192c620037ad3cee1c295481
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68de6bc73dc2bf00af195f9329c0c4af4272a13fa42fcc01a6d24827ce52ec51d23db63828cd8e9e32e228c499e0e89261f375ef49fedf8d6e27124945848bf7
|
|
7
|
+
data.tar.gz: e89361d96b9ea5ad3a2f24d3def7df79c2150973b36fce49148344467ca38a92acba925608a965a4db947072e2014864ce717cc2d7a23fece644c42455d0a1d4
|
|
Binary file
|
data/lib/arjdbc/version.rb
CHANGED
|
@@ -2895,8 +2895,9 @@ public class RubyJdbcConnection extends RubyObject {
|
|
|
2895
2895
|
value = value.callMethod(context, "to_date");
|
|
2896
2896
|
}
|
|
2897
2897
|
|
|
2898
|
-
// NOTE:
|
|
2899
|
-
|
|
2898
|
+
// NOTE: Here we rely in ActiveRecord (ActiveSupport) to get
|
|
2899
|
+
// the date as a string in the database format.
|
|
2900
|
+
statement.setDate(index, Date.valueOf(value.callMethod(context, "to_s", context.runtime.newSymbol("db")).toString()));
|
|
2900
2901
|
}
|
|
2901
2902
|
|
|
2902
2903
|
protected void setBooleanParameter(final ThreadContext context,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-jdbc-alt-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 50.3.
|
|
4
|
+
version: 50.3.2
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|