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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c16a99db8da62fc1f475458e2af48e686917a3591389e658fc98c717c2d8b72b
4
- data.tar.gz: 862256bda596b7c3bb3e3b02dd1477137d225eedd3fad1fd3c0cc77d574a309b
3
+ metadata.gz: 1b15d4f8c051d0aaf01a989d4222cb934bf3ed7a11b2ac63549824f9353fe98a
4
+ data.tar.gz: 8c2c8048c5799735d62a8dcc7ee8a28f7377775ab0d32670c0aef3814119a42b
5
5
  SHA512:
6
- metadata.gz: a0ae8dbc6726ee21a94e8f486d992a0c1850d754e7a2c1cf7ffc662976d4bcb68209d1fc67740fcb3769d331b48e3b4bee4704cecbf84b7a0324c727c81917a9
7
- data.tar.gz: 86768ba7aabaf96cad7daeae5d2b3d00a83159e70fc576e539058ca8cca16d91e7e20353455d17a92717ee25b041932c54ae8523c6ae42af8f7e0d35d7f1fb46
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
- gem_name = gem_info[0]
46
- gem_version = gem_info[1]
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telebugs
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telebugs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyrylo Silin