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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/my-local-putio/fetcher.rb +2 -1
- data/lib/my-local-putio/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8413c97f07692b12156692e884cc2dfde0c2c10a79faaa5c1e810355a6998bb
|
4
|
+
data.tar.gz: 1e53e68592413df77438216dd9d74595c1f9a84bdf4e3693a6ca1ef5346721be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '055585c0abc043d665fe56bc4f15eb0e047b4bfcb36b89eb34159fcea462ba5bc7269c0ad9fc94f3845132b5c70002280148c3c73a56a36c998d8ae387f89ed5'
|
7
|
+
data.tar.gz: 0736be82dee9501f1b2681191604600c4b747082c427d43701180c0028b51050af70ac1a08de1f8a065004a129361765d1910ff593bf2d9140c6389d2f9fde8d
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2019-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|