filbunke 1.1.13 → 1.1.14
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 +2 -2
- data/lib/filbunke/client.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.14
|
data/filbunke.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{filbunke}
|
|
8
|
-
s.version = "1.1.
|
|
8
|
+
s.version = "1.1.14"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Wouter de Bie"]
|
|
12
|
-
s.date = %q{2010-11-
|
|
12
|
+
s.date = %q{2010-11-16}
|
|
13
13
|
s.default_executable = %q{filbunked}
|
|
14
14
|
s.description = %q{Filbunke client and library}
|
|
15
15
|
s.email = %q{wouter@deltaprojects.se}
|
data/lib/filbunke/client.rb
CHANGED
|
@@ -86,9 +86,9 @@ module Filbunke
|
|
|
86
86
|
def file_needs_update?(file, local_file_path)
|
|
87
87
|
return true if file.hash.nil? || file.hash == ""
|
|
88
88
|
|
|
89
|
-
return true unless File.exists?(local_file_path)
|
|
89
|
+
return true unless ::File.exists?(local_file_path)
|
|
90
90
|
|
|
91
|
-
local_hash = Digest::MD5.hexdigest(File.read(local_file_path))
|
|
91
|
+
local_hash = Digest::MD5.hexdigest(::File.read(local_file_path))
|
|
92
92
|
local_hash != file.hash
|
|
93
93
|
end
|
|
94
94
|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 1.1.
|
|
8
|
+
- 14
|
|
9
|
+
version: 1.1.14
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Wouter de Bie
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-11-
|
|
17
|
+
date: 2010-11-16 00:00:00 +01:00
|
|
18
18
|
default_executable: filbunked
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|