file_sorter_tool 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/bin/file_sorter_tool +2 -1
- data/lib/file_sorter_tool.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 498acffeb145a6a76b5bac9810ce2fb7dcd951da
|
4
|
+
data.tar.gz: 88d84a31c42a366871df14eb481d3530888f531b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea1457207f9a616de26f326de2eb431201637bc0c14eddd9032c9bb9073b640ef64b50bbba9151f5176f92233e2e5419780a8d42e0deeb40dc0004ea92c8c578
|
7
|
+
data.tar.gz: 7f4bc28ee3e83b244547c6a5703473bdaabd90afbe49db86f10956e8e35198ddfc5f06a8310208d4a5d8e490a2669f80f2afc1f79804d7818ed0046749f3bea6
|
data/bin/file_sorter_tool
CHANGED
@@ -4,7 +4,8 @@ require 'file_sorter_tool'
|
|
4
4
|
|
5
5
|
path = ARGV[0]
|
6
6
|
if path == nil || path.empty?
|
7
|
-
puts "path is empty
|
7
|
+
puts "path is empty!\n"
|
8
|
+
puts "v. #{FileSorterTool::VERSION}.\nFiles in current directory sorter.\nTool makes directory for each file extenfion and move files into this directories."
|
8
9
|
else
|
9
10
|
Dir.chdir(path)
|
10
11
|
FileSorterTool::process_dir path
|
data/lib/file_sorter_tool.rb
CHANGED