file_sv 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/file_sv/version.rb +1 -1
- data/lib/file_sv/virtual_server.rb +2 -2
- 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: ba073e39dc03aaaaf41ce3837849d190146aa44837c473acc43a3142d5217cba
|
4
|
+
data.tar.gz: 4513d99971116cb5a37738ceebdd25d87880b8362c6fce592e6b72b72d0d8043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704b29528fd6d15fbc2d9bbd3cc501ef818c5bc78b6bd7b141caa48843149678fdd857ca150f737615da495e228e59618ff82905f2d2e86a9ead04c9fa6361f3
|
7
|
+
data.tar.gz: bd619ae20cc938c49d9dc2d348b3cc0ae6e036aebcba6f053f098d87e1c0386372d89fc344703cf3d20e1d8de84d05b8205e2e2e7c71c91f3c083f35092c35aa
|
data/lib/file_sv/version.rb
CHANGED
@@ -77,7 +77,7 @@ for more details'
|
|
77
77
|
response["Access-Control-Allow-Origin"] = "*"
|
78
78
|
endpoint = endpoints.sample
|
79
79
|
@params = params
|
80
|
-
log({ msg: "Response", status:
|
80
|
+
log({ msg: "Response", status: endpoint.status_code, endpoint: endpoint.serving_file_name }) if request.fullpath != "/"
|
81
81
|
serve endpoint, id
|
82
82
|
end
|
83
83
|
else
|
@@ -86,7 +86,7 @@ for more details'
|
|
86
86
|
endpoint = endpoints.sample
|
87
87
|
@params = params
|
88
88
|
unless ENV["ignore_path"] && ("/#{ENV["ignore_path"]}" == endpoint_base.path)
|
89
|
-
log({ msg: "Response", status:
|
89
|
+
log({ msg: "Response", status: endpoint.status_code, endpoint: endpoint.serving_file_name }) if request.fullpath != "/"
|
90
90
|
end
|
91
91
|
serve endpoint
|
92
92
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_sv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Garratt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faker
|