bleak_house 3.7 → 3.7.1

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/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
+ v3.7.1. Fix some nil issues with corrupted dumps (cody caughlan).
3
+
2
4
  v3.7. Sample object contents. Restore Rails 1.2.x compatibility.
3
5
 
4
6
  v3.6. Rails 2.0.2 compatibility.
data/README CHANGED
@@ -7,9 +7,9 @@ A library for finding memory leaks.
7
7
 
8
8
  Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file. Portions copyright 2006 Eric Hodel and used with permission. See the included LICENSE_BSD file.
9
9
 
10
- The public certificate for this gem is here[link:http://rubyforge.org/frs/download.php/25331/evan_weaver-original-public_cert.pem].
10
+ The public certificate for this gem is here[http://rubyforge.org/frs/download.php/25331/evan_weaver-original-public_cert.pem].
11
11
 
12
- If you like this software, please {make a donation to charity}[link:http://blog.evanweaver.com/donate/] or {recommend Evan}[link:http://www.workingwithrails.com/person/7739-evan-weaver] at Working with Rails.
12
+ If you use this software, please {make a donation}[http://blog.evanweaver.com/donate/], or {recommend Evan}[http://www.workingwithrails.com/person/7739-evan-weaver] at Working with Rails.
13
13
 
14
14
  == Features
15
15
 
data/bleak_house.gemspec CHANGED
@@ -1,24 +1,26 @@
1
1
 
2
- # Gem::Specification for Bleak_house-3.7
2
+ # Gem::Specification for Bleak_house-3.7.1
3
3
  # Originally generated by Echoe
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{bleak_house}
7
- s.version = "3.7"
7
+ s.version = "3.7.1"
8
8
 
9
9
  s.specification_version = 2 if s.respond_to? :specification_version=
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Evan Weaver"]
13
- s.date = %q{2008-01-17}
13
+ s.date = %q{2008-03-30}
14
14
  s.default_executable = %q{bleak}
15
15
  s.description = %q{A library for finding memory leaks.}
16
16
  s.email = %q{}
17
17
  s.executables = ["bleak"]
18
18
  s.extensions = ["ext/bleak_house/logger/extconf.rb"]
19
+ s.extra_rdoc_files = ["CHANGELOG", "ext/bleak_house/logger/snapshot.c", "lib/bleak_house/analyzer/analyzer.rb", "lib/bleak_house/analyzer.rb", "lib/bleak_house/logger/source.rb", "lib/bleak_house/logger.rb", "lib/bleak_house/rails/bleak_house.rb", "LICENSE", "LICENSE_BSD", "README", "TODO"]
19
20
  s.files = ["bin/bleak", "CHANGELOG", "ext/bleak_house/logger/build_logger.rb", "ext/bleak_house/logger/build_ruby.rb", "ext/bleak_house/logger/extconf.rb", "ext/bleak_house/logger/snapshot.c", "ext/bleak_house/logger/snapshot.h", "init.rb", "install.rb", "lib/bleak_house/analyzer/analyzer.rb", "lib/bleak_house/analyzer.rb", "lib/bleak_house/logger/source.rb", "lib/bleak_house/logger.rb", "lib/bleak_house/rails/action_controller.rb", "lib/bleak_house/rails/bleak_house.rb", "lib/bleak_house/rails/dispatcher.rb", "lib/bleak_house/rails.rb", "lib/bleak_house/support/core_extensions.rb", "lib/bleak_house.rb", "LICENSE", "LICENSE_BSD", "Manifest", "README", "ruby/gc.c.patch", "ruby/parse.y.patch", "ruby/ruby-1.8.6-p110.tar.bz2", "test/integration/app/app/controllers/application.rb", "test/integration/app/app/controllers/items_controller.rb", "test/integration/app/app/helpers/application_helper.rb", "test/integration/app/app/helpers/items_helper.rb", "test/integration/app/app/views/items/index.rhtml", "test/integration/app/config/boot.rb", "test/integration/app/config/database.yml", "test/integration/app/config/environment.rb", "test/integration/app/config/environments/development.rb", "test/integration/app/config/environments/production.rb", "test/integration/app/config/environments/test.rb", "test/integration/app/config/initializers/inflections.rb", "test/integration/app/config/initializers/mime_types.rb", "test/integration/app/config/routes.rb", "test/integration/app/doc/README_FOR_APP", "test/integration/app/public/404.html", "test/integration/app/public/422.html", "test/integration/app/public/500.html", "test/integration/app/public/dispatch.cgi", "test/integration/app/public/dispatch.fcgi", "test/integration/app/public/dispatch.rb", "test/integration/app/public/favicon.ico", "test/integration/app/public/images/rails.png", "test/integration/app/public/javascripts/application.js", "test/integration/app/public/javascripts/controls.js", "test/integration/app/public/javascripts/dragdrop.js", "test/integration/app/public/javascripts/effects.js", "test/integration/app/public/javascripts/prototype.js", "test/integration/app/public/robots.txt", "test/integration/app/Rakefile", "test/integration/app/README", "test/integration/app/script/about", "test/integration/app/script/console", "test/integration/app/script/destroy", "test/integration/app/script/generate", "test/integration/app/script/performance/benchmarker", "test/integration/app/script/performance/profiler", "test/integration/app/script/performance/request", "test/integration/app/script/plugin", "test/integration/app/script/process/inspector", "test/integration/app/script/process/reaper", "test/integration/app/script/process/spawner", "test/integration/app/script/runner", "test/integration/app/script/server", "test/integration/app/test/functional/items_controller_test.rb", "test/integration/app/test/test_helper.rb", "test/integration/server_test.rb", "test/misc/direct.rb", "test/test_helper.rb", "test/unit/test_bleak_house.rb", "TODO", "bleak_house.gemspec"]
20
21
  s.has_rdoc = true
21
22
  s.homepage = %q{http://blog.evanweaver.com/files/doc/fauna/bleak_house/}
23
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Bleak_house", "--main", "README"]
22
24
  s.require_paths = ["lib", "ext"]
23
25
  s.rubyforge_project = %q{fauna}
24
26
  s.rubygems_version = %q{1.0.1}
@@ -1,4 +1,5 @@
1
1
 
2
+ require 'thread'
2
3
  require 'ccsv'
3
4
  # require 'memory'
4
5
  require 'fileutils'
@@ -105,19 +106,18 @@ module BleakHouse
105
106
  if (int = row[0].to_i) != 0
106
107
  row[0] = int
107
108
  else
108
- row[0] = row[0].to_sym
109
+ row[0] = row[0] ? row[0].to_sym : 0
109
110
  end
110
111
 
111
112
  if (int = row[1].to_i) != 0
112
113
  row[1] = int
113
114
  else
114
- row[1] = row[1].to_sym
115
+ row[1] = row[1] ? row[1].to_sym : 0
115
116
  end
116
117
 
117
118
  if row[2]
118
119
  row[2] = row[2].gsub(/0x[\da-f]{8,16}/, "0xID").to_sym
119
120
  end
120
-
121
121
  row
122
122
  end
123
123
 
@@ -157,6 +157,7 @@ module BleakHouse
157
157
 
158
158
  final[:deaths] = [] # Uses an Array to work around a Marshal bug
159
159
  deaths.each do |key|
160
+ next unless final[:objects][key]
160
161
  final[:deaths] << [key, [final[:objects][key].first]] # Don't need the sample content for deaths
161
162
  end
162
163
 
@@ -1,4 +1,6 @@
1
1
 
2
+ #:stopdoc:
3
+
2
4
  # Doesn't work
3
5
 
4
6
  module BleakHouse
@@ -14,4 +16,6 @@ class String
14
16
  include BleakHouse::Source
15
17
  end
16
18
 
17
- String.new
19
+ String.new
20
+
21
+ #:startdoc:
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bleak_house
3
3
  version: !ruby/object:Gem::Version
4
- version: "3.7"
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Weaver
@@ -30,7 +30,7 @@ cert_chain:
30
30
  yZ0=
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2008-01-17 00:00:00 -05:00
33
+ date: 2008-03-30 00:00:00 -04:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
@@ -48,8 +48,18 @@ executables:
48
48
  - bleak
49
49
  extensions:
50
50
  - ext/bleak_house/logger/extconf.rb
51
- extra_rdoc_files: []
52
-
51
+ extra_rdoc_files:
52
+ - CHANGELOG
53
+ - ext/bleak_house/logger/snapshot.c
54
+ - lib/bleak_house/analyzer/analyzer.rb
55
+ - lib/bleak_house/analyzer.rb
56
+ - lib/bleak_house/logger/source.rb
57
+ - lib/bleak_house/logger.rb
58
+ - lib/bleak_house/rails/bleak_house.rb
59
+ - LICENSE
60
+ - LICENSE_BSD
61
+ - README
62
+ - TODO
53
63
  files:
54
64
  - bin/bleak
55
65
  - CHANGELOG
@@ -132,8 +142,13 @@ files:
132
142
  has_rdoc: true
133
143
  homepage: http://blog.evanweaver.com/files/doc/fauna/bleak_house/
134
144
  post_install_message:
135
- rdoc_options: []
136
-
145
+ rdoc_options:
146
+ - --line-numbers
147
+ - --inline-source
148
+ - --title
149
+ - Bleak_house
150
+ - --main
151
+ - README
137
152
  require_paths:
138
153
  - lib
139
154
  - ext
metadata.gz.sig CHANGED
Binary file