Commit graph

12 commits

Author SHA1 Message Date
cbad00f32d Fix AMFPHP requests
Okay, right, if we're just using www.neopets.com (like we are for now), it fails on http://www.neopets.com because it triggers a redirect that we don't follow.

So here I 1) change the default to HTTPS, and 2) add HTTPS support to our little RocketAMF lib
2023-10-23 19:05:09 -07:00
edc61e9cb4 fix NoMethodError when pet not found
Looks like I forgot to update the RemoteGateway code to consider
that RocketAMF now returns strings. Like in the Pet code, I opted
to dump it into a HashWithIndifferentAccess rather than assume
that we'll forever use strings and it'll never get switched back
to symbols.
2013-04-25 16:39:13 -05:00
f547a75c40 ruby 2.0.0 compatibility... hopefully. 2013-02-25 01:14:45 -05:00
29ed401238 load pet by locale, prepare needed translations 2013-01-24 18:24:34 -06:00
2016216d42 stricter timeout on neopets gateway requests 2012-09-29 14:02:11 -05:00
7dfc6d81a2 add timeout to pet load 2012-08-11 18:47:25 -04:00
2a7fea11e6 handle timeout errors for pet data, swfs, pet images 2011-02-19 22:49:13 -05:00
ac3e9c0051 no more eventmachine for http requests 2011-02-09 18:39:16 -05:00
28b387d4ca fix bug with eventmachine in dev 2011-02-06 17:49:30 -05:00
1a6bbd8dbd move async behavior to development_async environment 2010-10-11 18:28:39 -04:00
792d2ff1f2 have remote_gateway request use EM requests if available 2010-10-10 19:41:01 -04:00
bb233359d8 core of pet loading, still needs get image hash, download assets 2010-10-07 10:46:23 -04:00