behance 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,7 +4,7 @@ A Ruby wrapper for the Behance API.
4
4
 
5
5
  More information about the API capabilities can be found [here][api].
6
6
 
7
- [api]: http://www.behance.net/devi
7
+ [api]: http://www.behance.net/dev
8
8
 
9
9
  ## Installation
10
10
 
@@ -56,7 +56,7 @@ Once you get it, you'll be able to start playing
56
56
  [user]: http://www.behance.net/dev/api/endpoints/2#users-get-1
57
57
 
58
58
  $ client.user(920309)
59
- $ client.user("foo")
59
+ $ client.user("jonkap1")
60
60
 
61
61
  [Get the projects published by an user][user_projects]
62
62
 
@@ -83,7 +83,30 @@ Once you get it, you'll be able to start playing
83
83
 
84
84
  ### Works in Progress
85
85
 
86
- **This is an actual work in progress ;-)**
86
+ [Search for works-in-progress][wips]
87
+
88
+ [wips]: http://www.behance.net/dev/api/endpoints/3#work-in-progress-get-11
89
+
90
+ $ client.wips
91
+ $ client.wips(time: "today", page: 2)
92
+
93
+ [Get information about a work in progress][wip]
94
+
95
+ [wip]: http://www.behance.net/dev/api/endpoints/3#work-in-progress-get-6
96
+
97
+ $ client.wip(69)
98
+
99
+ [Get information and contents of a revision of a work in progress][wip_revision]
100
+
101
+ [wip_revison]: http://www.behance.net/dev/api/endpoints/3#work-in-progress-get-7
102
+
103
+ $ client.wip_revision(69, 133)
104
+
105
+ [Get comments on a revision of a work in progress][wip_revision_comments]
106
+
107
+ [wip_revision_comments]: http://www.behance.net/dev/api/endpoints/3#work-in-progress-get-8
108
+
109
+ $ client.wip_revision_comments(69, 133)
87
110
 
88
111
  ## Contributing
89
112
 
@@ -1,5 +1,6 @@
1
1
  require File.expand_path('../project', __FILE__)
2
2
  require File.expand_path('../user', __FILE__)
3
+ require File.expand_path('../wips', __FILE__)
3
4
  require 'faraday'
4
5
  require 'faraday_middleware'
5
6
 
@@ -12,6 +13,7 @@ module Behance
12
13
 
13
14
  include Behance::Client::Project
14
15
  include Behance::Client::User
16
+ include Behance::Client::Wips
15
17
 
16
18
  attr_accessor :access_token, :connection
17
19
 
@@ -1,3 +1,3 @@
1
1
  module Behance
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -0,0 +1,78 @@
1
+ # Work-in-progress endpoints
2
+ module Behance
3
+ class Client
4
+ module Wips
5
+ # Public: Search for works-in-progress.
6
+ #
7
+ # options - The Hash with options that the API would expect:
8
+ # :time - Limits the search by time.
9
+ # Possible values: all (default), today,
10
+ # week, month.
11
+ # :page - The page number of the results, always
12
+ # starting with 1.
13
+ # :sort - The order the results are returned in.
14
+ # Possible values: comments (default),
15
+ # views, last_item_added_date.
16
+ # :tags - Limits the search by tags. Accepts one
17
+ # tag name or a pipe-separated list of tag
18
+ # names.
19
+ #
20
+ # Examples
21
+ #
22
+ # @client.wips
23
+ # @client.wips(time: "today", page: 2)
24
+ #
25
+ # Returns a Hash of wips in JSON format.
26
+ def wips(options={})
27
+ request("wips", options)["wips"]
28
+ end
29
+
30
+ # Public: Get information about a work in progress.
31
+ #
32
+ # wip_id - The ID (Integer) of a wip.
33
+ #
34
+ # Examples
35
+ #
36
+ # @client.wip(69)
37
+ #
38
+ # Returns a wip in JSON format.
39
+ def wip(wip_id)
40
+ request("wips/#{wip_id}")["wip"]
41
+ end
42
+
43
+ # Public: Get information and contents of a revision of a
44
+ # work in progress.
45
+ #
46
+ # wip_id - The ID (Integer) from the work in progress
47
+ # to look for.
48
+ # revision_id - The ID (Integer) from the revision to look
49
+ # for.
50
+ #
51
+ # Examples
52
+ #
53
+ # @client.wip_revision(69, 133)
54
+ #
55
+ # Returns a work-in-progress revision in JSON format.
56
+ def wip_revision(wip_id, revision_id)
57
+ request("wips/#{wip_id}/#{revision_id}")["revision"]
58
+ end
59
+
60
+ # Public: Get comments on a revision of a work in progress.
61
+ #
62
+ # wip_id - The ID (Integer) from the work in progress
63
+ # to look for.
64
+ # revision_id - The ID (Integer) from the revision to look
65
+ # for.
66
+ #
67
+ # Examples
68
+ #
69
+ # @client.wip_revision_comments(69, 133)
70
+ #
71
+ # Returns a work-in-progress revision comments in JSON
72
+ # format.
73
+ def wip_revision_comments(wip_id, revision_id)
74
+ request("wips/#{wip_id}/#{revision_id}/comments")["comments"]
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,92 @@
1
+ require 'spec_helper'
2
+
3
+ describe Behance::Client::Wips do
4
+
5
+ before(:all) do
6
+ @client = Behance::Client.new(access_token: "av1lj432vjf")
7
+ end
8
+
9
+ before do
10
+ @options = { api_key: @client.access_token }
11
+ end
12
+
13
+ describe "#wips" do
14
+ context "without parameters" do
15
+ before do
16
+ stub_get("wips").with(query: @options).
17
+ to_return(body: fixture("wips.json"))
18
+ @wips = @client.wips
19
+ end
20
+
21
+ it "makes a http request" do
22
+ a_get("wips").with(query: @options).should have_been_made
23
+ end
24
+
25
+ it "gets a list of wips" do
26
+ @wips.size.should == 3
27
+ end
28
+ end
29
+
30
+ context "with parameters" do
31
+ before do
32
+ @options.merge!(time: "today", page: 2)
33
+ stub_get("wips").with(query: @options).
34
+ to_return(body: fixture("wips.json"))
35
+ end
36
+
37
+ it "gets a list of wips" do
38
+ @client.wips(@options).size.should == 3
39
+ end
40
+ end
41
+ end
42
+
43
+ describe "#wip" do
44
+ before do
45
+ stub_get("wips/69").with(query: @options).
46
+ to_return(body: fixture("wip.json"))
47
+ @wip = @client.wip(69)
48
+ end
49
+
50
+ it "should make a http request" do
51
+ a_get("wips/69").with(query: @options).should have_been_made
52
+ end
53
+
54
+ it "gets a wip" do
55
+ @wip["id"].should == 69
56
+ end
57
+ end
58
+
59
+ describe "#wip_revision" do
60
+ before do
61
+ stub_get("wips/1/2").with(query: @options).
62
+ to_return(body: fixture("wip_revision.json"))
63
+ @revision = @client.wip_revision(1, 2)
64
+ end
65
+
66
+ it "makes a http request" do
67
+ a_get("wips/1/2").with(query: @options).
68
+ should have_been_made
69
+ end
70
+
71
+ it "gets a revision" do
72
+ @revision["id"].should == 133
73
+ end
74
+ end
75
+
76
+ describe "#wip_revision_comments" do
77
+ before do
78
+ stub_get("wips/1/2/comments").with(query: @options).
79
+ to_return(body: fixture("wip_revision_comments.json"))
80
+ @comments = @client.wip_revision_comments(1, 2)
81
+ end
82
+
83
+ it "makes a http request" do
84
+ a_get("wips/1/2/comments").with(query: @options).
85
+ should have_been_made
86
+ end
87
+
88
+ it "gets a list of comments" do
89
+ @comments.size.should == 4
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,30 @@
1
+ {
2
+
3
+ "wip": {
4
+ "id": 69,
5
+ "title": "Portfolio Review Schedule Design",
6
+ "revision_count": 1,
7
+ "latest_rev_id": 133,
8
+ "latest_rev_tags": [
9
+ "behance",
10
+ "schedule",
11
+ "information"
12
+ ],
13
+ "latest_rev_image": "http://behance.vo.llnwd.net/profiles/50004/wips/69/disp_4eb1864fcbe705dbcd6eca5ff155a454.png",
14
+ "latest_rev_thumb": "http://behance.vo.llnwd.net/profiles/50004/wips/69/thumb_4eb1864fcbe705dbcd6eca5ff155a454.png",
15
+ "url": "http://www.behance.net/wip/69",
16
+ "created_on": 1338927430,
17
+ "stats": {
18
+ "views": 149,
19
+ "comments": 8
20
+ },
21
+ "revisions": [
22
+ {
23
+ "id": 133,
24
+ "description": "Here's the first version of the schedule for a sample event. I think the time increments for actual review meetings work for small groups, but possibly not for larger ones. I like the actions at the bottom. Working for others?",
25
+ "image": "http://behance.vo.llnwd.net/profiles/50004/wips/69/disp_4eb1864fcbe705dbcd6eca5ff155a454.png"
26
+ }
27
+ ]
28
+ }
29
+
30
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+
3
+ "revision": {
4
+ "id": 133,
5
+ "description": "Here's the first version of the schedule for a sample event. I think the time increments for actual review meetings work for small groups, but possibly not for larger ones. I like the actions at the bottom. Working for others?",
6
+ "image": "http://behance.vo.llnwd.net/profiles/50004/wips/69/disp_4eb1864fcbe705dbcd6eca5ff155a454.png",
7
+ "tags": [
8
+ "behance",
9
+ "schedule",
10
+ "information"
11
+ ]
12
+ }
13
+
14
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "comments": [
3
+ {
4
+ "user": {
5
+ "id": 105815,
6
+ "first_name": "Déno",
7
+ "last_name": "Lelić",
8
+ "username": "denolelic",
9
+ "city": "Ljubljana",
10
+ "state": "",
11
+ "country": "Slovenia",
12
+ "company": "",
13
+ "occupation": "",
14
+ "created_on": 1243263958,
15
+ "url": "http://www.behance.net/denolelic",
16
+ "display_name": "Déno Lelić",
17
+ "images": {
18
+ "32": "http://behance.vo.llnwd.net/profiles2/105815/32xc919ae43c8859f13293576b364c345dd.jpg",
19
+ "50": "http://behance.vo.llnwd.net/profiles2/105815/50xc919ae43c8859f13293576b364c345dd.jpg",
20
+ "78": "http://behance.vo.llnwd.net/profiles2/105815/78xc919ae43c8859f13293576b364c345dd.jpg",
21
+ "115": "http://behance.vo.llnwd.net/profiles2/105815/115xc919ae43c8859f13293576b364c345dd.jpg",
22
+ "129": "http://behance.vo.llnwd.net/profiles2/105815/129xc919ae43c8859f13293576b364c345dd.jpg",
23
+ "138": "http://behance.vo.llnwd.net/profiles2/105815/c919ae43c8859f13293576b364c345dd.jpg"
24
+ },
25
+ "fields": [
26
+ "Art Direction",
27
+ "Branding",
28
+ "Graphic Design"
29
+ ]
30
+ },
31
+ "comment": "Love the infinity icon below \"Mingle & Drinks\". ",
32
+ "created_on": "2012-06-21 18:43:50"
33
+ },
34
+ {
35
+ "user": {
36
+ "id": 50004,
37
+ "first_name": "Scott",
38
+ "last_name": "Belsky",
39
+ "username": "sbelsky",
40
+ "city": "New York",
41
+ "state": "New York",
42
+ "country": "United States",
43
+ "company": "Behance LLC",
44
+ "occupation": "CEO",
45
+ "created_on": 1182480652,
46
+ "url": "http://www.behance.net/sbelsky",
47
+ "display_name": "Scott Belsky",
48
+ "images": {
49
+ "32": "http://behance.vo.llnwd.net/profiles/50004/32x0500041182480801.jpg",
50
+ "50": "http://behance.vo.llnwd.net/profiles/50004/50x0500041182480801.jpg",
51
+ "78": "http://behance.vo.llnwd.net/profiles/50004/78x0500041182480801.jpg",
52
+ "115": "http://behance.vo.llnwd.net/profiles/50004/115x0500041182480801.jpg",
53
+ "129": "http://behance.vo.llnwd.net/profiles/50004/129x0500041182480801.jpg",
54
+ "138": "http://behance.vo.llnwd.net/profiles/50004/0500041182480801.jpg"
55
+ },
56
+ "fields": [
57
+ "Entrepreneurship",
58
+ "Furniture Design",
59
+ "Writing"
60
+ ]
61
+ },
62
+ "comment": "Agreed; good feedback. We've reduced them...",
63
+ "created_on": "2012-06-20 11:46:04"
64
+ },
65
+ {
66
+ "user": {
67
+ "id": 183493,
68
+ "first_name": "Fahim",
69
+ "last_name": "MD",
70
+ "username": "workoffahimmd",
71
+ "city": "Toronto",
72
+ "state": "Ontario",
73
+ "country": "Canada",
74
+ "company": "Work Of Fahim MD",
75
+ "occupation": "Creative Designer",
76
+ "created_on": 1277406314,
77
+ "url": "http://www.behance.net/workoffahimmd",
78
+ "display_name": "Fahim MD",
79
+ "images": {
80
+ "32": "http://behance.vo.llnwd.net/profiles4/183493/32x661ae522810f714aa781c7224970ae91.png",
81
+ "50": "http://behance.vo.llnwd.net/profiles4/183493/50x661ae522810f714aa781c7224970ae91.png",
82
+ "78": "http://behance.vo.llnwd.net/profiles4/183493/78x661ae522810f714aa781c7224970ae91.png",
83
+ "115": "http://behance.vo.llnwd.net/profiles4/183493/115x661ae522810f714aa781c7224970ae91.png",
84
+ "129": "http://behance.vo.llnwd.net/profiles4/183493/129x661ae522810f714aa781c7224970ae91.png",
85
+ "138": "http://behance.vo.llnwd.net/profiles4/183493/661ae522810f714aa781c7224970ae91.png"
86
+ },
87
+ "fields": [
88
+ "Branding",
89
+ "User Interface Design",
90
+ "Web Design"
91
+ ]
92
+ },
93
+ "comment": "The buttons for \"Attend\" and \"Organize are way too big. Have you tried aligning the width end of the \" : \" ? ",
94
+ "created_on": "2012-06-20 11:36:57"
95
+ },
96
+ {
97
+ "user": {
98
+ "id": 50004,
99
+ "first_name": "Scott",
100
+ "last_name": "Belsky",
101
+ "username": "sbelsky",
102
+ "city": "New York",
103
+ "state": "New York",
104
+ "country": "United States",
105
+ "company": "Behance LLC",
106
+ "occupation": "CEO",
107
+ "created_on": 1182480652,
108
+ "url": "http://www.behance.net/sbelsky",
109
+ "display_name": "Scott Belsky",
110
+ "images": {
111
+ "32": "http://behance.vo.llnwd.net/profiles/50004/32x0500041182480801.jpg",
112
+ "50": "http://behance.vo.llnwd.net/profiles/50004/50x0500041182480801.jpg",
113
+ "78": "http://behance.vo.llnwd.net/profiles/50004/78x0500041182480801.jpg",
114
+ "115": "http://behance.vo.llnwd.net/profiles/50004/115x0500041182480801.jpg",
115
+ "129": "http://behance.vo.llnwd.net/profiles/50004/129x0500041182480801.jpg",
116
+ "138": "http://behance.vo.llnwd.net/profiles/50004/0500041182480801.jpg"
117
+ },
118
+ "fields": [
119
+ "Entrepreneurship",
120
+ "Furniture Design",
121
+ "Writing"
122
+ ]
123
+ },
124
+ "comment": "Ha! Thanks Nicklaus...we were trying to use iconography because of the very international audience that was participating. Many of the events happened a few weeks ago, here's a collection of images from the events: http://pinterest.com/behance/behance-portfolio-reviews/",
125
+ "created_on": "2012-06-06 11:45:57"
126
+ }]
127
+ }
@@ -0,0 +1,173 @@
1
+ {
2
+
3
+ "wips": [
4
+ {
5
+ "id": 12001,
6
+ "title": "Restaurant Menu Cover",
7
+ "revision_count": 13,
8
+ "latest_rev_id": 37849,
9
+ "latest_rev_tags": [
10
+ "food",
11
+ "animals",
12
+ "restaurant",
13
+ "pig",
14
+ "cow",
15
+ "chicken",
16
+ "veg",
17
+ "Illustration",
18
+ "wip",
19
+ "rough",
20
+ "lettering",
21
+ "character",
22
+ "retro",
23
+ "menu"
24
+ ],
25
+ "latest_rev_image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_17a955b8f5949f58c0f323f069f66ef0.jpg",
26
+ "latest_rev_thumb": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/thumb_17a955b8f5949f58c0f323f069f66ef0.jpg",
27
+ "url": "http://www.behance.net/wip/12001",
28
+ "created_on": 1343725640,
29
+ "stats": {
30
+ "views": 29782,
31
+ "comments": 307
32
+ },
33
+ "revisions": [
34
+ {
35
+ "id": 37849,
36
+ "description": "that's the last piece finished. I'm now going to sit on it for a couple of days to get fresh eyes on it. Probably lots of small tweaks needed but for now... :)\nOnce again, thanks for helping me through this one. Totalled out at about 1400 pshop layers and had to flatten and save a version 4 times (each files well over a gig). My mac needed some TLC now!",
37
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_17a955b8f5949f58c0f323f069f66ef0.jpg"
38
+ },
39
+ {
40
+ "id": 37327,
41
+ "description": "Nearly there!!!!\nOnly the lobster to finish. Just want to get it out of the way at this stage:)\nBTW re the bottle of Wine. Vincent is the investor:)",
42
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_979352ae65c76fcc53f0dabace155e47.jpg"
43
+ },
44
+ {
45
+ "id": 36285,
46
+ "description": "Only the left top corner to go no (chef,lobster & pig) plus props (food on plates, bottle of wine, oven, etc)\nWill need to flatten some bits again as photoshop is starting to chug again.\nwhat do you think of the rabbit now? ;)\n\nthanks!",
47
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_1e3339b8edb158bc7e5bb606fd48ca59.jpg"
48
+ },
49
+ {
50
+ "id": 34117,
51
+ "description": "quickly blocked in the rest of the shapes. will now start refining detail and balancing tone and colour. \nAlways great when you know you've broken the back of the job and the end is (how ever distant) in sight:)\n(Thanks to Alex for alerting me to the similarity of the the fish that was to the right of \"coffee\" and the fish on the far righthand side. Have now replaced him with a horny ram:)",
52
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_effcfba9e033dda9c2d6e2f39a607925.jpg"
53
+ },
54
+ {
55
+ "id": 33477,
56
+ "description": "starting to block in the colour and refine shapes on the back cover. At this stage I'm not worried about getting the colour right.",
57
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_289db6466fe263aa9911e45029014e6f.jpg"
58
+ },
59
+ {
60
+ "id": 32983,
61
+ "description": "Front half of the menu finished ( I think)\nThat rabbit is looking far too cute though:)\nThanks for all the comments so far, really appreciated!!!",
62
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_b1a550a60c80fd27cfb56187843a7a98.jpg"
63
+ },
64
+ {
65
+ "id": 32605,
66
+ "description": "Chop! Really happy with chef pig's tattoo:)",
67
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_0daddc8fb73021b8594ff39a2c0d2b86.jpg"
68
+ },
69
+ {
70
+ "id": 31725,
71
+ "description": "Added a background pattern and changed the cow's hat. Funny when you work so closely with a character he takes on a personality. There's no way he would have worn the previous hat:) \nMost of this is pretty much finished, still a few bits to a resolve. Very happy with the fish's bandana:)",
72
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_6bcf64576519051cfc06deac7cebfe1e.jpg"
73
+ },
74
+ {
75
+ "id": 31101,
76
+ "description": "starting blocking the colour in (on this half) Up to 400 layers in pshop already and weighing in at well over a gig.\nFeeling the cow has probably the right level of detail. have pulled back the level of shadow on the lobster. Colours will change as I work through it and try to get a good balance :)",
77
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_fabb499b9042a3e44d881f49ae27cb02.jpg"
78
+ },
79
+ {
80
+ "id": 30239,
81
+ "description": "Good news is the client is happy with the sketches. Moving onto colour. Wouldn't normally go into texture and shadows at this stage but need to get a feel for the amount of detail required.\nAs it progresses will swap colours around to get the balance right. Happy with the palette but maybe less shadow on the characters:)",
82
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_5ac1d7eecb9835c86252bba1903873ed.jpg"
83
+ },
84
+ {
85
+ "id": 24745,
86
+ "description": "Stage 3 rough. This the version the client will see. Still needs a lot of refinement as regards the characters but I'm happy with how it's coming along. Am expecting a lot of feedback with regard to uniform, food, equipment, text but hopefully they'll like the feel and direction it going. Fingers crossed:)",
87
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_72161d0044b22cf5f49c42ff2f1c1d2a.jpg"
88
+ },
89
+ {
90
+ "id": 24263,
91
+ "description": "Stage 2 rough. This is something I can show the design agency but will do another, cleaner, more refined sketch (inc. feedback from agency) before I let the client see it. Once I'm happy with the balance and rough shapes I'll start giving more attention to the character design. Thanks for all the comments so far:)",
92
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_74755c1471e72db0ea2436d5c6ff05ac.jpg"
93
+ },
94
+ {
95
+ "id": 23791,
96
+ "description": "New project that could potentially be very nice if all goes in the direction I'd like it to, but then again depending on initial feedback on sketches could get very messy:) fingers crossed. These are my first sketches that I'll work up more before the end client sees them. Basically it's a very busy kitchen scene... with animals and fish cooking the food:)",
97
+ "image": "http://behance.vo.llnwd.net/profiles5/203493/wips/12001/disp_9243a82460a6f31047cae19fb7b46db9.jpg"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "id": 10319,
103
+ "title": "Behance iPhone App 2.0",
104
+ "revision_count": 3,
105
+ "latest_rev_id": 38141,
106
+ "latest_rev_tags": [
107
+ "iphone",
108
+ "app",
109
+ "behance",
110
+ "UX",
111
+ "UI",
112
+ "interaction",
113
+ "Photo",
114
+ "wip"
115
+ ],
116
+ "latest_rev_image": "http://behance.vo.llnwd.net/profiles14/291380/wips/10319/disp_b5841c5bb2eaed65fa9ed412ef7e2c7e.jpg",
117
+ "latest_rev_thumb": "http://behance.vo.llnwd.net/profiles14/291380/wips/10319/thumb_b5841c5bb2eaed65fa9ed412ef7e2c7e.jpg",
118
+ "url": "http://www.behance.net/wip/10319",
119
+ "created_on": 1343060254,
120
+ "stats": {
121
+ "views": 1321,
122
+ "comments": 31
123
+ },
124
+ "revisions": [
125
+ {
126
+ "id": 38141,
127
+ "description": "With the new app, you'll also be able to add work in progress straight from your phone. Very easy to share what you're working on, especially if you mostly work with analog tools!",
128
+ "image": "http://behance.vo.llnwd.net/profiles14/291380/wips/10319/disp_b5841c5bb2eaed65fa9ed412ef7e2c7e.jpg"
129
+ },
130
+ {
131
+ "id": 38011,
132
+ "description": "Hey guys - just wanted to show you what the sketches ended up being!",
133
+ "image": "http://behance.vo.llnwd.net/profiles14/291380/wips/10319/disp_df4f9342d89507718e876c30a0ed6e86.jpg"
134
+ },
135
+ {
136
+ "id": 20427,
137
+ "description": "Trying to figure out some interactions when commenting on a WIP for the new Behance iPhone App. Will post actual UI/pixels as soon as I have something to share!",
138
+ "image": "http://behance.vo.llnwd.net/profiles14/291380/wips/10319/disp_a60b1ae71e04fc40567b4256e5d46e7b.jpg"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "id": 18697,
144
+ "title": "Behance Project Editor 3.0",
145
+ "revision_count": 1,
146
+ "latest_rev_id": 38007,
147
+ "latest_rev_tags": [
148
+ "behance",
149
+ "UI",
150
+ "UX",
151
+ "menu",
152
+ "icons",
153
+ "dark",
154
+ "sidebar"
155
+ ],
156
+ "latest_rev_image": "http://behance.vo.llnwd.net/profiles14/291380/wips/18697/disp_db4e3f81dd706aa574d206475995a2f3.jpg",
157
+ "latest_rev_thumb": "http://behance.vo.llnwd.net/profiles14/291380/wips/18697/thumb_db4e3f81dd706aa574d206475995a2f3.jpg",
158
+ "url": "http://www.behance.net/wip/18697",
159
+ "created_on": 1346320869,
160
+ "stats": {
161
+ "views": 350,
162
+ "comments": 17
163
+ },
164
+ "revisions": [
165
+ {
166
+ "id": 38007,
167
+ "description": "We're redesigning our project editor to make uploading projects much easier and faster. We want your input on the \"embed media\" icon. Which one makes the most sense to you guys?",
168
+ "image": "http://behance.vo.llnwd.net/profiles14/291380/wips/18697/disp_db4e3f81dd706aa574d206475995a2f3.jpg"
169
+ }
170
+ ]
171
+ } ]
172
+
173
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: behance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-20 00:00:00.000000000 Z
12
+ date: 2012-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -109,9 +109,11 @@ files:
109
109
  - lib/behance/project.rb
110
110
  - lib/behance/user.rb
111
111
  - lib/behance/version.rb
112
+ - lib/behance/wips.rb
112
113
  - spec/behance/client_spec.rb
113
114
  - spec/behance/project_spec.rb
114
115
  - spec/behance/user_spec.rb
116
+ - spec/behance/wips_spec.rb
115
117
  - spec/fixtures/project.json
116
118
  - spec/fixtures/project_comments.json
117
119
  - spec/fixtures/projects.json
@@ -120,6 +122,10 @@ files:
120
122
  - spec/fixtures/user_projects.json
121
123
  - spec/fixtures/user_wips.json
122
124
  - spec/fixtures/users.json
125
+ - spec/fixtures/wip.json
126
+ - spec/fixtures/wip_revision.json
127
+ - spec/fixtures/wip_revision_comments.json
128
+ - spec/fixtures/wips.json
123
129
  - spec/spec_helper.rb
124
130
  homepage: ''
125
131
  licenses: []
@@ -149,6 +155,7 @@ test_files:
149
155
  - spec/behance/client_spec.rb
150
156
  - spec/behance/project_spec.rb
151
157
  - spec/behance/user_spec.rb
158
+ - spec/behance/wips_spec.rb
152
159
  - spec/fixtures/project.json
153
160
  - spec/fixtures/project_comments.json
154
161
  - spec/fixtures/projects.json
@@ -157,4 +164,8 @@ test_files:
157
164
  - spec/fixtures/user_projects.json
158
165
  - spec/fixtures/user_wips.json
159
166
  - spec/fixtures/users.json
167
+ - spec/fixtures/wip.json
168
+ - spec/fixtures/wip_revision.json
169
+ - spec/fixtures/wip_revision_comments.json
170
+ - spec/fixtures/wips.json
160
171
  - spec/spec_helper.rb