stack_tracy 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = StackTracy CHANGELOG
2
2
 
3
+ == Version 0.1.8 (August 30, 2012)
4
+
5
+ * Corrected index.html.erb regarding a possible nil value error
6
+
3
7
  == Version 0.1.7 (August 30, 2012)
4
8
 
5
9
  * Added 'realtime' cumulatives tab within the stack tree HTML page ^^
data/README.md CHANGED
@@ -399,7 +399,7 @@ The StackTracy repo is provided with `script/console` which you can use for deve
399
399
  Run the following command in your console:
400
400
 
401
401
  $ script/console
402
- Loading development environment (StackTracy 0.1.7)
402
+ Loading development environment (StackTracy 0.1.8)
403
403
  [1] pry(main)> stack_tracy :print do
404
404
  [1] pry(main)* puts "testing"
405
405
  [1] pry(main)* end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -1,7 +1,7 @@
1
1
  module StackTracy #:nodoc:
2
2
  MAJOR = 0
3
3
  MINOR = 1
4
- TINY = 7
4
+ TINY = 8
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
data/stack_tracy.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
14
  gem.name = "stack_tracy"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = "0.1.7"
16
+ gem.version = "0.1.8"
17
17
 
18
18
  gem.add_dependency "rich_support", "~> 0.1.2"
19
19
  gem.add_dependency "launchy", "2.1.0"
@@ -22,7 +22,7 @@ StackTracy = (function() {
22
22
  });
23
23
 
24
24
  return {
25
- version: "0.1.7",
25
+ version: "0.1.8",
26
26
  sort: function(section, column) {
27
27
  sortation[section][column] = sortation[section][column] == "asc" ? "desc" : "asc";
28
28
  $("#" + section + ">.body>div").tsort("span:eq(" + column + ")[abbr]", {
data/ui/index.html.erb CHANGED
@@ -68,7 +68,7 @@
68
68
  event[:depth] <= corrections[0] ? corrections.shift : break
69
69
  end
70
70
 
71
- stack = stack[0, event[:depth] - corrections.size]
71
+ stack = stack[0, event[:depth] - corrections.size] || []
72
72
  unless stack.include? event[:call]
73
73
  cumulative[:real_duration] += event[:duration].to_f
74
74
  cumulative[:real_count] += 1
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: stack_tracy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.7
5
+ version: 0.1.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Engel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-08-29 00:00:00 Z
13
+ date: 2012-08-30 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rich_support