telebugs 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telebugs/middleware/gem_root_filter.rb +7 -2
- data/lib/telebugs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b15d4f8c051d0aaf01a989d4222cb934bf3ed7a11b2ac63549824f9353fe98a
|
4
|
+
data.tar.gz: 8c2c8048c5799735d62a8dcc7ee8a28f7377775ab0d32670c0aef3814119a42b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc3cc6b7e25076da64c63479037f3c144536c02ca77bc8c6e0a4279d3ce2b37795f16bd010f37b71378c6c7f0ec40ad188aa179c7a050ea8af05731b53a0b07
|
7
|
+
data.tar.gz: ff81dc60d57b9a649b81e13ffd61a968c1edcdcd3892a3929b18cec379daafb7bd85dffd2e19a388fa04ff6504b4a82652d3c4c9e5bd46d236a4300dc5fddd4e
|
@@ -42,8 +42,13 @@ module Telebugs
|
|
42
42
|
parts = file.split("/")
|
43
43
|
|
44
44
|
gem_info = parts[0].split("-")
|
45
|
-
|
46
|
-
|
45
|
+
if gem_info.size < 2
|
46
|
+
gem_name = gem_info[0]
|
47
|
+
gem_version = gem_info[1]
|
48
|
+
else
|
49
|
+
gem_name = gem_info[0..-2].join("-")
|
50
|
+
gem_version = gem_info[-1]
|
51
|
+
end
|
47
52
|
|
48
53
|
file_path = parts[1..].join("/")
|
49
54
|
|
data/lib/telebugs/version.rb
CHANGED