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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34e868558b04890b14c6bb06ad3016b89f6604445e9d3c2846cbb6a8e3d16ed7
4
- data.tar.gz: 48b2faae91501e8335b0222b37a2f96643cc91479f4968f6fd7a77273260c005
3
+ metadata.gz: 04efb929103f5a4edd790b1c25fc41765890630a1807754cc5e15d6110dc6984
4
+ data.tar.gz: 34d1d5ede05a7c934318d285fefbc3c686d61b74599acbf4e896664493d5ebe7
5
5
  SHA512:
6
- metadata.gz: fe8d5d582d9262680325db408a5ebfb4c785d7dfac076583779841bd66462620f9c3df5a1db179ab113de96e47ae2ee201a82a8e471fec72dcb6c94cd253f0bf
7
- data.tar.gz: 373d755789919214e7b15eedf3c83e6a610f107516161501616fd8f3ea0ddc609929c417f3ae3aa6e369b1daca7515153df6f12b12851fe4a30dcaa9934738a2
6
+ metadata.gz: e2f26afc4485a9cf288e4cbfed192c89ab12386df51c9e6ffaf3230ab8516e3418b3fb822804d1488cca1e1c57026e5fa6351f65fbf614ac9a1ac270584765cb
7
+ data.tar.gz: 6c690217d2c9966a5a85b6c84e182d4f03ad5bf41fac7f07dfa82f97ca8ffed4cf69e3c56d57728aeae2f77cbbaf58b90fdb4cd699a0de4bd28451da37802561
data/lib/z4app/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Z4app
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  COMMIT = `git log --format="%H" -n 1`.strip
6
6
  end
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
@@ -36,6 +36,8 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.add_dependency "json"
38
38
 
39
+ spec.add_dependency "gemoji"
40
+
39
41
  spec.add_dependency "erb"
40
42
 
41
43
  spec.add_dependency "pry"
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.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