cxxproject_valgrind 1.0.1 → 1.0.4

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.
data/Rakefile.rb CHANGED
@@ -4,7 +4,7 @@ require 'rubygems/package_task'
4
4
  desc "Default Task"
5
5
  task :default => [:install]
6
6
 
7
- PKG_VERSION = "1.0.1"
7
+ PKG_VERSION = "1.0.4"
8
8
  PKG_FILES = FileList[
9
9
  "lib/**/*.rb",
10
10
  "Rakefile.rb",
@@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s|
22
22
  s.require_path = "lib"
23
23
  s.author = "christian koestlin"
24
24
  s.email = "christian.koestlin@gmail.com"
25
- s.homepage = "https://github.com/marcmo/cxxproject_valgrind"
25
+ s.homepage = 'http://marcmo.github.com/cxxproject/'
26
26
  s.add_dependency("cxxproject")
27
27
  end
28
28
 
@@ -9,7 +9,7 @@ cxx_plugin do |cxxproject2rake, building_blocks, log|
9
9
  else
10
10
  cxxproject2rake.create_filter_task_with_namespace(:valgrind)
11
11
  end
12
- puts building_blocks
12
+
13
13
  building_blocks.each_value.to_a.select do |bb|
14
14
  bb.is_a? Cxxproject::Executable
15
15
  end.each do |bb|
@@ -18,7 +18,8 @@ cxx_plugin do |cxxproject2rake, building_blocks, log|
18
18
  namespace 'valgrind' do
19
19
  desc "run executable #{executable} with valgrind"
20
20
  res = task name => executable do |t|
21
- sh "valgrind #{executable}"
21
+ args = ENV['args'] ? ' ' + ENV['args'] : ''
22
+ sh "valgrind --leak-check=full #{executable}#{args}"
22
23
  end
23
24
  res.type = Rake::Task::RUN
24
25
  res
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cxxproject_valgrind
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-10 00:00:00.000000000 Z
12
+ date: 2012-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cxxproject
@@ -35,9 +35,9 @@ executables: []
35
35
  extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
- - lib/plugin.rb
38
+ - lib/cxxproject_valgrind/plugin.rb
39
39
  - Rakefile.rb
40
- homepage: https://github.com/marcmo/cxxproject_valgrind
40
+ homepage: http://marcmo.github.com/cxxproject/
41
41
  licenses: []
42
42
  post_install_message:
43
43
  rdoc_options: []