Skip to content

Commit

Permalink
Files will be sort by name from now on.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdobrovolskij committed Jan 16, 2015
1 parent 13d1522 commit 63bf393
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CREDITS

HISTORY
=======
* 0.71 - Files will be sorted by name now.
* 0.70 - Logic optimization. Performance boost.
* Patch 1 - removed unneeded dependencies and a duplicate hash parameter.
* 0.64 - Added recursive mode.
Expand Down
2 changes: 1 addition & 1 deletion lib/sanguinews.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def create_upload_list(info_lock)
# skip hidden files
if !@config.filemode && Dir.exists?(@config.directory)
@config.recursive ? glob = '**/*' : glob = '*'
Dir.glob(@config.directory + glob) do |item|
Dir.glob(@config.directory + glob).sort.each do |item|
next unless File.file?(item)
files << item
end
Expand Down
2 changes: 1 addition & 1 deletion lib/sanguinews/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Sanguinews
VERSION = "0.70.1"
VERSION = "0.71"
end

0 comments on commit 63bf393

Please sign in to comment.