z4app 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/z4app/version.rb +1 -1
- data/lib/z4app.rb +4 -2
- data/z4app.gemspec +2 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04efb929103f5a4edd790b1c25fc41765890630a1807754cc5e15d6110dc6984
|
4
|
+
data.tar.gz: 34d1d5ede05a7c934318d285fefbc3c686d61b74599acbf4e896664493d5ebe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f26afc4485a9cf288e4cbfed192c89ab12386df51c9e6ffaf3230ab8516e3418b3fb822804d1488cca1e1c57026e5fa6351f65fbf614ac9a1ac270584765cb
|
7
|
+
data.tar.gz: 6c690217d2c9966a5a85b6c84e182d4f03ad5bf41fac7f07dfa82f97ca8ffed4cf69e3c56d57728aeae2f77cbbaf58b90fdb4cd699a0de4bd28451da37802561
|
data/lib/z4app/version.rb
CHANGED
data/lib/z4app.rb
CHANGED
@@ -31,10 +31,12 @@ module Z4app
|
|
31
31
|
set :views, 'views/'
|
32
32
|
set :server, 'webrick'
|
33
33
|
end
|
34
|
+
|
35
|
+
on_start { puts "[z4app] OK." }
|
34
36
|
|
35
37
|
# handle dumb shit
|
36
38
|
['robots.txt', 'favicon.ico'].each { |e| get("/#{e}") {}}
|
37
|
-
|
39
|
+
|
38
40
|
get('/manifest.webmanifest') {
|
39
41
|
content_type 'application/manifest+json'
|
40
42
|
h = {
|
@@ -86,7 +88,7 @@ module Z4app
|
|
86
88
|
end
|
87
89
|
|
88
90
|
def self.init!
|
89
|
-
@@PROC = Process.detach(fork { APP.run! })
|
91
|
+
@@PROC = Process.detach(fork { APP.run! { puts "[z4app][init] OK." } })
|
90
92
|
end
|
91
93
|
def self.proc
|
92
94
|
@@PROC
|
data/z4app.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: z4app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Olson
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: gemoji
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: erb
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|