octopussy 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/octopussy.rb +5 -0
- data/lib/octopussy/client.rb +26 -3
- data/test/octopussy_test.rb +41 -2
- metadata +43 -83
- data/.document +0 -4
- data/.gitignore +0 -21
- data/LICENSE +0 -20
- data/README.markdown +0 -68
- data/Rakefile +0 -59
- data/VERSION +0 -1
- data/changelog.markdown +0 -30
- data/octopussy.gemspec +0 -105
- data/test/fixtures/blob.json +0 -10
- data/test/fixtures/branches.json +0 -6
- data/test/fixtures/close_issue.json +0 -1
- data/test/fixtures/collaborators.json +0 -1
- data/test/fixtures/comment.json +0 -1
- data/test/fixtures/contributors.json +0 -6
- data/test/fixtures/emails.json +0 -1
- data/test/fixtures/followers.json +0 -3
- data/test/fixtures/full_user.json +0 -27
- data/test/fixtures/issue.json +0 -14
- data/test/fixtures/issues.json +0 -50
- data/test/fixtures/keys.json +0 -1
- data/test/fixtures/labels.json +0 -1
- data/test/fixtures/languages.json +0 -1
- data/test/fixtures/list_branch_commits.json +0 -48
- data/test/fixtures/list_commits.json +0 -824
- data/test/fixtures/network.json +0 -26
- data/test/fixtures/network_data.json +0 -1
- data/test/fixtures/network_meta.json +0 -109
- data/test/fixtures/open_issue.json +0 -1
- data/test/fixtures/raw_git_data.json +0 -7
- data/test/fixtures/reopen_issue.json +0 -1
- data/test/fixtures/repo.json +0 -14
- data/test/fixtures/repo_search.json +0 -452
- data/test/fixtures/repos.json +0 -830
- data/test/fixtures/search.json +0 -44
- data/test/fixtures/show_commit.json +0 -37
- data/test/fixtures/tags.json +0 -8
- data/test/fixtures/trees.json +0 -140
- data/test/fixtures/user.json +0 -16
data/test/fixtures/search.json
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"users": [{
|
3
|
-
"name": "pengwynn",
|
4
|
-
"location": "Dallas, TX",
|
5
|
-
"followers": 19,
|
6
|
-
"username": "pengwynn",
|
7
|
-
"language": "Ruby",
|
8
|
-
"fullname": "Wynn Netherland",
|
9
|
-
"repos": 15,
|
10
|
-
"id": "user-865",
|
11
|
-
"type": "user",
|
12
|
-
"pushed": "2009-12-05T17:15:06.757Z",
|
13
|
-
"score": 2.6885872,
|
14
|
-
"created": "2008-02-25T18:24:19Z"
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"name": "mattwynne",
|
18
|
-
"location": "London",
|
19
|
-
"followers": 13,
|
20
|
-
"username": "mattwynne",
|
21
|
-
"language": "Ruby",
|
22
|
-
"fullname": "Matt Wynne",
|
23
|
-
"repos": 13,
|
24
|
-
"id": "user-19260",
|
25
|
-
"type": "user",
|
26
|
-
"pushed": "2009-09-26T18:31:33.171Z",
|
27
|
-
"score": 2.6885872,
|
28
|
-
"created": "2008-08-01T17:15:11Z"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "harrywynn",
|
32
|
-
"location": "Myrtle Beach, SC",
|
33
|
-
"followers": 2,
|
34
|
-
"username": "harrywynn",
|
35
|
-
"language": "",
|
36
|
-
"fullname": "Harry Wynn",
|
37
|
-
"repos": 0,
|
38
|
-
"id": "user-103879",
|
39
|
-
"type": "user",
|
40
|
-
"pushed": "2009-09-26T19:13:37.522Z",
|
41
|
-
"score": 2.6885872,
|
42
|
-
"created": "2009-07-11T12:12:32Z"
|
43
|
-
}]
|
44
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"commit": {
|
3
|
-
"modified": [
|
4
|
-
{
|
5
|
-
"filename": "facebox.css",
|
6
|
-
"diff": "@@ -103,5 +103,5 @@\n \n * html #facebox_overlay { \/* ie6 hack *\/\n position: absolute;\n- height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');\n+ height: expression(\"document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'\");\n }"
|
7
|
-
}
|
8
|
-
],
|
9
|
-
"added": [
|
10
|
-
|
11
|
-
],
|
12
|
-
"author": {
|
13
|
-
"name": "Stephen Martin",
|
14
|
-
"login": "",
|
15
|
-
"email": "stephenmartin@stephen-martins-mac-pro.local"
|
16
|
-
},
|
17
|
-
"parents": [
|
18
|
-
{
|
19
|
-
"id": "b9a23779076953b33744261a8b745ff753cce85b"
|
20
|
-
}
|
21
|
-
],
|
22
|
-
"removed": [
|
23
|
-
|
24
|
-
],
|
25
|
-
"url": "http:\/\/github.com\/defunkt\/facebox\/commit\/1ff368f79b0f0aa0e1f1d78bcaa8691f94f9703e",
|
26
|
-
"id": "1ff368f79b0f0aa0e1f1d78bcaa8691f94f9703e",
|
27
|
-
"committed_date": "2010-04-23T08:49:45-07:00",
|
28
|
-
"authored_date": "2009-03-19T06:28:05-07:00",
|
29
|
-
"message": "Fixed CSS expression, throwing errors in IE6.",
|
30
|
-
"committer": {
|
31
|
-
"name": "Chris Wanstrath",
|
32
|
-
"login": "defunkt",
|
33
|
-
"email": "chris@ozmm.org"
|
34
|
-
},
|
35
|
-
"tree": "2460799b2a8c55df06690b663cf47874661e6745"
|
36
|
-
}
|
37
|
-
}
|
data/test/fixtures/tags.json
DELETED
data/test/fixtures/trees.json
DELETED
@@ -1,140 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"tree": [{
|
3
|
-
"name": ".gitignore",
|
4
|
-
"sha": "e43b0f988953ae3a84b00331d0ccf5f7d51cb3cf",
|
5
|
-
"mode": "100644",
|
6
|
-
"type": "blob"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "README.txt",
|
10
|
-
"sha": "d4fc2d5e810d9b4bc1ce67702603080e3086a4ed",
|
11
|
-
"mode": "100644",
|
12
|
-
"type": "blob"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"name": "b.png",
|
16
|
-
"sha": "f184e6269b343014f58694093b55558dd5dde193",
|
17
|
-
"mode": "100644",
|
18
|
-
"type": "blob"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "bl.png",
|
22
|
-
"sha": "f6271859d51654b6fb2719df5fe192c8398ecefc",
|
23
|
-
"mode": "100644",
|
24
|
-
"type": "blob"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "br.png",
|
28
|
-
"sha": "31f204fc451cd9dd5cfdadfad2d86ed0e1104882",
|
29
|
-
"mode": "100644",
|
30
|
-
"type": "blob"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "build_tar.sh",
|
34
|
-
"sha": "08f6f1fce2f6a02dcb15b6c66244470794587bb0",
|
35
|
-
"mode": "100755",
|
36
|
-
"type": "blob"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "closelabel.gif",
|
40
|
-
"sha": "87b4f8bd699386e3a6fcc2e50d7c61bfc4aabb8d",
|
41
|
-
"mode": "100755",
|
42
|
-
"type": "blob"
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"name": "facebox.css",
|
46
|
-
"sha": "08e190d5f81959d73d2bdd3e4f752271800886bf",
|
47
|
-
"mode": "100644",
|
48
|
-
"type": "blob"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "facebox.js",
|
52
|
-
"sha": "43245f3b1b50a0568ece00b44d2dc67be413f2a4",
|
53
|
-
"mode": "100644",
|
54
|
-
"type": "blob"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"name": "faceplant.css",
|
58
|
-
"sha": "dc61a86c3f342b930f0a0447cae33fee812e27d3",
|
59
|
-
"mode": "100644",
|
60
|
-
"type": "blob"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"name": "index.html",
|
64
|
-
"sha": "a9d1c235d08ae383e4d9dedf5e2cc0236defdaa6",
|
65
|
-
"mode": "100644",
|
66
|
-
"type": "blob"
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "jquery.js",
|
70
|
-
"sha": "ebe02bdd357c337e0e817fcbce2a034a54a13287",
|
71
|
-
"mode": "100644",
|
72
|
-
"type": "blob"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"name": "loading.gif",
|
76
|
-
"sha": "f864d5fd38b7466c76b5a36dc0e3e9455c0126e2",
|
77
|
-
"mode": "100755",
|
78
|
-
"type": "blob"
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "logo.png",
|
82
|
-
"sha": "e41cfe5c654e8e05ad46f15af1c462a1360e9764",
|
83
|
-
"mode": "100644",
|
84
|
-
"type": "blob"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"name": "releases",
|
88
|
-
"sha": "82e3a754b6a0fcb238b03c0e47d05219fbf9cf89",
|
89
|
-
"mode": "040000",
|
90
|
-
"type": "tree"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "remote.html",
|
94
|
-
"sha": "98d3e92373d1bc541e7f516e5e73b645a991ddc2",
|
95
|
-
"mode": "100644",
|
96
|
-
"type": "blob"
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"name": "screenshots",
|
100
|
-
"sha": "bbf747873075ac28667d246491ffdefbd314fe4f",
|
101
|
-
"mode": "040000",
|
102
|
-
"type": "tree"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"name": "shadow.gif",
|
106
|
-
"sha": "e58b35b362ce5347bb5064e91a3bf8e4fed4f6ef",
|
107
|
-
"mode": "100644",
|
108
|
-
"type": "blob"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "stairs.jpg",
|
112
|
-
"sha": "63459bb418f5f6d896a8eb925c01f45024933ed6",
|
113
|
-
"mode": "100644",
|
114
|
-
"type": "blob"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"name": "test.html",
|
118
|
-
"sha": "0a279c66167d358e40682186864935d0f856c4c4",
|
119
|
-
"mode": "100644",
|
120
|
-
"type": "blob"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"name": "test_programmatic.html",
|
124
|
-
"sha": "0249382efbdc7412a67976d19154ef07ac51437f",
|
125
|
-
"mode": "100644",
|
126
|
-
"type": "blob"
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"name": "tl.png",
|
130
|
-
"sha": "d99c8f6c6eaa12d7b49a20f41f08a5006f3ea8b7",
|
131
|
-
"mode": "100644",
|
132
|
-
"type": "blob"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"name": "tr.png",
|
136
|
-
"sha": "e99b6ec8310e859fd27519694f04e1babf2ab2c4",
|
137
|
-
"mode": "100644",
|
138
|
-
"type": "blob"
|
139
|
-
}]
|
140
|
-
}
|
data/test/fixtures/user.json
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"user": {
|
3
|
-
"name": "Wynn Netherland",
|
4
|
-
"company": "Orrka",
|
5
|
-
"location": "Dallas, TX",
|
6
|
-
"created_at": "2008/02/25 10:24:19 -0800",
|
7
|
-
"public_gist_count": 3,
|
8
|
-
"public_repo_count": 15,
|
9
|
-
"blog": "http://wynnnetherland.com",
|
10
|
-
"following_count": 55,
|
11
|
-
"id": 865,
|
12
|
-
"followers_count": 21,
|
13
|
-
"login": "pengwynn",
|
14
|
-
"email": "wynn.netherland@gmail.com"
|
15
|
-
}
|
16
|
-
}
|