debase 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/debase_internals.c +5 -3
- data/ext/extconf.rb +20 -3
- data/lib/debase/version.rb +1 -1
- metadata +6 -6
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/ext/debase_internals.c
CHANGED
@@ -316,7 +316,7 @@ 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
|
-
const rb_control_frame_t *start_cfp = RUBY_VM_END_CONTROL_FRAME(TH_INFO(thread));
|
319
|
+
const rb_control_frame_t *start_cfp = (rb_control_frame_t *)RUBY_VM_END_CONTROL_FRAME(TH_INFO(thread));
|
320
320
|
const rb_control_frame_t *cfp;
|
321
321
|
|
322
322
|
ptrdiff_t size, i;
|
@@ -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 -Werror=discarded-qualifiers'
|
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,15 +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
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-12-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|
@@ -124,7 +124,7 @@ homepage: https://github.com/ruby-debug/debase
|
|
124
124
|
licenses:
|
125
125
|
- MIT
|
126
126
|
metadata: {}
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
130
130
|
- lib
|
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
143
|
-
signing_key:
|
142
|
+
rubygems_version: 3.5.23
|
143
|
+
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: debase is a fast implementation of the standard Ruby debugger debug.rb for
|
146
146
|
Ruby 2.0+
|