dsander-reve 0.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +155 -0
- data/LICENSE +22 -0
- data/Rakefile +79 -0
- data/init.rb +1 -0
- data/lib/reve/classes.rb +1341 -0
- data/lib/reve/exceptions.rb +353 -0
- data/lib/reve/extensions.rb +108 -0
- data/lib/reve.rb +1001 -0
- data/reve.rb +1 -0
- data/test/test_reve.rb +1191 -0
- data/test/xml/alliances.xml +171 -0
- data/test/xml/assets.xml +32 -0
- data/test/xml/badxml.xml +6 -0
- data/test/xml/certificate_tree.xml +231 -0
- data/test/xml/char_facwarstats.xml +18 -0
- data/test/xml/char_medals.xml +12 -0
- data/test/xml/character_sheet.xml +288 -0
- data/test/xml/characterid.xml +11 -0
- data/test/xml/charactername.xml +11 -0
- data/test/xml/characters.xml +13 -0
- data/test/xml/conqurable_stations.xml +12 -0
- data/test/xml/corp_facwarstats.xml +17 -0
- data/test/xml/corp_medals.xml +23 -0
- data/test/xml/corp_member_medals.xml +20 -0
- data/test/xml/corp_membersecurity.xml +49 -0
- data/test/xml/corporate_assets_list.xml +16 -0
- data/test/xml/corporate_market_orders.xml +10 -0
- data/test/xml/corporate_wallet_balance.xml +16 -0
- data/test/xml/corporate_wallet_journal.xml +11 -0
- data/test/xml/corporate_wallet_transactions.xml +10 -0
- data/test/xml/corporation_sheet.xml +52 -0
- data/test/xml/errors/error_100.xml +5 -0
- data/test/xml/errors/error_101.xml +5 -0
- data/test/xml/errors/error_102.xml +5 -0
- data/test/xml/errors/error_103.xml +5 -0
- data/test/xml/errors/error_104.xml +5 -0
- data/test/xml/errors/error_105.xml +5 -0
- data/test/xml/errors/error_106.xml +5 -0
- data/test/xml/errors/error_107.xml +5 -0
- data/test/xml/errors/error_108.xml +5 -0
- data/test/xml/errors/error_109.xml +5 -0
- data/test/xml/errors/error_110.xml +5 -0
- data/test/xml/errors/error_111.xml +5 -0
- data/test/xml/errors/error_112.xml +5 -0
- data/test/xml/errors/error_113.xml +5 -0
- data/test/xml/errors/error_114.xml +5 -0
- data/test/xml/errors/error_115.xml +5 -0
- data/test/xml/errors/error_116.xml +5 -0
- data/test/xml/errors/error_117.xml +5 -0
- data/test/xml/errors/error_118.xml +5 -0
- data/test/xml/errors/error_119.xml +5 -0
- data/test/xml/errors/error_120.xml +5 -0
- data/test/xml/errors/error_121.xml +5 -0
- data/test/xml/errors/error_122.xml +5 -0
- data/test/xml/errors/error_123.xml +5 -0
- data/test/xml/errors/error_124.xml +5 -0
- data/test/xml/errors/error_125.xml +5 -0
- data/test/xml/errors/error_200.xml +5 -0
- data/test/xml/errors/error_201.xml +5 -0
- data/test/xml/errors/error_202.xml +5 -0
- data/test/xml/errors/error_203.xml +5 -0
- data/test/xml/errors/error_204.xml +5 -0
- data/test/xml/errors/error_205.xml +5 -0
- data/test/xml/errors/error_206.xml +5 -0
- data/test/xml/errors/error_207.xml +5 -0
- data/test/xml/errors/error_208.xml +5 -0
- data/test/xml/errors/error_209.xml +5 -0
- data/test/xml/errors/error_210.xml +5 -0
- data/test/xml/errors/error_211.xml +5 -0
- data/test/xml/errors/error_212.xml +5 -0
- data/test/xml/errors/error_213.xml +5 -0
- data/test/xml/errors/error_214.xml +5 -0
- data/test/xml/errors/error_500.xml +5 -0
- data/test/xml/errors/error_501.xml +5 -0
- data/test/xml/errors/error_502.xml +5 -0
- data/test/xml/errors/error_503.xml +5 -0
- data/test/xml/errors/error_504.xml +5 -0
- data/test/xml/errors/error_505.xml +5 -0
- data/test/xml/errors/error_506.xml +5 -0
- data/test/xml/errors/error_507.xml +5 -0
- data/test/xml/errors/error_508.xml +5 -0
- data/test/xml/errors/error_509.xml +5 -0
- data/test/xml/errors/error_510.xml +5 -0
- data/test/xml/errors/error_511.xml +5 -0
- data/test/xml/errors/error_512.xml +5 -0
- data/test/xml/errors/error_513.xml +5 -0
- data/test/xml/errors/error_514.xml +5 -0
- data/test/xml/errors/error_515.xml +5 -0
- data/test/xml/errors/error_516.xml +5 -0
- data/test/xml/errors/error_517.xml +5 -0
- data/test/xml/errors/error_518.xml +5 -0
- data/test/xml/errors/error_519.xml +5 -0
- data/test/xml/errors/error_520.xml +5 -0
- data/test/xml/errors/error_521.xml +5 -0
- data/test/xml/errors/error_522.xml +5 -0
- data/test/xml/errors/error_523.xml +5 -0
- data/test/xml/errors/error_524.xml +5 -0
- data/test/xml/errors/error_525.xml +5 -0
- data/test/xml/errors/error_900.xml +5 -0
- data/test/xml/errors/error_901.xml +5 -0
- data/test/xml/errors/error_902.xml +5 -0
- data/test/xml/errors/error_903.xml +5 -0
- data/test/xml/errors/error_999.xml +5 -0
- data/test/xml/errors.xml +70 -0
- data/test/xml/eve_facwarstats.xml +35 -0
- data/test/xml/eve_facwartopstats.xml +178 -0
- data/test/xml/industryjobs.xml +11 -0
- data/test/xml/kills.xml +569 -0
- data/test/xml/map_facwarsystems.xml +13 -0
- data/test/xml/mapjumps.xml +15 -0
- data/test/xml/mapkills.xml +16 -0
- data/test/xml/market_transactions.xml +79 -0
- data/test/xml/marketorders.xml +43 -0
- data/test/xml/member_tracking.xml +22 -0
- data/test/xml/nonmember_corpsheet.xml +30 -0
- data/test/xml/reftypes.xml +14 -0
- data/test/xml/server_status.xml +9 -0
- data/test/xml/skill_in_training-amarr-titan.xml +15 -0
- data/test/xml/skill_in_training-none.xml +7 -0
- data/test/xml/skill_queue.xml +18 -0
- data/test/xml/skilltree.xml +41 -0
- data/test/xml/sovereignty.xml +29 -0
- data/test/xml/starbase_fuel.xml +23 -0
- data/test/xml/starbases.xml +12 -0
- data/test/xml/wallet_balance.xml +17 -0
- data/test/xml/wallet_journal.xml +48 -0
- data/tester.rb +17 -0
- metadata +187 -0
data/test/xml/errors.xml
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<eveapi version="2">
|
|
3
|
+
<currentTime>2008-02-03 13:58:00</currentTime>
|
|
4
|
+
<result>
|
|
5
|
+
<rowset columns="errorCode,errorText" name="errors" key="errorCode">
|
|
6
|
+
<row errorText="Expected before ref/trans ID = 0: wallet not previously loaded." errorCode="100">
|
|
7
|
+
</row><row errorText="Wallet exhausted: retry after {0}." errorCode="101">
|
|
8
|
+
</row><row errorText="Expected before ref/trans ID [{0}] but supplied [{1}]: wallet previously loaded." errorCode="102">
|
|
9
|
+
</row><row errorText="Already returned one week of data: retry after {0}." errorCode="103">
|
|
10
|
+
</row><row errorText="Invalid characterID." errorCode="105">
|
|
11
|
+
</row><row errorText="Must provide userID parameter for authentication." errorCode="106">
|
|
12
|
+
</row><row errorText="Invalid beforeRefID provided." errorCode="107">
|
|
13
|
+
</row><row errorText="Invalid accountKey provided." errorCode="108">
|
|
14
|
+
</row><row errorText="Invalid accountKey: must be in the range 1000 to 1006." errorCode="109">
|
|
15
|
+
</row><row errorText="Invalid beforeTransID provided." errorCode="110">
|
|
16
|
+
</row><row errorText="'{0}' is not a valid integer." errorCode="111">
|
|
17
|
+
</row><row errorText="Version mismatch." errorCode="112">
|
|
18
|
+
</row><row errorText="Version escalation is not allowed at this time." errorCode="113">
|
|
19
|
+
</row><row errorText="Invalid itemID provided." errorCode="114">
|
|
20
|
+
</row><row errorText="Assets already downloaded: retry after {0}." errorCode="115">
|
|
21
|
+
</row><row errorText="Industry jobs already downloaded: retry after {0}." errorCode="116">
|
|
22
|
+
</row><row errorText="Market orders already downloaded: retry after {0}." errorCode="117">
|
|
23
|
+
</row><row errorText="Expected beforeKillID = 0: wallet not previously loaded." errorCode="118">
|
|
24
|
+
</row><row errorText="Kills exhausted: retry after {0}." errorCode="119">
|
|
25
|
+
</row><row errorText="Expected beforeKillID [{0}] but supplied [{1}]: kills previously loaded." errorCode="120">
|
|
26
|
+
</row><row errorText="Invalid beforeKillID provided." errorCode="121">
|
|
27
|
+
</row><row errorText="Current security level not high enough." errorCode="200">
|
|
28
|
+
</row><row errorText="Character does not belong to account." errorCode="201">
|
|
29
|
+
</row><row errorText="Cached API key authentication failure." errorCode="202">
|
|
30
|
+
</row><row errorText="Authentication failure." errorCode="203">
|
|
31
|
+
</row><row errorText="Authentication failure." errorCode="204">
|
|
32
|
+
</row><row errorText="Authentication failure (final pass)." errorCode="205">
|
|
33
|
+
</row><row errorText="Character must have Accountant or Junior Accountant roles." errorCode="206">
|
|
34
|
+
</row><row errorText="Not available for NPC corporations." errorCode="207">
|
|
35
|
+
</row><row errorText="Character must have Accountant, Junior Accountant, or Trader roles." errorCode="208">
|
|
36
|
+
</row><row errorText="Character must be a Director or CEO." errorCode="209">
|
|
37
|
+
</row><row errorText="Authentication failure." errorCode="210">
|
|
38
|
+
</row><row errorText="Login denied by account status." errorCode="211">
|
|
39
|
+
</row><row errorText="Authentication failure (final pass)." errorCode="212">
|
|
40
|
+
</row><row errorText="Character must have Factory Manager role." errorCode="213">
|
|
41
|
+
</row><row errorText="Corporation is not part of alliance." errorCode="214">
|
|
42
|
+
</row><row errorText="GetID({0}) is invalid or not loaded." errorCode="501">
|
|
43
|
+
</row><row errorText="GetSkillpointsForLevel({0}, {1}): invalid input." errorCode="503">
|
|
44
|
+
</row><row errorText="GetRace({0}): invalid race." errorCode="504">
|
|
45
|
+
</row><row errorText="GetGender({0}): invalid gender." errorCode="505">
|
|
46
|
+
</row><row errorText="GetBloodline({0}): invalid bloodline." errorCode="506">
|
|
47
|
+
</row><row errorText="GetAttributeName({0}): invalid attribute." errorCode="507">
|
|
48
|
+
</row><row errorText="GetRefType({0}): invalid reftype." errorCode="508">
|
|
49
|
+
</row><row errorText="attributeID {0} has null data components." errorCode="509">
|
|
50
|
+
</row><row errorText="Character does not appear to have a corporation. Not loaded?" errorCode="510">
|
|
51
|
+
</row><row errorText="AccountCanQuery({0}): invalid accountKey." errorCode="511">
|
|
52
|
+
</row><row errorText="Invalid charID passed to CharData.GetCharacter()." errorCode="512">
|
|
53
|
+
</row><row errorText="Failed to get character roles in corporation." errorCode="513">
|
|
54
|
+
</row><row errorText="Invalid corpID passed to CorpData.GetCorporation()." errorCode="514">
|
|
55
|
+
</row><row errorText="Failed getting user information." errorCode="516">
|
|
56
|
+
</row><row errorText="CSV header/row count mismatch." errorCode="517">
|
|
57
|
+
</row><row errorText="Unable to get current TQ time." errorCode="518">
|
|
58
|
+
</row><row errorText="Failed getting starbase detail information." errorCode="519">
|
|
59
|
+
</row><row errorText="Unexpected failure accessing database." errorCode="520">
|
|
60
|
+
</row><row errorText="Invalid username and/or password passed to UserData.LoginWebUser()." errorCode="521">
|
|
61
|
+
</row><row errorText="Failed getting character information." errorCode="522">
|
|
62
|
+
</row><row errorText="Failed getting corporation information." errorCode="523">
|
|
63
|
+
</row><row errorText="Web site database temporarily disabled." errorCode="901">
|
|
64
|
+
</row><row errorText="EVE backend database temporarily disabled." errorCode="902">
|
|
65
|
+
</row><row errorText="Rate limited [{0}]: please obey all cachedUntil timers." errorCode="903">
|
|
66
|
+
</row><row errorText="User forced test error condition." errorCode="999">
|
|
67
|
+
</row></rowset>
|
|
68
|
+
</result>
|
|
69
|
+
<cacheduntil>2008-02-03 14:58:00</cacheduntil>
|
|
70
|
+
</eveapi>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
|
2
|
+
<eveapi version="2">
|
|
3
|
+
<currentTime>2008-06-29 19:34:10</currentTime>
|
|
4
|
+
<result>
|
|
5
|
+
<totals>
|
|
6
|
+
<killsYesterday>1707</killsYesterday>
|
|
7
|
+
<killsLastWeek>9737</killsLastWeek>
|
|
8
|
+
<killsTotal>27866</killsTotal>
|
|
9
|
+
<victoryPointsYesterday>215674</victoryPointsYesterday>
|
|
10
|
+
<victoryPointsLastWeek>1738351</victoryPointsLastWeek>
|
|
11
|
+
<victoryPointsTotal>5613787</victoryPointsTotal>
|
|
12
|
+
</totals>
|
|
13
|
+
<rowset name="factions" key="factionID" columns="factionID,factionName,pilots,systemsControlled,killsYesterday,killsLastWeek,killsTotal,victoryPointsYesterday">
|
|
14
|
+
<row factionID="500001" factionName="Caldari State"
|
|
15
|
+
pilots="7780" systemsControlled="1"
|
|
16
|
+
killsYesterday="355" killsLastWeek="2478" killsTotal="6417"
|
|
17
|
+
victoryPointsYesterday="18019" victoryPointsLastWeek="123493" victoryPointsTotal="313523"
|
|
18
|
+
/>
|
|
19
|
+
<row factionID="500002" factionName="Minmatar Republic" pilots="4677" systemsControlled="8" killsYesterday="460" killsLastWeek="2818" killsTotal="7824" victoryPointsYesterday="13368" victoryPointsLastWeek="100523" victoryPointsTotal="313010" />
|
|
20
|
+
<row factionID="500003" factionName="Amarr Empire" pilots="2844" systemsControlled="0" killsYesterday="225" killsLastWeek="1530" killsTotal="4042" victoryPointsYesterday="14609" victoryPointsLastWeek="89601" victoryPointsTotal="271238" />
|
|
21
|
+
<row factionID="500004" factionName="Gallente Federation" pilots="4845" systemsControlled="0" killsYesterday="667" killsLastWeek="2911" killsTotal="9583" victoryPointsYesterday="18505" victoryPointsLastWeek="120472" victoryPointsTotal="301694" />
|
|
22
|
+
</rowset>
|
|
23
|
+
<rowset name="factionWars" columns="factionID,factionName,againstID,againstName">
|
|
24
|
+
<row factionID="500001" factionName="Caldari State" againstID="500002" againstName="Minmatar Republic" />
|
|
25
|
+
<row factionID="500001" factionName="Caldari State" againstID="500004" againstName="Gallente Federation" />
|
|
26
|
+
<row factionID="500002" factionName="Minmatar Republic" againstID="500001" againstName="Caldari State" />
|
|
27
|
+
<row factionID="500002" factionName="Minmatar Republic" againstID="500003" againstName="Amarr Empire" />
|
|
28
|
+
<row factionID="500003" factionName="Amarr Empire" againstID="500002" againstName="Minmatar Republic" />
|
|
29
|
+
<row factionID="500003" factionName="Amarr Empire" againstID="500004" againstName="Gallente Federation" />
|
|
30
|
+
<row factionID="500004" factionName="Gallente Federation" againstID="500001" againstName="Caldari State" />
|
|
31
|
+
<row factionID="500004" factionName="Gallente Federation" againstID="500003" againstName="Amarr Empire" />
|
|
32
|
+
</rowset>
|
|
33
|
+
</result>
|
|
34
|
+
<cachedUntil>2008-06-29 20:34:11</cachedUntil>
|
|
35
|
+
</eveapi>
|