roto 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/bin/roto +4 -0
- data/lib/roto.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e6bad1ca53e74db4b643f3249fa053935e58632
|
4
|
+
data.tar.gz: e0f9967f9b5ae05cbc4fe6737162dbbcd68cdc53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc646699ede7366d9b0f81802945f306437b736de84ff7fa5a9abc0d242d902610e22107b325b09922b9c333392149d4f26df0a862981114ffae677274914af
|
7
|
+
data.tar.gz: c99bbd84cf38da2a32cb68e32dc4b53d8f0587b9acbd068fd6fd9367d1122dd7f6d4ec521d0650bef6c38783320673150812ea018d53b7e9ddb985c9ffae2c6f
|
data/bin/roto
ADDED
data/lib/roto.rb
CHANGED
@@ -13,7 +13,6 @@ class Roto
|
|
13
13
|
Find.find(path).each do |file|
|
14
14
|
if @types.include?(File.extname(file).downcase)
|
15
15
|
@files << file
|
16
|
-
puts "on file #{@files.index(file) + 1} of #{files.count}"
|
17
16
|
end
|
18
17
|
end
|
19
18
|
end
|
@@ -27,6 +26,7 @@ class Roto
|
|
27
26
|
def copy_files(destination)
|
28
27
|
@files.each do |file|
|
29
28
|
FileUtils.cp("#{file}", "#{destination}")
|
29
|
+
puts "on file #{@files.index(file) + 1} of #{files.count}"
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roto
|
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
|
- Andrew Cottage
|
@@ -12,10 +12,12 @@ date: 2015-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
13
13
|
description: A gem to find and move photos on your computer
|
14
14
|
email: andcott@Gmail.com
|
15
|
-
executables:
|
15
|
+
executables:
|
16
|
+
- roto
|
16
17
|
extensions: []
|
17
18
|
extra_rdoc_files: []
|
18
19
|
files:
|
20
|
+
- bin/roto
|
19
21
|
- lib/roto.rb
|
20
22
|
homepage: https://github.com/andrewcottage/roto
|
21
23
|
licenses:
|