fiveruns-dash-ruby 0.7.1 → 0.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.
@@ -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['major']
74
- MINOR = PARSED['minor']
75
- TINY = PARSED['patch']
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
- major: 0
2
- minor: 7
3
- patch: 1
1
+ ---
2
+ :major: 0
3
+ :minor: 7
4
+ :patch: 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiveruns-dash-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - FiveRuns Development Team