filbunke 1.1.9 → 1.1.10
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.
- data/VERSION +1 -1
- data/filbunke.gemspec +1 -1
- data/lib/filbunke/client.rb +4 -0
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.10
|
data/filbunke.gemspec
CHANGED
data/lib/filbunke/client.rb
CHANGED
|
@@ -24,6 +24,9 @@ module Filbunke
|
|
|
24
24
|
updates = get_updated_file_list(last_checkpoint)
|
|
25
25
|
updated_files = updates["files"] || []
|
|
26
26
|
failure = false
|
|
27
|
+
|
|
28
|
+
@logger "Updating #{updated_files.size} files for #{repository.name}" if updated_files.size > 0
|
|
29
|
+
|
|
27
30
|
updated_files.each do |raw_file|
|
|
28
31
|
file = File.new(raw_file)
|
|
29
32
|
|
|
@@ -153,6 +156,7 @@ module Filbunke
|
|
|
153
156
|
|
|
154
157
|
def delete_file!(file_path)
|
|
155
158
|
if ::File.exists?(file_path) then
|
|
159
|
+
@logger.log("Deleting: #{file_path}")
|
|
156
160
|
::File.delete(file_path)
|
|
157
161
|
end
|
|
158
162
|
end
|