Class: ApplicationDigester

Inherits:
Object
  • Object
show all
Defined in:
lib/application_digester.rb,
lib/application_digester/version.rb

Constant Summary collapse

VERSION =
"0.1.6"

Instance Method Summary collapse

Instance Method Details

#digestObject

Taking into account the location of every file helps capture changes such as a file moving location, but the contents remain unchanged.



4
5
6
# File 'lib/application_digester.rb', line 4

def digest
  Digest::SHA256.hexdigest(file_digests.join + relative_paths.join)
end