rackr 0.0.51 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rackr/router/errors/dev_html.rb +1 -3
- data/lib/rackr/router.rb +1 -1
- 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: 279a41741ba1b761a98b837d7d27b92c8cce088c87f99bedb644e3bbae653b7a
|
4
|
+
data.tar.gz: a8d1193621683b375605ebc4807440560b4a45fff0d8240c1493dd2b060d4077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae5954c85b11789fe66e14e1b9851036d2a9ca6a9b1ce61faf05515b3336204ae77521339b16d32b51ef0ee84914763918769dfe8c14ec078c32f41ee0a9e6d
|
7
|
+
data.tar.gz: 5d00b7e15751b6c2c7699bd169ade250a173082b98e2ee9621019678fa2498ab71426400b26094c4f044e550766e375e002b6d9f7ee6d550bd4b388f53056815
|
@@ -27,13 +27,11 @@ class Rackr
|
|
27
27
|
background-color: #191919;
|
28
28
|
color: white;
|
29
29
|
padding: 0em 2em;
|
30
|
-
border: 5px solid #
|
31
|
-
border-radius: 1em;
|
30
|
+
border: 5px solid #191919;
|
32
31
|
}
|
33
32
|
h1 {
|
34
33
|
background-color: #464646;
|
35
34
|
padding: 1em;
|
36
|
-
border-radius: 0.2em;
|
37
35
|
}
|
38
36
|
)
|
39
37
|
end
|
data/lib/rackr/router.rb
CHANGED
@@ -72,7 +72,7 @@ class Rackr
|
|
72
72
|
rescue Rackr::NotFound
|
73
73
|
call_endpoint(@not_found, request_builder.call)
|
74
74
|
rescue Exception => e
|
75
|
-
return @error.call(request_builder.call, e)
|
75
|
+
return @error.call(request_builder.call, e) if !@dev_mode || ENV['RACKR_ERROR_DEV']
|
76
76
|
|
77
77
|
call_endpoint(Errors::DevHtml, env.merge({'error' => e}))
|
78
78
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rackr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrique F. Teixeira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubi
|