matchi-rspec 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -11
  3. data/lib/matchi/rspec.rb +0 -2
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e974145f7fba29e54f383eb05e84d708db43025722e24e4f9e2ca3dc22df7af
4
- data.tar.gz: 69b8be13be8a6478e7b7aff17d924930244692eed7db3ed5ae0481e226e3c61c
3
+ metadata.gz: 0a658fa412a593b6c1e2dbd68a98c401321b7659f6df879ba1792a461b419a57
4
+ data.tar.gz: d3813724683ee24594a2505807a59a18451ecee68a2d0025e61ed00c6d4fe85f
5
5
  SHA512:
6
- metadata.gz: e664fcd227173af7c4c56ca87e4d40c7f11a09b8863d250e5aa6fad26ccf9d7216e099af556e3ec0bb91ad28d871b3e0e2c198ad86853fa693e69f270f9a23f9
7
- data.tar.gz: 04ff50220cda7316d20586eada3d6f24bc867c12579890f44ec31bb4410bfebeb88a196e0ba1479cc8845d35213a2359ffe59843d8fdabf51bff8981628b0185
6
+ metadata.gz: beb024ad43b0f2cd8a7ffb82dc80190a7aea4109ee98b68e23ebfb2e15d3003a3a09b4dc7c1b71a02e4aa35eb12a3b973501d8b1d1cefef80346e2a24c2e243b
7
+ data.tar.gz: f0c2d5a6166063e1ccc1485e1cf87dde9b194a537b5ada646036596f3619483e1f734c8b2493895f2e78643d477021cc6c377c2823024a6b39b0c5cabf0e8ecf
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Matchi::Rspec
2
2
 
3
- [![RuboCop Status](https://github.com/fixrb/matchi-rspec/workflows/RuboCop/badge.svg)][workflow_rubocop]
4
- [![Build Status](https://api.travis-ci.org/fixrb/matchi-rspec.svg?branch=main)][travis]
5
- [![Gem Version](https://badge.fury.io/rb/matchi-rspec.svg)][gem]
6
- [![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
3
+ [![Version](https://img.shields.io/github/v/tag/fixrb/matchi-rspec?label=Version&logo=github)](https://github.com/fixrb/matchi-rspec/releases)
4
+ [![Yard documentation](https://img.shields.io/badge/Yard-documentation-blue.svg?logo=github)](https://rubydoc.info/github/fixrb/matchi-rspec/main)
5
+ [![CI](https://github.com/fixrb/matchi-rspec/workflows/CI/badge.svg?branch=main)](https://github.com/fixrb/matchi-rspec/actions?query=workflow%3Aci+branch%3Amain)
6
+ [![RuboCop](https://github.com/fixrb/matchi-rspec/workflows/RuboCop/badge.svg?branch=main)](https://github.com/fixrb/matchi-rspec/actions?query=workflow%3Arubocop+branch%3Amain)
7
+ [![License](https://img.shields.io/github/license/fixrb/matchi-rspec?label=License&logo=github)](https://github.com/fixrb/matchi-rspec/raw/main/LICENSE.md)
7
8
 
8
9
  > Extend [Matchi](https://github.com/fixrb/matchi) matchers with some RSpec's ones.
9
10
 
@@ -17,14 +18,28 @@ gem "matchi-rspec"
17
18
 
18
19
  And then execute:
19
20
 
20
- $ bundle
21
+ ```sh
22
+ bundle
23
+ ```
21
24
 
22
25
  Or install it yourself as:
23
26
 
24
- $ gem install matchi-rspec
27
+ ```sh
28
+ gem install matchi-rspec
29
+ ```
25
30
 
26
31
  ## Usage
27
32
 
33
+ To make __Matchi::Rspec__ available:
34
+
35
+ ```ruby
36
+ require "matchi/rspec"
37
+ ```
38
+
39
+ All examples here assume that this has been done.
40
+
41
+ ### Built-in matchers
42
+
28
43
  **Identity** matcher:
29
44
 
30
45
  ```ruby
@@ -66,8 +81,3 @@ The [gem](https://rubygems.org/gems/matchi-rspec) is available as open source un
66
81
  src="https://github.com/fixrb/matchi-rspec/raw/main/img/sashite.png"
67
82
  alt="Sashite" /></a>
68
83
  </p>
69
-
70
- [workflow_rubocop]: https://github.com/fixrb/matchi-rspec/actions?query=workflow%3ARuboCop
71
- [gem]: https://rubygems.org/gems/matchi-rspec
72
- [travis]: https://travis-ci.org/fixrb/matchi-rspec
73
- [rubydoc]: https://rubydoc.info/gems/matchi-rspec/frames
data/lib/matchi/rspec.rb CHANGED
@@ -3,5 +3,3 @@
3
3
  Dir[File.join File.dirname(__FILE__), "matcher", "*.rb"].each do |fname|
4
4
  require_relative fname
5
5
  end
6
-
7
- require "matchi/helper"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matchi-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-16 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: matchi
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: 2.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.0
26
+ version: 2.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement