flickrup 0.0.10 → 0.0.11

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.
Files changed (2) hide show
  1. data/lib/flickrup/processor.rb +6 -0
  2. metadata +3 -3
@@ -30,6 +30,8 @@ class Processor
30
30
 
31
31
  tagged = images.select { |x| !(x.tags.nil? || x.tags.empty?) }
32
32
 
33
+ logger.debug("Selected #{tagged.length} files for upload")
34
+
33
35
  uploader = get_uploader
34
36
 
35
37
  if @config[:dryrun]
@@ -37,8 +39,12 @@ class Processor
37
39
  sleep 5
38
40
  else
39
41
  tagged.each { |x|
42
+ logger.debug("Beginning upload for #{tagged.file}...")
40
43
  x.doUpload(get_preupload_handlers, uploader)
44
+ logger.debug("Upload complete for #{tagged.file}")
45
+ logger.debug("Beginning archive for #{tagged.file}...")
41
46
  x.archive(@config[:archive_dir])
47
+ logger.debug("Processing complete for #{tagged.file}")
42
48
  }
43
49
  end
44
50
 
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Gilbert