mirage 4.0.0.alpha9 → 4.0.0.alpha10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/server/routes/responses.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: cdaee992c85dc3fa054699d590ba141a857ee2a9
|
4
|
+
data.tar.gz: 7eec6eca719be550b9b5b858a9b9558b7f6d2d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7800ee39ff549e106616185950e414f1fb28283e9065d5343208c5b70722c2af72f795972aa61a229ed725082734e8efccec46b33eb1c47d682a2f4c4cda367c
|
7
|
+
data.tar.gz: 4417556b8b1423afe3a7632f210932321b8e78cd6dafacb389119ff658f191aeb50744961e6fcbfc4f4bf45976e658691904ea68bd025afa5efc60530590a621
|
data/server/routes/responses.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Mirage
|
2
2
|
class Server < Sinatra::Base
|
3
3
|
# TODO write tests to check that all of these verbs are supported
|
4
|
-
%w(get post delete put options head).each do |http_method|
|
4
|
+
%w(get post delete put options head patch).each do |http_method|
|
5
5
|
send(http_method, '/responses/*') do |name|
|
6
6
|
body, query_string = request.body.read.to_s, request.query_string
|
7
7
|
name = "/#{name}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mirage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.alpha10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|