impostor 0.2.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/.gemtest +0 -0
  2. data/.gitignore +1 -0
  3. data/.rspec +2 -0
  4. data/.rvmrc +1 -0
  5. data/Gemfile +17 -0
  6. data/Gemfile.lock +47 -0
  7. data/History.txt +8 -0
  8. data/Manifest.txt +87 -55
  9. data/README.txt +11 -11
  10. data/Rakefile +16 -20
  11. data/lib/impostor/auth.rb +103 -0
  12. data/lib/impostor/config.rb +171 -0
  13. data/lib/impostor/errors.rb +67 -0
  14. data/lib/impostor/phpbb2.rb +202 -0
  15. data/lib/impostor/phpbb3.rb +199 -0
  16. data/lib/impostor/post.rb +111 -0
  17. data/lib/impostor/topic.rb +115 -0
  18. data/lib/impostor/wwf79.rb +186 -0
  19. data/lib/impostor/wwf80.rb +190 -0
  20. data/lib/impostor.rb +108 -5
  21. data/spec/auth_spec.rb +148 -0
  22. data/spec/base_spec_helper.rb +12 -0
  23. data/{test/test_helper.rb → spec/caged_net_http.rb} +8 -17
  24. data/spec/config_spec.rb +136 -0
  25. data/spec/fixtures/junk.html +1 -0
  26. data/{test → spec}/fixtures/phpbb2-get-new_topic-form-good-response.html +0 -0
  27. data/{test → spec}/fixtures/phpbb2-get-viewtopic-for-new-topic-good-response.html +11 -11
  28. data/{test → spec}/fixtures/phpbb2-get-viewtopic-for-new-topic-malformed-response.html +0 -0
  29. data/{test → spec}/fixtures/phpbb2-index.html +0 -0
  30. data/{test → spec}/fixtures/phpbb2-logged-in.html +0 -0
  31. data/{test → spec}/fixtures/phpbb2-login.html +0 -0
  32. data/{test → spec}/fixtures/phpbb2-not-logged-in.html +0 -0
  33. data/{test → spec}/fixtures/phpbb2-post-new_topic-good-response.html +0 -0
  34. data/{test → spec}/fixtures/phpbb2-post-reply-good-response.html +0 -0
  35. data/{test → spec}/fixtures/phpbb2-post-reply-throttled-response.html +0 -0
  36. data/{test → spec}/fixtures/phpbb2-too-many-posts.html +0 -0
  37. data/{test → spec}/fixtures/phpbb3-get-new-topic-form-good-response.html +0 -0
  38. data/{test → spec}/fixtures/phpbb3-get-reply-form-good-response.html +0 -0
  39. data/{test → spec}/fixtures/phpbb3-logged-in.html +0 -0
  40. data/{test → spec}/fixtures/phpbb3-login.html +0 -0
  41. data/{test → spec}/fixtures/phpbb3-not-logged-in.html +0 -0
  42. data/{test → spec}/fixtures/phpbb3-post-new_topic-good-response.html +0 -0
  43. data/{test → spec}/fixtures/phpbb3-post-reply-good-response.html +0 -0
  44. data/spec/fixtures/vcr_cassettes/phpbb2-should-be-overlimit-creating-topic.yml +1308 -0
  45. data/spec/fixtures/vcr_cassettes/phpbb2-should-create-topic.yml +923 -0
  46. data/spec/fixtures/vcr_cassettes/phpbb2-should-login.yml +360 -0
  47. data/spec/fixtures/vcr_cassettes/phpbb2-should-not-create-new-topic.yml +497 -0
  48. data/spec/fixtures/vcr_cassettes/phpbb2-should-not-login.yml +287 -0
  49. data/spec/fixtures/vcr_cassettes/phpbb2-should-not-post.yml +497 -0
  50. data/spec/fixtures/vcr_cassettes/phpbb2-should-overlimit-error-post.yml +1140 -0
  51. data/spec/fixtures/vcr_cassettes/phpbb2-should-post.yml +751 -0
  52. data/spec/fixtures/vcr_cassettes/phpbb3-should-be-overlimit-creating-topic.yml +995 -0
  53. data/spec/fixtures/vcr_cassettes/phpbb3-should-create-topic.yml +675 -0
  54. data/spec/fixtures/vcr_cassettes/phpbb3-should-login.yml +245 -0
  55. data/spec/fixtures/vcr_cassettes/phpbb3-should-not-create-new-topic.yml +350 -0
  56. data/spec/fixtures/vcr_cassettes/phpbb3-should-not-login.yml +253 -0
  57. data/spec/fixtures/vcr_cassettes/phpbb3-should-not-post.yml +350 -0
  58. data/spec/fixtures/vcr_cassettes/phpbb3-should-overlimit-error-post.yml +1046 -0
  59. data/spec/fixtures/vcr_cassettes/phpbb3-should-post.yml +605 -0
  60. data/{test → spec}/fixtures/wwf79-forum_posts.html +0 -0
  61. data/{test → spec}/fixtures/wwf79-general-new-topic-error.html +0 -0
  62. data/{test → spec}/fixtures/wwf79-general-posting-error.html +0 -0
  63. data/{test → spec}/fixtures/wwf79-good-post-forum_posts.html +1 -1
  64. data/{test → spec}/fixtures/wwf79-index.html +0 -0
  65. data/{test → spec}/fixtures/wwf79-logged-in.html +0 -0
  66. data/{test → spec}/fixtures/wwf79-login.html +0 -0
  67. data/{test → spec}/fixtures/wwf79-new-topic-forum_posts-response.html +0 -0
  68. data/{test → spec}/fixtures/wwf79-new-topic-post_message_form.html +0 -0
  69. data/{test → spec}/fixtures/wwf79-not-logged-in.html +0 -0
  70. data/{test → spec}/fixtures/wwf79-too-many-posts.html +0 -0
  71. data/{test → spec}/fixtures/wwf79-too-many-topics.html +0 -0
  72. data/{test → spec}/fixtures/wwf80-general-posting-error.html +0 -0
  73. data/{test → spec}/fixtures/wwf80-get-new_topic-form-good-response.html +0 -0
  74. data/{test → spec}/fixtures/wwf80-get-viewtopic-for-new-topic-good-response.html +0 -0
  75. data/{test → spec}/fixtures/wwf80-index.html +0 -0
  76. data/{test → spec}/fixtures/wwf80-logged-in.html +0 -0
  77. data/{test → spec}/fixtures/wwf80-login.html +0 -0
  78. data/{test → spec}/fixtures/wwf80-new_reply_form.html +0 -0
  79. data/{test → spec}/fixtures/wwf80-not-logged-in.html +0 -0
  80. data/{test → spec}/fixtures/wwf80-post-new_topic-good-response.html +1 -1
  81. data/{test → spec}/fixtures/wwf80-post-reply-good-response.html +0 -0
  82. data/{test → spec}/fixtures/wwf80-too-many-posts.html +0 -0
  83. data/spec/impostor_spec_helper.rb +162 -0
  84. data/spec/integration/phpbb2_spec.rb +111 -0
  85. data/spec/integration/phpbb3_spec.rb +109 -0
  86. data/spec/integration_spec_helper.rb +7 -0
  87. data/spec/phpbb2_spec.rb +346 -0
  88. data/spec/phpbb3_spec.rb +332 -0
  89. data/spec/post_spec.rb +134 -0
  90. data/spec/spec_helper.rb +2 -0
  91. data/spec/test_impostor.rb +12 -0
  92. data/spec/topic_spec.rb +143 -0
  93. data/spec/wwf79_spec.rb +342 -0
  94. data/spec/wwf80_spec.rb +339 -0
  95. metadata +156 -87
  96. data/lib/www/impostor/phpbb2.rb +0 -258
  97. data/lib/www/impostor/phpbb3.rb +0 -236
  98. data/lib/www/impostor/wwf79.rb +0 -254
  99. data/lib/www/impostor/wwf80.rb +0 -264
  100. data/lib/www/impostor.rb +0 -269
  101. data/test/test_github.rb +0 -12
  102. data/test/test_www_impostor.rb +0 -165
  103. data/test/test_www_impostor_phpbb2.rb +0 -536
  104. data/test/test_www_impostor_phpbb3.rb +0 -483
  105. data/test/test_www_impostor_wwf79.rb +0 -535
  106. data/test/test_www_impostor_wwf80.rb +0 -535
  107. data/vendor/plugins/impostor/lib/autotest/discover.rb +0 -3
  108. data/vendor/plugins/impostor/lib/autotest/impostor.rb +0 -49
@@ -0,0 +1,360 @@
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:31 GMT
37
+ content-length:
38
+ - "4020"
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:31 GMT; path=/
43
+ - phpbb2mysql_sid=88aba4d732219609821e16b0a366fe0d; 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
+ H4sIAAAAAAAAA9Uba3PbNvKz9CtQ3TRNWr1tp7H86MWPNJ5JUjd2rnOfMhAJ
54
+ iahJQiEgK75M//vtLgC+RLmWc5OZi2OLxGPfu1gsoMPvzn47vf735Tl7ff32
55
+ Dbv8cPLm4pR1eoPBHzung8HZ9Znt2O0PR+w646mWRqqUx4PB+bvOcfswMknM
56
+ QpkddWKTUYPgIXwkwnAWGbPoiU9LeXvUOVWpEanpXd8tRIcF9u2oY8RnM0Ag
57
+ ByyIeKaFOZJa9V682NvvjTr3Aboyd7FoBBdoDTPbh7FMb1gmYmhWiw6LMjE7
58
+ 6vQHMg3F5/4iWvyiZXj04gWf8t3w553xeLT/fLj/YjwSo+fTId95/nwmhmGH
59
+ GWlicdS5U8ssVAmXaT9QCXulsmXCLhBWhw2Oy9i04FkQFQjt+/YYrxycKvRI
60
+ xCVmZvzT9oBfvfy9DpUvTaSyAm4ikqnIYqnN9uDf5nMJS/uQ2o9rApxM2Bs1
61
+ ZzI9HNj+9uF3vR4riREVrCMhjCfLiGQRcyP0QC+nVzK+FVnx1Ee1MwP2UDID
62
+ 1usBXIJU77L42oMf24xdR4KpTM4lWDbLIWJzIthMZQxkcHLCoE2D9bPxTzDn
63
+ NBNASsimdzjjJF4KFgot5yn0ob1OBoPVatV3fchyG3re/XZ9PkHAWrDTqyuY
64
+ MpMp+ZRmPBNMG5UB0JU0kUyZAbpQYGzB54JNVQi4FLRyw0CaL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XNTW3u3+0Auzw7A6YjWS8M+xSOdEzJAW
131
+ tSX00IVn65D3svF3pF86jT2UdK/hRvKLzkbyd8Z/Q/X6pnZNmQ0sYEDDc5KU
132
+ 8aUBT8NSEZY66KIbVfEnVR4o2sOS5snGaRSt7J6xIofHUFjGFcFmEoh0mDJI
133
+ HzIRmIoaK+NtZcmPd1SVVg5bXsrn+wg/+CqCayKlU/1S+FtLgrRIQ6/r7fOC
134
+ AsMF7n7nyrDkLg8dNipu0EF1PWoIm1TVobUolLd13it85hXmjt+722WM7uq3
135
+ /sB7CZ+WeKEFL5FleMJli3CzJV1W9eX2VBm82jYVsVqBJoJ4Gdrb6CI/+sbL
136
+ +SC66RQXgH67RTU5mGdrWnN5KzQgwBNS40/K6TIN44lauuMxCQaOI1M2y4SA
137
+ adM7GhiKW8C8gO1Wu4XlPB5rRfU/zaZLGeM5O7AuqIac8RneAcU4jZUzPNWj
138
+ LxuM+8M+u5j5i/5I2VOsus2VCtutDAI+ltQ2i2BVlRU3DBcJ+ntLtUt/L1W0
139
+ W5dqJTL7XQaLHFenrr2umjfciHBdbp5CsEigvt2CAVbcsBqhXOjaq8Gjc71c
140
+ UOUPy8C+wKIhDt1hiRNkAHIWYb+NinDfZmC/4v4LK+PD4bg9GNCXOUqk5p5Q
141
+ +rpFTtmglKxQY6fBxAgNmjZ7gq0HiGnUxb97ZRKcJXrzBxt2Vo9+sG7sWOCj
142
+ aqVJYmj4L9pIAwpkNQAA
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=88aba4d732219609821e16b0a366fe0d
149
+ body: username=tester&password=password&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
+ - "69"
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=88aba4d732219609821e16b0a366fe0d
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: 302
176
+ message: Found
177
+ headers:
178
+ location:
179
+ - http://localhost/phpbb2/index.php?sid=88aba4d732219609821e16b0a366fe0d
180
+ x-powered-by:
181
+ - PHP/5.3.3-1ubuntu9.3
182
+ content-type:
183
+ - text/html
184
+ server:
185
+ - Apache/2.2.16 (Ubuntu)
186
+ date:
187
+ - Thu, 17 Feb 2011 06:54:32 GMT
188
+ content-length:
189
+ - "20"
190
+ content-encoding:
191
+ - gzip
192
+ set-cookie:
193
+ - phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%2287a06891d8b0791e0759fa250848cb1a%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%223%22%3B%7D; expires=Fri, 17-Feb-2012 06:54:32 GMT; path=/
194
+ - phpbb2mysql_sid=88aba4d732219609821e16b0a366fe0d; path=/
195
+ keep-alive:
196
+ - timeout=15, max=100
197
+ vary:
198
+ - Accept-Encoding
199
+ body: !binary |
200
+ H4sIAAAAAAAAAwMAAAAAAAAAAAA=
201
+
202
+ http_version: "1.1"
203
+ - !ruby/struct:VCR::HTTPInteraction
204
+ request: !ruby/struct:VCR::Request
205
+ method: :get
206
+ uri: http://localhost:80/phpbb2/index.php?sid=88aba4d732219609821e16b0a366fe0d
207
+ body:
208
+ headers:
209
+ accept-language:
210
+ - en-us,en;q=0.5
211
+ connection:
212
+ - keep-alive
213
+ user-agent:
214
+ - Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
215
+ accept-encoding:
216
+ - gzip,identity
217
+ referer:
218
+ - http://localhost/phpbb2/login.php?sid=88aba4d732219609821e16b0a366fe0d
219
+ cookie:
220
+ - phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%2287a06891d8b0791e0759fa250848cb1a%22%3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%223%22%3B%7D; phpbb2mysql_sid=88aba4d732219609821e16b0a366fe0d
221
+ host:
222
+ - localhost
223
+ accept-charset:
224
+ - ISO-8859-1,utf-8;q=0.7,*;q=0.7
225
+ keep-alive:
226
+ - "300"
227
+ response: !ruby/struct:VCR::Response
228
+ status: !ruby/struct:VCR::ResponseStatus
229
+ code: 200
230
+ message: OK
231
+ headers:
232
+ x-powered-by:
233
+ - PHP/5.3.3-1ubuntu9.3
234
+ expires:
235
+ - "0"
236
+ content-type:
237
+ - text/html
238
+ server:
239
+ - Apache/2.2.16 (Ubuntu)
240
+ date:
241
+ - Thu, 17 Feb 2011 06:54:32 GMT
242
+ content-length:
243
+ - "4650"
244
+ content-encoding:
245
+ - gzip
246
+ cache-control:
247
+ - no-cache, pre-check=0, post-check=0
248
+ keep-alive:
249
+ - timeout=15, max=100
250
+ vary:
251
+ - Accept-Encoding
252
+ pragma:
253
+ - no-cache
254
+ body: !binary |
255
+ H4sIAAAAAAAAA9U7a3MbN5KfyV+BnVRie5dvPSJRorK2JFu6sh2vpaxra2tL
256
+ BXJAEvHMgBmAonWp/PfrbgDz4owiyb6rOskyh3g0+t2NBub4L2c/n17/68M5
257
+ u7h+95Z9+OXV28tTFnT7/U87p/3+2fWZ7djtDYbsOuWJlkaqhEf9/vn74KR9
258
+ vDRxxEKZToL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