flickr_sync 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flickr_sync/cli.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fdf01f58886c741d0d674670401666e0930ff9e
|
4
|
+
data.tar.gz: 225ff5361e96660ab4f1648867ca52d910605ebd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d38e4df203f74c19d417dd06ba34db09251a36907faeabadb8c5f22a2f77aa08d758c5ebfc48fafafa08ba74f6acb9539e3db4c60ad6ba380270be8ff09083d
|
7
|
+
data.tar.gz: 124e56e8ec0d3f1ce205fc1085fef457d194a978c771d06a2934585929e73f2bec85078c57b4f5619132958b5f458bda20c55608437b9dfe562a7b8b0c3a3b63
|
data/lib/flickr_sync/cli.rb
CHANGED
@@ -60,7 +60,7 @@ module FlickrSync
|
|
60
60
|
written_path = File.join directory_path, 'written.txt'
|
61
61
|
duplicates_path = File.join directory_path, 'duplicates.txt'
|
62
62
|
|
63
|
-
allfiles = `find #{directory_path}
|
63
|
+
allfiles = `find "#{directory_path}"`.split("\n").select {|p| ['.jpg', '.gif', '.m4v'].include? File.extname(p).downcase}
|
64
64
|
puts "Found #{allfiles.count} image files"
|
65
65
|
writtenfiles = load_list written_path
|
66
66
|
puts "Found #{writtenfiles.count} previously sent files"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickr_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Ryall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|