Method: LibGems::SourceIndex#index_signature
- Defined in:
- lib/libgems/source_index.rb
#index_signature ⇒ Object
The signature for the source index. Changes in the signature indicate a change in the index.
255 256 257 258 259 |
# File 'lib/libgems/source_index.rb', line 255 def index_signature require 'digest' Digest::SHA256.new.hexdigest(@gems.keys.sort.join(',')).to_s end |