impostor 0.2.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +47 -0
- data/History.txt +8 -0
- data/Manifest.txt +87 -55
- data/README.txt +11 -11
- data/Rakefile +16 -20
- data/lib/impostor/auth.rb +103 -0
- data/lib/impostor/config.rb +171 -0
- data/lib/impostor/errors.rb +67 -0
- data/lib/impostor/phpbb2.rb +202 -0
- data/lib/impostor/phpbb3.rb +199 -0
- data/lib/impostor/post.rb +111 -0
- data/lib/impostor/topic.rb +115 -0
- data/lib/impostor/wwf79.rb +186 -0
- data/lib/impostor/wwf80.rb +190 -0
- data/lib/impostor.rb +108 -5
- data/spec/auth_spec.rb +148 -0
- data/spec/base_spec_helper.rb +12 -0
- data/{test/test_helper.rb → spec/caged_net_http.rb} +8 -17
- data/spec/config_spec.rb +136 -0
- data/spec/fixtures/junk.html +1 -0
- data/{test → spec}/fixtures/phpbb2-get-new_topic-form-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb2-get-viewtopic-for-new-topic-good-response.html +11 -11
- data/{test → spec}/fixtures/phpbb2-get-viewtopic-for-new-topic-malformed-response.html +0 -0
- data/{test → spec}/fixtures/phpbb2-index.html +0 -0
- data/{test → spec}/fixtures/phpbb2-logged-in.html +0 -0
- data/{test → spec}/fixtures/phpbb2-login.html +0 -0
- data/{test → spec}/fixtures/phpbb2-not-logged-in.html +0 -0
- data/{test → spec}/fixtures/phpbb2-post-new_topic-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb2-post-reply-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb2-post-reply-throttled-response.html +0 -0
- data/{test → spec}/fixtures/phpbb2-too-many-posts.html +0 -0
- data/{test → spec}/fixtures/phpbb3-get-new-topic-form-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb3-get-reply-form-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb3-logged-in.html +0 -0
- data/{test → spec}/fixtures/phpbb3-login.html +0 -0
- data/{test → spec}/fixtures/phpbb3-not-logged-in.html +0 -0
- data/{test → spec}/fixtures/phpbb3-post-new_topic-good-response.html +0 -0
- data/{test → spec}/fixtures/phpbb3-post-reply-good-response.html +0 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-be-overlimit-creating-topic.yml +1308 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-create-topic.yml +923 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-login.yml +360 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-create-new-topic.yml +497 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-login.yml +287 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-post.yml +497 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-overlimit-error-post.yml +1140 -0
- data/spec/fixtures/vcr_cassettes/phpbb2-should-post.yml +751 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-be-overlimit-creating-topic.yml +995 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-create-topic.yml +675 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-login.yml +245 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-create-new-topic.yml +350 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-login.yml +253 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-post.yml +350 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-overlimit-error-post.yml +1046 -0
- data/spec/fixtures/vcr_cassettes/phpbb3-should-post.yml +605 -0
- data/{test → spec}/fixtures/wwf79-forum_posts.html +0 -0
- data/{test → spec}/fixtures/wwf79-general-new-topic-error.html +0 -0
- data/{test → spec}/fixtures/wwf79-general-posting-error.html +0 -0
- data/{test → spec}/fixtures/wwf79-good-post-forum_posts.html +1 -1
- data/{test → spec}/fixtures/wwf79-index.html +0 -0
- data/{test → spec}/fixtures/wwf79-logged-in.html +0 -0
- data/{test → spec}/fixtures/wwf79-login.html +0 -0
- data/{test → spec}/fixtures/wwf79-new-topic-forum_posts-response.html +0 -0
- data/{test → spec}/fixtures/wwf79-new-topic-post_message_form.html +0 -0
- data/{test → spec}/fixtures/wwf79-not-logged-in.html +0 -0
- data/{test → spec}/fixtures/wwf79-too-many-posts.html +0 -0
- data/{test → spec}/fixtures/wwf79-too-many-topics.html +0 -0
- data/{test → spec}/fixtures/wwf80-general-posting-error.html +0 -0
- data/{test → spec}/fixtures/wwf80-get-new_topic-form-good-response.html +0 -0
- data/{test → spec}/fixtures/wwf80-get-viewtopic-for-new-topic-good-response.html +0 -0
- data/{test → spec}/fixtures/wwf80-index.html +0 -0
- data/{test → spec}/fixtures/wwf80-logged-in.html +0 -0
- data/{test → spec}/fixtures/wwf80-login.html +0 -0
- data/{test → spec}/fixtures/wwf80-new_reply_form.html +0 -0
- data/{test → spec}/fixtures/wwf80-not-logged-in.html +0 -0
- data/{test → spec}/fixtures/wwf80-post-new_topic-good-response.html +1 -1
- data/{test → spec}/fixtures/wwf80-post-reply-good-response.html +0 -0
- data/{test → spec}/fixtures/wwf80-too-many-posts.html +0 -0
- data/spec/impostor_spec_helper.rb +162 -0
- data/spec/integration/phpbb2_spec.rb +111 -0
- data/spec/integration/phpbb3_spec.rb +109 -0
- data/spec/integration_spec_helper.rb +7 -0
- data/spec/phpbb2_spec.rb +346 -0
- data/spec/phpbb3_spec.rb +332 -0
- data/spec/post_spec.rb +134 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/test_impostor.rb +12 -0
- data/spec/topic_spec.rb +143 -0
- data/spec/wwf79_spec.rb +342 -0
- data/spec/wwf80_spec.rb +339 -0
- metadata +156 -87
- data/lib/www/impostor/phpbb2.rb +0 -258
- data/lib/www/impostor/phpbb3.rb +0 -236
- data/lib/www/impostor/wwf79.rb +0 -254
- data/lib/www/impostor/wwf80.rb +0 -264
- data/lib/www/impostor.rb +0 -269
- data/test/test_github.rb +0 -12
- data/test/test_www_impostor.rb +0 -165
- data/test/test_www_impostor_phpbb2.rb +0 -536
- data/test/test_www_impostor_phpbb3.rb +0 -483
- data/test/test_www_impostor_wwf79.rb +0 -535
- data/test/test_www_impostor_wwf80.rb +0 -535
- data/vendor/plugins/impostor/lib/autotest/discover.rb +0 -3
- data/vendor/plugins/impostor/lib/autotest/impostor.rb +0 -49
@@ -0,0 +1,287 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://localhost:80/phpbb2/login.php
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept-language:
|
9
|
+
- en-us,en;q=0.5
|
10
|
+
connection:
|
11
|
+
- keep-alive
|
12
|
+
user-agent:
|
13
|
+
- Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
|
14
|
+
accept-encoding:
|
15
|
+
- gzip,identity
|
16
|
+
host:
|
17
|
+
- localhost
|
18
|
+
accept-charset:
|
19
|
+
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
20
|
+
keep-alive:
|
21
|
+
- "300"
|
22
|
+
response: !ruby/struct:VCR::Response
|
23
|
+
status: !ruby/struct:VCR::ResponseStatus
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
x-powered-by:
|
28
|
+
- PHP/5.3.3-1ubuntu9.3
|
29
|
+
expires:
|
30
|
+
- "0"
|
31
|
+
content-type:
|
32
|
+
- text/html
|
33
|
+
server:
|
34
|
+
- Apache/2.2.16 (Ubuntu)
|
35
|
+
date:
|
36
|
+
- Thu, 17 Feb 2011 06:54:32 GMT
|
37
|
+
content-length:
|
38
|
+
- "4019"
|
39
|
+
content-encoding:
|
40
|
+
- gzip
|
41
|
+
set-cookie:
|
42
|
+
- phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; expires=Fri, 17-Feb-2012 06:54:32 GMT; path=/
|
43
|
+
- phpbb2mysql_sid=e9bc5dad9582cc217de391930801e80f; path=/
|
44
|
+
cache-control:
|
45
|
+
- no-cache, pre-check=0, post-check=0
|
46
|
+
keep-alive:
|
47
|
+
- timeout=15, max=100
|
48
|
+
vary:
|
49
|
+
- Accept-Encoding
|
50
|
+
pragma:
|
51
|
+
- no-cache
|
52
|
+
body: !binary |
|
53
|
+
H4sIAAAAAAAAA9Uba3PbNvKz9CtQ3SRNWr1tt7H86MWPNJ5JUjd2rnOfMhAJ
|
54
|
+
iahJQiEgK75M//vtLgC+RLmWc5OZi2OLxGPfu1gsoMPvzn47vf735Tl7ff32
|
55
|
+
Dbv8cPLm4pR1eoPBHzung8HZ9Znt2O0PR+w646mWRqqUx4PB+bvOcfswMknM
|
56
|
+
QpkddWKTUYPgIXwkwnAWGbPoiU9LeXvUOVWpEanpXd8tRIcF9u2oY8RnM0Ag
|
57
|
+
ByyIeKaFOZJa9V682NvvjTr3Aboyd7FoBBdoDTPbh7FMb1gmYmhWiw6LMjE7
|
58
|
+
6vQHMg3F5/4iWvyiZXgk9qfBXsjD/b0X4yAYj34Oxc7+aH9n+GI4Ei+Gsw4z
|
59
|
+
0sTiqHOnllmoEi7TfqAS9kply4RdIKwOGxyXsWnBsyAqENr37TFeOThV6JGI
|
60
|
+
S8zM+KftAb96+XsdKl+aSGUF3EQkU5HFUpvtwb/N5xKW9iG1H9cEOJmwN2rO
|
61
|
+
ZHo4sP3tw+96PVYSIypYR0IYT5YRySLmRuiBXk6vZHwrsuKpj2pnBuyhZAas
|
62
|
+
1wO4BKneZfG1Bz+0GbuOBFOZnEuwbJZDxOZEsJnKGMjg5IRBmwbrZ+MfYc5p
|
63
|
+
JoCUkE3vcMZJvBQsFFrOU+hDe50MBqvVqu/6kOU29Lz77fp8goC1YKdXVzBl
|
64
|
+
JlPyKc14Jpg2Kg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gvZXWkjWQ1AAA=
|
143
|
+
|
144
|
+
http_version: "1.1"
|
145
|
+
- !ruby/struct:VCR::HTTPInteraction
|
146
|
+
request: !ruby/struct:VCR::Request
|
147
|
+
method: :post
|
148
|
+
uri: http://localhost:80/phpbb2/login.php?sid=e9bc5dad9582cc217de391930801e80f
|
149
|
+
body: username=tester&password=junk&redirect=&autologin=on&login=Log+in
|
150
|
+
headers:
|
151
|
+
accept-language:
|
152
|
+
- en-us,en;q=0.5
|
153
|
+
connection:
|
154
|
+
- keep-alive
|
155
|
+
content-type:
|
156
|
+
- application/x-www-form-urlencoded
|
157
|
+
user-agent:
|
158
|
+
- Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
|
159
|
+
accept-encoding:
|
160
|
+
- gzip,identity
|
161
|
+
content-length:
|
162
|
+
- "65"
|
163
|
+
referer:
|
164
|
+
- http://localhost/phpbb2/login.php
|
165
|
+
cookie:
|
166
|
+
- phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; phpbb2mysql_sid=e9bc5dad9582cc217de391930801e80f
|
167
|
+
host:
|
168
|
+
- localhost
|
169
|
+
accept-charset:
|
170
|
+
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
171
|
+
keep-alive:
|
172
|
+
- "300"
|
173
|
+
response: !ruby/struct:VCR::Response
|
174
|
+
status: !ruby/struct:VCR::ResponseStatus
|
175
|
+
code: 200
|
176
|
+
message: OK
|
177
|
+
headers:
|
178
|
+
x-powered-by:
|
179
|
+
- PHP/5.3.3-1ubuntu9.3
|
180
|
+
expires:
|
181
|
+
- "0"
|
182
|
+
content-type:
|
183
|
+
- text/html
|
184
|
+
server:
|
185
|
+
- Apache/2.2.16 (Ubuntu)
|
186
|
+
date:
|
187
|
+
- Thu, 17 Feb 2011 06:54:33 GMT
|
188
|
+
content-length:
|
189
|
+
- "3814"
|
190
|
+
content-encoding:
|
191
|
+
- gzip
|
192
|
+
cache-control:
|
193
|
+
- private, pre-check=0, post-check=0, max-age=0
|
194
|
+
keep-alive:
|
195
|
+
- timeout=15, max=100
|
196
|
+
vary:
|
197
|
+
- Accept-Encoding
|
198
|
+
pragma:
|
199
|
+
- no-cache
|
200
|
+
body: !binary |
|
201
|
+
H4sIAAAAAAAAA9Uaa3PbNvKz9CtQdtomd3o7bhv50Utst8lMmqaxe51+ykAk
|
202
|
+
JKImCRWArPg6/e+3uwD4EuWznX65OLYoELvYN3YXOP7s/Kezq9/eXbBXVz++
|
203
|
+
Ye9+efnm9RmLhuPxrwdn4/H51bl78Ww0mbIrzQsjrVQFz8bji7fRaf84tXnG
|
204
|
+
EqlPosxqGhA8gY9cWM5Sa9dD8cdG3pxEZ6qworDDq9u1iFjsvp1EVny0Y0Ry
|
205
|
+
xOKUayPsiTRq+O23h8+H0+guRJf2NhOd6GJjOiG1WGph0tr0g6ONzk4ytZLF
|
206
|
+
aJ2uv9MCWBExvAH4TBbXTIsMsKp1xFIAP4lGY1kk4iPOjpiVNhMn0a3a6ETl
|
207
|
+
HJDEKmffK73J2WucFrFxA5ERXMdphct9byC79FOagKnIaiQs+R8NmO9f/NwG
|
208
|
+
4BubKl2B5CJfCJ1JYxuQP5bDhKB/TOOnLY7mc3Y8dm/6x58Nh6zGEWrBpELY
|
209
|
+
sJYV+TrjVpix2SwuZXYjdPU0Qt0wC0qr6YoNh4CXMLVfufX643/0GbtKBVNa
|
210
|
+
gq54xkqMOJwLtlSaAWMvXzIYM2CibPZPgDnTAkhJ2OIWIV5mG8ESYeSqgHdo
|
211
|
+
GvPxeLvdjvw7ZLYPb97+dHUxR8RGsLPLSwBZyoIM3zCuBTNWgaWwrbSpLJgF
|
212
|
+
ulBUbM1Xgi1UAmspGOWWgRxZzAu2AUQ4jSicwQqWiOZJDniN1RxxsxhsUosR
|
213
|
+
+zUVBYGm/AY4Q36lgfVQK8yJiR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