debase 0.2.6 → 0.2.8
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/.gitignore +1 -0
- data/.idea/vcs.xml +28 -0
- data/ext/debase_internals.c +6 -4
- data/ext/extconf.rb +20 -3
- data/lib/debase/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93e33f5100d3d8b028473b4029e0a00d5afea0d50bc6f1632acdfadb3e026d17
|
4
|
+
data.tar.gz: 2965496b5e18dccb35d0690fa79580240bbe4aea481bafaad326c9842d227547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f57cac25d5896572046875bc687f641842a2eaede65bc8a6e0089c22b32f3634f860cd2f9c090061654d1ecc43b9891b38f25d834371b0729966a1c7c0938fb
|
7
|
+
data.tar.gz: b6ae4a026a7ace177bdb8d2c7a089589557fc3c3ca4a1f6aba3f0242435dc7cc4be275922b98f0c991bae9b8c85cbd94de3a6643f0e25097816e642c5181b8bf
|
data/.gitignore
CHANGED
data/.idea/vcs.xml
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="IssueNavigationConfiguration">
|
4
|
+
<option name="links">
|
5
|
+
<list>
|
6
|
+
<IssueNavigationLink>
|
7
|
+
<option name="issueRegexp" value="[A-Z]+\-\d+" />
|
8
|
+
<option name="linkRegexp" value="http://youtrack.jetbrains.com/issue/$0" />
|
9
|
+
</IssueNavigationLink>
|
10
|
+
<IssueNavigationLink>
|
11
|
+
<option name="issueRegexp" value="RUBYMINE-CR-(\d+)" />
|
12
|
+
<option name="linkRegexp" value="https://jetbrains.team/p/rubymine/reviews/$1/timeline" />
|
13
|
+
</IssueNavigationLink>
|
14
|
+
<IssueNavigationLink>
|
15
|
+
<option name="issueRegexp" value="([\w-_]+/[\w-_]+)#(\d+)" />
|
16
|
+
<option name="linkRegexp" value="https://github.com/$1/issues/$2" />
|
17
|
+
</IssueNavigationLink>
|
18
|
+
<IssueNavigationLink>
|
19
|
+
<option name="issueRegexp" value="#(\d+)" />
|
20
|
+
<option name="linkRegexp" value="https://github.com/ruby-debug/debase/issues/$1" />
|
21
|
+
</IssueNavigationLink>
|
22
|
+
</list>
|
23
|
+
</option>
|
24
|
+
</component>
|
25
|
+
<component name="VcsDirectoryMappings">
|
26
|
+
<mapping directory="" vcs="Git" />
|
27
|
+
</component>
|
28
|
+
</project>
|
data/ext/debase_internals.c
CHANGED
@@ -316,8 +316,8 @@ call_at_line(debug_context_t *context, char *file, int line, VALUE context_objec
|
|
316
316
|
int count_stack_size() {
|
317
317
|
rb_thread_t *thread = ruby_current_thread;
|
318
318
|
rb_control_frame_t *last_cfp = TH_CFP(thread);
|
319
|
-
rb_control_frame_t *start_cfp = RUBY_VM_END_CONTROL_FRAME(TH_INFO(thread));
|
320
|
-
rb_control_frame_t *cfp;
|
319
|
+
const rb_control_frame_t *start_cfp = (rb_control_frame_t *)RUBY_VM_END_CONTROL_FRAME(TH_INFO(thread));
|
320
|
+
const rb_control_frame_t *cfp;
|
321
321
|
|
322
322
|
ptrdiff_t size, i;
|
323
323
|
|
@@ -715,12 +715,14 @@ Debase_enable_file_filtering(VALUE self, VALUE value)
|
|
715
715
|
}
|
716
716
|
}
|
717
717
|
#else
|
718
|
-
static
|
718
|
+
static VALUE
|
719
719
|
Debase_set_trace_flag_to_iseq(VALUE self, VALUE rb_iseq) {
|
720
|
+
return Qnil;
|
720
721
|
}
|
721
722
|
|
722
|
-
static
|
723
|
+
static VALUE
|
723
724
|
Debase_unset_trace_flags(VALUE self, VALUE rb_iseq) {
|
725
|
+
return Qnil;
|
724
726
|
}
|
725
727
|
#endif
|
726
728
|
|
data/ext/extconf.rb
CHANGED
@@ -39,14 +39,31 @@ hdrs = proc {
|
|
39
39
|
# $CFLAGS='-fPIC -fno-strict-aliasing -g3 -ggdb -O2 -fPIC'
|
40
40
|
config_file = File.join(File.dirname(__FILE__), 'config_options.rb')
|
41
41
|
load config_file if File.exist?(config_file)
|
42
|
+
cflags = [$CFLAGS]
|
43
|
+
cflags.push(*%w[
|
44
|
+
-Werror=implicit-function-declaration
|
45
|
+
-Werror=discarded-qualifiers
|
46
|
+
-Werror=incompatible-pointer-types
|
47
|
+
])
|
48
|
+
|
49
|
+
if RbConfig::MAKEFILE_CONFIG['CC'].include?('clang')
|
50
|
+
cflags.push(*%w[
|
51
|
+
-Werror=incompatible-function-pointer-types
|
52
|
+
])
|
53
|
+
end
|
42
54
|
|
43
|
-
$CFLAGS += ' -Werror=implicit-function-declaration'
|
44
55
|
|
45
56
|
if ENV['debase_debug']
|
46
|
-
|
47
|
-
|
57
|
+
cflags.push(*%w[
|
58
|
+
-Wall
|
59
|
+
-Werror
|
60
|
+
-g3
|
61
|
+
])
|
48
62
|
end
|
49
63
|
|
64
|
+
$CFLAGS += ' ' + cflags.join(' ')
|
65
|
+
|
66
|
+
|
50
67
|
dir_config("ruby")
|
51
68
|
if !Debase::RubyCoreSource.create_makefile_with_core(hdrs, "debase_internals")
|
52
69
|
STDERR.print("Makefile creation failed\n")
|
data/lib/debase/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandr Evstigneev
|
8
8
|
- Dennis Ushakov
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2024-
|
12
|
+
date: 2024-12-14 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: debase-ruby_core_source
|
@@ -67,6 +68,7 @@ extensions:
|
|
67
68
|
extra_rdoc_files: []
|
68
69
|
files:
|
69
70
|
- ".gitignore"
|
71
|
+
- ".idea/vcs.xml"
|
70
72
|
- ".travis.yml"
|
71
73
|
- Gemfile
|
72
74
|
- LICENSE
|
@@ -122,6 +124,7 @@ homepage: https://github.com/ruby-debug/debase
|
|
122
124
|
licenses:
|
123
125
|
- MIT
|
124
126
|
metadata: {}
|
127
|
+
post_install_message:
|
125
128
|
rdoc_options: []
|
126
129
|
require_paths:
|
127
130
|
- lib
|
@@ -136,7 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
139
|
- !ruby/object:Gem::Version
|
137
140
|
version: '0'
|
138
141
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.5.23
|
143
|
+
signing_key:
|
140
144
|
specification_version: 4
|
141
145
|
summary: debase is a fast implementation of the standard Ruby debugger debug.rb for
|
142
146
|
Ruby 2.0+
|