flack 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/flack.rb +1 -1
- data/lib/flack/app.rb +10 -0
- data/lib/flack/app/helpers.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36dd9d587c7d003cc296db2fc3ac9f7dac0916e267a43904f5ca8be1e25b780e
|
4
|
+
data.tar.gz: 1bc04ec7696966e9d197b80c25af1a76309463eabc88222d4777d769f866f9c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8f69c70110ed67738d5c0ef95b97d4d0d0612520bbe8bab4c0353018f9bd0476bc48f29644514d3628cd2edb446abacdb38bf5392e2fbf95044a6401c7a3d37
|
7
|
+
data.tar.gz: 59784ead309c9df695c416af89087d1fdf5e16d7900c758027da2f771b48337774252ee792e47fac32ba43fce0a86d2600798e155e420aecb357c1a235843bea
|
data/CHANGELOG.md
CHANGED
data/lib/flack.rb
CHANGED
data/lib/flack/app.rb
CHANGED
@@ -92,6 +92,16 @@ class Flack::App
|
|
92
92
|
end
|
93
93
|
|
94
94
|
respond_not_found(env)
|
95
|
+
|
96
|
+
rescue => err
|
97
|
+
|
98
|
+
$stderr.puts '=' * 80
|
99
|
+
$stderr.puts Time.now.to_s
|
100
|
+
$stderr.puts err.inspect
|
101
|
+
$stderr.puts err.backtrace
|
102
|
+
$stderr.puts ('=' * 79) + '.'
|
103
|
+
|
104
|
+
respond_internal_server_error(env, err)
|
95
105
|
end
|
96
106
|
|
97
107
|
def get_debug(env); debug_respond(env); end
|
data/lib/flack/app/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flor
|