an_post_return 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: 6840e99cecb0feeedfe52e687f3cf8d72fa2db18361da0ba6a19da8847d9e4e3
4
- data.tar.gz: 2c03b5069fabfb52bed2b91814fce2c2edc3be88f18d59f7889252e0870f7670
3
+ metadata.gz: df7c19a988f3707a4e9c82d506b1e66fb7f539110ea64926ea2e6d846c313f54
4
+ data.tar.gz: 8b49f976167398028956451112f837c1d6e79459e7b9c68376cf4131e1f6bb14
5
5
  SHA512:
6
- metadata.gz: 4f565a7a6619d26ad656442e72b8c251cc8ae00ff7ae686ad04cf06d58436509ecebf7b50e235c3e82614e422d1c69cb2b2a44ebdea973643f1e28dc94be1024
7
- data.tar.gz: afe4adbc393b86837b1b6e48b469b05b14c304dac2b8babf5c99ebc39b81e4b9385f30bbcfdd9607781628ba98641cd5e136e043e8f390c7a280ae5b03244263
6
+ metadata.gz: 6ccbb8878186646103cff3413e91703fbe68cf55a9796b872dd71b62d1ef32e50b4f9d5bd876aec086cb6a178c779c57804c01dab1463130f54f069b81bd0fff
7
+ data.tar.gz: 1ffc192b209401e10b97edd42f29c1749895dc8bae5a36eec01bcea56feb1d1971e59d7a8fffd78d0ccba0e07fd3f78081a1f51190cf50134474791c00b3f917
data/README.md CHANGED
@@ -128,6 +128,10 @@ tracker.track_from("cdt0370132115864.txt") do |file, data|
128
128
  puts "Processing file: #{file}"
129
129
  puts "Tracking data: #{data}"
130
130
  end
131
+
132
+ # The tracker will reuse the same sftp connection within the tracker instance
133
+ # Remember to call the disconnect function to prevent the sftp connection stays idle in the memory
134
+ tracker.disconnect
131
135
  ```
132
136
 
133
137
  The tracking data structure contains:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AnPostReturn
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: an_post_return
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Chong