fiveruns-dash-ruby 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fiveruns/dash/instrument.rb +1 -1
- data/lib/fiveruns/dash/version.rb +3 -3
- data/version.yml +4 -3
- metadata +1 -1
@@ -71,7 +71,7 @@ module Fiveruns::Dash
|
|
71
71
|
def self.instrument(obj, meth, options = {}, &handler)
|
72
72
|
handlers << handler unless handlers.include?(handler)
|
73
73
|
offset = handlers.size - 1
|
74
|
-
identifier = "instrument_#{handler.hash}"
|
74
|
+
identifier = "instrument_#{handler.hash.abs}"
|
75
75
|
code = wrapping meth, identifier do |without|
|
76
76
|
if options[:exceptions]
|
77
77
|
<<-EXCEPTIONS
|
@@ -70,9 +70,9 @@ module Fiveruns
|
|
70
70
|
|
71
71
|
PARSED = YAML.load(File.read(File.dirname(__FILE__) << "/../../../version.yml"))
|
72
72
|
|
73
|
-
MAJOR = PARSED[
|
74
|
-
MINOR = PARSED[
|
75
|
-
TINY = PARSED[
|
73
|
+
MAJOR = PARSED[:major]
|
74
|
+
MINOR = PARSED[:minor]
|
75
|
+
TINY = PARSED[:patch]
|
76
76
|
|
77
77
|
# The current version as a Version instance
|
78
78
|
CURRENT = new(MAJOR, MINOR, TINY)
|
data/version.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
---
|
2
|
+
:major: 0
|
3
|
+
:minor: 7
|
4
|
+
:patch: 2
|