Sha256: 7c45da91ec43046935bcc07787dd47c9baffed6d1c7d029fcc027213f66d52af

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

# Changelog

## master (unreleased)

## 2.0.0 (2020-07-09)

*   Rename gem.
*   Rewrite implementation from `prepend Module` to `UnboundMethod`.
    See discussion here: <https://github.com/tycooon/memery/pull/1>.
*   Delete `Gemfile.lock` and lock dependencies versions in `gemspec`.
*   Update dependencies.
    Unmaintained `coveralls` replaced with `codecov`.
    `bundler` dependency dropped with `Rakefile`.
*   Replace `require` with `require_relative`.
*   Replace Umbrella styles with standard RuboCop.
*   Improve README.
*   Replace Travis CI with Cirrus CI.
    You can see discussion here: <https://github.com/tycooon/memery/issues/28>.
*   Add `remark` CI task for linting Markdown.
*   Delete `benchmark.rb`.
    You can find improving example here: <https://gist.github.com/AlexWayfer/37ebb8b9f3429650b86fb4cea7ae3693>.

### Unreleased Memery

*   Fix compatibility with `ActiveSupport::Concern`.

## 1.3.0 (2020-02-10)

*   Allow memoization after including module with Memery.
*   Make `memoize` return the method name to allow chaining.
*   Fix warnings in Ruby 2.7.

## 1.2.0 (2019-10-19)

*   Add `:ttl` option for `memoize` method.
*   Add benchmark script.
*   Add `.memoized?` method.

## 1.1.0 (2019-08-05)

*   Optimize speed and memory for cached values returns.

## 1.0.0 (2018-08-31)

*   Add `:condition` option for `.memoize` method.

## 0.6.0 (2018-04-20)

*   Add example of class methods memoization into README.
*   Memery raises `ArgumentError` if method is not defined when you call `memoize`.

## 0.5.0 (2017-06-12)

*   Initial public version.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alt_memery-2.0.0 CHANGELOG.md