ids_please 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/lib/ids_please/grabbers/instagram.rb +4 -4
- data/lib/ids_please/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62a9cb49b628181835beea63508837da69571f48
|
4
|
+
data.tar.gz: eae92513b9f7749a4f6f07a10e8b35280843540b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29a0fc45f8bee0e7354375ab0809e9dfd53880103fdc47237a0dff0e38dc6ffbac4c78059b700dbd8d117fe2e6313c9145a1cc892f4930974b7dcde3d6546fe3
|
7
|
+
data.tar.gz: 2e7ea250e199c969a39d8fd7dc1691bf499dbf5bd72639eb6ea4120e7634dd1eb8e44fb582909648df4d0ae91a2863e2150477fc7cd6b0fcf959edc0675a971c
|
data/.travis.yml
CHANGED
@@ -30,7 +30,7 @@ class IdsPlease
|
|
30
30
|
private
|
31
31
|
|
32
32
|
def find_network_id
|
33
|
-
find_by_regex(/"
|
33
|
+
find_by_regex(/"id":"(\d+)","biography"/)
|
34
34
|
rescue => e
|
35
35
|
record_error __method__, e.message
|
36
36
|
return nil
|
@@ -54,21 +54,21 @@ class IdsPlease
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def find_username
|
57
|
-
find_by_regex(/"user":{"username":"([^"]+)"/).gsub('\\', '')
|
57
|
+
find_by_regex(/"user":{"username":"([^"]+)"/).to_s.gsub('\\', '')
|
58
58
|
rescue => e
|
59
59
|
record_error __method__, e.message
|
60
60
|
return nil
|
61
61
|
end
|
62
62
|
|
63
63
|
def find_bio
|
64
|
-
CGI.unescapeHTML(find_by_regex(/"biography":"([^"]+)"/)).strip
|
64
|
+
CGI.unescapeHTML(find_by_regex(/"biography":"([^"]+)"/).to_s).strip
|
65
65
|
rescue => e
|
66
66
|
record_error __method__, e.message
|
67
67
|
return nil
|
68
68
|
end
|
69
69
|
|
70
70
|
def find_website
|
71
|
-
CGI.unescapeHTML(find_by_regex(/"user":{.+"external_url":"([^"]+)"/).gsub('\\', '')).strip
|
71
|
+
CGI.unescapeHTML(find_by_regex(/"user":{.+"external_url":"([^"]+)"/).to_s.gsub('\\', '')).strip
|
72
72
|
rescue => e
|
73
73
|
record_error __method__, e.message
|
74
74
|
return nil
|
data/lib/ids_please/version.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: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gazay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.5.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Helps to get ids or screen names from links to social network accounts
|