byebug 2.2.1 → 2.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd86d998df7e4fd1df7269ddf72438a2623792b5
4
- data.tar.gz: 0f125b6a5654b3ef774f0e009312024ce63df907
3
+ metadata.gz: 6541893328ba036ff5ed811670bfc940b9fa1222
4
+ data.tar.gz: 1f61523cfd0e13a95a2a051a7b259ac1635c36c6
5
5
  SHA512:
6
- metadata.gz: f3ea7b37bdb6e6376b0d1c1058e99c71a64106d5895147691f28f567fdc95b2c2eac506aeefe172af7e7c8b4c1c8dba3dd47e26a694655685f8a8f037cc372de
7
- data.tar.gz: 15d579ce1035bcfa73390774839a6ff4e4eb4448a9bf17d6f9c245089fe5337baee132020adba790082713b85d22a88f490e70d82c26db32ce9b0d97cca2913c
6
+ metadata.gz: bff6dbb90362f18ef5ccc5bc5e64d5d60d420932dfd9ac71a1fcdaa5f263c91a9bbe987044410d9f49c1c82e9e7ce43c9f3ce67d45263f135d58fe15323644df
7
+ data.tar.gz: bdffa66981b5155c2327719fd25bb1ab0c154e4006be076577128670c5765f711b2b7b18178e2f69fb54cb9c2934c5aeb670ebeed43c6cbaedcb59bdaa166a9a
@@ -1,3 +1,8 @@
1
+ # 2.2.2
2
+
3
+ * Fix another compilation issue in 64 bit systems
4
+
5
+
1
6
  # 2.2.1
2
7
 
3
8
  * Fix compilation issue introduced by 2.2.0 (#26)
@@ -444,7 +444,7 @@ find_breakpoint_by_pos(VALUE breakpoints, VALUE source, VALUE pos,
444
444
 
445
445
  file = RSTRING_PTR(source);
446
446
  line = FIX2INT(pos);
447
- for (i = 0; i < RARRAY_LEN(breakpoints); i++)
447
+ for (i = 0; i < RARRAY_LENINT(breakpoints); i++)
448
448
  {
449
449
  breakpoint_object = rb_ary_entry(breakpoints, i);
450
450
  if (check_breakpoint_by_pos(breakpoint_object, file, line) &&
@@ -464,7 +464,7 @@ find_breakpoint_by_method(VALUE breakpoints, VALUE klass, ID mid, VALUE binding,
464
464
  VALUE breakpoint_object;
465
465
  int i;
466
466
 
467
- for (i = 0; i < RARRAY_LEN(breakpoints); i++)
467
+ for (i = 0; i < RARRAY_LENINT(breakpoints); i++)
468
468
  {
469
469
  breakpoint_object = rb_ary_entry(breakpoints, i);
470
470
  if (check_breakpoint_by_method(breakpoint_object, klass, mid, self) &&
@@ -355,7 +355,7 @@ raise_event(VALUE trace_point, void *data)
355
355
  }
356
356
 
357
357
  ancestors = rb_mod_ancestors(expn_class);
358
- for (i = 0; i < RARRAY_LEN(ancestors); i++)
358
+ for (i = 0; i < RARRAY_LENINT(ancestors); i++)
359
359
  {
360
360
  VALUE mod_name;
361
361
  VALUE hit_count;
@@ -413,7 +413,7 @@ register_tracepoints(VALUE self)
413
413
  tracepoints = traces;
414
414
  }
415
415
 
416
- for (i = 0; i < RARRAY_LEN(traces); i++)
416
+ for (i = 0; i < RARRAY_LENINT(traces); i++)
417
417
  rb_tracepoint_enable(rb_ary_entry(traces, i));
418
418
  }
419
419
 
@@ -422,7 +422,7 @@ clear_tracepoints(VALUE self)
422
422
  {
423
423
  int i;
424
424
 
425
- for (i = RARRAY_LEN(tracepoints)-1; i >= 0; i--)
425
+ for (i = RARRAY_LENINT(tracepoints)-1; i >= 0; i--)
426
426
  rb_tracepoint_disable(rb_ary_entry(tracepoints, i));
427
427
  }
428
428
 
@@ -450,7 +450,7 @@ bb_contexts(VALUE self)
450
450
  new_list = rb_ary_new();
451
451
  list = rb_funcall(rb_cThread, rb_intern("list"), 0);
452
452
 
453
- for (i = 0; i < RARRAY_LEN(list); i++)
453
+ for (i = 0; i < RARRAY_LENINT(list); i++)
454
454
  {
455
455
  VALUE thread = rb_ary_entry(list, i);
456
456
  thread_context_lookup(thread, &context);
@@ -460,7 +460,7 @@ bb_contexts(VALUE self)
460
460
  threads_clear(threads);
461
461
  Data_Get_Struct(threads, threads_table_t, t_tbl);
462
462
 
463
- for (i = 0; i < RARRAY_LEN(new_list); i++)
463
+ for (i = 0; i < RARRAY_LENINT(new_list); i++)
464
464
  {
465
465
  context = rb_ary_entry(new_list, i);
466
466
  Data_Get_Struct(context, debug_context_t, dc);
@@ -98,7 +98,7 @@ dc_frame_get(const debug_context_t *context, int frame_index,
98
98
  if (NIL_P(dc_backtrace(context)))
99
99
  rb_raise(rb_eRuntimeError, "Backtrace information is not available");
100
100
 
101
- if (frame_index >= RARRAY_LEN(dc_backtrace(context)))
101
+ if (frame_index >= RARRAY_LENINT(dc_backtrace(context)))
102
102
  rb_raise(rb_eRuntimeError, "That frame doesn't exist!");
103
103
 
104
104
  frame = rb_ary_entry(dc_backtrace(context), frame_index);
@@ -136,7 +136,7 @@ load_backtrace(const rb_debug_inspector_t *inspector)
136
136
  VALUE locs = rb_debug_inspector_backtrace_locations(inspector);
137
137
  int i;
138
138
 
139
- for (i=0; i<RARRAY_LEN(locs); i++)
139
+ for (i=0; i<RARRAY_LENINT(locs); i++)
140
140
  {
141
141
  VALUE frame = rb_ary_new();
142
142
  rb_ary_push(frame, rb_ary_entry(locs, i));
@@ -1,3 +1,3 @@
1
1
  module Byebug
2
- VERSION = '2.2.1'
2
+ VERSION = '2.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: byebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rodriguez
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-09-24 00:00:00.000000000 Z
13
+ date: 2013-09-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: columnize