mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-21 12:29:03 +01:00
fix checksum lib
This commit is contained in:
parent
bc6ef8ef50
commit
0a5380d310
@ -26,7 +26,7 @@ class Integrity::Checksum
|
||||
|
||||
content = files.map { |f| File.read(f) }.join
|
||||
|
||||
Checksum.text(content)
|
||||
Integrity::Checksum.text(content)
|
||||
end
|
||||
|
||||
def file(path)
|
||||
@ -34,7 +34,7 @@ class Integrity::Checksum
|
||||
|
||||
content = File.read(path)
|
||||
|
||||
Checksum.text(content)
|
||||
Integrity::Checksum.text(content)
|
||||
end
|
||||
|
||||
def text(data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user