Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't include ellipsis in truncated digest output | Eugene Kenny | 2017-12-17 | 1 | -1/+1 |
| | | | | | | | | | | Using `truncate` to limit the length of the digest has the unwanted side effect of adding an ellipsis when the input is longer than the limit. Also: - Don't instantiate a new object for every digest - Rename the configuration option to `hash_digest_class` - Update the CHANGELOG entry to describe how to use the feature | ||||
* | Introduced `ActiveSupport::Digest` that allows to specify hash function ↵ | Dmitri Dolguikh | 2017-12-12 | 1 | -0/+27 |
implementation and defaults to `Digest::MD5`. Replaced calls to `::Digest::MD5.hexdigest` with calls to `ActiveSupport::Digest.hexdigest`. |