vantiv_sftp_reports 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +2 -0
- data/lib/vantiv_sftp_reports/config.rb +2 -1
- data/lib/vantiv_sftp_reports/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d81ffe5b9abf568edd6b6ec114edf8dc45cf7a5
|
4
|
+
data.tar.gz: 7379a16e6f4428a79034a11f92c8ad42213077fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 603ff60b37c660cbdff541c868cefd6cba9f0a0edd39a68bb90f0e2221974bddc842ef0102fa32e1abeb7ba10a7f8324776ebce571ecc05c52415dd8efee1179
|
7
|
+
data.tar.gz: c8300d88ce5655a9fd5abdfee00924bf7eff88f57d42064e9b2be9f0c52b543a8bb228bf5bae4611cb0fde55eedb6796ae4a3671c6b7d381c67ada63b040beac
|
data/README.md
CHANGED
@@ -30,6 +30,7 @@ VantivSFTPReports.configure(
|
|
30
30
|
organization_id:, # Organization ID for reports, leave blank if you only have one organization
|
31
31
|
password:, # Your SFTP username
|
32
32
|
path:, # Directory where reports are stored, defaults to 'reports'
|
33
|
+
port:, # SFTP port, defaults to '22'
|
33
34
|
username: # Your SFTP username
|
34
35
|
)
|
35
36
|
```
|
@@ -44,6 +45,7 @@ Prefix any configuration option with `vantiv_sftp_` and it will be automatically
|
|
44
45
|
* `ENV['vantiv_sftp_organization_id']`
|
45
46
|
* `ENV['vantiv_sftp_password']`
|
46
47
|
* `ENV['vantiv_sftp_path']`
|
48
|
+
* `ENV['vantiv_sftp_port']`
|
47
49
|
* `ENV['vantiv_sftp_username']`
|
48
50
|
|
49
51
|
## Usage
|
@@ -24,13 +24,14 @@ module VantivSFTPReports
|
|
24
24
|
self.class.new(@opts.merge(opts))
|
25
25
|
end
|
26
26
|
|
27
|
-
%i[host organization_id password path username].each { |o| define_method(o) { @opts[o] } }
|
27
|
+
%i[host organization_id password path port username].each { |o| define_method(o) { @opts[o] } }
|
28
28
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def defaults!
|
32
32
|
@opts[:host] ||= 'reports.iq.vantivcnp.com'
|
33
33
|
@opts[:path] ||= 'reports'
|
34
|
+
@opts[:port] ||= '22'
|
34
35
|
end
|
35
36
|
end
|
36
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vantiv_sftp_reports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-sftp
|