riddl 0.101.21 → 0.101.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby/riddl/server.rb +1 -1
- data/riddl.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba13a4622c2280b047206d4f73776cfe5d4d131be46f7ec3a76fca785d920e0f
|
4
|
+
data.tar.gz: f0302103e937d8bbd1cd381e0a8bf6ac1153a781dd26247caa6648dd14891b61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc2590d22b774ad177e7b3edbcd23df629ac98b46e338fd10f081f5055efe6803fcc46509df2d2b907959447cfe524124756284e0127c22350fdc5ea3c485196
|
7
|
+
data.tar.gz: 5131b5d2f0ebc8139a962e4300c83501eeda8572932c7c2fdca4a986fae4bf128c6a8567aadd69127a0701fc7fa621681cae6aa4e2d835f1bb819ca7bf7c44a5
|
data/lib/ruby/riddl/server.rb
CHANGED
@@ -162,7 +162,7 @@ module Riddl
|
|
162
162
|
if @riddl_message.nil?
|
163
163
|
if @riddl_info[:env].has_key?('HTTP_ORIGIN') && @riddl_cross_site_xhr && @riddl_method == 'options'
|
164
164
|
@riddl_res['Access-Control-Allow-Origin'] = '*'
|
165
|
-
@riddl_res['Access-Control-Allow-Methods'] = 'GET, POST, PUT, DELETE, OPTIONS'
|
165
|
+
@riddl_res['Access-Control-Allow-Methods'] = 'GET, POST, PUT, PATCH, DELETE, OPTIONS'
|
166
166
|
@riddl_res['Access-Control-Allow-Headers'] = @riddl_info[:env]['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'] if @riddl_info[:env]['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']
|
167
167
|
@riddl_res['Access-Control-Max-Age'] = '0'
|
168
168
|
@riddl_res['Content-Length'] = '0'
|
data/riddl.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.101.
|
4
|
+
version: 0.101.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen 'eTM' Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-08-
|
13
|
+
date: 2020-08-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: daemonite
|