ids_please 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ids_please/vkontakte.rb +2 -2
- data/lib/ids_please.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5eca1145eebcc3de34629dfb04d82a733c1a737
|
4
|
+
data.tar.gz: 36b3e6f8320c943ede668c906c4b08aeeb5b10c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8894284b0833ef54e1e2b66da26938955329afb3457b11aab9768ed11ecb080eda0ff99053fdcf3d4bd720b7441ca7822198c41ab149ff8c008b064d2382622
|
7
|
+
data.tar.gz: 01a9e20f8ac53f8e776e17f04b7fb86bc713b38cf54aad8a0ae378e70e724878461bdea12f25cc302d395a6c3a646ace44dffbc03089898375680b14b0e6458a
|
data/lib/ids_please/vkontakte.rb
CHANGED
@@ -11,8 +11,8 @@ class IdsPlease
|
|
11
11
|
private
|
12
12
|
|
13
13
|
def parse_link(link)
|
14
|
-
if link.path =~ /id|club/
|
15
|
-
id = link.path.sub(/\A\/id|\A\/club/, '')
|
14
|
+
if link.path =~ /id|club|public/
|
15
|
+
id = link.path.sub(/\A\/id|\A\/club|\A\/public/, '')
|
16
16
|
id.split(/[\/\?#]/).first
|
17
17
|
else
|
18
18
|
link.path.split('/')[1]
|
data/lib/ids_please.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ids_please
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gazay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|