kippt 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. data/.travis.yml +1 -0
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile +2 -0
  4. data/README.md +20 -3
  5. data/TODO.md +43 -0
  6. data/kippt.gemspec +6 -6
  7. data/lib/kippt/client.rb +46 -8
  8. data/lib/kippt/clip.rb +83 -4
  9. data/lib/kippt/clip_collection.rb +4 -0
  10. data/lib/kippt/clips.rb +8 -4
  11. data/lib/kippt/collection.rb +22 -9
  12. data/lib/kippt/collection_resource.rb +25 -8
  13. data/lib/kippt/comment.rb +25 -0
  14. data/lib/kippt/comment_collection.rb +10 -0
  15. data/lib/kippt/comments.rb +43 -0
  16. data/lib/kippt/connection.rb +14 -8
  17. data/lib/kippt/follow_relationship.rb +50 -0
  18. data/lib/kippt/followers.rb +26 -0
  19. data/lib/kippt/following.rb +26 -0
  20. data/lib/kippt/like.rb +48 -0
  21. data/lib/kippt/likes.rb +48 -0
  22. data/lib/kippt/list.rb +29 -4
  23. data/lib/kippt/list_collection.rb +4 -0
  24. data/lib/kippt/resource.rb +106 -9
  25. data/lib/kippt/saves.rb +25 -0
  26. data/lib/kippt/user.rb +59 -0
  27. data/lib/kippt/user_clips.rb +39 -0
  28. data/lib/kippt/user_collection.rb +14 -0
  29. data/lib/kippt/user_lists.rb +32 -0
  30. data/lib/kippt/users.rb +51 -0
  31. data/lib/kippt/version.rb +1 -1
  32. data/spec/fixtures/clip.json +1 -1
  33. data/spec/fixtures/comment.json +1 -0
  34. data/spec/fixtures/comments.json +1 -0
  35. data/spec/fixtures/feed.json +1 -0
  36. data/spec/fixtures/list.json +1 -1
  37. data/spec/fixtures/user.json +1 -0
  38. data/spec/fixtures/users.json +2 -0
  39. data/spec/fixtures/users_with_multiple_pages.json +1 -0
  40. data/spec/kippt/client_spec.rb +63 -8
  41. data/spec/kippt/clip_collection_spec.rb +3 -3
  42. data/spec/kippt/clip_spec.rb +109 -4
  43. data/spec/kippt/clips_spec.rb +18 -7
  44. data/spec/kippt/comment_spec.rb +25 -0
  45. data/spec/kippt/comments_spec.rb +103 -0
  46. data/spec/kippt/follow_relationship_spec.rb +34 -0
  47. data/spec/kippt/followers_spec.rb +17 -0
  48. data/spec/kippt/following_spec.rb +17 -0
  49. data/spec/kippt/list_collection_spec.rb +3 -3
  50. data/spec/kippt/list_spec.rb +92 -6
  51. data/spec/kippt/lists_spec.rb +2 -1
  52. data/spec/kippt/saves_spec.rb +20 -0
  53. data/spec/kippt/user_clips_spec.rb +29 -0
  54. data/spec/kippt/user_collection_spec.rb +14 -0
  55. data/spec/kippt/user_lists_spec.rb +13 -0
  56. data/spec/kippt/user_spec.rb +71 -0
  57. data/spec/kippt/users_spec.rb +59 -0
  58. data/spec/spec_helper.rb +60 -4
  59. metadata +106 -24
  60. data/lib/kippt/account.rb +0 -10
  61. data/spec/kippt/account_spec.rb +0 -28
@@ -0,0 +1,14 @@
1
+ require "spec_helper"
2
+ require "kippt/user_collection"
3
+
4
+ describe Kippt::UserCollection do
5
+ let(:data) { MultiJson.load(fixture("users.json").read) }
6
+ let(:data_with_multiple_pages) {
7
+ MultiJson.load(fixture("users_with_multiple_pages.json").read)
8
+ }
9
+ let(:client) { stub }
10
+ subject { Kippt::UserCollection.new(data, client) }
11
+ let(:subject_with_multiple_pages) { Kippt::UserCollection.new(data_with_multiple_pages, client) }
12
+
13
+ it_behaves_like "collection"
14
+ end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+ require "kippt/user_lists"
3
+
4
+ describe Kippt::UserLists do
5
+ let(:client) { Kippt::Client.new(valid_user_credentials) }
6
+ subject { Kippt::User.new({:id => 10}, client).lists }
7
+ let(:base_uri) { "users/#{10}/lists" }
8
+ let(:singular_fixture) { "list" }
9
+ let(:collection_class) { Kippt::ListCollection }
10
+ let(:resource_class) { Kippt::List }
11
+
12
+ it_behaves_like "collection resource"
13
+ end
@@ -0,0 +1,71 @@
1
+ require "spec_helper"
2
+ require "kippt/user"
3
+
4
+ describe Kippt::User do
5
+ subject { Kippt::User.new(data, client) }
6
+ let(:client) { Kippt::Client.new(valid_user_credentials) }
7
+ let(:collection_resource_class) { Kippt::Users }
8
+
9
+ let(:data) { MultiJson.load(fixture("user.json").read) }
10
+ let(:attributes) {
11
+ [:username, :bio, :app_url, :avatar_url, :twitter,
12
+ :id, :github, :website_url, :full_name, :dribble,
13
+ :counts, :resource_uri]
14
+ }
15
+ let(:mapped_attributes) {
16
+ {}
17
+ }
18
+
19
+ it_behaves_like "resource"
20
+
21
+ describe "#pro?" do
22
+ it "gets data from is_pro" do
23
+ user = Kippt::User.new({:is_pro => true}, nil)
24
+ user.pro?.should be_true
25
+ end
26
+ end
27
+
28
+ describe "#following?" do
29
+ it "uses Kippt::FollowRelationship to get the information" do
30
+ follow_relationship = mock(:follow_relationship,
31
+ :following? => true)
32
+ Kippt::FollowRelationship.stub(:new).and_return(follow_relationship)
33
+ user = Kippt::User.new({:is_pro => true}, nil)
34
+ user.following?.should be_true
35
+ end
36
+ end
37
+
38
+ describe "#follower_count" do
39
+ it "returns the count from the fetched data" do
40
+ user = Kippt::User.new({:counts => {"follows" => 11}})
41
+ user.follower_count.should eq 11
42
+ end
43
+ end
44
+
45
+ describe "#following_count" do
46
+ it "returns the count from the fetched data" do
47
+ user = Kippt::User.new({:counts => {"followed_by" => 111}})
48
+ user.following_count.should eq 111
49
+ end
50
+ end
51
+
52
+ describe "#follow" do
53
+ it "sets up a Kippt::FollowRelationship and calls it" do
54
+ follow_relationship = mock(:follow_relationship,
55
+ :follow => true)
56
+ Kippt::FollowRelationship.stub(:new).and_return(follow_relationship)
57
+ user = Kippt::User.new
58
+ user.follow.should be_true
59
+ end
60
+ end
61
+
62
+ describe "#unfollow" do
63
+ it "sets up a Kippt::FollowRelationship and calls it" do
64
+ follow_relationship = mock(:follow_relationship,
65
+ :unfollow => true)
66
+ Kippt::FollowRelationship.stub(:new).and_return(follow_relationship)
67
+ user = Kippt::User.new
68
+ user.unfollow.should be_true
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,59 @@
1
+ require "spec_helper"
2
+ require "kippt/users"
3
+
4
+ describe Kippt::Users do
5
+ let(:client) { Kippt::Client.new(valid_user_credentials) }
6
+ subject { client.users }
7
+ let(:base_uri) { "users" }
8
+ let(:singular_fixture) { "user" }
9
+ let(:collection_class) { Kippt::UserCollection }
10
+ let(:resource_class) { Kippt::User }
11
+
12
+ it_behaves_like "collection resource"
13
+
14
+ describe "#search" do
15
+ subject { Kippt::Client.new(valid_user_credentials).users }
16
+
17
+ describe "parameters" do
18
+ context "when parameter is a String" do
19
+ it "does the search with the string being q" do
20
+ stub_get("/users/search?q=bunny").
21
+ to_return(:status => 200, :body => fixture("users_with_multiple_pages.json"))
22
+ subject.search("bunny")
23
+ end
24
+ end
25
+
26
+ context "when parameter is a Hash" do
27
+ context "with accepted keys" do
28
+ it "does the search" do
29
+ stub_get("/users/search?q=bunny").
30
+ to_return(:status => 200, :body => fixture("users_with_multiple_pages.json"))
31
+ subject.search(:q => "bunny")
32
+ end
33
+ end
34
+
35
+ context "with invalid keys" do
36
+ it "raises ArgumentError" do
37
+ lambda {
38
+ subject.search(:q => "bunny", :stuff => true)
39
+ }.should raise_error(ArgumentError, "'stuff' is not a valid search parameter")
40
+ end
41
+ end
42
+ end
43
+ end
44
+
45
+ it "returns UserCollection" do
46
+ stub_get("/users/search?q=bunny").
47
+ to_return(:status => 200, :body => fixture("users_with_multiple_pages.json"))
48
+ users = subject.search("bunny")
49
+ users.should be_a Kippt::UserCollection
50
+ end
51
+
52
+ it "sets UserCollection client" do
53
+ stub_get("/users/search?q=bunny").
54
+ to_return(:status => 200, :body => fixture("users_with_multiple_pages.json"))
55
+ Kippt::UserCollection.should_receive(:new).with(kind_of(Hash), kind_of(Kippt::Client))
56
+ users = subject.search("bunny")
57
+ end
58
+ end
59
+ end
@@ -11,6 +11,18 @@ def stub_get(url)
11
11
  stub_request(:get, kippt_url(url))
12
12
  end
13
13
 
14
+ def stub_post(url)
15
+ stub_request(:post, kippt_url(url))
16
+ end
17
+
18
+ def stub_put(url)
19
+ stub_request(:put, kippt_url(url))
20
+ end
21
+
22
+ def stub_delete(url)
23
+ stub_request(:delete, kippt_url(url))
24
+ end
25
+
14
26
  def kippt_url(url)
15
27
  "https://kippt.com/api#{url}"
16
28
  end
@@ -24,18 +36,26 @@ def fixture(file)
24
36
  File.new(fixture_path + '/' + file)
25
37
  end
26
38
 
39
+ def json_fixture(file)
40
+ MultiJson.load(fixture(file).read)
41
+ end
42
+
27
43
  shared_examples_for "collection resource" do
44
+ def collection_fixture
45
+ base_uri.split("/").last
46
+ end
47
+
28
48
  describe "#all" do
29
49
  it "returns collection class" do
30
50
  stub_get("/#{base_uri}").
31
- to_return(:status => 200, :body => fixture("#{base_uri}.json"))
51
+ to_return(:status => 200, :body => fixture("#{collection_fixture}.json"))
32
52
  all_resources = subject.all
33
53
  all_resources.is_a? collection_class
34
54
  end
35
55
 
36
56
  it "accepts limit and offset options" do
37
57
  stub_get("/#{base_uri}?limit=10&offset=100").
38
- to_return(:status => 200, :body => fixture("#{base_uri}.json"))
58
+ to_return(:status => 200, :body => fixture("#{collection_fixture}.json"))
39
59
  resources = subject.all(:limit => 10, :offset => 100)
40
60
  end
41
61
 
@@ -61,6 +81,18 @@ shared_examples_for "collection resource" do
61
81
  to_return(:status => 200, :body => fixture("#{singular_fixture}.json"))
62
82
  subject[10].should be_a(resource_class)
63
83
  end
84
+
85
+ context "when resource is not found" do
86
+ it "raises exception" do
87
+ stub_get("/#{base_uri}/10").
88
+ to_return(:status => 404, :body => {"message" => "Resource not found."})
89
+ lambda {
90
+ subject[10]
91
+ subject.all(:foobar => true)
92
+ }.should raise_error(
93
+ Kippt::APIError, "Resource could not be loaded: Resource not found.")
94
+ end
95
+ end
64
96
  end
65
97
 
66
98
  describe "#find" do
@@ -72,7 +104,7 @@ shared_examples_for "collection resource" do
72
104
  describe "#collection_from_url" do
73
105
  it "returns a new collection" do
74
106
  stub_get("/#{base_uri}/?limit=20&offset=20").
75
- to_return(:status => 200, :body => fixture("#{base_uri}.json"))
107
+ to_return(:status => 200, :body => fixture("#{collection_fixture}.json"))
76
108
  collection = subject.collection_from_url("/api/#{base_uri}/?limit=20&offset=20")
77
109
  collection.should be_a(collection_class)
78
110
  end
@@ -95,7 +127,7 @@ shared_examples_for "collection resource" do
95
127
  end
96
128
 
97
129
  it "accepts parameters" do
98
- subject.object_class.should_receive(:new).with({:an => "attribute"}, subject)
130
+ subject.object_class.should_receive(:new).with({:an => "attribute"}, client)
99
131
  subject.build(:an => "attribute")
100
132
  end
101
133
  end
@@ -165,6 +197,8 @@ shared_examples_for "collection" do
165
197
  let(:collection_resource) { stub }
166
198
 
167
199
  it "gets the next page of results from the collection resource" do
200
+ client.stub(:collection_resource_for).and_return(collection_resource)
201
+
168
202
  results = stub
169
203
  collection_resource.should_receive(:collection_from_url).
170
204
  with(data_with_multiple_pages["meta"]["next"]).
@@ -202,6 +236,8 @@ shared_examples_for "collection" do
202
236
  let(:collection_resource) { stub }
203
237
 
204
238
  it "gets the previous page of results from the collection resource" do
239
+ client.stub(:collection_resource_for).and_return(collection_resource)
240
+
205
241
  results = stub
206
242
  collection_resource.should_receive(:collection_from_url).
207
243
  with(data_with_multiple_pages["meta"]["previous"]).
@@ -230,8 +266,19 @@ shared_examples_for "resource" do
230
266
  end
231
267
  end
232
268
 
269
+ describe "mapped attribute accessors" do
270
+ it "delegates to attributes and wraps with to a object" do
271
+ mapped_attributes.each do |attribute_name, attribute_class|
272
+ subject.send(attribute_name).class.to_s.should eq attribute_class
273
+ end
274
+ end
275
+ end
276
+
233
277
  describe "#destroy" do
278
+ let(:collection_resource) { stub }
279
+
234
280
  it "sends delete request to the server" do
281
+ client.stub(:collection_resource_for).and_return(collection_resource)
235
282
  collection_resource.should_receive(:destroy_resource).with(subject).and_return(true)
236
283
  subject.destroy.should be_true
237
284
  end
@@ -239,6 +286,12 @@ shared_examples_for "resource" do
239
286
 
240
287
  describe "#save" do
241
288
  context "with valid parameters" do
289
+ let(:collection_resource) { stub }
290
+
291
+ before do
292
+ client.stub(:collection_resource_for).and_return(collection_resource)
293
+ end
294
+
242
295
  it "sends POST request to server" do
243
296
  collection_resource.should_receive(:save_resource).with(subject).and_return({})
244
297
  subject.save
@@ -259,7 +312,10 @@ shared_examples_for "resource" do
259
312
  end
260
313
 
261
314
  context "with invalid parameters" do
315
+ let(:collection_resource) { stub }
316
+
262
317
  before do
318
+ client.stub(:collection_resource_for).and_return(collection_resource)
263
319
  collection_resource.stub(:save_resource).and_return({:success => false, :error_message => "No url."})
264
320
  end
265
321
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kippt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,74 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-19 00:00:00.000000000 Z
12
+ date: 2013-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70143540468320 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.7.6
21
+ version: '0.8'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70143540468320
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: faraday_middleware
27
- requirement: &70143540467520 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: 0.8.7
37
+ version: '0.8'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70143540467520
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.8'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: multi_json
38
- requirement: &70143540466360 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
42
52
  - !ruby/object:Gem::Version
43
- version: 1.3.4
53
+ version: '1.3'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70143540466360
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rspec
49
- requirement: &70143540465780 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
53
68
  - !ruby/object:Gem::Version
54
- version: 2.9.0
69
+ version: '2.9'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70143540465780
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2.9'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: webmock
60
- requirement: &70143540465120 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
64
84
  - !ruby/object:Gem::Version
65
- version: 1.8.6
85
+ version: '1.11'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70143540465120
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '1.11'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: simplecov
71
- requirement: &70143540463960 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
75
100
  - !ruby/object:Gem::Version
76
- version: 0.6.4
101
+ version: '0.7'
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70143540463960
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.7'
80
110
  description: Client library for using Kippt.com API
81
111
  email:
82
112
  - vesa@vesavanska.com
@@ -92,36 +122,66 @@ files:
92
122
  - LICENSE
93
123
  - README.md
94
124
  - Rakefile
125
+ - TODO.md
95
126
  - kippt.gemspec
96
127
  - lib/core_ext/open_struct.rb
97
128
  - lib/kippt.rb
98
- - lib/kippt/account.rb
99
129
  - lib/kippt/client.rb
100
130
  - lib/kippt/clip.rb
101
131
  - lib/kippt/clip_collection.rb
102
132
  - lib/kippt/clips.rb
103
133
  - lib/kippt/collection.rb
104
134
  - lib/kippt/collection_resource.rb
135
+ - lib/kippt/comment.rb
136
+ - lib/kippt/comment_collection.rb
137
+ - lib/kippt/comments.rb
105
138
  - lib/kippt/connection.rb
139
+ - lib/kippt/follow_relationship.rb
140
+ - lib/kippt/followers.rb
141
+ - lib/kippt/following.rb
142
+ - lib/kippt/like.rb
143
+ - lib/kippt/likes.rb
106
144
  - lib/kippt/list.rb
107
145
  - lib/kippt/list_collection.rb
108
146
  - lib/kippt/lists.rb
109
147
  - lib/kippt/resource.rb
148
+ - lib/kippt/saves.rb
149
+ - lib/kippt/user.rb
150
+ - lib/kippt/user_clips.rb
151
+ - lib/kippt/user_collection.rb
152
+ - lib/kippt/user_lists.rb
153
+ - lib/kippt/users.rb
110
154
  - lib/kippt/version.rb
111
155
  - spec/fixtures/clip.json
112
156
  - spec/fixtures/clips.json
113
157
  - spec/fixtures/clips_with_multiple_pages.json
158
+ - spec/fixtures/comment.json
159
+ - spec/fixtures/comments.json
160
+ - spec/fixtures/feed.json
114
161
  - spec/fixtures/list.json
115
162
  - spec/fixtures/lists.json
116
163
  - spec/fixtures/lists_with_multiple_pages.json
117
- - spec/kippt/account_spec.rb
164
+ - spec/fixtures/user.json
165
+ - spec/fixtures/users.json
166
+ - spec/fixtures/users_with_multiple_pages.json
118
167
  - spec/kippt/client_spec.rb
119
168
  - spec/kippt/clip_collection_spec.rb
120
169
  - spec/kippt/clip_spec.rb
121
170
  - spec/kippt/clips_spec.rb
171
+ - spec/kippt/comment_spec.rb
172
+ - spec/kippt/comments_spec.rb
173
+ - spec/kippt/follow_relationship_spec.rb
174
+ - spec/kippt/followers_spec.rb
175
+ - spec/kippt/following_spec.rb
122
176
  - spec/kippt/list_collection_spec.rb
123
177
  - spec/kippt/list_spec.rb
124
178
  - spec/kippt/lists_spec.rb
179
+ - spec/kippt/saves_spec.rb
180
+ - spec/kippt/user_clips_spec.rb
181
+ - spec/kippt/user_collection_spec.rb
182
+ - spec/kippt/user_lists_spec.rb
183
+ - spec/kippt/user_spec.rb
184
+ - spec/kippt/users_spec.rb
125
185
  - spec/spec_helper.rb
126
186
  homepage: https://github.com/vesan/kippt
127
187
  licenses: []
@@ -135,15 +195,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
195
  - - ! '>='
136
196
  - !ruby/object:Gem::Version
137
197
  version: '0'
198
+ segments:
199
+ - 0
200
+ hash: -2217435892223786900
138
201
  required_rubygems_version: !ruby/object:Gem::Requirement
139
202
  none: false
140
203
  requirements:
141
204
  - - ! '>='
142
205
  - !ruby/object:Gem::Version
143
206
  version: '0'
207
+ segments:
208
+ - 0
209
+ hash: -2217435892223786900
144
210
  requirements: []
145
211
  rubyforge_project:
146
- rubygems_version: 1.8.10
212
+ rubygems_version: 1.8.24
147
213
  signing_key:
148
214
  specification_version: 3
149
215
  summary: Client library for using Kippt.com API
@@ -151,15 +217,31 @@ test_files:
151
217
  - spec/fixtures/clip.json
152
218
  - spec/fixtures/clips.json
153
219
  - spec/fixtures/clips_with_multiple_pages.json
220
+ - spec/fixtures/comment.json
221
+ - spec/fixtures/comments.json
222
+ - spec/fixtures/feed.json
154
223
  - spec/fixtures/list.json
155
224
  - spec/fixtures/lists.json
156
225
  - spec/fixtures/lists_with_multiple_pages.json
157
- - spec/kippt/account_spec.rb
226
+ - spec/fixtures/user.json
227
+ - spec/fixtures/users.json
228
+ - spec/fixtures/users_with_multiple_pages.json
158
229
  - spec/kippt/client_spec.rb
159
230
  - spec/kippt/clip_collection_spec.rb
160
231
  - spec/kippt/clip_spec.rb
161
232
  - spec/kippt/clips_spec.rb
233
+ - spec/kippt/comment_spec.rb
234
+ - spec/kippt/comments_spec.rb
235
+ - spec/kippt/follow_relationship_spec.rb
236
+ - spec/kippt/followers_spec.rb
237
+ - spec/kippt/following_spec.rb
162
238
  - spec/kippt/list_collection_spec.rb
163
239
  - spec/kippt/list_spec.rb
164
240
  - spec/kippt/lists_spec.rb
241
+ - spec/kippt/saves_spec.rb
242
+ - spec/kippt/user_clips_spec.rb
243
+ - spec/kippt/user_collection_spec.rb
244
+ - spec/kippt/user_lists_spec.rb
245
+ - spec/kippt/user_spec.rb
246
+ - spec/kippt/users_spec.rb
165
247
  - spec/spec_helper.rb