Class: Ecfr::VersionerService::IssuePackage::ShaComparison

Inherits:
Object
  • Object
show all
Includes:
AttributeMethodDefinition
Defined in:
lib/ecfr/versioner_service/issue_package/sha_comparison.rb

Overview

A wrapper for sha values after various types of processing

Instance Attribute Summary collapse

Method Summary

Methods included from AttributeMethodDefinition

included, #initialize

Instance Attribute Details

#no_blanks_shaString (readonly)

file sha with all whitespace removed

Returns:

  • (String)


14
15
# File 'lib/ecfr/versioner_service/issue_package/sha_comparison.rb', line 14

attribute :no_blanks_sha,
desc: "file sha with all whitespace removed"

#shaString (readonly)

base file sha

Returns:

  • (String)


8
9
# File 'lib/ecfr/versioner_service/issue_package/sha_comparison.rb', line 8

attribute :sha,
desc: "base file sha"

#some_blanks_shaString (readonly)

file sha with some whitespace removed

Returns:

  • (String)


11
12
# File 'lib/ecfr/versioner_service/issue_package/sha_comparison.rb', line 11

attribute :some_blanks_sha,
desc: "file sha with some whitespace removed"