mymedia_ftp 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 7e8e7b10bc85f00e03c740ffeaa1d437ad5c16df06f21668416e8a1241c3d735
4
- data.tar.gz: fd83e3ce6fae0b9036b1829afee8ab873babc453600a478a5c95ec2a43860af2
3
+ metadata.gz: fdfae1127b5532481e69af2799cecff89c08c092b5cdf6ff782b497a410c1aad
4
+ data.tar.gz: 9a026fec231bc2763a19e9ae1696daced22055bf58ad1789907c0c99d735d428
5
5
  SHA512:
6
- metadata.gz: dd889589d614b195a4a5c9cf03dfba5c8c927a513efa7b713451d9f4fc0e0a824310c4f7c97e03cd00e109f522b8521c9fa4c9432a56d3c1006aa2b199159fd3
7
- data.tar.gz: 7534ec99cce8d55d5d19632b101fdb056a50ff780c4a4cbdbce00ebde11122dfc0cc14913f249669257ddf6778f5855a17dc47ae4113ecbeca7382b39cddc160
6
+ metadata.gz: 5a69a11adf2e762df3f40123a567eb80690e8514b3e53999d82386a41532d547ceb2be038ebb4b4dead8c167d503aedd5c431e441e9d6d402a85648e8a87dcd7
7
+ data.tar.gz: 9d61a3263591215ea6d0ef71499a6778d5ba9b8500e25ac71bcd5121e576bc67c72e964ebb456b38d5b10d722ec6b4d55146d938063704bbdfc870a42e541e57
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -23,7 +23,8 @@ class MyMediaFTP < Net::FTP
23
23
 
24
24
  def self.ls(s, debug: false)
25
25
 
26
- uri, remotepath = s.match(/^(ftp:\/\/[^\/]+)(\/[^$]+)/).captures
26
+ uri, remotepath = s.match(/^(ftp:\/\/[^\/]+)(\/[^$]*)/).captures
27
+ puts 'remotepath' + remotepath if debug
27
28
  new(uri, debug: debug).ls(remotepath)
28
29
 
29
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mymedia_ftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file