utopia 2.31.0 → 2.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/utopia/static/middleware.rb +2 -2
- data/lib/utopia/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 924fc6cb5c9006f0c376aed334a42996d8e86a2484959b37a225a15e60d66c60
|
|
4
|
+
data.tar.gz: 66fc37bf668645f1cbf29bb7b2fce1ccab169db491fa0337228fccf86a2d6137
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 798aef264950bc05c2cfd8bf68a40e81f0e7009aba7723d7b89aeb4cdb87f4100296027cc2de20cef2195ae01befecb623e35279493ead238a708a6b14bb6a51
|
|
7
|
+
data.tar.gz: b936b7d95de0b3049f9de3e8cf2fdff4f947eb42440dc0011aae833e8fbe4179b165407c17aa8989123ac7f4a836c672bf0ce496df8dc2b30029f4f2938b7f97
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -13,10 +13,10 @@ require "traces/provider"
|
|
|
13
13
|
|
|
14
14
|
module Utopia
|
|
15
15
|
module Static
|
|
16
|
+
DEFAULT_CACHE_CONTROL = "public, max-age=3600".freeze
|
|
17
|
+
|
|
16
18
|
# A middleware which serves static files from the specified root directory.
|
|
17
19
|
class Middleware
|
|
18
|
-
DEFAULT_CACHE_CONTROL = "public, max-age=3600".freeze
|
|
19
|
-
|
|
20
20
|
# @param root [String] The root directory to serve files from.
|
|
21
21
|
# @param types [Array] The mime-types (and file extensions) to recognize/serve.
|
|
22
22
|
# @param cache_control [String] The cache-control header to set for static content.
|
data/lib/utopia/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|