mirage 4.0.0.alpha1 → 4.0.0.alpha2
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: 29ee9e4f5580b66b293a6074ffe4d5fc200299df
|
4
|
+
data.tar.gz: fe48e16dc3fbe9dc445ea16cec9962a083713540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 462f30b2783ca2147fb16f48f07bdf1a706c2b67ee4cf11360213ef857571db5c37cd69fd331d190ea43fb2374ec3dd547bb9146f8d82421ed4cb0b0d426b59e
|
7
|
+
data.tar.gz: 77935facbd4f8e48994564e83e56c45d660fc73dfdfca910fc8391b17e73d025b7fb1044216efb64b810d8b08aba82b831822b26d6c69e1ecb431a911fdefdf7
|
data/server/routes/responses.rb
CHANGED
@@ -2,7 +2,7 @@ module Mirage
|
|
2
2
|
class Server < Sinatra::Base
|
3
3
|
%w(get post delete put options).each do |http_method|
|
4
4
|
send(http_method, '/responses/*') do |name|
|
5
|
-
body, query_string =
|
5
|
+
body, query_string = request.body.read.to_s, request.query_string
|
6
6
|
|
7
7
|
options = {:body => body,
|
8
8
|
:http_method => http_method,
|
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.alpha2
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|