tracing 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tracing.rb +9 -1
- data/lib/tracing/version.rb +1 -1
- data/tracing.gemspec +0 -2
- metadata +1 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05ab92f2f09de0906d0e795a21f47e4267319d21
|
4
|
+
data.tar.gz: 4c488aebe3862a891f362652913b3d160b3c6349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 362ab2a3e417513b8fe91caaef647dfd4544ff1b5df9d2a1d6bee3b20408c20887e74e6205433387e9182a5709ddb4546bc67faa94e30546c7c7172ce587ab2c
|
7
|
+
data.tar.gz: 581c694d6d57228b27326aea7b27c4806d1cf5723d4616c70d8180f23b8602bdc84bcbf07661e9e7aa9469b412b07c15e940c5629477c070e05d95f08a9363d0
|
data/lib/tracing.rb
CHANGED
@@ -190,9 +190,17 @@ module Tracing
|
|
190
190
|
|
191
191
|
def initialize *args, &b
|
192
192
|
send(:firstaid_initialize, *args, &b)
|
193
|
+
# Array#flatten calls to_ary, ignore it when it comes from Gem Specifications:
|
193
194
|
return if NoMethodError === self && message =~ /^undefined method `to_ary' for \#<Gem::Specification/
|
195
|
+
|
196
|
+
# LoadErrors are not hard to diagnose, and polyglot uses them
|
194
197
|
return if LoadError === self
|
195
|
-
|
198
|
+
|
199
|
+
# The Array() method calls to_ary and/or to_a before making a new array, ignore that:
|
200
|
+
clr = caller
|
201
|
+
return if NoMethodError === self && clr.detect{|frame| frame =~ /in `Array'/}
|
202
|
+
|
203
|
+
puts "Stopped due to #{self.class}: #{message} at "+clr*"\n\t"
|
196
204
|
debugger
|
197
205
|
true # Stopped in Exception constructor
|
198
206
|
end
|
data/lib/tracing/version.rb
CHANGED
data/tracing.gemspec
CHANGED
@@ -30,8 +30,6 @@ debugging.
|
|
30
30
|
]
|
31
31
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
32
32
|
|
33
|
-
spec.add_runtime_dependency(%q<rbtree-pure>, [">= 0.1.1", "~> 0"])
|
34
|
-
|
35
33
|
spec.add_development_dependency "bundler", ">= 1.10", "~> 1.10.6"
|
36
34
|
spec.add_development_dependency "rake", "~> 10.0"
|
37
35
|
spec.add_development_dependency "rspec", "~> 3.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clifford Heath
|
@@ -10,26 +10,6 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rbtree-pure
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.1
|
20
|
-
- - "~>"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0'
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.1.1
|
30
|
-
- - "~>"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: bundler
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|