Sha256: 9b7845d37c275725295b6bfea253c2529cd959ca4a744fc7e2c4bb5acbb4eb8b

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Fold constant for exponentiation if exponent is 0 and value is an integer.
- Replace `.reverse.each` usage with `.reverse_each`.
- Replace `foo ... in` loops with `.each do` loops.
- Replace `.gsub('...', '...')` with `.tr('...', '...')` if the arguments are strings and they are of length 1.
- Replace `def foo; @foo; end` with `attr_reader :foo`.
- Replace `.shuffle.first` with `.sample`.
- Replace `.map { ... }.flatten(1)` with `.flat_map { ... }`.

## [0.2.0] - 2019-04-18
### Added
- Hook into the `bootsnap` gem if it's loaded.

## [0.1.0] - 2019-03-08
### Added
- Initial release. 🎉

[Unreleased]: https://github.com/kddeisz/preval/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/kddeisz/preval/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/kddeisz/preval/compare/49c899...v0.1.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
preval-0.3.0 CHANGELOG.md