rspec-matcher-num-times 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +13 -1
- data/lib/rspec_matcher_num_times/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTU3MjYzODc0YjhkNmUyMzNkM2I3NGZkMWNlYzM2M2U4OGNkYzIyZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTkyZTk2YWEwMjg0YTUyMmJhZjg4M2E5ZmY0NmFlYzgxZTkwODY2OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWZiNmQ1MjQ3ZGQ1ZmRiNzFkOTlmMGQ0Yjk0ZmJiNzFlNGYyYTViMjBjNDQz
|
10
|
+
ODBmOGVmYjhjYTRhNDQ2NzQ4ZWQ1Mjc2OTE5MGIzMzQxMDI4ZWM2ZTg0NzIz
|
11
|
+
OGFkN2RjNGZlZjBlNmRhNjNlYzYwNjYwODcyYWM2ZjRmZjNmYzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGIzMjA4MWU3ZDQ1MWM5M2ViNDRmZGUwYTRlMzNiZDA0ZTZiZDc0YzQ2NGY5
|
14
|
+
NzhhYTljYzJlMGU3MzA1OTI3MWUyMDcxZjBjZWMyZDI4ODlmOGFlNGU1MGZj
|
15
|
+
M2FmZjA1YTU5NTVhNDQ0MzMxMTQwZjNiNzE2M2YxYzY5M2EyNmU=
|
data/README.md
CHANGED
@@ -6,12 +6,14 @@
|
|
6
6
|
[![Gem Version](https://img.shields.io/gem/v/rspec-matcher-num-times.svg)](https://rubygems.org/gems/rspec-matcher-num-times)
|
7
7
|
[![Total Downloads](https://img.shields.io/gem/dt/rspec-matcher-num-times.svg)](https://rubygems.org/gems/rspec-matcher-num-times)
|
8
8
|
[![Github Issues](https://img.shields.io/github/issues/jantman/rspec-matcher-num-times.svg)](https://github.com/jantman/rspec-matcher-num-times/issues)
|
9
|
-
[![Project Status:
|
9
|
+
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/0.1.0/active.svg)](http://www.repostatus.org/#active)
|
10
10
|
|
11
11
|
This gem provides some rspec matchers to simplify asserting that something is included or matched N times.
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
15
|
+
### Current Gem Version (for rspec-3)
|
16
|
+
|
15
17
|
Add this line to your application's Gemfile:
|
16
18
|
|
17
19
|
gem 'rspec-matcher-num-times'
|
@@ -24,6 +26,16 @@ Or install it yourself as:
|
|
24
26
|
|
25
27
|
$ gem install rspec-matcher-num-times
|
26
28
|
|
29
|
+
### For rspec-2
|
30
|
+
|
31
|
+
Add this line to your application's Gemfile:
|
32
|
+
|
33
|
+
gem 'rspec-matcher-num-times', git: "https://github.com/jantman/rspec-matcher-num-times.git", branch: 'rspec2'
|
34
|
+
|
35
|
+
And then execute:
|
36
|
+
|
37
|
+
$ bundle
|
38
|
+
|
27
39
|
## Usage
|
28
40
|
|
29
41
|
In your spec_helper, add a line like:
|