social_net 0.2.20 → 0.2.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/social_net/byte/api/request.rb +9 -0
- data/lib/social_net/version.rb +1 -1
- data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_a_non-existant_post_id/.yml +45 -0
- data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml +46 -0
- data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_a_non-existant_post_id/.yml +45 -0
- data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml +46 -0
- metadata +10 -6
- data/spec/support/cassettes/Posts/_posts/given_an_existing_case-insensitive_username/returns_an_object_representing_that_user.yml +0 -48
- data/spec/support/cassettes/Posts/_posts/given_an_unknown_username/.yml +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c52367b0ac75a400997dd705d4506bbeeb0a913e3c062d053a0abb741da99ecb
|
4
|
+
data.tar.gz: 5a5ca5325a526f59ce3610c73a68fc854efe5da6c8da2fb0ecc46c5ab4f41ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01704804c887188bcbe06c988f66c8af35bec1afde3d6c2fba048a322191bc5184d15df80556ef23a760f7b53f515b602de3e8a6bc9c86490c0b66f529b375ff'
|
7
|
+
data.tar.gz: 1fed5e80803fdf6643ad35cc82c644baa446d1b9dc34cbf19059a650ff17c7aef3e309a3f9cc6829bebd324ef728b4637fafe33f95fcc1f85c6f27c4090ae45a
|
@@ -20,6 +20,7 @@ module SocialNet
|
|
20
20
|
print "#{as_curl}\n"
|
21
21
|
case response = run_http_request
|
22
22
|
when Net::HTTPOK
|
23
|
+
rate_limit_reset response.header["x-ratelimit-remaining"].to_i
|
23
24
|
JSON response.body
|
24
25
|
else
|
25
26
|
raise Errors::ResponseError, response
|
@@ -55,6 +56,14 @@ module SocialNet
|
|
55
56
|
end.to_param
|
56
57
|
end
|
57
58
|
|
59
|
+
def rate_limit_reset(number_of_tries)
|
60
|
+
puts number_of_tries
|
61
|
+
if number_of_tries == 1
|
62
|
+
puts "Sleeping 20 seconds to reset the rate limit"
|
63
|
+
sleep 20
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
58
67
|
def as_curl
|
59
68
|
'curl'.tap do |curl|
|
60
69
|
curl << " -X #{http_request.method}"
|
data/lib/social_net/version.rb
CHANGED
data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_a_non-existant_post_id/.yml
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.byte.co/post/id/XAMM45LQJZNHHP4EWFLM6PMKIO
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Authorization:
|
17
|
+
- ACCESS_TOKEN
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 04 Feb 2020 16:38:16 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Origin
|
30
|
+
X-Ratelimit-Limit:
|
31
|
+
- '21'
|
32
|
+
X-Ratelimit-Remaining:
|
33
|
+
- '18'
|
34
|
+
X-Ratelimit-Reset:
|
35
|
+
- '2'
|
36
|
+
Via:
|
37
|
+
- 1.1 google
|
38
|
+
Transfer-Encoding:
|
39
|
+
- chunked
|
40
|
+
body:
|
41
|
+
encoding: ASCII-8BIT
|
42
|
+
string: '{"success":0,"error":{"code":1500,"message":"post not found"}}'
|
43
|
+
http_version:
|
44
|
+
recorded_at: Tue, 04 Feb 2020 16:38:16 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.byte.co/post/id/WZPPQ5LQJZAAHP4BWFLM6PRBNM
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Authorization:
|
17
|
+
- ACCESS_TOKEN
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 04 Feb 2020 16:38:16 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Origin
|
30
|
+
X-Ratelimit-Limit:
|
31
|
+
- '21'
|
32
|
+
X-Ratelimit-Remaining:
|
33
|
+
- '18'
|
34
|
+
X-Ratelimit-Reset:
|
35
|
+
- '2'
|
36
|
+
Via:
|
37
|
+
- 1.1 google
|
38
|
+
Transfer-Encoding:
|
39
|
+
- chunked
|
40
|
+
body:
|
41
|
+
encoding: ASCII-8BIT
|
42
|
+
string: !binary |-
|
43
|
+
eyJkYXRhIjp7ImlkIjoiV1pQUFE1TFFKWkFBSFA0QldGTE02UFJCTk0iLCJ0eXBlIjowLCJhdXRob3JJRCI6IlBV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CJmb2xsb3dlckNvdW50IjowLCJmb2xsb3dpbmdDb3VudCI6MCwibG9vcENvdW50IjowLCJsb29wc0NvbnN1bWVkQ291bnQiOjAsImlzRm9sbG93aW5nIjpmYWxzZSwiaXNGb2xsb3dlZCI6ZmFsc2UsImlzQmxvY2tlZCI6ZmFsc2V9fX0sInN1Y2Nlc3MiOjF9
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 04 Feb 2020 16:38:16 GMT
|
46
|
+
recorded_with: VCR 2.9.3
|
data/spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_a_non-existant_post_id/.yml
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.byte.co/post/id/XAMM45LQJZNHHP4EWFLM6PMKIO
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Authorization:
|
17
|
+
- ACCESS_TOKEN
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 04 Feb 2020 16:38:15 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Origin
|
30
|
+
X-Ratelimit-Limit:
|
31
|
+
- '21'
|
32
|
+
X-Ratelimit-Remaining:
|
33
|
+
- '19'
|
34
|
+
X-Ratelimit-Reset:
|
35
|
+
- '1'
|
36
|
+
Via:
|
37
|
+
- 1.1 google
|
38
|
+
Transfer-Encoding:
|
39
|
+
- chunked
|
40
|
+
body:
|
41
|
+
encoding: ASCII-8BIT
|
42
|
+
string: '{"success":0,"error":{"code":1500,"message":"post not found"}}'
|
43
|
+
http_version:
|
44
|
+
recorded_at: Tue, 04 Feb 2020 16:38:15 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.byte.co/post/id/WZPPQ5LQJZAAHP4BWFLM6PRBNM
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Authorization:
|
17
|
+
- ACCESS_TOKEN
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Tue, 04 Feb 2020 16:38:15 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
- Origin
|
30
|
+
X-Ratelimit-Limit:
|
31
|
+
- '21'
|
32
|
+
X-Ratelimit-Remaining:
|
33
|
+
- '20'
|
34
|
+
X-Ratelimit-Reset:
|
35
|
+
- '1'
|
36
|
+
Via:
|
37
|
+
- 1.1 google
|
38
|
+
Transfer-Encoding:
|
39
|
+
- chunked
|
40
|
+
body:
|
41
|
+
encoding: ASCII-8BIT
|
42
|
+
string: !binary |-
|
43
|
+
eyJkYXRhIjp7ImlkIjoiV1pQUFE1TFFKWkFBSFA0QldGTE02UFJCTk0iLCJ0eXBlIjowLCJhdXRob3JJRCI6IlBVRU1LR1lEQkZBWjNIU1JTQUZHQkFJNUhBIiwiY2FwdGlvbiI6ImnigJltIGluIHlhIGhvdXNlIChmdC4gQFRpc2hzaW1tb25kcyk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m9sbG93aW5nIjpmYWxzZSwiaXNGb2xsb3dlZCI6ZmFsc2UsImlzQmxvY2tlZCI6ZmFsc2V9fX0sInN1Y2Nlc3MiOjF9
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 04 Feb 2020 16:38:15 GMT
|
46
|
+
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_net
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Cohen Hoffing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -210,8 +210,10 @@ files:
|
|
210
210
|
- spec/social_net/instagram/models/video_spec.rb
|
211
211
|
- spec/social_net/twitter/models/user_spec.rb
|
212
212
|
- spec/spec_helper.rb
|
213
|
-
- spec/support/cassettes/
|
214
|
-
- spec/support/cassettes/
|
213
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_a_non-existant_post_id/.yml
|
214
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml
|
215
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_a_non-existant_post_id/.yml
|
216
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml
|
215
217
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_/given_an_existing_case-sensitive_username/returns_an_object_representing_that_user.yml
|
216
218
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_/given_an_unknown_username/.yml
|
217
219
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_id/given_an_existing_case-sensitive_ID/returns_an_object_representing_that_user.yml
|
@@ -273,8 +275,10 @@ test_files:
|
|
273
275
|
- spec/social_net/instagram/models/video_spec.rb
|
274
276
|
- spec/social_net/twitter/models/user_spec.rb
|
275
277
|
- spec/spec_helper.rb
|
276
|
-
- spec/support/cassettes/
|
277
|
-
- spec/support/cassettes/
|
278
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_a_non-existant_post_id/.yml
|
279
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml
|
280
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_a_non-existant_post_id/.yml
|
281
|
+
- spec/support/cassettes/SocialNet_Byte_Models_Post/_find_by_id/given_an_existing_case-sensitive_post_id/returns_an_object_representing_that_post.yml
|
278
282
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_/given_an_existing_case-sensitive_username/returns_an_object_representing_that_user.yml
|
279
283
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_/given_an_unknown_username/.yml
|
280
284
|
- spec/support/cassettes/SocialNet_Byte_Models_User/_find_by_id/given_an_existing_case-sensitive_ID/returns_an_object_representing_that_user.yml
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/users/search?access_token=INSTAGRAM_ACCESS_TOKEN&q=Collab
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 400
|
19
|
-
message: Bad Request
|
20
|
-
headers:
|
21
|
-
Expires:
|
22
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
23
|
-
Cache-Control:
|
24
|
-
- private, no-cache, no-store, must-revalidate
|
25
|
-
Date:
|
26
|
-
- Tue, 14 Mar 2017 18:30:53 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Vary:
|
30
|
-
- Cookie, Accept-Language
|
31
|
-
Pragma:
|
32
|
-
- no-cache
|
33
|
-
Content-Language:
|
34
|
-
- en
|
35
|
-
Set-Cookie:
|
36
|
-
- csrftoken=qm9rhW3Ww7Yj6slrRPYWIrsnuh2w7DXs; expires=Tue, 13-Mar-2018 18:30:53
|
37
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
38
|
-
Connection:
|
39
|
-
- keep-alive
|
40
|
-
Content-Length:
|
41
|
-
- '124'
|
42
|
-
body:
|
43
|
-
encoding: UTF-8
|
44
|
-
string: '{"meta": {"error_type": "OAuthAccessTokenException", "error_message":
|
45
|
-
"The access_token provided is invalid.", "code": 400}}'
|
46
|
-
http_version:
|
47
|
-
recorded_at: Tue, 14 Mar 2017 18:30:53 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.instagram.com/v1/users/search?access_token=INSTAGRAM_ACCESS_TOKEN&q=01LjqweoojkjR
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 400
|
19
|
-
message: Bad Request
|
20
|
-
headers:
|
21
|
-
Pragma:
|
22
|
-
- no-cache
|
23
|
-
Date:
|
24
|
-
- Tue, 14 Mar 2017 18:30:53 GMT
|
25
|
-
Content-Type:
|
26
|
-
- application/json; charset=utf-8
|
27
|
-
Vary:
|
28
|
-
- Cookie, Accept-Language
|
29
|
-
Expires:
|
30
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
31
|
-
Cache-Control:
|
32
|
-
- private, no-cache, no-store, must-revalidate
|
33
|
-
Content-Language:
|
34
|
-
- en
|
35
|
-
Set-Cookie:
|
36
|
-
- csrftoken=bOYUC9lDOgvLXo3ihcbQ3YMASKPOVTWS; expires=Tue, 13-Mar-2018 18:30:53
|
37
|
-
GMT; Max-Age=31449600; Path=/; Secure
|
38
|
-
Connection:
|
39
|
-
- keep-alive
|
40
|
-
Content-Length:
|
41
|
-
- '124'
|
42
|
-
body:
|
43
|
-
encoding: UTF-8
|
44
|
-
string: '{"meta": {"code": 400, "error_message": "The access_token provided
|
45
|
-
is invalid.", "error_type": "OAuthAccessTokenException"}}'
|
46
|
-
http_version:
|
47
|
-
recorded_at: Tue, 14 Mar 2017 18:30:53 GMT
|
48
|
-
recorded_with: VCR 2.9.3
|