ids_please 0.0.1 → 0.0.2

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: 7a7f6fccaaba4b6781ce2efc944781496bb20d55
4
- data.tar.gz: 92ebfb30ccbd70b0476f8196aad9ff0c0155b950
3
+ metadata.gz: 8cf3e146f5b47d7f019dd90dbf7933b162fb3881
4
+ data.tar.gz: 26593b3a0b0aa5c8009027ac20e55ac2c80971be
5
5
  SHA512:
6
- metadata.gz: db2c5ad5731b75c06739015a460bbaf8d7994111449111eee7e063a40a0f779e0f202603dc86bb88a05b54d18d397c30539a4d1725221a5d0717d2adc7d139ae
7
- data.tar.gz: 65364ce2928331f1856fe662829634bfa9ee501630ae1459fd7f3a0cecee2b3f5f1a0c902a5468866e02135baab3e9efbafa871f33034c7e6b57ad88fc46930a
6
+ metadata.gz: f028d2eb3ef43cc6fdf2bff3cbe5c596e5e7415a270f646e543e5733f2f7c9eec56856275dc7a83c8e1a5df79b503ece1e491629a1ec83445b892c881bc2e3ba
7
+ data.tar.gz: 764a47cfe53a7dc746558f3b93cb5c42d8d9df4f5c184e3f47d5d128a3e9a471840cd6ff1a8dc72923c9b672758d6dcdf8254e0ab6b8eb0018f7fbeb3606b26d
@@ -10,7 +10,7 @@ class IdsPlease::GooglePlus < IdsPlease::BaseParser
10
10
  if link.host == 'google.com'
11
11
  link.path.split('/')[1]
12
12
  else
13
- matched = link.path.match(/\/(\d{2,})\//)
13
+ matched = link.path.match(/\/(\d{2,})/)
14
14
  matched[1] if matched
15
15
  end
16
16
  end
data/lib/ids_please.rb CHANGED
@@ -3,7 +3,7 @@ require 'cgi'
3
3
 
4
4
  class IdsPlease
5
5
 
6
- VERSION = '0.0.1'
6
+ VERSION = '0.0.2'
7
7
 
8
8
  attr_accessor :original, :recognized, :unrecognized, :options, :parsed
9
9
 
@@ -9,7 +9,7 @@ describe IdsPlease do
9
9
  http://vk.com/vk_acc
10
10
  https://twitter.com/twi_acc
11
11
  https://vimeo.com/vimeo_acc
12
- https://plus.google.com/2/u/b/12341234/1234/asdfasd
12
+ https://plus.google.com/12341234
13
13
  https://soundcloud.com/sc_acc
14
14
  https://youtube.com/channels/yb_acc
15
15
  http://tumblr-acc.tumblr.com
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: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gazay