hoe-debugging 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/README.rdoc +7 -2
- data/Rakefile +1 -0
- data/lib/hoe/debugging.rb +2 -1
- metadata +8 -8
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -2,10 +2,11 @@
|
|
2
2
|
|
3
3
|
* http://github.com/jbarnette/hoe-debugging
|
4
4
|
|
5
|
+
|
5
6
|
== Description
|
6
7
|
|
7
|
-
A Hoe plugin to help you debug your
|
8
|
-
<tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (
|
8
|
+
A Hoe plugin to help you debug your C extensions. This plugin provides
|
9
|
+
<tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (plus a few
|
9
10
|
variants).
|
10
11
|
|
11
12
|
See the Hoe::Debugging module for a few configuration options.
|
@@ -16,6 +17,7 @@ available in your <tt>PATH</tt>.
|
|
16
17
|
These tasks were extracted from nokogiri / johnson and originally written by
|
17
18
|
ruby legend, {Mike Dalessio}[http://mike.daless.io].
|
18
19
|
|
20
|
+
|
19
21
|
== Examples
|
20
22
|
|
21
23
|
# in your Rakefile
|
@@ -23,11 +25,14 @@ ruby legend, {Mike Dalessio}[http://mike.daless.io].
|
|
23
25
|
|
24
26
|
# in your shell
|
25
27
|
$ rake test:gdb
|
28
|
+
$ rake test:valgrind
|
29
|
+
|
26
30
|
|
27
31
|
== Installation
|
28
32
|
|
29
33
|
$ gem install hoe-debugging
|
30
34
|
|
35
|
+
|
31
36
|
== License
|
32
37
|
|
33
38
|
Copyright 2009
|
data/Rakefile
CHANGED
data/lib/hoe/debugging.rb
CHANGED
@@ -10,7 +10,7 @@ class Hoe #:nodoc:
|
|
10
10
|
# * <tt>test:valgrind:mem0</tt>
|
11
11
|
|
12
12
|
module Debugging
|
13
|
-
VERSION = "1.0.
|
13
|
+
VERSION = "1.0.5" #:nodoc:
|
14
14
|
|
15
15
|
##
|
16
16
|
# Optional: Used to add flags to GDB. [default: <tt>[]</tt>]
|
@@ -42,6 +42,7 @@ class Hoe #:nodoc:
|
|
42
42
|
cmd = []
|
43
43
|
if File.directory? "spec"
|
44
44
|
cmd << "-S rspec"
|
45
|
+
cmd << (ENV['FILTER'] || ENV['TESTOPTS'])
|
45
46
|
else
|
46
47
|
cmd << make_test_cmd
|
47
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-debugging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hoe
|
16
|
-
requirement: &
|
16
|
+
requirement: &16990920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *16990920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &16990480 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.10'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
description: ! 'A Hoe plugin to help you debug your
|
35
|
+
version_requirements: *16990480
|
36
|
+
description: ! 'A Hoe plugin to help you debug your C extensions. This plugin provides
|
37
37
|
|
38
|
-
<tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (
|
38
|
+
<tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (plus a few
|
39
39
|
|
40
40
|
variants).
|
41
41
|
|
@@ -90,5 +90,5 @@ rubyforge_project: hoe-debugging
|
|
90
90
|
rubygems_version: 1.8.15
|
91
91
|
signing_key:
|
92
92
|
specification_version: 3
|
93
|
-
summary: A Hoe plugin to help you debug your
|
93
|
+
summary: A Hoe plugin to help you debug your C extensions
|
94
94
|
test_files: []
|