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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5349fb78d9228c927c1a13e4870dbe7797ed9dd9f2c6e6868c48ea21cb6a30d1
4
- data.tar.gz: e343559e578fff15af1d85254d315f6999ca119fc9452899cc0b0d04835638be
3
+ metadata.gz: 279a41741ba1b761a98b837d7d27b92c8cce088c87f99bedb644e3bbae653b7a
4
+ data.tar.gz: a8d1193621683b375605ebc4807440560b4a45fff0d8240c1493dd2b060d4077
5
5
  SHA512:
6
- metadata.gz: 2485768ddeba8f7460bc3d1cef02e3b931f0d3ff611d2418601298e73c62d114e8c9fb559f1e75dbd3788c8a64b3cb170c6a1d8118aec0246c03bcc818a5f89d
7
- data.tar.gz: 55a73f398a954e32c9c4b83f3ff131ce57b80ac1da445c199d32a413f47ab877ebbdba5b70e3a06d1cb7cf90ff4280cb7db59d6fbaefdcb5843cdb0727e3187e
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 #ffffff;
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) unless @dev_mode
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.51
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-03 00:00:00.000000000 Z
11
+ date: 2025-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubi