better_errors 2.10.0.beta2 → 2.10.0
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/.github/release-drafter.yml +46 -0
- data/.github/workflows/draft_release_update.yml +22 -0
- data/.github/workflows/pull_request.yml +20 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/better_errors.gemspec +2 -2
- data/lib/better_errors/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63e5bb97d23bd3c7afee4c068d074160eca36a9215fb17239a28e807b4ba5b31
|
|
4
|
+
data.tar.gz: cd08b12eaa698201185e457f6d0eb1f4e330de23fd230b7329e32f636665d350
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ee33a489d6117bb2446ccbd3a41893639df2af5bcb00996ca893b7acf33e6c0310e81124b978f4c991354eef9ca4459288db838d8ed4ea1a622911f96b14c9b
|
|
7
|
+
data.tar.gz: 46d7e1c8fd6738280b5e0c1d23c85c8a7c6c4bce531ad174fbb729a78dea0a0e5870161d6c36fd4fa348da38549f03079e3e46506f8a095f6dfc4247aba390e9
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name-template: 'v$RESOLVED_VERSION'
|
|
3
|
+
tag-template: 'v$RESOLVED_VERSION'
|
|
4
|
+
autolabeler:
|
|
5
|
+
- label: breaking change
|
|
6
|
+
title:
|
|
7
|
+
- '/(?<!non[- ]?)breaking/i'
|
|
8
|
+
- label: feature
|
|
9
|
+
branch:
|
|
10
|
+
- '/^feature/'
|
|
11
|
+
- label: patch fix
|
|
12
|
+
branch:
|
|
13
|
+
- '/^fix/'
|
|
14
|
+
- label: chore
|
|
15
|
+
branch:
|
|
16
|
+
- '/^chore/'
|
|
17
|
+
categories:
|
|
18
|
+
- title: ⚠ Breaking Changes
|
|
19
|
+
labels:
|
|
20
|
+
- breaking change
|
|
21
|
+
- title: Feature Changes
|
|
22
|
+
labels:
|
|
23
|
+
- feature
|
|
24
|
+
- title: Fixes
|
|
25
|
+
labels:
|
|
26
|
+
- patch fix
|
|
27
|
+
- title: Maintenance
|
|
28
|
+
labels:
|
|
29
|
+
- chore
|
|
30
|
+
exclude-labels:
|
|
31
|
+
- skip-changelog
|
|
32
|
+
change-template: '- $TITLE (@$AUTHOR) #$NUMBER'
|
|
33
|
+
template: '$CHANGES'
|
|
34
|
+
no-changes-template: '_No changes yet._'
|
|
35
|
+
version-resolver:
|
|
36
|
+
major:
|
|
37
|
+
labels:
|
|
38
|
+
- breaking change
|
|
39
|
+
minor:
|
|
40
|
+
labels:
|
|
41
|
+
- minor
|
|
42
|
+
patch:
|
|
43
|
+
labels:
|
|
44
|
+
- patch fix
|
|
45
|
+
- chore
|
|
46
|
+
default: minor
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
name: Draft Release
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
# Run on change of the main branch, which covers merged pull requests
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
- master
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
update:
|
|
14
|
+
name: "Update"
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: release-drafter/release-drafter@v5
|
|
18
|
+
with:
|
|
19
|
+
# Not sure what autolabeler would do in the main branch, but it wouldn't make sense.
|
|
20
|
+
disable-autolabeler: true
|
|
21
|
+
env:
|
|
22
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
name: Pull Request
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
pull_request:
|
|
7
|
+
# Run on new/reopened/renamed pull requests so that autolabeling happens
|
|
8
|
+
types: [opened, reopened, edited]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
label:
|
|
12
|
+
name: "Label"
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: release-drafter/release-drafter@v5
|
|
16
|
+
with:
|
|
17
|
+
# Don't run the releaser from the PR, because that will create a draft PR containing the current PR even though it's not merged.
|
|
18
|
+
disable-releaser: true
|
|
19
|
+
env:
|
|
20
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -120,8 +120,8 @@ BetterErrors.maximum_variable_inspect_size = 100_000
|
|
|
120
120
|
```ruby
|
|
121
121
|
# e.g. in config/initializers/better_errors.rb
|
|
122
122
|
# This will stop BetterErrors from trying to inspect objects of these classes, which can cause
|
|
123
|
-
# slow loading times and
|
|
124
|
-
# strings not
|
|
123
|
+
# slow loading times and unnecessary database queries. Does not check inheritance chain, use
|
|
124
|
+
# strings not constants.
|
|
125
125
|
# default value: ['ActionDispatch::Request', 'ActionDispatch::Response']
|
|
126
126
|
BetterErrors.ignored_classes = ['ActionDispatch::Request', 'ActionDispatch::Response']
|
|
127
127
|
```
|
data/better_errors.gemspec
CHANGED
|
@@ -5,8 +5,8 @@ require 'better_errors/version'
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "better_errors"
|
|
7
7
|
s.version = BetterErrors::VERSION
|
|
8
|
-
s.authors = ["
|
|
9
|
-
s.email = ["
|
|
8
|
+
s.authors = ["Hailey Somerville"]
|
|
9
|
+
s.email = ["hailey@hailey.lol"]
|
|
10
10
|
s.description = %q{Provides a better error page for Rails and other Rack apps. Includes source code inspection, a live REPL and local/instance variable inspection for all stack frames.}
|
|
11
11
|
s.summary = %q{Better error page for Rails and other Rack apps}
|
|
12
12
|
s.homepage = "https://github.com/BetterErrors/better_errors"
|
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.10.0
|
|
4
|
+
version: 2.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- Hailey Somerville
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -154,13 +154,16 @@ description: Provides a better error page for Rails and other Rack apps. Include
|
|
|
154
154
|
source code inspection, a live REPL and local/instance variable inspection for all
|
|
155
155
|
stack frames.
|
|
156
156
|
email:
|
|
157
|
-
-
|
|
157
|
+
- hailey@hailey.lol
|
|
158
158
|
executables: []
|
|
159
159
|
extensions: []
|
|
160
160
|
extra_rdoc_files: []
|
|
161
161
|
files:
|
|
162
162
|
- ".coveralls.yml"
|
|
163
|
+
- ".github/release-drafter.yml"
|
|
163
164
|
- ".github/workflows/ci.yml"
|
|
165
|
+
- ".github/workflows/draft_release_update.yml"
|
|
166
|
+
- ".github/workflows/pull_request.yml"
|
|
164
167
|
- ".github/workflows/release.yml"
|
|
165
168
|
- ".gitignore"
|
|
166
169
|
- ".ruby-version"
|
|
@@ -233,11 +236,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
233
236
|
version: 2.0.0
|
|
234
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
238
|
requirements:
|
|
236
|
-
- - "
|
|
239
|
+
- - ">="
|
|
237
240
|
- !ruby/object:Gem::Version
|
|
238
|
-
version:
|
|
241
|
+
version: '0'
|
|
239
242
|
requirements: []
|
|
240
|
-
rubygems_version: 3.1.
|
|
243
|
+
rubygems_version: 3.1.6
|
|
241
244
|
signing_key:
|
|
242
245
|
specification_version: 4
|
|
243
246
|
summary: Better error page for Rails and other Rack apps
|