right_data 0.7.9 → 0.7.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/main.rb +1 -1
  2. metadata +2 -2
data/lib/main.rb CHANGED
@@ -231,7 +231,7 @@ module RightData
231
231
  # dups = check_file_in_index(master_index, "/Users/jonathan/Dropbox/2261093437_fac9fa9008_b.jpg")
232
232
 
233
233
  # Get prune count for progress updates:
234
- prune_count = `cd #{prune}; ls -laR | wc -l`.chomp.to_i
234
+ prune_count = `find "#{prune}" | wc -l`.chomp.to_i
235
235
  prune_updates = (0..25).inject({}) { |a,i| a[(i * (prune_count / 25)).to_i]=true;a }
236
236
 
237
237
  count = 0
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 9
9
- version: 0.7.9
8
+ - 11
9
+ version: 0.7.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonathan Siegel