embulk-output-azure_blob_storage 0.1.8 → 0.1.9

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: 8871fd8a62b364fdfedbf7c6002012e2883dcaf1
4
- data.tar.gz: 3e16f5d3af521d09332d525db0b9840abc20d424
3
+ metadata.gz: a00587d8be55e0421f48cbd967067193abbe1523
4
+ data.tar.gz: c58370a3c0f43aee7300f117a2030d5f238ce75d
5
5
  SHA512:
6
- metadata.gz: 6e774a201f2a403917acf2a3c4b26e570dcf6033a05d31bec70b25450d7cbc49c6d7908db7d8ea21ee74004fc776bca0a5f55384136b32b124d52fc113f51ced
7
- data.tar.gz: dc2c7bf3ad64e781281bf189df5a1e664217e032760230710c875b35ad129a0c9140dd8ac6203b430d5cc90ef4af47b5e76ce4d72adc5cf61b783eea090c4faf
6
+ metadata.gz: d2641e70602b776d48def3c8f50f5473840884aefefde6e93e828b72bd96498a11a7c9e4197e7184981a85775f91c27ae73c09fc9dd88586c408fa09683ef3de
7
+ data.tar.gz: a182dbfdd42197b2364d527fab83eba5541a19616d2b83ded15918702a3bc17997b3b4a671780a08b93765fc0746077f150dcc78c345bb07349a242ae7feab90
@@ -1,4 +1,7 @@
1
- ## 0.1.8 - 2018-12-04
1
+ ## 0.1.9 - 2019-12-09
2
+ * [maintenance] Fix issue of creating temporary file with nested path [#17](https://github.com/embulk/embulk-output-azure_blob_storage/pull/17)
3
+
4
+ ## 0.1.8 - 2019-12-04
2
5
  * [maintenance] Always delete temporary file [#15](https://github.com/embulk/embulk-output-azure_blob_storage/pull/15)
3
6
 
4
7
  ## 0.1.7 - 2018-10-19
@@ -17,7 +17,7 @@ configurations {
17
17
  sourceCompatibility = 1.8
18
18
  targetCompatibility = 1.8
19
19
 
20
- version = "0.1.8"
20
+ version = "0.1.9"
21
21
 
22
22
  dependencies {
23
23
  compile "org.embulk:embulk-core:0.9.8"
@@ -54,7 +54,7 @@ task checkstyle(type: Checkstyle) {
54
54
  source = sourceSets.main.allJava + sourceSets.test.allJava
55
55
  }
56
56
 
57
- task gem(type: JRubyExec, dependsOn: ["build", "gemspec", "classpath"]) {
57
+ task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
58
58
  jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
59
59
  script "build/gemspec"
60
60
  doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
@@ -163,7 +163,7 @@ public class AzureBlobStorageFileOutputPlugin
163
163
  suffix = "." + suffix;
164
164
  }
165
165
  filePath = pathPrefix + String.format(sequenceFormat, taskIndex, fileIndex) + suffix;
166
- file = Exec.getTempFileSpace().createTempFile(filePath, "tmp");
166
+ file = Exec.getTempFileSpace().createTempFile();
167
167
  log.info("Writing local file {}", file.getAbsolutePath());
168
168
  output = new BufferedOutputStream(new FileOutputStream(file));
169
169
  }
@@ -239,7 +239,7 @@ public class TestAzureBlobStorageFileOutputPlugin
239
239
 
240
240
  Field field = AzureBlobStorageFileOutputPlugin.AzureFileOutput.class.getDeclaredField("file");
241
241
  field.setAccessible(true);
242
- File file = File.createTempFile("non-readable-file", ".tmp");
242
+ File file = Exec.getTempFileSpace().createTempFile();
243
243
  file.setReadable(false);
244
244
  field.set(output, file);
245
245
  try {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-azure_blob_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Akama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -62,8 +62,8 @@ files:
62
62
  - src/test/java/org/embulk/output/azure_blob_storage/TestAzureBlobStorageFileOutputPlugin.java
63
63
  - src/test/resources/sample_01.csv
64
64
  - src/test/resources/sample_02.csv
65
- - classpath/embulk-output-azure_blob_storage-0.1.8.jar
66
65
  - classpath/azure-storage-8.0.0.jar
66
+ - classpath/embulk-output-azure_blob_storage-0.1.9.jar
67
67
  - classpath/guava-20.0.jar
68
68
  - classpath/azure-keyvault-core-1.0.0.jar
69
69
  - classpath/jackson-core-2.9.4.jar