mini-apivore 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mini_apivore/validation.rb +6 -1
- data/lib/mini_apivore/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ad2464e8b3fd7ee8a526be861274f0bbcb542b52bd20fb835a6764fa8a950bf
|
4
|
+
data.tar.gz: 0d0b55d3bdbab2f9a8b47ac0d4db64d4c29472a8bf0acb4307452f9032e82cef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca23557ea0574db7b7300018ace97dc88c541e7fc3320ccbae6785cd074c4077c93e7b77c8ada7ecdaba1a794a41bc2acba369189a638dbdebdaddfb4da52ed
|
7
|
+
data.tar.gz: e0858db6b83b7e1fc8b748cc3e8660462b741bfce912de8387532979ab6de95d0fb9e6650238e7026ba9c77218eb8a7e65067bdfa03b92e5f99db87334278b1a
|
@@ -20,7 +20,12 @@ module MiniApivore
|
|
20
20
|
|
21
21
|
def check_route( verb, path, expected_response_code, params = {} )
|
22
22
|
prepare_action_env( verb, path, expected_response_code, params )
|
23
|
-
assert( match?,
|
23
|
+
assert( match?, <<FAIL )
|
24
|
+
Failed at: #{Thread.current.backtrace[1]}\n
|
25
|
+
Failure message: #{failure_message},\n
|
26
|
+
fullpath: #{full_path}, \n
|
27
|
+
params causing failure:#{params}
|
28
|
+
FAIL
|
24
29
|
end
|
25
30
|
|
26
31
|
def match?
|
data/lib/mini_apivore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini-apivore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alekseyl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|
@@ -120,7 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
|
123
|
+
rubyforge_project:
|
124
|
+
rubygems_version: 2.7.6
|
124
125
|
signing_key:
|
125
126
|
specification_version: 4
|
126
127
|
summary: Minitest adaptation of an apivore gem
|