octopussy 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -0
- data/.document +4 -0
- data/.gitignore +22 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +32 -0
- data/LICENSE +20 -0
- data/README.markdown +68 -0
- data/Rakefile +23 -0
- data/changelog.markdown +36 -0
- data/lib/octopussy.rb +1 -1
- data/lib/octopussy/client.rb +1 -1
- data/octopussy.gemspec +26 -0
- data/test/fixtures/blob.json +10 -0
- data/test/fixtures/branches.json +6 -0
- data/test/fixtures/close_issue.json +1 -0
- data/test/fixtures/collaborators.json +1 -0
- data/test/fixtures/comment.json +1 -0
- data/test/fixtures/contributors.json +6 -0
- data/test/fixtures/emails.json +1 -0
- data/test/fixtures/followers.json +3 -0
- data/test/fixtures/full_user.json +27 -0
- data/test/fixtures/issue.json +14 -0
- data/test/fixtures/issues.json +50 -0
- data/test/fixtures/keys.json +1 -0
- data/test/fixtures/labels.json +1 -0
- data/test/fixtures/languages.json +1 -0
- data/test/fixtures/list_branch_commits.json +48 -0
- data/test/fixtures/list_commits.json +824 -0
- data/test/fixtures/network.json +26 -0
- data/test/fixtures/network_data.json +1 -0
- data/test/fixtures/network_meta.json +109 -0
- data/test/fixtures/open_issue.json +1 -0
- data/test/fixtures/raw_git_data.yaml +7 -0
- data/test/fixtures/reopen_issue.json +1 -0
- data/test/fixtures/repo.json +14 -0
- data/test/fixtures/repo_search.json +452 -0
- data/test/fixtures/repos.json +830 -0
- data/test/fixtures/search.json +44 -0
- data/test/fixtures/show_commit.json +37 -0
- data/test/fixtures/tags.json +8 -0
- data/test/fixtures/timeline.json +1018 -0
- data/test/fixtures/trees.json +140 -0
- data/test/fixtures/user.json +16 -0
- data/test/helper.rb +0 -2
- metadata +134 -44
@@ -0,0 +1,140 @@
|
|
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
|
+
}
|
@@ -0,0 +1,16 @@
|
|
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
|
+
}
|
data/test/helper.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopussy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 17
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Wynn Netherland
|
@@ -15,95 +16,105 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-10-25 00:00:00 -05:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
23
25
|
requirements:
|
24
26
|
- - ~>
|
25
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 9
|
26
29
|
segments:
|
27
|
-
-
|
28
|
-
-
|
29
|
-
|
30
|
-
version: 0.2.0
|
31
|
-
name: hashie
|
32
|
-
prerelease: false
|
30
|
+
- 1
|
31
|
+
- 3
|
32
|
+
version: "1.3"
|
33
33
|
requirement: *id001
|
34
|
-
|
34
|
+
name: fakeweb
|
35
|
+
prerelease: false
|
36
|
+
type: :development
|
35
37
|
- !ruby/object:Gem::Dependency
|
36
38
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
37
40
|
requirements:
|
38
41
|
- - ~>
|
39
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 15
|
40
44
|
segments:
|
41
45
|
- 0
|
42
|
-
-
|
43
|
-
-
|
44
|
-
version: 0.
|
45
|
-
name: httparty
|
46
|
-
prerelease: false
|
46
|
+
- 4
|
47
|
+
- 0
|
48
|
+
version: 0.4.0
|
47
49
|
requirement: *id002
|
48
|
-
|
50
|
+
name: jnunemaker-matchy
|
51
|
+
prerelease: false
|
52
|
+
type: :development
|
49
53
|
- !ruby/object:Gem::Dependency
|
50
54
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
51
56
|
requirements:
|
52
57
|
- - ~>
|
53
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 25
|
54
60
|
segments:
|
55
|
-
- 2
|
56
|
-
- 10
|
57
61
|
- 0
|
58
|
-
|
59
|
-
|
60
|
-
prerelease: false
|
62
|
+
- 9
|
63
|
+
version: "0.9"
|
61
64
|
requirement: *id003
|
65
|
+
name: mocha
|
66
|
+
prerelease: false
|
62
67
|
type: :development
|
63
68
|
- !ruby/object:Gem::Dependency
|
64
69
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
65
71
|
requirements:
|
66
|
-
- -
|
72
|
+
- - ~>
|
67
73
|
- !ruby/object:Gem::Version
|
74
|
+
hash: 21
|
68
75
|
segments:
|
69
|
-
-
|
70
|
-
-
|
71
|
-
|
72
|
-
version: 0.4.0
|
73
|
-
name: jnunemaker-matchy
|
74
|
-
prerelease: false
|
76
|
+
- 2
|
77
|
+
- 11
|
78
|
+
version: "2.11"
|
75
79
|
requirement: *id004
|
80
|
+
name: shoulda
|
81
|
+
prerelease: false
|
76
82
|
type: :development
|
77
83
|
- !ruby/object:Gem::Dependency
|
78
84
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
79
86
|
requirements:
|
80
|
-
- -
|
87
|
+
- - ~>
|
81
88
|
- !ruby/object:Gem::Version
|
89
|
+
hash: 15
|
82
90
|
segments:
|
83
91
|
- 0
|
84
|
-
- 9
|
85
92
|
- 4
|
86
|
-
|
87
|
-
|
88
|
-
prerelease: false
|
93
|
+
- 0
|
94
|
+
version: 0.4.0
|
89
95
|
requirement: *id005
|
90
|
-
|
96
|
+
name: hashie
|
97
|
+
prerelease: false
|
98
|
+
type: :runtime
|
91
99
|
- !ruby/object:Gem::Dependency
|
92
100
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
93
102
|
requirements:
|
94
|
-
- -
|
103
|
+
- - ~>
|
95
104
|
- !ruby/object:Gem::Version
|
105
|
+
hash: 5
|
96
106
|
segments:
|
107
|
+
- 0
|
108
|
+
- 6
|
97
109
|
- 1
|
98
|
-
|
99
|
-
- 5
|
100
|
-
version: 1.2.5
|
101
|
-
name: fakeweb
|
102
|
-
prerelease: false
|
110
|
+
version: 0.6.1
|
103
111
|
requirement: *id006
|
104
|
-
|
112
|
+
name: httparty
|
113
|
+
prerelease: false
|
114
|
+
type: :runtime
|
105
115
|
description: Simple wrapper for the GitHub API v2
|
106
|
-
email:
|
116
|
+
email:
|
117
|
+
- wynn.netherland@gmail.com
|
107
118
|
executables: []
|
108
119
|
|
109
120
|
extensions: []
|
@@ -111,10 +122,54 @@ extensions: []
|
|
111
122
|
extra_rdoc_files: []
|
112
123
|
|
113
124
|
files:
|
125
|
+
- .bundle/config
|
126
|
+
- .document
|
127
|
+
- .gitignore
|
128
|
+
- Gemfile
|
129
|
+
- Gemfile.lock
|
130
|
+
- LICENSE
|
131
|
+
- README.markdown
|
132
|
+
- Rakefile
|
133
|
+
- changelog.markdown
|
134
|
+
- lib/octopussy.rb
|
114
135
|
- lib/octopussy/client.rb
|
115
136
|
- lib/octopussy/event.rb
|
116
137
|
- lib/octopussy/repo.rb
|
117
|
-
-
|
138
|
+
- octopussy.gemspec
|
139
|
+
- test/fixtures/blob.json
|
140
|
+
- test/fixtures/branches.json
|
141
|
+
- test/fixtures/close_issue.json
|
142
|
+
- test/fixtures/collaborators.json
|
143
|
+
- test/fixtures/comment.json
|
144
|
+
- test/fixtures/contributors.json
|
145
|
+
- test/fixtures/emails.json
|
146
|
+
- test/fixtures/followers.json
|
147
|
+
- test/fixtures/full_user.json
|
148
|
+
- test/fixtures/issue.json
|
149
|
+
- test/fixtures/issues.json
|
150
|
+
- test/fixtures/keys.json
|
151
|
+
- test/fixtures/labels.json
|
152
|
+
- test/fixtures/languages.json
|
153
|
+
- test/fixtures/list_branch_commits.json
|
154
|
+
- test/fixtures/list_commits.json
|
155
|
+
- test/fixtures/network.json
|
156
|
+
- test/fixtures/network_data.json
|
157
|
+
- test/fixtures/network_meta.json
|
158
|
+
- test/fixtures/open_issue.json
|
159
|
+
- test/fixtures/raw_git_data.yaml
|
160
|
+
- test/fixtures/reopen_issue.json
|
161
|
+
- test/fixtures/repo.json
|
162
|
+
- test/fixtures/repo_search.json
|
163
|
+
- test/fixtures/repos.json
|
164
|
+
- test/fixtures/search.json
|
165
|
+
- test/fixtures/show_commit.json
|
166
|
+
- test/fixtures/tags.json
|
167
|
+
- test/fixtures/timeline.json
|
168
|
+
- test/fixtures/trees.json
|
169
|
+
- test/fixtures/user.json
|
170
|
+
- test/helper.rb
|
171
|
+
- test/octopussy_test.rb
|
172
|
+
- test/repo_test.rb
|
118
173
|
has_rdoc: true
|
119
174
|
homepage: http://wynnnetherland.com/projects/octopussy/
|
120
175
|
licenses: []
|
@@ -125,16 +180,20 @@ rdoc_options: []
|
|
125
180
|
require_paths:
|
126
181
|
- lib
|
127
182
|
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
128
184
|
requirements:
|
129
185
|
- - ">="
|
130
186
|
- !ruby/object:Gem::Version
|
187
|
+
hash: 3
|
131
188
|
segments:
|
132
189
|
- 0
|
133
190
|
version: "0"
|
134
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
135
193
|
requirements:
|
136
194
|
- - ">="
|
137
195
|
- !ruby/object:Gem::Version
|
196
|
+
hash: 23
|
138
197
|
segments:
|
139
198
|
- 1
|
140
199
|
- 3
|
@@ -143,11 +202,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
202
|
requirements: []
|
144
203
|
|
145
204
|
rubyforge_project:
|
146
|
-
rubygems_version: 1.3.
|
205
|
+
rubygems_version: 1.3.7
|
147
206
|
signing_key:
|
148
207
|
specification_version: 3
|
149
208
|
summary: Wrapper for the Octopussy API
|
150
209
|
test_files:
|
210
|
+
- test/fixtures/blob.json
|
211
|
+
- test/fixtures/branches.json
|
212
|
+
- test/fixtures/close_issue.json
|
213
|
+
- test/fixtures/collaborators.json
|
214
|
+
- test/fixtures/comment.json
|
215
|
+
- test/fixtures/contributors.json
|
216
|
+
- test/fixtures/emails.json
|
217
|
+
- test/fixtures/followers.json
|
218
|
+
- test/fixtures/full_user.json
|
219
|
+
- test/fixtures/issue.json
|
220
|
+
- test/fixtures/issues.json
|
221
|
+
- test/fixtures/keys.json
|
222
|
+
- test/fixtures/labels.json
|
223
|
+
- test/fixtures/languages.json
|
224
|
+
- test/fixtures/list_branch_commits.json
|
225
|
+
- test/fixtures/list_commits.json
|
226
|
+
- test/fixtures/network.json
|
227
|
+
- test/fixtures/network_data.json
|
228
|
+
- test/fixtures/network_meta.json
|
229
|
+
- test/fixtures/open_issue.json
|
230
|
+
- test/fixtures/raw_git_data.yaml
|
231
|
+
- test/fixtures/reopen_issue.json
|
232
|
+
- test/fixtures/repo.json
|
233
|
+
- test/fixtures/repo_search.json
|
234
|
+
- test/fixtures/repos.json
|
235
|
+
- test/fixtures/search.json
|
236
|
+
- test/fixtures/show_commit.json
|
237
|
+
- test/fixtures/tags.json
|
238
|
+
- test/fixtures/timeline.json
|
239
|
+
- test/fixtures/trees.json
|
240
|
+
- test/fixtures/user.json
|
151
241
|
- test/helper.rb
|
152
242
|
- test/octopussy_test.rb
|
153
243
|
- test/repo_test.rb
|