readapt 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70b747008c76ef92ca4628babda7d807affaee949d9a08ba945dbb207d6b82d5
4
- data.tar.gz: 25efa50517df6cae16e565a9979eb35e133f57078e473c55b0d394260c96c1c8
3
+ metadata.gz: 576bfe9759ad1652ed7e1f9be3275e7edf0a6e18bc168f35a97b4b30a0a9728b
4
+ data.tar.gz: 77c1174abc7c9c3af32f383ad08eaa530580386c2c1bc9547d1021839ff52e6a
5
5
  SHA512:
6
- metadata.gz: eaf13a0d530de1dc329813c56b7b94272764aba2b82f984dc0efe4ab0e54abd3bcc97b7fc8749d603f25b056ef1258334faecafc3150a0e050f04abc20ba7771
7
- data.tar.gz: 144896884b4fa35e62436287e5ce29868d9d93f0cf4c7ab01ca756b87a62f0586a22d7e401f150ad64b8003eaf257953bbd1d805eae17efbc1416fc2ff70eb69
6
+ metadata.gz: f1f25315559f32d7d5e1e4577abdbefca704bfd3e40678bb830ec7ad9e01ec6bb5e10cb0056a68d2e05434651d72331d5347f8096c5bc7bbd4122a6dbdae2e99
7
+ data.tar.gz: 0a8bb70abe9d5e9b8b856a2d42c27dc29e17b0e7242a20fcda56ba2977803eceb7b7e1ba69b5d8e14d91ccdc0dd4671d67021d0a05df59cc392f7344592b9d9c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.3.3 - August 12, 2019
2
+ - Remove RB_NIL_P for backwards compatibility
3
+
1
4
  # 0.3.2 - August 11, 2019
2
5
  - Unnecessary thread in Backport.run
3
6
 
@@ -103,7 +103,7 @@ process_line_event(VALUE tracepoint, void *data)
103
103
  ID dapEvent, result;
104
104
 
105
105
  ref = thread_current_reference();
106
- if (!RB_NIL_P(ref))
106
+ if (ref != Qnil)
107
107
  {
108
108
  ptr = thread_reference_pointer(ref);
109
109
  if (ptr->depth > 0 /*|| !firstLineEvent*/)
@@ -163,7 +163,7 @@ process_call_event(VALUE tracepoint, void *data)
163
163
  thread_reference_t *ptr;
164
164
 
165
165
  ref = thread_current_reference();
166
- if (!RB_NIL_P(ref))
166
+ if (ref != Qnil)
167
167
  {
168
168
  ptr = thread_reference_pointer(ref);
169
169
  ptr->depth++;
@@ -177,7 +177,7 @@ process_return_event(VALUE tracepoint, void *data)
177
177
  thread_reference_t *ptr;
178
178
 
179
179
  ref = thread_current_reference();
180
- if (!RB_NIL_P(ref))
180
+ if (ref != Qnil)
181
181
  {
182
182
  ptr = thread_reference_pointer(ref);
183
183
  ptr->depth--;
@@ -192,14 +192,14 @@ process_thread_begin_event(VALUE tracepoint, void *data)
192
192
 
193
193
  list = rb_funcall(rb_cThread, rb_intern("list"), 0);
194
194
  here = rb_ary_pop(list);
195
- if (!RB_NIL_P(here))
195
+ if (here != Qnil)
196
196
  {
197
197
  prev = rb_ary_pop(list);
198
198
  {
199
- if (!RB_NIL_P(prev))
199
+ if (prev != Qnil)
200
200
  {
201
201
  ref = thread_reference(prev);
202
- if (!RB_NIL_P(ref))
202
+ if (ref != Qnil)
203
203
  {
204
204
  ref = thread_add_reference(here);
205
205
  ptr = thread_reference_pointer(ref);
@@ -224,7 +224,7 @@ process_thread_end_event(VALUE tracepoint, void *data)
224
224
 
225
225
  thr = rb_thread_current();
226
226
  ref = thread_reference(thr);
227
- if (!RB_NIL_P(ref))
227
+ if (ref != Qnil)
228
228
  {
229
229
  ptr = thread_reference_pointer(ref);
230
230
  monitor_debug(ptr->prev_file, ptr->prev_line, tracepoint, ptr, rb_intern("thread_end"));
@@ -288,7 +288,7 @@ monitor_pause_s(VALUE self, VALUE id)
288
288
  thread_reference_t *ptr;
289
289
 
290
290
  ref = thread_reference_id(id);
291
- if (!RB_NIL_P(ref))
291
+ if (ref != Qnil)
292
292
  {
293
293
  ptr = thread_reference_pointer(ref);
294
294
  ptr->control = rb_intern("pause");
@@ -1,3 +1,3 @@
1
1
  module Readapt
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: readapt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Snyder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-11 00:00:00.000000000 Z
11
+ date: 2019-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backport