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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/server/routes/responses.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29ee9e4f5580b66b293a6074ffe4d5fc200299df
4
- data.tar.gz: fe48e16dc3fbe9dc445ea16cec9962a083713540
3
+ metadata.gz: e7f45ff1548ff88142cc5db82d0545896ec91da9
4
+ data.tar.gz: d1235abb16ee1d6527fdef5c6b8c798737dc9ad1
5
5
  SHA512:
6
- metadata.gz: 462f30b2783ca2147fb16f48f07bdf1a706c2b67ee4cf11360213ef857571db5c37cd69fd331d190ea43fb2374ec3dd547bb9146f8d82421ed4cb0b0d426b59e
7
- data.tar.gz: 77935facbd4f8e48994564e83e56c45d660fc73dfdfca910fc8391b17e73d025b7fb1044216efb64b810d8b08aba82b831822b26d6c69e1ecb431a911fdefdf7
6
+ metadata.gz: ec5e1640ac38dff251e71e8b9c04851cc205a29223eed996b45292c8b2e565146c5be566b9dbcdb0220e7b8e661a6b4fca7c6a8f195fcb668ecc57eaf68ed457
7
+ data.tar.gz: a2408dfa686b47d46a9432493401b85f0f7b6ef0a76548e07ac9302613ca248ca556aa66e962092d29eed87c307a5cd4570e0d32a84323eb4da459e0d66e819f
@@ -1,6 +1,7 @@
1
1
  module Mirage
2
2
  class Server < Sinatra::Base
3
- %w(get post delete put options).each do |http_method|
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.alpha2
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-16 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra