my-local-putio 3.0.0 → 3.0.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: d9926010a7296b64e53e36469ca62e01f01e765b1fc8efdcab2681f45c0bc370
4
- data.tar.gz: f8235be041d1639f3cc0e5b63fe8ffce9d4755cd1678250d43728763e608c5c6
3
+ metadata.gz: d8413c97f07692b12156692e884cc2dfde0c2c10a79faaa5c1e810355a6998bb
4
+ data.tar.gz: 1e53e68592413df77438216dd9d74595c1f9a84bdf4e3693a6ca1ef5346721be
5
5
  SHA512:
6
- metadata.gz: b3325310547f3350073771a381ab300facf64e3a54af83e3494be7078a924eb8975e8f34aedd6f1f7a98bc07145e121ed20eebf26ff4e5d59ac701b2faa8544f
7
- data.tar.gz: 82debad28c46401a321d8c6d2dadfa56a0b2beda08c905ce5aa7657552977f05eac488c4fe5cbc47e1fb3191b1ac93e0f2db31d907fd4985bd8ae4d5382d5e72
6
+ metadata.gz: '055585c0abc043d665fe56bc4f15eb0e047b4bfcb36b89eb34159fcea462ba5bc7269c0ad9fc94f3845132b5c70002280148c3c73a56a36c998d8ae387f89ed5'
7
+ data.tar.gz: 0736be82dee9501f1b2681191604600c4b747082c427d43701180c0028b51050af70ac1a08de1f8a065004a129361765d1910ff593bf2d9140c6389d2f9fde8d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v3.0.1
2
+
3
+ - Fix for delete-remote that was not enabling/disabling properly.
4
+
1
5
  # v3.0.0
2
6
 
3
7
  - Introducing delete from remote after downloading
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my-local-putio (3.0.0)
4
+ my-local-putio (3.0.1)
5
5
  socksify (= 1.7.1)
6
6
 
7
7
  GEM
@@ -15,7 +15,7 @@ module MyLocalPutio
15
15
  protected
16
16
 
17
17
  def fetch_files(id: nil, path: "/")
18
- logger.log "Getting file list for #{path}"
18
+ logger.log "Getting remote file list for #{path}"
19
19
  files = cli.get_files(id)["files"]
20
20
 
21
21
  while files.any?
@@ -30,6 +30,7 @@ module MyLocalPutio
30
30
  fetch_files(id: file.id, path: local_file_path)
31
31
  else
32
32
  download(file, local_file_path) unless file_exists?(local_file_path, file)
33
+ delete_file(local_file_path, file) if configuration.delete_remote
33
34
  end
34
35
  delete_file(local_file_path, file)
35
36
  end
@@ -1,3 +1,3 @@
1
1
  module MyLocalPutio
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-local-putio
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Biriba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-20 00:00:00.000000000 Z
11
+ date: 2019-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler