better_errors 2.8.2 → 2.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/better_errors.rb +1 -1
- data/lib/better_errors/middleware.rb +1 -1
- data/lib/better_errors/version.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: 616022aff59a6fbf38d22ce25749211fc988ef60650f0b2d1fb01244cf558d82
|
4
|
+
data.tar.gz: 108c7f49871d078cd84ad46da808efd29c75898ba592a3ca2911cd9a47b868e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 183597138988fa4048097461f8c805b97478b314a6e0f7b76819a4ffa0b99fe905262f5343457a3fb64a3494b222eae73cf2bc659956146e111b5646427c2ed4
|
7
|
+
data.tar.gz: b9e683652c3121d376f883ed0f773986cc8b8b8f089920a829b5e9a35ff1b4e4c86d2e4a4a9bbbf3c88a3648ce3fe80db77793942be93a548d902f3ec69e6dcf
|
data/lib/better_errors.rb
CHANGED
@@ -3,6 +3,7 @@ require "erubi"
|
|
3
3
|
require "coderay"
|
4
4
|
require "uri"
|
5
5
|
|
6
|
+
require "better_errors/version"
|
6
7
|
require "better_errors/code_formatter"
|
7
8
|
require "better_errors/inspectable_value"
|
8
9
|
require "better_errors/error_page"
|
@@ -10,7 +11,6 @@ require "better_errors/middleware"
|
|
10
11
|
require "better_errors/raised_exception"
|
11
12
|
require "better_errors/repl"
|
12
13
|
require "better_errors/stack_frame"
|
13
|
-
require "better_errors/version"
|
14
14
|
|
15
15
|
module BetterErrors
|
16
16
|
POSSIBLE_EDITOR_PRESETS = [
|
@@ -40,7 +40,7 @@ module BetterErrors
|
|
40
40
|
allow_ip! "127.0.0.0/8"
|
41
41
|
allow_ip! "::1/128" rescue nil # windows ruby doesn't have ipv6 support
|
42
42
|
|
43
|
-
CSRF_TOKEN_COOKIE_NAME = "BetterErrors-#{VERSION}-CSRF-Token"
|
43
|
+
CSRF_TOKEN_COOKIE_NAME = "BetterErrors-#{BetterErrors::VERSION}-CSRF-Token"
|
44
44
|
|
45
45
|
# A new instance of BetterErrors::Middleware
|
46
46
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: better_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Somerville
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|