Assist 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +22 -2
- data/lib/Assist/player.rb +19 -2
- data/lib/Assist/version.rb +1 -1
- data/spec/fixtures/dish_cassettes/player_shots.yml +80 -0
- data/spec/lib/Assist/player_spec.rb +24 -0
- metadata +5 -3
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Assist
|
2
2
|
|
3
|
-
|
3
|
+
Assist is a simple API handler for Dribbble.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,27 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Simple case use would be to load irb/pry. Then do a require 'Assist'.
|
22
|
+
|
23
|
+
Retrieving a Player Profile:
|
24
|
+
|
25
|
+
player = Assist::Player.new('simplebits') # username being the name of the user you wish to pull JSON data for.
|
26
|
+
|
27
|
+
player.username
|
28
|
+
=> "simplebits"
|
29
|
+
|
30
|
+
player.name
|
31
|
+
=> "Dan Cedarholm"
|
32
|
+
|
33
|
+
Any fields that is returned in the JSON data can be pulled dynamically from the player Object.
|
34
|
+
|
35
|
+
Retrieving a Players Shots:
|
36
|
+
|
37
|
+
player = Assist::Player.new('simplebits') # username being the name of the user you wish to pull JSON data for.
|
38
|
+
|
39
|
+
player.shots["shots"][1]["player"]["username"]
|
40
|
+
|
41
|
+
When you call the shots method it will return and Array of Hashes, that you will be able to do as you wish with.
|
22
42
|
|
23
43
|
## Contributing
|
24
44
|
|
data/lib/Assist/player.rb
CHANGED
@@ -22,10 +22,27 @@ module Assist
|
|
22
22
|
force ? @profile = get_profile : @profile ||= get_profile
|
23
23
|
end
|
24
24
|
|
25
|
+
def shots
|
26
|
+
@get_player_shots ||= get_player_shots
|
27
|
+
end
|
28
|
+
|
29
|
+
def shots(force= false)
|
30
|
+
force ? @shots = get_player_shots : @shots ||= get_player_shots
|
31
|
+
end
|
32
|
+
|
25
33
|
private
|
26
34
|
|
27
|
-
def get_profile
|
28
|
-
self.class.get "/players/#{self.
|
35
|
+
def get_profile(results = {})
|
36
|
+
results = self.class.get "/players/#{self.id}"
|
37
|
+
|
38
|
+
results.map do |key, value|
|
39
|
+
instance_variable_set("@#{key}", value)
|
40
|
+
end
|
41
|
+
return
|
42
|
+
end
|
43
|
+
|
44
|
+
def get_player_shots(results= {})
|
45
|
+
self.class.get "/players/#{self.username}/shots"
|
29
46
|
end
|
30
47
|
end
|
31
48
|
end
|
data/lib/Assist/version.rb
CHANGED
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.dribbble.com/players/simplebits/shots
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/0.7.62
|
17
|
+
Date:
|
18
|
+
- Fri, 30 Mar 2012 00:14:13 GMT
|
19
|
+
Content-Type:
|
20
|
+
- application/json; charset=utf-8
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
X-Powered-By:
|
24
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.9
|
25
|
+
Etag:
|
26
|
+
- ! '"b95059e61b26df45ec6e1ea2cc13c407"'
|
27
|
+
X-Runtime:
|
28
|
+
- '63'
|
29
|
+
Cache-Control:
|
30
|
+
- private, max-age=0, must-revalidate
|
31
|
+
Content-Length:
|
32
|
+
- '16448'
|
33
|
+
Status:
|
34
|
+
- '200'
|
35
|
+
body:
|
36
|
+
encoding: US-ASCII
|
37
|
+
string: ! '{"total":189,"shots":[{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
38
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/dsSb","created_at":"2012/03/15
|
39
|
+
13:59:08 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/472785/sasquatch-shot.png?1331834524","title":"Done.","likes_count":351,"rebound_source_id":472178,"url":"http://dribbble.com/shots/472785-Done-","rebounds_count":0,"id":472785,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/472785/sasquatch-shot_teaser.png?1331834524","height":300,"views_count":3278,"comments_count":30,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
40
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/dsGs","created_at":"2012/03/15
|
41
|
+
07:53:33 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/472178/vector-victor.png?1331812467","title":"Vector
|
42
|
+
Victor","likes_count":56,"rebound_source_id":471756,"url":"http://dribbble.com/shots/472178-Vector-Victor","rebounds_count":1,"id":472178,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/472178/vector-victor_teaser.png?1331812467","height":300,"views_count":1058,"comments_count":6,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
43
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/dsym","created_at":"2012/03/14
|
44
|
+
20:52:33 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/471756/sasquatch.png?1331773977","title":"Sasquatch","likes_count":110,"rebound_source_id":null,"url":"http://dribbble.com/shots/471756-Sasquatch","rebounds_count":2,"id":471756,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/471756/sasquatch_teaser.png?1331773977","height":300,"views_count":1322,"comments_count":24,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
45
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/djAY","created_at":"2012/02/27
|
46
|
+
23:01:03 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/447562/perkins.png?1330401708","title":"Perkins
|
47
|
+
Cove","likes_count":90,"rebound_source_id":437354,"url":"http://dribbble.com/shots/447562-Perkins-Cove","rebounds_count":5,"id":447562,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/447562/perkins_teaser.png?1330401708","height":300,"views_count":1784,"comments_count":15,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
48
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cXNG","created_at":"2012/02/07
|
49
|
+
11:56:03 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/415772/pears.png?1328634451","title":"pea.rs","likes_count":225,"rebound_source_id":null,"url":"http://dribbble.com/shots/415772-pea-rs","rebounds_count":0,"id":415772,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/415772/pears_teaser.png?1328634451","height":300,"views_count":2865,"comments_count":22,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
50
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cPeG","created_at":"2012/01/19
|
51
|
+
16:41:33 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/392320/10-books.png?1327009636","title":"Help
|
52
|
+
me clear some shelf space","likes_count":173,"rebound_source_id":null,"url":"http://dribbble.com/shots/392320-Help-me-clear-some-shelf-space","rebounds_count":1,"id":392320,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/392320/10-books_teaser.png?1327009636","height":300,"views_count":5053,"comments_count":109,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
53
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cOqa","created_at":"2012/01/18
|
54
|
+
12:25:53 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/390208/steps.png?1326907721","title":"Imitation","likes_count":241,"rebound_source_id":null,"url":"http://dribbble.com/shots/390208-Imitation","rebounds_count":0,"id":390208,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/390208/steps_teaser.png?1326907721","height":300,"views_count":3623,"comments_count":23,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
55
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cHLU","created_at":"2012/01/04
|
56
|
+
12:03:37 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/372418/custom-carrier-logo.png?1325696682","title":"SB
|
57
|
+
Wireless","likes_count":151,"rebound_source_id":null,"url":"http://dribbble.com/shots/372418-SB-Wireless","rebounds_count":0,"id":372418,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/372418/custom-carrier-logo_teaser.png?1325696682","height":300,"views_count":4918,"comments_count":40,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
58
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cHpN","created_at":"2012/01/03
|
59
|
+
16:10:42 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/371267/eaten.png?1325625103","title":"Eaten","likes_count":72,"rebound_source_id":null,"url":"http://dribbble.com/shots/371267-Eaten","rebounds_count":0,"id":371267,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/371267/eaten_teaser.png?1325625103","height":300,"views_count":3021,"comments_count":15,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
60
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cyKi","created_at":"2011/12/10
|
61
|
+
12:03:41 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/347992/pears.png?1323536721","title":"More
|
62
|
+
Pears","likes_count":252,"rebound_source_id":null,"url":"http://dribbble.com/shots/347992-More-Pears","rebounds_count":0,"id":347992,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/347992/pears_teaser.png?1323536721","height":300,"views_count":4970,"comments_count":13,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
63
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cxfW","created_at":"2011/12/06
|
64
|
+
17:20:58 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/343716/resp.png?1323210154","title":"RESP
|
65
|
+
OR AD","likes_count":78,"rebound_source_id":null,"url":"http://dribbble.com/shots/343716-RESP-OR-AD","rebounds_count":0,"id":343716,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/343716/resp_teaser.png?1323210154","height":300,"views_count":2225,"comments_count":10,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
66
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/cpMt","created_at":"2011/11/18
|
67
|
+
15:17:26 -0500","image_url":"http://dribbble.com/system/users/1/screenshots/323771/th-ba.png?1325881173","title":"TH
|
68
|
+
BA","likes_count":199,"rebound_source_id":null,"url":"http://dribbble.com/shots/323771-TH-BA","rebounds_count":0,"id":323771,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/323771/th-ba_teaser.png?1325881173","height":300,"views_count":2374,"comments_count":20,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
69
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/ceZW","created_at":"2011/10/17
|
70
|
+
11:54:09 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/294732/instapaper-icon.png?1318867158","title":"Instapaper
|
71
|
+
4 icon","likes_count":655,"rebound_source_id":null,"url":"http://dribbble.com/shots/294732-Instapaper-4-icon","rebounds_count":0,"id":294732,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/294732/instapaper-icon_teaser.png?1318867158","height":300,"views_count":6036,"comments_count":42,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
72
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/bNfA","created_at":"2011/08/24
|
73
|
+
22:22:15 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/246350/slide.png?1314239014","title":"Imit
|
74
|
+
Rep Inn","likes_count":285,"rebound_source_id":null,"url":"http://dribbble.com/shots/246350-Imit-Rep-Inn","rebounds_count":0,"id":246350,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/246350/slide_teaser.png?1314239014","height":300,"views_count":4903,"comments_count":20,"width":400},{"player":{"shots_count":189,"twitter_screen_name":"simplebits","avatar_url":"http://dribbble.s3.amazonaws.com/users/1/avatars/original/dc-2012.jpg?1331132114","likes_received_count":12318,"name":"Dan
|
75
|
+
Cederholm","created_at":"2009/07/07 21:51:22 -0400","location":"Salem, MA","following_count":1500,"likes_count":23894,"website_url":"http://simplebits.com","username":"simplebits","url":"http://dribbble.com/simplebits","rebounds_count":25,"draftees_count":133,"id":1,"drafted_by_player_id":null,"followers_count":14076,"comments_received_count":2527,"comments_count":2531,"rebounds_received_count":274},"short_url":"http://drbl.in/bJrA","created_at":"2011/08/12
|
76
|
+
15:14:48 -0400","image_url":"http://dribbble.com/system/users/1/screenshots/236158/run.png?1313179788","title":"Songs
|
77
|
+
for moving forw","likes_count":159,"rebound_source_id":null,"url":"http://dribbble.com/shots/236158-Songs-for-moving-forw","rebounds_count":0,"id":236158,"image_teaser_url":"http://dribbble.com/system/users/1/screenshots/236158/run_teaser.png?1313179788","height":300,"views_count":3926,"comments_count":11,"width":400}],"pages":13,"page":1,"per_page":15}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Fri, 30 Mar 2012 00:14:14 GMT
|
80
|
+
recorded_with: VCR 2.0.0
|
@@ -50,6 +50,30 @@ describe Assist::Player do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe "GET player shots" do
|
54
|
+
let(:player) { Assist::Player.new('simplebits') }
|
55
|
+
|
56
|
+
before do
|
57
|
+
VCR.insert_cassette 'player_shots', record: :new_episodes
|
58
|
+
end
|
59
|
+
|
60
|
+
after do
|
61
|
+
VCR.eject_cassette
|
62
|
+
end
|
63
|
+
|
64
|
+
it "must have a shots method" do
|
65
|
+
player.must_respond_to :shots
|
66
|
+
end
|
67
|
+
|
68
|
+
it "must parse the api response for JSON to Hash" do
|
69
|
+
player.shots.must_be_instance_of Hash
|
70
|
+
end
|
71
|
+
|
72
|
+
it "must perform the request and get the data" do
|
73
|
+
player.shots["shots"][1]["player"]["username"].must_equal 'simplebits'
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
53
77
|
describe "caching" do
|
54
78
|
|
55
79
|
let(:player) { Assist::Player.new('simplebits') }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Assist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
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-03-
|
12
|
+
date: 2012-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Simple API Wrapper for Dribbble
|
15
15
|
email:
|
@@ -29,6 +29,7 @@ files:
|
|
29
29
|
- lib/Assist/version.rb
|
30
30
|
- spec/fixtures/dish_cassettes/base.yml
|
31
31
|
- spec/fixtures/dish_cassettes/player.yml
|
32
|
+
- spec/fixtures/dish_cassettes/player_shots.yml
|
32
33
|
- spec/lib/Assist/player_spec.rb
|
33
34
|
- spec/spec_helper.rb
|
34
35
|
homepage: ''
|
@@ -51,12 +52,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
52
|
version: '0'
|
52
53
|
requirements: []
|
53
54
|
rubyforge_project:
|
54
|
-
rubygems_version: 1.8.
|
55
|
+
rubygems_version: 1.8.21
|
55
56
|
signing_key:
|
56
57
|
specification_version: 3
|
57
58
|
summary: Simple API Wrapper for Dribbble
|
58
59
|
test_files:
|
59
60
|
- spec/fixtures/dish_cassettes/base.yml
|
60
61
|
- spec/fixtures/dish_cassettes/player.yml
|
62
|
+
- spec/fixtures/dish_cassettes/player_shots.yml
|
61
63
|
- spec/lib/Assist/player_spec.rb
|
62
64
|
- spec/spec_helper.rb
|