fitting 2.1.3 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/fitting/configuration.rb +3 -1
- data/lib/fitting/matchers/response_matcher.rb +1 -0
- data/lib/fitting/request.rb +6 -0
- data/lib/fitting/response.rb +4 -0
- data/lib/fitting/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e04b182de6052b1d8c395f48016e8b9f37d6b769
|
4
|
+
data.tar.gz: 392e75a0af97023f53585472e27a94cb83843406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 639a9c1b2d78babd961fabc52464b962017e97904dc1b1c3b10cab94e14434880ec315eb8509ee6aa081a5af83b4ad494b1b16b8cf4f841634996d03c6cdfa4f
|
7
|
+
data.tar.gz: 4200b2c82e8ef7f8b4b1b893818859c8ac7f5ec2fb6bce148b93b782b644b0945c9a0393343930afd6905283b8901754ee766ce6a8c5ad54721a1c7207677d9c
|
data/README.md
CHANGED
@@ -162,6 +162,16 @@ config.resource_white_list = {
|
|
162
162
|
|
163
163
|
Empty array `[]` means all methods.
|
164
164
|
|
165
|
+
### ignore_list
|
166
|
+
|
167
|
+
You can use ignore list for omit checks with matchers.
|
168
|
+
|
169
|
+
```ruby
|
170
|
+
config.ignore_list = [%r{/api/v1/users/[1-9].}, %r{/api/v1/comments}]
|
171
|
+
```
|
172
|
+
|
173
|
+
It's work only for match_schema (NOT FOR strictly_match_schema)
|
174
|
+
|
165
175
|
## Contributing
|
166
176
|
|
167
177
|
Bug reports and pull requests are welcome on GitHub at https://github.com/funbox/fitting. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/lib/fitting/request.rb
CHANGED
data/lib/fitting/response.rb
CHANGED
data/lib/fitting/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fitting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- d.efimov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|