ids_please 2.2.4 → 2.2.5

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
  SHA1:
3
- metadata.gz: f849c2cdf32fbdcec10ed313c3b39fab52c57b5b
4
- data.tar.gz: b7b43659b566ec92d1f5df0893a209317f66e6a6
3
+ metadata.gz: 3ffc9292346271435345f61a1d78b0445ae9665a
4
+ data.tar.gz: e804bf4bdc53f5b9fc6dad8cabac4a8896a3d45f
5
5
  SHA512:
6
- metadata.gz: 24029e1abc654e35db779ae4b1e463f94e9c907d73b84f10c1d0e839dad50214591ca1d1bafe06c1f142283d6bcb1d7b5b8391af8ca6fd9d2b1c2fc41c7b53d8
7
- data.tar.gz: 201c6f6b538c5f6c124922afdaab7c7e38afa8bcc22d5d9155db332d4ca868c3abae21ca9eb2792ba9825a11d64957aedba9c20bf9901ea43260cf99df73d06e
6
+ metadata.gz: 2cf37f10598ec5c12cbb69a26dcc1b34d0419dffc0fa63095406032aec85c880e76d6d7e2fc1e5a2fbc811eab4aa1f4aade2ac8c490ae9ab7b7f84958de39d03
7
+ data.tar.gz: fe7b94b2cc2218ef2667293499b44d43660653478743de11b80f06f76aa6b44c9439b43fd6fde24aed9c9ca55513aa6df7c3f9fd1a5ed196f80066be0121d8ee
@@ -22,8 +22,8 @@ class IdsPlease
22
22
  end
23
23
 
24
24
  def prepare_link
25
- id = @link.split('/').last
26
- @link = "https://new.vk.com/#{id}"
25
+ id = @link.to_s.split('/').last
26
+ @link = URI("https://new.vk.com/#{id}")
27
27
  end
28
28
  end
29
29
  end
@@ -1,5 +1,5 @@
1
1
  class IdsPlease
2
2
 
3
- VERSION = '2.2.4'
3
+ VERSION = '2.2.5'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ids_please
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - gazay