dribbble 0.0.4 → 1.0.0.beta1
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.
- checksums.yaml +4 -4
- data/.travis.yml +7 -1
- data/Guardfile +0 -5
- data/dribbble.gemspec +0 -3
- data/lib/dribbble/attachment.rb +7 -0
- data/lib/dribbble/base.rb +64 -5
- data/lib/dribbble/bucket.rb +31 -0
- data/lib/dribbble/client.rb +0 -7
- data/lib/dribbble/comment.rb +4 -0
- data/lib/dribbble/like.rb +7 -0
- data/lib/dribbble/project.rb +11 -0
- data/lib/dribbble/shot.rb +62 -0
- data/lib/dribbble/team.rb +4 -0
- data/lib/dribbble/user.rb +47 -6
- data/lib/dribbble/utils/creatable.rb +33 -0
- data/lib/dribbble/utils/deletable.rb +21 -0
- data/lib/dribbble/utils/findable.rb +17 -0
- data/lib/dribbble/utils/has_children.rb +33 -0
- data/lib/dribbble/utils/updatable.rb +24 -0
- data/lib/dribbble/utils.rb +38 -7
- data/lib/dribbble/version.rb +1 -1
- data/spec/lib/dribbble/base_spec.rb +161 -4
- data/spec/lib/dribbble/bucket_spec.rb +136 -0
- data/spec/lib/dribbble/client_spec.rb +2 -23
- data/spec/lib/dribbble/project_spec.rb +45 -0
- data/spec/lib/dribbble/shot_spec.rb +254 -0
- data/spec/lib/dribbble/user_spec.rb +173 -23
- data/spec/spec_helper.rb +14 -17
- data/spec/support/dribbble.rb +159 -20
- data/spec/support/fixtures/attachment_success.json +9 -0
- data/spec/support/fixtures/attachments_success.json +11 -0
- data/spec/support/fixtures/bucket_created.json +8 -0
- data/spec/support/fixtures/bucket_success.json +8 -0
- data/spec/support/fixtures/bucket_updated.json +8 -0
- data/spec/support/fixtures/comments_success.json +37 -0
- data/spec/support/fixtures/current_user_success.json +25 -0
- data/spec/support/fixtures/followers_success.json +33 -0
- data/spec/support/fixtures/following_success.json +33 -0
- data/spec/support/fixtures/project_success.json +8 -0
- data/spec/support/fixtures/projects_success.json +10 -0
- data/spec/support/fixtures/shot_likes_success.json +33 -0
- data/spec/support/fixtures/shot_success.json +85 -0
- data/spec/support/fixtures/shot_updated.json +85 -0
- data/spec/support/fixtures/teams_success.json +28 -0
- data/spec/support/fixtures/user_likes_success.json +91 -0
- metadata +52 -48
- data/spec/factories.rb +0 -2
@@ -0,0 +1,33 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id" : 24400091,
|
4
|
+
"created_at" : "2014-01-06T17:19:59Z",
|
5
|
+
"user" : {
|
6
|
+
"id" : 1,
|
7
|
+
"name" : "Dan Cederholm",
|
8
|
+
"username" : "simplebits",
|
9
|
+
"html_url" : "https://dribbble.com/simplebits",
|
10
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
|
11
|
+
"bio" : "Co-founder & designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
|
12
|
+
"location" : "Salem, MA",
|
13
|
+
"links" : {
|
14
|
+
"web" : "http://simplebits.com",
|
15
|
+
"twitter" : "https://twitter.com/simplebits"
|
16
|
+
},
|
17
|
+
"followers_count" : 29262,
|
18
|
+
"followings_count" : 1728,
|
19
|
+
"likes_count" : 34954,
|
20
|
+
"shots_count" : 214,
|
21
|
+
"type" : "User",
|
22
|
+
"pro" : true,
|
23
|
+
"buckets_url" : "https://dribbble.com/v1/users/1/buckets",
|
24
|
+
"followers_url" : "https://dribbble.com/v1/users/1/followers",
|
25
|
+
"following_url" : "https://dribbble.com/v1/users/1/following",
|
26
|
+
"likes_url" : "https://dribbble.com/v1/users/1/likes",
|
27
|
+
"shots_url" : "https://dribbble.com/v1/users/1/shots",
|
28
|
+
"teams_url" : "https://dribbble.com/v1/users/1/teams",
|
29
|
+
"created_at" : "2009-07-08T02:51:22Z",
|
30
|
+
"updated_at" : "2014-02-22T17:10:33Z"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
]
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"id" : 471756,
|
3
|
+
"title" : "Sasquatch",
|
4
|
+
"description" : "<p>Quick, messy, five minute sketch of something that might become a fictional something.</p>",
|
5
|
+
"width" : 400,
|
6
|
+
"height" : 300,
|
7
|
+
"images" : {
|
8
|
+
"hidpi" : null,
|
9
|
+
"normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
|
10
|
+
"teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
|
11
|
+
},
|
12
|
+
"views_count" : 4372,
|
13
|
+
"likes_count" : 149,
|
14
|
+
"comments_count" : 27,
|
15
|
+
"attachments_count" : 0,
|
16
|
+
"rebounds_count" : 2,
|
17
|
+
"buckets_count" : 8,
|
18
|
+
"created_at" : "2012-03-15T01:52:33Z",
|
19
|
+
"updated_at" : "2012-03-15T02:12:57Z",
|
20
|
+
"html_url" : "https://dribbble.com/shots/471756-Sasquatch",
|
21
|
+
"attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
|
22
|
+
"comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
|
23
|
+
"likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
|
24
|
+
"projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
|
25
|
+
"rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
|
26
|
+
"tags" : [
|
27
|
+
"fiction",
|
28
|
+
"sasquatch",
|
29
|
+
"sketch",
|
30
|
+
"wip"
|
31
|
+
],
|
32
|
+
"user" : {
|
33
|
+
"id" : 1,
|
34
|
+
"name" : "Dan Cederholm",
|
35
|
+
"username" : "simplebits",
|
36
|
+
"html_url" : "https://dribbble.com/simplebits",
|
37
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
|
38
|
+
"bio" : "Co-founder & designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
|
39
|
+
"location" : "Salem, MA",
|
40
|
+
"links" : {
|
41
|
+
"web" : "http://simplebits.com",
|
42
|
+
"twitter" : "https://twitter.com/simplebits"
|
43
|
+
},
|
44
|
+
"followers_count" : 29262,
|
45
|
+
"followings_count" : 1728,
|
46
|
+
"likes_count" : 34954,
|
47
|
+
"shots_count" : 214,
|
48
|
+
"type" : "User",
|
49
|
+
"pro" : true,
|
50
|
+
"buckets_url" : "https://dribbble.com/v1/users/1/buckets",
|
51
|
+
"followers_url" : "https://dribbble.com/v1/users/1/followers",
|
52
|
+
"following_url" : "https://dribbble.com/v1/users/1/following",
|
53
|
+
"likes_url" : "https://dribbble.com/v1/users/1/likes",
|
54
|
+
"shots_url" : "https://dribbble.com/v1/users/1/shots",
|
55
|
+
"teams_url" : "https://dribbble.com/v1/users/1/teams",
|
56
|
+
"created_at" : "2009-07-08T02:51:22Z",
|
57
|
+
"updated_at" : "2014-02-22T17:10:33Z"
|
58
|
+
},
|
59
|
+
"team" : {
|
60
|
+
"id" : 39,
|
61
|
+
"name" : "Dribbble",
|
62
|
+
"username" : "dribbble",
|
63
|
+
"html_url" : "https://dribbble.com/dribbble",
|
64
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
|
65
|
+
"bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
|
66
|
+
"location" : "Salem, MA",
|
67
|
+
"links" : {
|
68
|
+
"web" : "http://dribbble.com",
|
69
|
+
"twitter" : "https://twitter.com/dribbble"
|
70
|
+
},
|
71
|
+
"followers_count" : 25011,
|
72
|
+
"followings_count" : 6120,
|
73
|
+
"likes_count" : 44,
|
74
|
+
"shots_count" : 91,
|
75
|
+
"type" : "Team",
|
76
|
+
"pro" : false,
|
77
|
+
"buckets_url" : "https://dribbble.com/v1/users/39/buckets",
|
78
|
+
"followers_url" : "https://dribbble.com/v1/users/39/followers",
|
79
|
+
"likes_url" : "https://dribbble.com/v1/users/39/likes",
|
80
|
+
"shots_url" : "https://dribbble.com/v1/users/39/shots",
|
81
|
+
"teams_url" : "https://dribbble.com/v1/users/39/teams",
|
82
|
+
"created_at" : "2009-08-18T18:34:31Z",
|
83
|
+
"updated_at" : "2014-02-14T22:32:11Z"
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"id" : 471756,
|
3
|
+
"title" : "Shot title",
|
4
|
+
"description" : "Shot description",
|
5
|
+
"width" : 400,
|
6
|
+
"height" : 300,
|
7
|
+
"images" : {
|
8
|
+
"hidpi" : null,
|
9
|
+
"normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
|
10
|
+
"teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
|
11
|
+
},
|
12
|
+
"views_count" : 4372,
|
13
|
+
"likes_count" : 149,
|
14
|
+
"comments_count" : 27,
|
15
|
+
"attachments_count" : 0,
|
16
|
+
"rebounds_count" : 2,
|
17
|
+
"buckets_count" : 8,
|
18
|
+
"created_at" : "2012-03-15T01:52:33Z",
|
19
|
+
"updated_at" : "2012-03-15T02:12:57Z",
|
20
|
+
"html_url" : "https://dribbble.com/shots/471756-Sasquatch",
|
21
|
+
"attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
|
22
|
+
"comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
|
23
|
+
"likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
|
24
|
+
"projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
|
25
|
+
"rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
|
26
|
+
"tags" : [
|
27
|
+
"fiction",
|
28
|
+
"sasquatch",
|
29
|
+
"sketch",
|
30
|
+
"wip"
|
31
|
+
],
|
32
|
+
"user" : {
|
33
|
+
"id" : 1,
|
34
|
+
"name" : "Dan Cederholm",
|
35
|
+
"username" : "simplebits",
|
36
|
+
"html_url" : "https://dribbble.com/simplebits",
|
37
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
|
38
|
+
"bio" : "Co-founder & designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
|
39
|
+
"location" : "Salem, MA",
|
40
|
+
"links" : {
|
41
|
+
"web" : "http://simplebits.com",
|
42
|
+
"twitter" : "https://twitter.com/simplebits"
|
43
|
+
},
|
44
|
+
"followers_count" : 29262,
|
45
|
+
"followings_count" : 1728,
|
46
|
+
"likes_count" : 34954,
|
47
|
+
"shots_count" : 214,
|
48
|
+
"type" : "User",
|
49
|
+
"pro" : true,
|
50
|
+
"buckets_url" : "https://dribbble.com/v1/users/1/buckets",
|
51
|
+
"followers_url" : "https://dribbble.com/v1/users/1/followers",
|
52
|
+
"following_url" : "https://dribbble.com/v1/users/1/following",
|
53
|
+
"likes_url" : "https://dribbble.com/v1/users/1/likes",
|
54
|
+
"shots_url" : "https://dribbble.com/v1/users/1/shots",
|
55
|
+
"teams_url" : "https://dribbble.com/v1/users/1/teams",
|
56
|
+
"created_at" : "2009-07-08T02:51:22Z",
|
57
|
+
"updated_at" : "2014-02-22T17:10:33Z"
|
58
|
+
},
|
59
|
+
"team" : {
|
60
|
+
"id" : 39,
|
61
|
+
"name" : "Dribbble",
|
62
|
+
"username" : "dribbble",
|
63
|
+
"html_url" : "https://dribbble.com/dribbble",
|
64
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
|
65
|
+
"bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
|
66
|
+
"location" : "Salem, MA",
|
67
|
+
"links" : {
|
68
|
+
"web" : "http://dribbble.com",
|
69
|
+
"twitter" : "https://twitter.com/dribbble"
|
70
|
+
},
|
71
|
+
"followers_count" : 25011,
|
72
|
+
"followings_count" : 6120,
|
73
|
+
"likes_count" : 44,
|
74
|
+
"shots_count" : 91,
|
75
|
+
"type" : "Team",
|
76
|
+
"pro" : false,
|
77
|
+
"buckets_url" : "https://dribbble.com/v1/users/39/buckets",
|
78
|
+
"followers_url" : "https://dribbble.com/v1/users/39/followers",
|
79
|
+
"likes_url" : "https://dribbble.com/v1/users/39/likes",
|
80
|
+
"shots_url" : "https://dribbble.com/v1/users/39/shots",
|
81
|
+
"teams_url" : "https://dribbble.com/v1/users/39/teams",
|
82
|
+
"created_at" : "2009-08-18T18:34:31Z",
|
83
|
+
"updated_at" : "2014-02-14T22:32:11Z"
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id" : 39,
|
4
|
+
"name" : "Dribbble",
|
5
|
+
"username" : "dribbble",
|
6
|
+
"html_url" : "https://dribbble.com/dribbble",
|
7
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
|
8
|
+
"bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
|
9
|
+
"location" : "Salem, MA",
|
10
|
+
"links" : {
|
11
|
+
"web" : "http://dribbble.com",
|
12
|
+
"twitter" : "https://twitter.com/dribbble"
|
13
|
+
},
|
14
|
+
"followers_count" : 25011,
|
15
|
+
"followings_count" : 6120,
|
16
|
+
"likes_count" : 44,
|
17
|
+
"shots_count" : 91,
|
18
|
+
"type" : "Team",
|
19
|
+
"pro" : false,
|
20
|
+
"buckets_url" : "https://dribbble.com/v1/users/39/buckets",
|
21
|
+
"followers_url" : "https://dribbble.com/v1/users/39/followers",
|
22
|
+
"likes_url" : "https://dribbble.com/v1/users/39/likes",
|
23
|
+
"shots_url" : "https://dribbble.com/v1/users/39/shots",
|
24
|
+
"teams_url" : "https://dribbble.com/v1/users/39/teams",
|
25
|
+
"created_at" : "2009-08-18T18:34:31Z",
|
26
|
+
"updated_at" : "2014-02-14T22:32:11Z"
|
27
|
+
}
|
28
|
+
]
|
@@ -0,0 +1,91 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id" : 24400091,
|
4
|
+
"created_at" : "2014-01-06T17:19:59Z",
|
5
|
+
"shot" : {
|
6
|
+
"id" : 471756,
|
7
|
+
"title" : "Sasquatch",
|
8
|
+
"description" : "<p>Quick, messy, five minute sketch of something that might become a fictional something.</p>",
|
9
|
+
"width" : 400,
|
10
|
+
"height" : 300,
|
11
|
+
"images" : {
|
12
|
+
"hidpi" : null,
|
13
|
+
"normal" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch.png",
|
14
|
+
"teaser" : "https://d13yacurqjgara.cloudfront.net/users/1/screenshots/471756/sasquatch_teaser.png"
|
15
|
+
},
|
16
|
+
"views_count" : 4372,
|
17
|
+
"likes_count" : 149,
|
18
|
+
"comments_count" : 27,
|
19
|
+
"attachments_count" : 0,
|
20
|
+
"rebounds_count" : 2,
|
21
|
+
"buckets_count" : 8,
|
22
|
+
"created_at" : "2012-03-15T01:52:33Z",
|
23
|
+
"updated_at" : "2012-03-15T02:12:57Z",
|
24
|
+
"html_url" : "https://dribbble.com/shots/471756-Sasquatch",
|
25
|
+
"attachments_url" : "https://api.dribbble.com/v1/shots/471756/attachments",
|
26
|
+
"comments_url" : "https://api.dribbble.com/v1/shots/471756/comments",
|
27
|
+
"likes_url" : "https://api.dribbble.com/v1/shots/471756/likes",
|
28
|
+
"projects_url" : "https://api.dribbble.com/v1/shots/471756/projects",
|
29
|
+
"rebounds_url" : "https://api.dribbble.com/v1/shots/471756/rebounds",
|
30
|
+
"tags" : [
|
31
|
+
"fiction",
|
32
|
+
"sasquatch",
|
33
|
+
"sketch",
|
34
|
+
"wip"
|
35
|
+
],
|
36
|
+
"user" : {
|
37
|
+
"id" : 1,
|
38
|
+
"name" : "Dan Cederholm",
|
39
|
+
"username" : "simplebits",
|
40
|
+
"html_url" : "https://dribbble.com/simplebits",
|
41
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/1/avatars/normal/dc.jpg?1371679243",
|
42
|
+
"bio" : "Co-founder & designer of <a href=\"https://dribbble.com/dribbble\">@Dribbble</a>. Principal of SimpleBits. Aspiring clawhammer banjoist.",
|
43
|
+
"location" : "Salem, MA",
|
44
|
+
"links" : {
|
45
|
+
"web" : "http://simplebits.com",
|
46
|
+
"twitter" : "https://twitter.com/simplebits"
|
47
|
+
},
|
48
|
+
"followers_count" : 29262,
|
49
|
+
"followings_count" : 1728,
|
50
|
+
"likes_count" : 34954,
|
51
|
+
"shots_count" : 214,
|
52
|
+
"type" : "User",
|
53
|
+
"pro" : true,
|
54
|
+
"buckets_url" : "https://dribbble.com/v1/users/1/buckets",
|
55
|
+
"followers_url" : "https://dribbble.com/v1/users/1/followers",
|
56
|
+
"following_url" : "https://dribbble.com/v1/users/1/following",
|
57
|
+
"likes_url" : "https://dribbble.com/v1/users/1/likes",
|
58
|
+
"shots_url" : "https://dribbble.com/v1/users/1/shots",
|
59
|
+
"teams_url" : "https://dribbble.com/v1/users/1/teams",
|
60
|
+
"created_at" : "2009-07-08T02:51:22Z",
|
61
|
+
"updated_at" : "2014-02-22T17:10:33Z"
|
62
|
+
},
|
63
|
+
"team" : {
|
64
|
+
"id" : 39,
|
65
|
+
"name" : "Dribbble",
|
66
|
+
"username" : "dribbble",
|
67
|
+
"html_url" : "https://dribbble.com/dribbble",
|
68
|
+
"avatar_url" : "https://d13yacurqjgara.cloudfront.net/users/39/avatars/normal/apple-flat-precomposed.png?1388527574",
|
69
|
+
"bio" : "Show and tell for designers. This is Dribbble on Dribbble.",
|
70
|
+
"location" : "Salem, MA",
|
71
|
+
"links" : {
|
72
|
+
"web" : "http://dribbble.com",
|
73
|
+
"twitter" : "https://twitter.com/dribbble"
|
74
|
+
},
|
75
|
+
"followers_count" : 25011,
|
76
|
+
"followings_count" : 6120,
|
77
|
+
"likes_count" : 44,
|
78
|
+
"shots_count" : 91,
|
79
|
+
"type" : "Team",
|
80
|
+
"pro" : false,
|
81
|
+
"buckets_url" : "https://dribbble.com/v1/users/39/buckets",
|
82
|
+
"followers_url" : "https://dribbble.com/v1/users/39/followers",
|
83
|
+
"likes_url" : "https://dribbble.com/v1/users/39/likes",
|
84
|
+
"shots_url" : "https://dribbble.com/v1/users/39/shots",
|
85
|
+
"teams_url" : "https://dribbble.com/v1/users/39/teams",
|
86
|
+
"created_at" : "2009-08-18T18:34:31Z",
|
87
|
+
"updated_at" : "2014-02-14T22:32:11Z"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dribbble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 1.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Calyhre
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '4.3'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: guard-spork
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.5'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.5'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: sinatra
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,34 +94,6 @@ dependencies:
|
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '1.17'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: factory_girl
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '4.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '4.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: faker
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '1.3'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '1.3'
|
139
97
|
description: Simple gem to make shots and list stuff from Dribbble
|
140
98
|
email:
|
141
99
|
- contact@calyh.re
|
@@ -153,25 +111,53 @@ files:
|
|
153
111
|
- Rakefile
|
154
112
|
- dribbble.gemspec
|
155
113
|
- lib/dribbble.rb
|
114
|
+
- lib/dribbble/attachment.rb
|
156
115
|
- lib/dribbble/base.rb
|
157
116
|
- lib/dribbble/bucket.rb
|
158
117
|
- lib/dribbble/client.rb
|
118
|
+
- lib/dribbble/comment.rb
|
159
119
|
- lib/dribbble/errors.rb
|
120
|
+
- lib/dribbble/like.rb
|
121
|
+
- lib/dribbble/project.rb
|
160
122
|
- lib/dribbble/shot.rb
|
123
|
+
- lib/dribbble/team.rb
|
161
124
|
- lib/dribbble/user.rb
|
162
125
|
- lib/dribbble/utils.rb
|
126
|
+
- lib/dribbble/utils/creatable.rb
|
127
|
+
- lib/dribbble/utils/deletable.rb
|
128
|
+
- lib/dribbble/utils/findable.rb
|
129
|
+
- lib/dribbble/utils/has_children.rb
|
130
|
+
- lib/dribbble/utils/updatable.rb
|
163
131
|
- lib/dribbble/version.rb
|
164
|
-
- spec/factories.rb
|
165
132
|
- spec/lib/dribbble/base_spec.rb
|
133
|
+
- spec/lib/dribbble/bucket_spec.rb
|
166
134
|
- spec/lib/dribbble/client_spec.rb
|
135
|
+
- spec/lib/dribbble/project_spec.rb
|
136
|
+
- spec/lib/dribbble/shot_spec.rb
|
167
137
|
- spec/lib/dribbble/user_spec.rb
|
168
138
|
- spec/spec_helper.rb
|
169
139
|
- spec/support/dribbble.rb
|
140
|
+
- spec/support/fixtures/attachment_success.json
|
141
|
+
- spec/support/fixtures/attachments_success.json
|
142
|
+
- spec/support/fixtures/bucket_created.json
|
143
|
+
- spec/support/fixtures/bucket_success.json
|
144
|
+
- spec/support/fixtures/bucket_updated.json
|
170
145
|
- spec/support/fixtures/buckets_success.json
|
146
|
+
- spec/support/fixtures/comments_success.json
|
147
|
+
- spec/support/fixtures/current_user_success.json
|
148
|
+
- spec/support/fixtures/followers_success.json
|
149
|
+
- spec/support/fixtures/following_success.json
|
171
150
|
- spec/support/fixtures/image.jpg
|
172
151
|
- spec/support/fixtures/not_found.json
|
152
|
+
- spec/support/fixtures/project_success.json
|
153
|
+
- spec/support/fixtures/projects_success.json
|
154
|
+
- spec/support/fixtures/shot_likes_success.json
|
155
|
+
- spec/support/fixtures/shot_success.json
|
156
|
+
- spec/support/fixtures/shot_updated.json
|
173
157
|
- spec/support/fixtures/shots_success.json
|
158
|
+
- spec/support/fixtures/teams_success.json
|
174
159
|
- spec/support/fixtures/unauthorized.json
|
160
|
+
- spec/support/fixtures/user_likes_success.json
|
175
161
|
- spec/support/fixtures/user_success.json
|
176
162
|
homepage: http://github.com/Calyhre/dribbble
|
177
163
|
licenses:
|
@@ -188,9 +174,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
174
|
version: 2.0.0
|
189
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
176
|
requirements:
|
191
|
-
- - "
|
177
|
+
- - ">"
|
192
178
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
179
|
+
version: 1.3.1
|
194
180
|
requirements: []
|
195
181
|
rubyforge_project:
|
196
182
|
rubygems_version: 2.2.2
|
@@ -198,15 +184,33 @@ signing_key:
|
|
198
184
|
specification_version: 4
|
199
185
|
summary: Dribbble API ruby wrapper
|
200
186
|
test_files:
|
201
|
-
- spec/factories.rb
|
202
187
|
- spec/lib/dribbble/base_spec.rb
|
188
|
+
- spec/lib/dribbble/bucket_spec.rb
|
203
189
|
- spec/lib/dribbble/client_spec.rb
|
190
|
+
- spec/lib/dribbble/project_spec.rb
|
191
|
+
- spec/lib/dribbble/shot_spec.rb
|
204
192
|
- spec/lib/dribbble/user_spec.rb
|
205
193
|
- spec/spec_helper.rb
|
206
194
|
- spec/support/dribbble.rb
|
195
|
+
- spec/support/fixtures/attachment_success.json
|
196
|
+
- spec/support/fixtures/attachments_success.json
|
197
|
+
- spec/support/fixtures/bucket_created.json
|
198
|
+
- spec/support/fixtures/bucket_success.json
|
199
|
+
- spec/support/fixtures/bucket_updated.json
|
207
200
|
- spec/support/fixtures/buckets_success.json
|
201
|
+
- spec/support/fixtures/comments_success.json
|
202
|
+
- spec/support/fixtures/current_user_success.json
|
203
|
+
- spec/support/fixtures/followers_success.json
|
204
|
+
- spec/support/fixtures/following_success.json
|
208
205
|
- spec/support/fixtures/image.jpg
|
209
206
|
- spec/support/fixtures/not_found.json
|
207
|
+
- spec/support/fixtures/project_success.json
|
208
|
+
- spec/support/fixtures/projects_success.json
|
209
|
+
- spec/support/fixtures/shot_likes_success.json
|
210
|
+
- spec/support/fixtures/shot_success.json
|
211
|
+
- spec/support/fixtures/shot_updated.json
|
210
212
|
- spec/support/fixtures/shots_success.json
|
213
|
+
- spec/support/fixtures/teams_success.json
|
211
214
|
- spec/support/fixtures/unauthorized.json
|
215
|
+
- spec/support/fixtures/user_likes_success.json
|
212
216
|
- spec/support/fixtures/user_success.json
|
data/spec/factories.rb
DELETED