cloudsync 2.2.0 → 2.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cloudsync}
8
- s.version = "2.2.0"
8
+ s.version = "2.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cory Forsyth"]
@@ -34,7 +34,7 @@ module Cloudsync
34
34
 
35
35
  # needs_update?
36
36
  def needs_update?(file)
37
- $LOGGER.debug("Checking if #{file} needs update")
37
+ $LOGGER.debug("Checking if file needs update: #{file}")
38
38
 
39
39
  local_backend_file = get_file_from_store(file)
40
40
 
@@ -77,12 +77,12 @@ module Cloudsync
77
77
  index = 1
78
78
 
79
79
  to_backend.files_to_sync(from_backend.upload_prefix) do |file|
80
- $LOGGER.debug("Checking if file #{file} exists on [#{from_backend}]")
80
+ $LOGGER.debug("Checking if file exists on backend: #{file} [#{from_backend}]")
81
81
  if found_file = from_backend.get_file_from_store(file)
82
- $LOGGER.debug("Keeping file #{file} because it was found on #{from_backend}.")
82
+ $LOGGER.debug("Keeping file because it was found on backend: #{file} [#{from_backend}].")
83
83
  file_stats[:skipped] << file
84
84
  else
85
- $LOGGER.debug("Removing #{file} because it doesn't exist on #{from_backend}.")
85
+ $LOGGER.debug("Removing file because it doesn't exist on backend: #{file} [#{from_backend}].")
86
86
  file_stats[:removed] << file
87
87
 
88
88
  to_backend.delete(file)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudsync
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 0
10
- version: 2.2.0
9
+ - 1
10
+ version: 2.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Cory Forsyth