Sha256: 1ea4dc8ba9ef3af8d68b0a254ec6ea40dbc552ec87998dccfda2bec4d45eb6e7

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

# v0.1.3 - 2019-12-20

## Added

- Options for the random provider. You can pass a `seed` or a proc that will be used to generate random values. It is expected the value returned from the proc is within the `0.0...1.0` range (flash-gordon)
  ```ruby
  with_random(seed: 123) { ... }
  with_random(proc {|prev = 0.0| (prev + 0.1) % 1 }) { ... }
  ```

[Compare v0.1.2...v0.1.3](https://github.com/dry-rb/dry-effects/compare/v0.1.2...v0.1.3)

# v0.1.2 - 2019-12-15

## Fixed

- Keyword warnings issued by Ruby 2.7 (flash-gordon)

[Compare v0.1.1...v0.1.2](https://github.com/dry-rb/dry-effects/compare/v0.1.1...v0.1.2)

# v0.1.1 - 2019-11-30

## Added

- Extension for RSpec. Some features of RSpec require access to thread-local storage. This extension patches RSpec so that storage is shared between the root fiber and dry-effects context (flash-gordon)

  ```ruby
  # in spec_helper.rb do
  require 'dry/effects'

  Dry::Effects.load_extensions(:rspec)
  ```

[Compare v0.1.0...v0.1.1](https://github.com/dry-rb/dry-effects/compare/v0.1.0...v0.1.1)

# v0.1.0 - 2019-09-28

Initial release.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-effects-0.1.3 CHANGELOG.md