backtracie 0.1.0 → 0.3.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/.editorconfig +4 -0
- data/README.adoc +107 -2
- data/backtracie.gemspec +11 -2
- data/ext/backtracie_native_extension/backtracie.c +235 -75
- data/ext/backtracie_native_extension/extconf.rb +76 -1
- data/ext/backtracie_native_extension/ruby_shards.c +533 -0
- data/ext/backtracie_native_extension/{ruby_3.0.0.c → ruby_shards.h} +81 -107
- data/lib/backtracie/location.rb +12 -1
- data/lib/backtracie/version.rb +1 -1
- data/lib/backtracie.rb +11 -2
- metadata +29 -17
- data/.gitignore +0 -33
- data/.rspec +0 -2
- data/.ruby-version +0 -1
- data/.standard.yml +0 -14
- data/DEVELOPMENT_NOTES.adoc +0 -399
- data/Rakefile +0 -29
- data/bin/console +0 -8
- data/bin/setup +0 -8
- data/ext/backtracie_native_extension/ruby_3.0.0.h +0 -7
- data/gems.rb +0 -15
data/Rakefile
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# backtracie: Ruby gem for beautiful backtraces
|
4
|
-
# Copyright (C) 2021 Ivo Anjo <ivo@ivoanjo.me>
|
5
|
-
#
|
6
|
-
# This file is part of backtracie.
|
7
|
-
#
|
8
|
-
# backtracie is free software: you can redistribute it and/or modify
|
9
|
-
# it under the terms of the GNU Lesser General Public License as published by
|
10
|
-
# the Free Software Foundation, either version 3 of the License, or
|
11
|
-
# (at your option) any later version.
|
12
|
-
#
|
13
|
-
# backtracie is distributed in the hope that it will be useful,
|
14
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
-
# GNU Lesser General Public License for more details.
|
17
|
-
#
|
18
|
-
# You should have received a copy of the GNU Lesser General Public License
|
19
|
-
# along with backtracie. If not, see <http://www.gnu.org/licenses/>.
|
20
|
-
|
21
|
-
require "bundler/gem_tasks"
|
22
|
-
require "rspec/core/rake_task"
|
23
|
-
require "standard/rake"
|
24
|
-
require "rake/extensiontask"
|
25
|
-
|
26
|
-
RSpec::Core::RakeTask.new(:spec)
|
27
|
-
Rake::ExtensionTask.new("backtracie_native_extension")
|
28
|
-
|
29
|
-
task default: [:compile, :spec, :'standard:fix']
|
data/bin/console
DELETED
data/bin/setup
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
#ifndef RUBY_3_0_0_H
|
2
|
-
#define RUBY_3_0_0_H
|
3
|
-
|
4
|
-
int modified_rb_profile_frames(int start, int limit, VALUE *buff, VALUE *correct_labels, int *lines);
|
5
|
-
int modified_rb_profile_frames_for_thread(VALUE thread, int start, int limit, VALUE *buff, VALUE *correct_labels, int *lines);
|
6
|
-
|
7
|
-
#endif
|
data/gems.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
# Development dependencies
|
8
|
-
gem "rake", "~> 13.0"
|
9
|
-
gem "rake-compiler", "~> 1.1"
|
10
|
-
gem "rspec", "~> 3.10"
|
11
|
-
|
12
|
-
# Tools
|
13
|
-
gem "pry"
|
14
|
-
gem "pry-byebug"
|
15
|
-
gem "standard", "~> 1.0"
|