recognizer 0.6.0-java → 0.7.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,11 @@ module Recognizer
73
73
  timestamp = pretty_number(segments.shift)
74
74
  source = extract_metric_source(path)
75
75
 
76
- path.slice!(path.index(source))
76
+ source_index = path.index(source)
77
+
78
+ unless source_index.nil?
79
+ path.slice!(source_index)
80
+ end
77
81
 
78
82
  name = path.join(".")
79
83
 
@@ -1,5 +1,5 @@
1
1
  module Recognizer
2
2
  unless defined?(Recognizer::VERSION)
3
- VERSION = "0.6.0"
3
+ VERSION = "0.7.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recognizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-13 00:00:00.000000000 Z
12
+ date: 2013-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json