hoe-debugging 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 679a04adbdbd53a503cc49c30867ec93f83dbba8
4
- data.tar.gz: e7e765f970762421bab7c9d67510bee1ac867917
3
+ metadata.gz: 35d6e015b401ba32ef53d3d72fc7beedf34e8a17
4
+ data.tar.gz: 7979d919b65bf5b448bd5e4303b14b01d478a20a
5
5
  SHA512:
6
- metadata.gz: 334ad4c506020d605d83b42af150341bedf873e24bb658796de597a9dd9c7a4b7ea170d42d1e9131abea67f819fbc77675e13fd1f03fc483e1e36f8b659b3469
7
- data.tar.gz: 947dc249ada2f340f861792b85639da5d1ddf43cc6623518815e2b043749ceb42dc9cfc78ea722f85b9102b75aa4db7c37f83bc7f2ebf98054cb4c5e837f3ef9
6
+ metadata.gz: 2c883caca56fcb3de78c3ca2888624097a79daeaab76889ac6f5d2f4425b9a376e3e811eb98b0eab6fd1de45c82788883417058e74098e543428da0a63fd8ac7
7
+ data.tar.gz: 87753338f248e30bfeb306b2477fc3fbb38ccd44bc0ff6d88a5c9d8cdb2c2928daba00f673a59762d3c388effa2c621b795df57223bfcb71ee15054fa35b6019
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ === 1.2.1 / 2015-12-16
2
+
3
+ Features:
4
+
5
+ * Set larger stack size (via `ulimit -s`) to properly support Ruby 2.1 and later
6
+
7
+
1
8
  === 1.2.0 / 2015-01-22
2
9
 
3
10
  Features:
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.2.0" #:nodoc:
13
+ VERSION = "1.2.1" #:nodoc:
14
14
 
15
15
  ##
16
16
  # Optional: Used to add flags to GDB. [default: <tt>[]</tt>]
@@ -54,7 +54,7 @@ class Hoe #:nodoc:
54
54
  end
55
55
 
56
56
  def hoe_debugging_run_valgrind command, cmdline_options=[]
57
- sh "valgrind #{cmdline_options.join(' ')} #{command}"
57
+ sh "#{hoe_debugging_valgrind_helper.valgrind} #{cmdline_options.join(' ')} #{command}"
58
58
  end
59
59
 
60
60
  def hoe_debugging_check_for_suppression_file options
@@ -170,8 +170,10 @@ class Hoe #:nodoc:
170
170
  nil
171
171
  end
172
172
 
173
- def valgrind command, options={}
174
- sh "valgrind #{vopts.join ' '} #{hoe_debugging_ruby} #{hoe_debugging_make_test_cmd}"
173
+ def valgrind
174
+ # note that valgrind will generally crap out on rubies >= 2.1
175
+ # unless we increase the max stack size beyond the default
176
+ "ulimit -s unlimited && valgrind"
175
177
  end
176
178
 
177
179
  private
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Barnette
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-22 00:00:00.000000000 Z
12
+ date: 2015-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -117,7 +117,6 @@ extra_rdoc_files:
117
117
  - Manifest.txt
118
118
  - README.rdoc
119
119
  files:
120
- - ".gemtest"
121
120
  - CHANGELOG.rdoc
122
121
  - Manifest.txt
123
122
  - README.rdoc
@@ -145,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
144
  version: '0'
146
145
  requirements: []
147
146
  rubyforge_project:
148
- rubygems_version: 2.4.5
147
+ rubygems_version: 2.4.8
149
148
  signing_key:
150
149
  specification_version: 4
151
150
  summary: A Hoe plugin to help you debug your C extensions
data/.gemtest DELETED
File without changes