flickrup 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flickrup/tagged_image.rb +1 -2
- metadata +3 -3
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'mini_exiftool'
|
2
|
-
require 'ftools'
|
3
2
|
require 'fileutils'
|
4
3
|
require "flickrup/logging"
|
5
4
|
|
@@ -45,7 +44,7 @@ class TaggedImage
|
|
45
44
|
date_taken.strftime("%m")
|
46
45
|
)
|
47
46
|
|
48
|
-
|
47
|
+
FileUtils.makedir_p(target_dir)
|
49
48
|
FileUtils.mv(@file, File.join(target_dir, File.basename(@file)))
|
50
49
|
logger.info("Archived #{File.basename(@file)} to #{target_dir}")
|
51
50
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickrup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Gilbert
|