lively 0.7.0 → 0.8.0

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: ba912160824ddae23c9161a2e1d2e61fe42533b1b5db37d274e7f41537def259
4
- data.tar.gz: 1163c8cedd44500896e920adf7e2654f7f4c7360cba3d80d1d742083d8778ae2
3
+ metadata.gz: 99d4fb34300531488905ed63ee31b0403581f2aac642f1fa668f54a62356ec86
4
+ data.tar.gz: ca21cf5420d9c54d9a0028c3eec47f3d368c8e29f7cfe94b45db385ac92072c5
5
5
  SHA512:
6
- metadata.gz: 35c007c12de1613ca135775132ffa358643ebda9ba6aa3ee95623572300796dcb8d74a9eb8da131b20417e63ab614bfdebab96a26453b9cdf566257c2fa24d12
7
- data.tar.gz: eed3f935d47cebb7f96b3e5b201eab0e5d494ce1d29a7882301d99ca5ac5dee89efe86c0f6d241f5228a4af0e11e00006f6e0c3873a1c3f1b8503c3b24211235
6
+ metadata.gz: 1858b7db84ca777e8f5a760cf0388627e5af02a5d614243c92156446127f9977ac853341776f39a14bd7663416d84875c63431fbb1099fbbb387cd9898bc4652
7
+ data.tar.gz: 57483483bdb7ad81ff1cb210038700918de51254aa55f69af586195cd13d9a3f7cb0c00ef5bd05f3af6180ebc14632533a4fb148b3c53990d493b3277ed45ae7
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/lively/assets.rb CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  module Lively
7
7
  class Assets < Protocol::HTTP::Middleware
8
- DEFAULT_CACHE_CONTROL = 'public, max-age=3600'
8
+ DEFAULT_CACHE_CONTROL = 'no-store, no-cache, must-revalidate, max-age=0'
9
9
 
10
10
  DEFAULT_CONTENT_TYPES = {
11
11
  ".html" => "text/html",
@@ -13,6 +13,10 @@ module Lively
13
13
  module Application
14
14
  include Falcon::Environment::Server
15
15
 
16
+ def url
17
+ "http://localhost:9292"
18
+ end
19
+
16
20
  def application
17
21
  if Object.const_defined?(:Application)
18
22
  ::Application
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2024, by Samuel Williams.
5
5
 
6
6
  module Lively
7
- VERSION = "0.7.0"
7
+ VERSION = "0.8.0"
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lively
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -37,7 +37,7 @@ cert_chain:
37
37
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
38
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
39
  -----END CERTIFICATE-----
40
- date: 2024-05-14 00:00:00.000000000 Z
40
+ date: 2024-05-15 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: falcon
metadata.gz.sig CHANGED
Binary file