solid_errors 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/solid_errors/errors_controller.rb +34 -0
- data/app/models/solid_errors/error.rb +22 -0
- data/app/models/solid_errors/occurrence.rb +21 -0
- data/app/models/solid_errors/record.rb +11 -0
- data/app/views/layouts/application.html.erb +987 -0
- data/app/views/solid_errors/errors/_actions.html.erb +12 -0
- data/app/views/solid_errors/errors/_error.html.erb +24 -0
- data/app/views/solid_errors/errors/index.html.erb +18 -0
- data/app/views/solid_errors/errors/show.html.erb +101 -0
- data/app/views/solid_errors/occurrences/_collection.html.erb +25 -0
- data/app/views/solid_errors/occurrences/_occurrence.html.erb +46 -0
- data/config/routes.rb +5 -0
- data/lib/solid_errors/backtrace.rb +48 -0
- data/lib/solid_errors/backtrace_line.rb +113 -0
- data/lib/solid_errors/engine.rb +23 -0
- data/lib/solid_errors/subscriber.rb +59 -0
- data/lib/solid_errors/version.rb +1 -1
- data/lib/solid_errors.rb +2 -2
- metadata +33 -11
- data/.standard.yml +0 -3
- data/CHANGELOG.md +0 -5
- data/CODE_OF_CONDUCT.md +0 -84
- data/Gemfile +0 -12
- data/LICENSE.txt +0 -21
- data/sig/solid_errors.rbs +0 -4
- data/solid_errors.gemspec +0 -36
data/Gemfile
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2024 Stephen Margheim
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/sig/solid_errors.rbs
DELETED
data/solid_errors.gemspec
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/solid_errors/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "solid_errors"
|
7
|
-
spec.version = SolidErrors::VERSION
|
8
|
-
spec.authors = ["Stephen Margheim"]
|
9
|
-
spec.email = ["stephen.margheim@gmail.com"]
|
10
|
-
|
11
|
-
spec.summary = "Database-backed Rails error subscriber"
|
12
|
-
spec.homepage = "https://github.com/fractaledmind/solid_errors"
|
13
|
-
spec.license = "MIT"
|
14
|
-
spec.required_ruby_version = ">= 2.6.0"
|
15
|
-
|
16
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
-
spec.metadata["source_code_uri"] = "https://github.com/fractaledmind/solid_errors"
|
18
|
-
spec.metadata["changelog_uri"] = "https://github.com/fractaledmind/solid_errors/blob/main/CHANGELOG.md"
|
19
|
-
|
20
|
-
# Specify which files should be added to the gem when it is released.
|
21
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
24
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
25
|
-
end
|
26
|
-
end
|
27
|
-
spec.bindir = "exe"
|
28
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
29
|
-
spec.require_paths = ["lib"]
|
30
|
-
|
31
|
-
# Uncomment to register a new dependency of your gem
|
32
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
33
|
-
|
34
|
-
# For more information and examples about making a new gem, check out our
|
35
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
36
|
-
end
|