bleak_house 7.1 → 7.2

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,16 +0,0 @@
1
-
2
- namespace :bleak_house do
3
- desc 'Analyze and chart all data'
4
- task :analyze do
5
- begin
6
- gem 'gruff', '= 0.2.8' # fail early if gruff is missing
7
- require "#{File.dirname(__FILE__)}/../lib/bleak_house/analyze"
8
- puts "loaded vendor/plugins version"
9
- rescue LoadError
10
- require 'bleak_house/analyze'
11
- puts "loaded gem version"
12
- end
13
- BleakHouse::Analyze.build_all("#{RAILS_ROOT}/log/bleak_house_#{RAILS_ENV}.yaml.log")
14
- end
15
- end
16
-
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env ruby-bleak-house
2
-
3
- require 'rubygems'
4
- require 'bleak_house/c'
5
- $memlogger = BleakHouse::CLogger.new
6
- File.delete($logfile = "/tmp/log") rescue nil
7
-
8
- puts 0
9
- $memlogger.snapshot($logfile, "file", true)
10
- puts 1
11
- $memlogger.snapshot($logfile, "file/one", true)
12
- puts 2
13
- $memlogger.snapshot($logfile, "file/two", true)