coverband_ext 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/coverband_ext.gemspec +0 -2
- data/ext/coverband_ext/coverband_ext.c +2 -3
- data/lib/coverband_ext/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58495ee39172c941f98ecc79d7cf72f359b84a4c
|
4
|
+
data.tar.gz: abd0b0e8ca6c3ca61b27014e3177655de99ea65e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bc2b55ff78514e7abb00784b5f7c6c1cf883727dd590b34593a7de444db94949c72423656313899e35e130d7fd4ea5b27ea80d8df97fd909cee410a6e3c03aa
|
7
|
+
data.tar.gz: 132872cda94fb21cdfe1ec3304685e36a26db9f94a55922478b7ad1134495d8eee3c4d740496daf200e55bfd041ea91e2ef17459e91e7835c034b239cf6c0961
|
data/coverband_ext.gemspec
CHANGED
@@ -61,8 +61,7 @@ cb_set_tracer(VALUE self) {
|
|
61
61
|
if(!rb_iv_get(self, "@tracer_set")) {
|
62
62
|
// NOTE: We are using rb_add_event_hook opposed to rb_tracepoint_new for 1.9.X compat
|
63
63
|
// not using higher level C functions of set_trace_func to avoid extra overhead we don't need since we only need the RUBY_EVENT_LINE hook as well as only needing file / line number opposed to everything else.
|
64
|
-
|
65
|
-
rb_add_event_hook(trace_line_handler_ext, RUBY_EVENT_LINE, 0);
|
64
|
+
rb_thread_add_event_hook(rb_thread_current(), trace_line_handler_ext, RUBY_EVENT_LINE, 0);
|
66
65
|
rb_iv_set(self, "@tracer_set", Qtrue);
|
67
66
|
}
|
68
67
|
return Qnil;
|
@@ -71,7 +70,7 @@ cb_set_tracer(VALUE self) {
|
|
71
70
|
static VALUE
|
72
71
|
cb_unset_tracer(VALUE self) {
|
73
72
|
if(rb_iv_get(self, "@tracer_set")) {
|
74
|
-
|
73
|
+
rb_thread_remove_event_hook(rb_thread_current(), trace_line_handler_ext);
|
75
74
|
rb_iv_set(self, "@tracer_set", Qfalse);
|
76
75
|
}
|
77
76
|
return Qnil;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coverband_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: coverband
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
description: C extension for fast coverband
|
56
42
|
email:
|
57
43
|
- dan.mayer@livingsocial.com
|
@@ -140,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
126
|
version: '0'
|
141
127
|
requirements: []
|
142
128
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.2.3
|
144
130
|
signing_key:
|
145
131
|
specification_version: 4
|
146
132
|
summary: C extension for fast coverband
|