mirage 4.0.0.alpha2 → 4.0.0.alpha3
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 +2 -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: e7f45ff1548ff88142cc5db82d0545896ec91da9
|
4
|
+
data.tar.gz: d1235abb16ee1d6527fdef5c6b8c798737dc9ad1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec5e1640ac38dff251e71e8b9c04851cc205a29223eed996b45292c8b2e565146c5be566b9dbcdb0220e7b8e661a6b4fca7c6a8f195fcb668ecc57eaf68ed457
|
7
|
+
data.tar.gz: a2408dfa686b47d46a9432493401b85f0f7b6ef0a76548e07ac9302613ca248ca556aa66e962092d29eed87c307a5cd4570e0d32a84323eb4da459e0d66e819f
|
data/server/routes/responses.rb
CHANGED
@@ -1,6 +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
5
|
send(http_method, '/responses/*') do |name|
|
5
6
|
body, query_string = request.body.read.to_s, request.query_string
|
6
7
|
|
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.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|