hoe-debugging 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hoe/debugging.rb +6 -6
  2. metadata +9 -9
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.2" #:nodoc:
13
+ VERSION = "1.0.3" #:nodoc:
14
14
 
15
15
  ##
16
16
  # Optional: Used to add flags to GDB. [default: <tt>[]</tt>]
@@ -33,7 +33,7 @@ class Hoe #:nodoc:
33
33
  "--undef-value-errors=no"]
34
34
  end
35
35
 
36
- def ruby
36
+ def hoe_debugging_ruby
37
37
  # http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/151376
38
38
  @ruby ||= File.join(Config::CONFIG["bindir"], (Config::CONFIG["RUBY_INSTALL_NAME"] + Config::CONFIG["EXEEXT"]))
39
39
  end
@@ -42,26 +42,26 @@ class Hoe #:nodoc:
42
42
  if File.directory? "test" then
43
43
  desc "Run the test suite under GDB."
44
44
  task "test:gdb" do
45
- sh "gdb #{gdb_options.join ' '} --args #{ruby} #{make_test_cmd}"
45
+ sh "gdb #{gdb_options.join ' '} --args #{hoe_debugging_ruby} #{make_test_cmd}"
46
46
  end
47
47
 
48
48
  desc "Run the test suite under Valgrind."
49
49
  task "test:valgrind" do
50
- sh "valgrind #{valgrind_options.join ' '} #{ruby} #{make_test_cmd}"
50
+ sh "valgrind #{valgrind_options.join ' '} #{hoe_debugging_ruby} #{make_test_cmd}"
51
51
  end
52
52
 
53
53
  desc "Run the test suite under Valgrind with memory-fill."
54
54
  task "test:valgrind:mem" do
55
55
  sh "valgrind #{valgrind_options.join ' '} " +
56
56
  "--freelist-vol=100000000 --malloc-fill=6D --free-fill=66 " +
57
- "#{ruby} #{make_test_cmd}"
57
+ "#{hoe_debugging_ruby} #{make_test_cmd}"
58
58
  end
59
59
 
60
60
  desc "Run the test suite under Valgrind with memory-zero."
61
61
  task "test:valgrind:mem0" do
62
62
  sh "valgrind #{valgrind_options.join ' '} " +
63
63
  "--freelist-vol=100000000 --malloc-fill=00 --free-fill=00 " +
64
- "#{ruby} #{make_test_cmd}"
64
+ "#{hoe_debugging_ruby} #{make_test_cmd}"
65
65
  end
66
66
  end
67
67
  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.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-13 00:00:00.000000000 Z
12
+ date: 2012-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hoe
16
- requirement: &12499180 !ruby/object:Gem::Requirement
16
+ requirement: &18083060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,18 +21,18 @@ dependencies:
21
21
  version: 2.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12499180
24
+ version_requirements: *18083060
25
25
  - !ruby/object:Gem::Dependency
26
- name: hoe
27
- requirement: &12498760 !ruby/object:Gem::Requirement
26
+ name: rdoc
27
+ requirement: &18082580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: '2.12'
32
+ version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *12498760
35
+ version_requirements: *18082580
36
36
  description: ! 'A Hoe plugin to help you debug your codes. This plugin provides
37
37
 
38
38
  <tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (with a few
@@ -57,8 +57,8 @@ executables: []
57
57
  extensions: []
58
58
  extra_rdoc_files:
59
59
  - Manifest.txt
60
- - CHANGELOG.rdoc
61
60
  - README.rdoc
61
+ - CHANGELOG.rdoc
62
62
  files:
63
63
  - CHANGELOG.rdoc
64
64
  - Manifest.txt