embulk-input-db2 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71ec509fb2061e7b42010755d47b05d1aae17d3d
4
- data.tar.gz: dd70852472c2a96521b2bd4bb14a141d2c5c321d
3
+ metadata.gz: fe316d97d29f582470fb4a2df2d096c4c954109f
4
+ data.tar.gz: 6f54f3a39b186941f3381c137bfec576f5d978d5
5
5
  SHA512:
6
- metadata.gz: 5412cdf918d54c23a7a451ae7ac88c338ef915d6fcd54c824e9ea133858487a382fcac7ee3d280ff517a61125045f0e2e53be0486d369a70c27e5aa23f3f420d
7
- data.tar.gz: e4ea7d91d5b1e246f824b2a9b18a7d0776d3c2f22c7b48b61de75c1890aafdd377fac96140f93c08e2e31440bef362adc3c8026da9b7b28d56dc56ab0516eebb
6
+ metadata.gz: e9a0f76325077e296ea44c97ed263f006813be7582353363f7ceaf78179dc366fa6e61f1c5aea8da808699d0728c3a734410eb23d5b80a582bf881960a299fbd
7
+ data.tar.gz: 2953606d550770681d91839e9461f16026adb5016852a53aeb44dc2730bb76fdd11d9c526e7a1622545a6c373de2c9bc14844a346955bb9d41e59ced1c0cf056
data/build.gradle CHANGED
@@ -2,5 +2,5 @@ dependencies {
2
2
  compile project(':embulk-input-jdbc')
3
3
 
4
4
  testCompile 'org.embulk:embulk-standards:0.8.15'
5
- testCompile files('driver/db2jcc4.jar')
5
+ testCompile files('test_jdbc_driver/db2jcc4.jar')
6
6
  }
@@ -21,6 +21,12 @@ public class DB2Tests
21
21
 
22
22
  public static void execute(String sqlName) throws Exception
23
23
  {
24
+ try {
25
+ Class.forName("com.ibm.db2.jcc.DB2Driver");
26
+ } catch (ClassNotFoundException e) {
27
+ throw new RuntimeException("You should put 'db2jcc4.jar' in 'embulk-input-db2/test_jdbc_driver' directory in order to test.");
28
+ }
29
+
24
30
  // DB2Tests.excute takes a resource name of SQL file, doesn't take a SQL sentence as other XXXTests do.
25
31
  // Because TestingEmbulk.createTempFile might create a file whose name contains ' ' and DB2 clpplus cannot read such a file.
26
32
  // But if root directory name of embulk-input-db2 contains ' ', tests will fail for the same reason.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-db2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2017-07-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Selects records from a table.
14
14
  email:
@@ -19,8 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - README.md
21
21
  - build.gradle
22
- - classpath/embulk-input-db2-0.8.4.jar
23
- - classpath/embulk-input-jdbc-0.8.4.jar
22
+ - classpath/embulk-input-db2-0.8.5.jar
23
+ - classpath/embulk-input-jdbc-0.8.5.jar
24
24
  - lib/embulk/input/db2.rb
25
25
  - src/main/java/org/embulk/input/DB2InputPlugin.java
26
26
  - src/main/java/org/embulk/input/db2/DB2InputConnection.java