README.md in rspec-block_is_expected-1.0.3 vs README.md in rspec-block_is_expected-1.0.4
- old
+ new
@@ -71,13 +71,14 @@
You have a module like this:
```ruby
module MyTasks
- module_function def my_rakelib
+ def my_rakelib
Rake.add_rakelib('bananas')
end
+ module_function :my_rakelib
end
```
You have a spec like this:
@@ -104,11 +105,11 @@
To fix it properly you need to register `block_is_expected` as an "expectation". In your `.rubocop.yml`
```yml
inherit_gem:
- rspec-block_is_expected: rspec/block_is_expected/rubocop.yml
+ rspec-block_is_expected: rubocop.yml
```
## Usage
The spec suite for this gem has some examples of usage, lightly edited here.
@@ -197,10 +198,10 @@
## Legal
* MIT License - See [LICENSE][license] file in this project [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
-* Copyright (c) 2018 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
+* Copyright (c) 2018, 2020, 2023 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
[semver]: http://semver.org/
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
[documentation]: http://rdoc.info/github/pboling/rspec-block_is_expected/frames
[homepage]: https://github.com/pboling/rspec-block_is_expected