lively 0.9.0 → 0.10.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: 145a456fdef59b4bc5f980123379b757179fb39dc441f0ec0bc9cebb53ea8225
4
- data.tar.gz: d72b8ac4a5aa6df1a3b368b201bbdcb795ccb4014b1cbb7fab22a8d72d92eb94
3
+ metadata.gz: 0d5a09bcf96c067b64effcba1811d5906f315955b0e1352c82dc59a5f0dbbd37
4
+ data.tar.gz: b9cbffcef97bf3ca96deccb577fdf0ab7b30df2b99f9ac0ada9a76a6740de70f
5
5
  SHA512:
6
- metadata.gz: 206c6891d207b311731b37f08e390d13ed8f7ad759163dadea1d63487059260d78f8eb9e9c7c45d8f064a8edb95415d51e340addd5c3f487f95d56d4b124ebd9
7
- data.tar.gz: dba70c6bbb834e6cbb41cd4d418acd169e4c6b82d65fca9ca74888a22522e0f32da092e1f71dea306a4f474b4a45c884dd1a925fd3dc35cec9b8f6b2a7513a1c
6
+ metadata.gz: 6839075c1d5771bba6b6a783eb98c1efa3adc9e9084a270f3e55d5ec42e620f25275978f4b801d37223cbb3140da72a2205fb1a1b2e7d17fe14294304b9c138f
7
+ data.tar.gz: 794d7972fb9e335f90b201a06719ea7c20f2e4c9ef308164e2182b1489511e1258d04b9f5427b4e46b0ed7e117675ed795dc5ed5f9d75de30c30ce37975224da
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/lively/assets.rb CHANGED
@@ -17,7 +17,9 @@ module Lively
17
17
  ".mp3" => "audio/mpeg",
18
18
  }
19
19
 
20
- def initialize(delegate, root: Dir.pwd, content_types: DEFAULT_CONTENT_TYPES, cache_control: DEFAULT_CACHE_CONTROL)
20
+ PUBLIC_ROOT = File.expand_path('../../public', __dir__)
21
+
22
+ def initialize(delegate, root: PUBLIC_ROOT, content_types: DEFAULT_CONTENT_TYPES, cache_control: DEFAULT_CACHE_CONTROL)
21
23
  super(delegate)
22
24
 
23
25
  @root = root
@@ -13,8 +13,12 @@ module Lively
13
13
  module Application
14
14
  include Falcon::Environment::Server
15
15
 
16
- def url
17
- "http://localhost:9292"
16
+ # def url
17
+ # "http://localhost:9292"
18
+ # end
19
+
20
+ def count
21
+ 1
18
22
  end
19
23
 
20
24
  def application
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2024, by Samuel Williams.
5
5
 
6
6
  module Lively
7
- VERSION = "0.9.0"
7
+ VERSION = "0.10.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.9.0
4
+ version: 0.10.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-15 00:00:00.000000000 Z
40
+ date: 2024-07-14 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: falcon
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.5.3
136
+ rubygems_version: 3.5.11
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: A simple client-server SPA framework.
metadata.gz.sig CHANGED
Binary file