flickr_sync 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flickr_sync/cli.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89275777b0bbeedb648debc87c1360b19bd301ca
4
- data.tar.gz: 7a22115be13a6f0740f0addae81d94755ea31681
3
+ metadata.gz: 4fdf01f58886c741d0d674670401666e0930ff9e
4
+ data.tar.gz: 225ff5361e96660ab4f1648867ca52d910605ebd
5
5
  SHA512:
6
- metadata.gz: 17b491d6eb450adfd1dd31c292517483e9e76bb7da199c3a5962ca8a7b44a680d02ac7807ebc4c39ae26a03d1ccacee3bd5c68fc716948ddcb98424e28bbd4b4
7
- data.tar.gz: bd48dee1fd5f775274d0d8b90aca72e63ddc617815357ce495278a8f2164ed813c452533715d0f2cc1737036ac61d8d397ec658d838c712156b8c56c61b42a66
6
+ metadata.gz: 3d38e4df203f74c19d417dd06ba34db09251a36907faeabadb8c5f22a2f77aa08d758c5ebfc48fafafa08ba74f6acb9539e3db4c60ad6ba380270be8ff09083d
7
+ data.tar.gz: 124e56e8ec0d3f1ce205fc1085fef457d194a978c771d06a2934585929e73f2bec85078c57b4f5619132958b5f458bda20c55608437b9dfe562a7b8b0c3a3b63
@@ -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}/*`.split("\n").select {|p| ['.jpg', '.gif', '.m4v'].include? File.extname(p).downcase}
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.3
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-07-30 00:00:00.000000000 Z
11
+ date: 2013-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp