embulk-encoder-encrypted_zip 0.1.0 → 0.1.1

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: e73fce5dff2a618b8f1bd62afca21ed37b5ff042
4
- data.tar.gz: afb37dff76e5b8747f0c29d9cf4a5a6331065c34
3
+ metadata.gz: 44b5e212b167a9ebb714d0ba1f2de97705c250a2
4
+ data.tar.gz: 7744969d612d0e78276f85f67495fc6449ce1db7
5
5
  SHA512:
6
- metadata.gz: fab5e9a389f913de5741e3b44310892f08ba945d7de1296c934c98c41a571198d520e67f39cee2df77651b91693185944694424f44ac9981171a653bdeea57ef
7
- data.tar.gz: b7dd093d5ee8d9da82e69187b7be0e4aac6ec979ed02986cc5dbb994f7a0667d3b11fabcaff43557d6d74967806f9e0b74e074b5948229d0a278b961aa73685d
6
+ metadata.gz: 88c48ccc1fb0ada2bda8d123fcc93b1724e1d5206abbb9c497532946909759be0aed7d2dd79f517a122ae87accbc1de765d18f20d7309186b0e1622109d7cae0
7
+ data.tar.gz: 6322daac85ef19822a29783399b6377dc03586345a5badf0a2d61303f5d10c2910bed0d3aef6ea5b2ce3f4179bd62a2bca2832f6aebb1605ba88fcb057a13b65
data/README.md CHANGED
@@ -8,8 +8,8 @@ Encrypted Zip Encoder.
8
8
 
9
9
  ## Configuration
10
10
 
11
- - prefix: description (string, default: `result.%1$03d.%1$03d`)
12
- - password: description (string, required)
11
+ - prefix: filename format in the zip archive file (string, default: `result.%1$03d.%1$03d`)
12
+ - password: encryption password (string, required)
13
13
 
14
14
  ## Example
15
15
 
@@ -18,7 +18,7 @@ out:
18
18
  type: file type output plugin
19
19
  encoders:
20
20
  - type: encrypted_zip
21
- prefix: 'result.%03d.%03d'
21
+ filename: 'result.%03d.%03d.csv'
22
22
  password: 'mypassword'
23
23
  ```
24
24
 
@@ -11,7 +11,7 @@ configurations {
11
11
  provided
12
12
  }
13
13
 
14
- version = "0.1.0"
14
+ version = "0.1.1"
15
15
 
16
16
  dependencies {
17
17
  compile "org.embulk:embulk-core:0.7.4"
@@ -29,9 +29,9 @@ public class EncryptedZipEncoderPlugin
29
29
  public interface PluginTask
30
30
  extends Task
31
31
  {
32
- @Config("prefix")
32
+ @Config("filename")
33
33
  @ConfigDefault("\"result.%1$03d.%1$03d\"")
34
- public String getPrefix();
34
+ public String getFilename();
35
35
 
36
36
  @Config("password")
37
37
  public String getPassword();
@@ -72,7 +72,7 @@ class ZipCompressArchiveProvider implements OutputStreamFileOutput.Provider {
72
72
  this.output = new FileOutputOutputStream(fileOutput,
73
73
  task.getBufferAllocator(), FileOutputOutputStream.CloseMode.FLUSH);
74
74
  this.baseNum = baseNumSeq.getAndIncrement();
75
- this.entryNamePrefix = task.getPrefix();
75
+ this.entryNamePrefix = task.getFilename();
76
76
 
77
77
  this.parameters = new ZipParameters();
78
78
  parameters.setCompressionMethod(Zip4jConstants.COMP_DEFLATE);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-encoder-encrypted_zip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Morishita
@@ -56,7 +56,7 @@ files:
56
56
  - lib/embulk/encoder/encrypted_zip.rb
57
57
  - src/main/java/org/embulk/encoder/encrypted_zip/EncryptedZipEncoderPlugin.java
58
58
  - src/test/java/org/embulk/encoder/encrypted_zip/TestEncryptedZipEncoderPlugin.java
59
- - classpath/embulk-encoder-encrypted_zip-0.1.0.jar
59
+ - classpath/embulk-encoder-encrypted_zip-0.1.1.jar
60
60
  - classpath/zip4j-1.3.2.jar
61
61
  homepage: https://github.com/mokemokechicken/embulk-encoder-encrypted_zip
62
62
  licenses: