hoe-debugging 1.0.4 → 1.0.5

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.
@@ -1,3 +1,7 @@
1
+ === 1.0.5 / 2012-06-19
2
+
3
+ * RSpec support now works with TESTOPTS.
4
+
1
5
  === 1.0.4 / 2012-06-19
2
6
 
3
7
  * Adding support for RSpec.
@@ -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 codes. This plugin provides
8
- <tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (with a few
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
@@ -2,6 +2,7 @@ require "rubygems"
2
2
  require "hoe"
3
3
 
4
4
  Hoe.plugin :git
5
+ Hoe.plugin :gemspec
5
6
 
6
7
  Hoe.spec "hoe-debugging" do
7
8
  developer "John Barnette", "jbarnette@rubyforge.org"
@@ -10,7 +10,7 @@ class Hoe #:nodoc:
10
10
  # * <tt>test:valgrind:mem0</tt>
11
11
 
12
12
  module Debugging
13
- VERSION = "1.0.4" #:nodoc:
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
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: &15683000 !ruby/object:Gem::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: *15683000
24
+ version_requirements: *16990920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &15682580 !ruby/object:Gem::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: *15682580
36
- description: ! 'A Hoe plugin to help you debug your codes. This plugin provides
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 (with a few
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 codes
93
+ summary: A Hoe plugin to help you debug your C extensions
94
94
  test_files: []