simple-httpd 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 265655ee2ae92a528dc710e3daec1bc0e3249af73450d41817a2295934bf3315
4
- data.tar.gz: 4eb732b11012cbd503076ecf0b64c05765020539fce6d86c0902074a1dfb0150
3
+ metadata.gz: 940cbf0c9ebe6fd961eb32ab60e981947a7ae015aa2575841021b944dc99d7fd
4
+ data.tar.gz: 71840370d13767873d0af24554eed2dbbf28df0023136a5a99254bf0bfd8e7bf
5
5
  SHA512:
6
- metadata.gz: 0c4c22dde10ce2ad09fabcee176b37004b39176dddb68b3c511a82d6280ac3b4a338c2aa43aabf4827bc4b91e56cb35c0d58d488753a38523cf795a82fde2918
7
- data.tar.gz: 65fa2846cee1a99db0cdd736848baff796b6412036c74d6870cbd09c475a05c4464baffbf38c75c872c498defa32d4fa9e7712d5285609993b9093c2d47bf800
6
+ metadata.gz: 5f8e10802da25a7b67ed0e15a1d368c5d38044a6c4d897b1cb96b2208ea2b37bd5873c26d2ece27d9dae78bd9811e765a5c96735c0c0df1af5984374dd00e858
7
+ data.tar.gz: 2a618d112161e1809eeb73adee4fe4cb87bd5f275cb5f6f6747416334d06e6e56f554f60357dc202188909db781484ad09f3b54a43b455bd9207a2abe5ed04ed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -1,7 +1,7 @@
1
1
  class Simple::Httpd::BaseController
2
2
  helpers do
3
3
  def origin
4
- request["Origin"] ||
4
+ request.headers["Origin"] ||
5
5
  "#{request.scheme}://#{request.host_with_port}"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-httpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-20 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: neatjson