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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85dad645586f82345f25060f4866f1ac3a6e520ae9ebe635c26f56e37511e3e7
4
- data.tar.gz: 86386a9473897c0425781759eac4ceddf96a253ba661d0e387c2e4e21d9c21cb
3
+ metadata.gz: ba073e39dc03aaaaf41ce3837849d190146aa44837c473acc43a3142d5217cba
4
+ data.tar.gz: 4513d99971116cb5a37738ceebdd25d87880b8362c6fce592e6b72b72d0d8043
5
5
  SHA512:
6
- metadata.gz: db63c4da96123bf37a186e49abb2f1e4f45f7721ee50031f08c5ca7fdb4c71ca57f32a2fda2d3059019dc03c99c080cea93722dac7ec0b98a2d5ce841e398d5a
7
- data.tar.gz: c8efa0355463b2cb4f5cf09380035e08b9b2494ec324c5749bd7b65ec4f978f53c5351c1609ef37007bd8cf3b2ed88422dc1623d33028107a07cc24464684f00
6
+ metadata.gz: 704b29528fd6d15fbc2d9bbd3cc501ef818c5bc78b6bd7b141caa48843149678fdd857ca150f737615da495e228e59618ff82905f2d2e86a9ead04c9fa6361f3
7
+ data.tar.gz: bd619ae20cc938c49d9dc2d348b3cc0ae6e036aebcba6f053f098d87e1c0386372d89fc344703cf3d20e1d8de84d05b8205e2e2e7c71c91f3c083f35092c35aa
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FileSv
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -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: response.status, endpoint: endpoint.serving_file_name }) if request.fullpath != "/"
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: response.status, endpoint: endpoint.serving_file_name }) if request.fullpath != "/"
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.0
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-06-25 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faker