embulk-input-sftp 0.2.2 → 0.2.3

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: 9243a4ab23b4823f7a552d55b71ba5c7d7021034
4
- data.tar.gz: 71d13606373aaf491af07e9a755ff83d869194bb
3
+ metadata.gz: 20b62b0b1e6694bdaa818d0a993c69a62762dfe0
4
+ data.tar.gz: d2cc4ef2c4eb0605cbd5df857840f13559d98112
5
5
  SHA512:
6
- metadata.gz: f4afb3afd18af8ab8282c4f7fdf564f12e2547c3079d913261d5840da296124b994b9d24c5ebf83129d04aa69e99b2ac0b919dfb270a42cb820caa8ddaedd57d
7
- data.tar.gz: 1154960e725a8e3a6a85ee96384c850be179ce91c7c41b742894aeeab74e180bed2f4fafa73a131a5e70a35feef546f9fe32eac34383ab042a86ec5db3bb8cd4
6
+ metadata.gz: 50e595f0263b65e5e360128730ca743ef8d66c2ee0002219e24bd4ff18b55c99516de51399fa4e4b2b9a86998cc0403623d52182bedb8226e95d59bbab82a404
7
+ data.tar.gz: 67182a732de5b5d001630e99724b9b7b7c24383c17dab5628c67c61e41f3b8fe3bf4904227a881d65aedd962e9a3422f581fdecc8a1b8bd23a9520b54cbe7e84
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.3 - 2016-09-30
2
+
3
+ * [maintenance] Fix auth failure while generating last_path under limited case [#20](https://github.com/sakama/embulk-input-sftp/pull/20)
4
+
1
5
  ## 0.2.2 - 2016-09-26
2
6
 
3
7
  * [maintenance] Fix bug Use second as timetout setting instead of milli second [#18](https://github.com/embulk/embulk-input-sftp/pull/18)
data/README.md CHANGED
@@ -122,7 +122,7 @@ in:
122
122
  type: sftp
123
123
  ...
124
124
  secret_key_file:
125
- content |
125
+ content: |
126
126
  -----BEGIN RSA PRIVATE KEY-----
127
127
  ABCDEFG...
128
128
  HIJKLMN...
data/build.gradle CHANGED
@@ -14,7 +14,7 @@ configurations {
14
14
  provided
15
15
  }
16
16
 
17
- version = "0.2.2"
17
+ version = "0.2.3"
18
18
 
19
19
  sourceCompatibility = 1.7
20
20
  targetCompatibility = 1.7
@@ -149,7 +149,7 @@ public class SftpFileInput
149
149
  if (!uri.isPresent()) {
150
150
  return null;
151
151
  }
152
- else if (task.getPassword().isPresent()) {
152
+ else if (!task.getSecretKeyFile().isPresent() && task.getPassword().isPresent()) {
153
153
  return getRelativePathFromURIwithPassword(task, uri);
154
154
  }
155
155
  else {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Akama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +72,7 @@ files:
72
72
  - classpath/commons-io-1.3.2.jar
73
73
  - classpath/commons-logging-1.2.jar
74
74
  - classpath/commons-vfs2-2.1.jar
75
- - classpath/embulk-input-sftp-0.2.2.jar
75
+ - classpath/embulk-input-sftp-0.2.3.jar
76
76
  - classpath/jsch-0.1.53.jar
77
77
  homepage: https://github.com/embulk/embulk-input-sftp
78
78
  licenses:
Binary file