mini-apivore 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e71c1d5997296bb64e9167db20ee2dd3cdd3d06058666c072d57616c8b84f4f
4
- data.tar.gz: b91e40d4044d7a2fc0d15661296c49ba224659ddaba81a2d759447f882a5c7c0
3
+ metadata.gz: f843825109df656e8ed68801085c7ffe3317f4c02e3ce23a38250e30c2c0cc2e
4
+ data.tar.gz: d3a79254c76ea5828e3eda3b05cce7133c507e791ccf8699697942b00f54c2da
5
5
  SHA512:
6
- metadata.gz: 196b7bb59882c7e35edd141dd0e052db15b42d47e1180b1b72dca2f5dccc89b3a0ae1f58e9a2a0e1692431d53724b59a5a38abeaea3b190a5873a3012bccedf4
7
- data.tar.gz: da791cd213295519c5851b818bdb3145f7e14fa94b832b1591ff84ec3279bd16de112f377c5ad13b3d4d33dc9b2a3bdff9fa79bdf9a543088ae2b1b1da145265
6
+ metadata.gz: 81c79e4b78db0f76764f57603d45b790c4d4d099ae5f525bf8cb3f21167133e4cca9935a9ef4e530b6e906736352a9aa2f8d1500724af5331b6dc52339ab1907
7
+ data.tar.gz: c8e3682d8be0b5d7fff793fe98b2c81e0c41ee984a7eb7c5559de7483d2ffcbc12ddecc33d5fce672ff5caaa7259ea45b782e996ad059af0c186c612988eb0a2
@@ -21,13 +21,15 @@ module MiniApivore
21
21
  def check_route( verb, path, expected_response_code, params = {} )
22
22
  prepare_action_env( verb, path, expected_response_code, params )
23
23
  assert( match?, <<FAIL )
24
- Failed at: #{Thread.current.backtrace[2]}\n
25
- Failure message: #{failure_message},\n
26
- fullpath: #{full_path}, \n
27
- params causing failure:#{params}
24
+ Failed at: #{prepare_error_backtrace}\n
25
+ Failure message: #{failure_message},\n
26
+ fullpath: #{full_path}, \n
27
+ params causing failure:#{params}
28
28
  FAIL
29
29
  end
30
30
 
31
+
32
+
31
33
  def match?
32
34
  #pre_checks
33
35
  check_request_path
@@ -1,5 +1,5 @@
1
1
  module Mini
2
2
  module Apivore
3
- VERSION = "0.1.8"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-02 00:00:00.000000000 Z
11
+ date: 2021-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -104,7 +104,7 @@ licenses:
104
104
  - MIT
105
105
  metadata:
106
106
  allowed_push_host: https://rubygems.org
107
- post_install_message:
107
+ post_install_message:
108
108
  rdoc_options: []
109
109
  require_paths:
110
110
  - lib
@@ -120,9 +120,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubyforge_project:
123
+ rubyforge_project:
124
124
  rubygems_version: 2.7.6
125
- signing_key:
125
+ signing_key:
126
126
  specification_version: 4
127
127
  summary: Minitest adaptation of an apivore gem
128
128
  test_files: []