embulk-input-oracle 0.7.3 → 0.7.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f54161ba3352344331934d1663a74df34f46e187
4
- data.tar.gz: 91252aaba39988bab74ef588e6ca869f07d231ff
3
+ metadata.gz: 38c75d9629dab90ac79caf0fdf0b76f4a467e4e6
4
+ data.tar.gz: e5e32b42aa9707f50621d30be000ec0a3c98e048
5
5
  SHA512:
6
- metadata.gz: 0a7b17cd0dfdc550f6080ec3a66e5329e3550cfba6ea99a95fb581380fa12bb1bb940391ef923752242e7dca5006145ffd01e4134bf634284ac83e6b2cbc4c14
7
- data.tar.gz: 0289d93b1165f39af515bce2fffc443b4378c47f71bb686ab2f0ccff098221a409af6f9ad8f55345f5de7dd20e328405e1b801bdf561ed703235f13f7f865002
6
+ metadata.gz: df3d2c1b5baa64c0c98f67cead38534ff6a16295bc7f7223db778679795d15bcd4844c27310cfb5e66d7c9a1e99c5b3ee93da4c6ef3cc7f747ffbabb29b364d4
7
+ data.tar.gz: 1b6d72f668bd00025f7bf92b5248296c3238594f1758642926e5aad0a2e281615c54e654dc5291524c1dc32a3ecaf3dd568f25976a5d942b5ef0784d28ea3d9c
data/build.gradle CHANGED
@@ -2,4 +2,6 @@ dependencies {
2
2
  compile project(':embulk-input-jdbc')
3
3
 
4
4
  testCompile project(':embulk-input-jdbc').sourceSets.test.output
5
+ testCompile 'org.embulk:embulk-standards:0.8.8'
6
+ testCompile files('driver/ojdbc7.jar')
5
7
  }
@@ -31,6 +31,13 @@ public class OracleInputPluginTest
31
31
  @BeforeClass
32
32
  public static void prepare() throws SQLException
33
33
  {
34
+ try {
35
+ Class.forName("oracle.jdbc.OracleDriver");
36
+ } catch (ClassNotFoundException e) {
37
+ System.err.println("Warning: you should put 'ojdbc7.jar' in 'embulk-input-oracle/driver' directory in order to test.");
38
+ return;
39
+ }
40
+
34
41
  Connection connection;
35
42
  try {
36
43
  connection = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521/TESTDB", "TEST_USER", "test_pw");
@@ -176,7 +183,7 @@ public class OracleInputPluginTest
176
183
  private List<String> read(String path) throws IOException
177
184
  {
178
185
  FileSystem fs = FileSystems.getDefault();
179
- return Files.readAllLines(fs.getPath(path), Charset.defaultCharset());
186
+ return Files.readAllLines(fs.getPath(path), Charset.forName("UTF8"));
180
187
  }
181
188
 
182
189
  private String convertPath(String name) throws URISyntaxException
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-oracle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-26 00:00:00.000000000 Z
11
+ date: 2016-09-28 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-jdbc-0.7.3.jar
23
- - classpath/embulk-input-oracle-0.7.3.jar
22
+ - classpath/embulk-input-jdbc-0.7.4.jar
23
+ - classpath/embulk-input-oracle-0.7.4.jar
24
24
  - lib/embulk/input/oracle.rb
25
25
  - src/main/java/org/embulk/input/OracleInputPlugin.java
26
26
  - src/main/java/org/embulk/input/oracle/OracleInputConnection.java