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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a700479f02e4c64cd5ce10d401562af7d97224e0
4
- data.tar.gz: d6568aa86ba8c87e5456ab13f34760eed346e5ea
3
+ metadata.gz: 619c0693339aaf89a53190e461aa09384fe94d16
4
+ data.tar.gz: 00379d8a972c197010066b5258bff045a5be2c1b
5
5
  SHA512:
6
- metadata.gz: d008fd48db991574bab1c247e44c52469b6cc216bf2d08da6c4d85f68e8f781b3a89613380b4aff3fa7b4a11e444dbdac85bc82c38813f5361fc775efd92c485
7
- data.tar.gz: 367ea5ee90a0d96684e103c79e72961381c4d634d47cb30bae0cac5fa0ec230eb9af9ed414d6f8c2ea1082dbdfc5294bd9f1663cc1db260fdece9c0832faaffc
6
+ metadata.gz: 04c1d5e38ef45e71e325a6de3d11f0c8ecf131f3a63174c8ed6ec5b61ab0ba5011254aee61a2ce11420aab1e6f73f495eab0286af07bb5ed97758dd3e4a3abbb
7
+ data.tar.gz: b7227d21580bb538d211eefbad635e1652bc44d8a6eea5c8ece17ae1e3034f51a067e78469b012cb6af58a3f9ecc8a7aaf07669ef3d9b279a522b9795e1a7082
@@ -2,9 +2,6 @@ module Lapse
2
2
  class Client
3
3
  # Client methods for working with clips
4
4
  module Frames
5
- def clip_frames(clip_id)
6
- get("clips/#{clip_id}/frames").body
7
- end
8
5
 
9
6
  def create_frame(clip_id)
10
7
  post("clips/#{clip_id}/frames").body
@@ -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
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Lapse
2
2
  # Verion of the Lapse gem
3
- VERSION = '0.0.11'
3
+ VERSION = '0.0.12'
4
4
  end
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.11
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-18 00:00:00.000000000 Z
13
+ date: 2013-06-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json