lapse 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lapse/client/frames.rb +0 -3
- data/lib/lapse/client/user_timelines.rb +0 -4
- data/lib/lapse/client/users.rb +8 -0
- data/lib/lapse/version.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: 619c0693339aaf89a53190e461aa09384fe94d16
|
4
|
+
data.tar.gz: 00379d8a972c197010066b5258bff045a5be2c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04c1d5e38ef45e71e325a6de3d11f0c8ecf131f3a63174c8ed6ec5b61ab0ba5011254aee61a2ce11420aab1e6f73f495eab0286af07bb5ed97758dd3e4a3abbb
|
7
|
+
data.tar.gz: b7227d21580bb538d211eefbad635e1652bc44d8a6eea5c8ece17ae1e3034f51a067e78469b012cb6af58a3f9ecc8a7aaf07669ef3d9b279a522b9795e1a7082
|
data/lib/lapse/client/frames.rb
CHANGED
@@ -12,10 +12,6 @@ module Lapse
|
|
12
12
|
def user_contributed_timeline(user_id, params = {})
|
13
13
|
get("users/#{user_id}/timelines/contributed", params).body
|
14
14
|
end
|
15
|
-
|
16
|
-
def user_contributors_timeline(user_id, params = {})
|
17
|
-
get("users/#{user_id}/timelines/contributors", params).body
|
18
|
-
end
|
19
15
|
end
|
20
16
|
end
|
21
17
|
end
|
data/lib/lapse/client/users.rb
CHANGED
@@ -49,6 +49,14 @@ module Lapse
|
|
49
49
|
boolean_from_response(:post, "users/#{user_id}/unfollow")
|
50
50
|
end
|
51
51
|
|
52
|
+
def following(user_id, params = {})
|
53
|
+
get("users/#{user_id}/following", params).body
|
54
|
+
end
|
55
|
+
|
56
|
+
def followers(user_id, params = {})
|
57
|
+
get("users/#{user_id}/followers", params).body
|
58
|
+
end
|
59
|
+
|
52
60
|
def block(user_id)
|
53
61
|
boolean_from_response(:post, "users/#{user_id}/block")
|
54
62
|
end
|
data/lib/lapse/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lapse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Soffes
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|