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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfe911dff287b7ee8893c86f18dfc091e11bbe03
4
- data.tar.gz: c68689b05a2b7d9f084d08460e4cd51eeecbfd4d
3
+ metadata.gz: 9d81ffe5b9abf568edd6b6ec114edf8dc45cf7a5
4
+ data.tar.gz: 7379a16e6f4428a79034a11f92c8ad42213077fb
5
5
  SHA512:
6
- metadata.gz: b864cf767f98c214bf50bba248199e7fa43fad8bfc74344adf7d714efc1b8de8d0b373f4f91d400986ecc9bec9a5ef70ef84ebe28cb0d7ec2eaaf1e29e71e7e4
7
- data.tar.gz: 348b2b5bd79c83d8c126cbb814db3cc455c4725b0baec0ab5d39f2e0c70f298121ca255ebd5b6e052ce841f6f44356a23cf4257e26062405f815cf2618bc08ac
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
@@ -3,7 +3,7 @@
3
3
  module VantivSFTPReports
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 0
6
+ TINY = 1
7
7
  VERSION = [MAJOR, MINOR, TINY].join('.').freeze
8
8
 
9
9
  def self.version
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.0
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: 2018-06-07 00:00:00.000000000 Z
12
+ date: 2019-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-sftp