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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/server/routes/responses.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ce0674182d06e316fe3c29196fbe0e59736948c
4
- data.tar.gz: 7d259d3e9484d76a2941db088f591c33367dd4cf
3
+ metadata.gz: cdaee992c85dc3fa054699d590ba141a857ee2a9
4
+ data.tar.gz: 7eec6eca719be550b9b5b858a9b9558b7f6d2d5c
5
5
  SHA512:
6
- metadata.gz: dfc9c1d46e87106d6ea9708032fdc2e8383c7fee78cbfb33be4ede4088ed76d0e7e11a6b7f96e5a7a95d5e606e331ec7607499bbec442d9edd4234afa04e8d0f
7
- data.tar.gz: a3ba61ec5e013d6578e4e9f904de6a5fe21735cd65e70c3fb1f45c83a6d261c9d0fcaa315ad791fe2eb92d7bb8e9a6d9bf805eeb0a6f5a6378674bc1ee5a9781
6
+ metadata.gz: 7800ee39ff549e106616185950e414f1fb28283e9065d5343208c5b70722c2af72f795972aa61a229ed725082734e8efccec46b33eb1c47d682a2f4c4cda367c
7
+ data.tar.gz: 4417556b8b1423afe3a7632f210932321b8e78cd6dafacb389119ff658f191aeb50744961e6fcbfc4f4bf45976e658691904ea68bd025afa5efc60530590a621
@@ -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.alpha9
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-13 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra