eoat 0.1.0
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.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/.yardopts +8 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +361 -0
- data/Rakefile +9 -0
- data/eoat.gemspec +37 -0
- data/lib/eoat.rb +80 -0
- data/lib/eoat/cache/file_cache.rb +109 -0
- data/lib/eoat/cache/memcached_cache.rb +54 -0
- data/lib/eoat/cache/none_cache.rb +36 -0
- data/lib/eoat/cache/redis_cache.rb +61 -0
- data/lib/eoat/eve_api.rb +49 -0
- data/lib/eoat/exception.rb +63 -0
- data/lib/eoat/request.rb +82 -0
- data/lib/eoat/result/eve_type.rb +163 -0
- data/lib/eoat/version.rb +4 -0
- data/lib/eoat/zk_api.rb +33 -0
- data/spec/eoat/eve_api_spec.rb +80 -0
- data/spec/eoat/eve_result_spec.rb +127 -0
- data/spec/eoat/file_cache_spec.rb +29 -0
- data/spec/eoat/memcached_cache_spec.rb +14 -0
- data/spec/eoat/redis_cache_spec.rb +14 -0
- data/spec/eoat/zk_api_spec.rb +55 -0
- data/spec/eoat_spec.rb +39 -0
- data/spec/fixtures/eve/account/APIKeyInfo.xml.aspx +13 -0
- data/spec/fixtures/eve/corp/KillLog.xml.aspx +6 -0
- data/spec/fixtures/eve/eve/CertificateTree.xml.aspx +3846 -0
- data/spec/fixtures/eve/eve/CharacterInfo.xml.aspx +24 -0
- data/spec/fixtures/eve/eve/CharacterName.xml.aspx +11 -0
- data/spec/fixtures/eve/eve/ErrorList.xml.aspx +91 -0
- data/spec/fixtures/eve/eve/FacWarStats.xml.aspx +31 -0
- data/spec/fixtures/eve/eve/FacWarTopStats.xml.aspx +733 -0
- data/spec/fixtures/eve/server/ServerStatus.xml.aspx +9 -0
- data/spec/fixtures/zkillboard/api-kills-allianceID-99002003-limit-5-xml +1 -0
- data/spec/fixtures/zkillboard/api-kills-solo-xml +1 -0
- data/spec/spec_helper.rb +86 -0
- metadata +259 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="2">
|
3
|
+
<currentTime>2013-08-30 22:07:35</currentTime>
|
4
|
+
<result>
|
5
|
+
<serverOpen>True</serverOpen>
|
6
|
+
<onlinePlayers>35355</onlinePlayers>
|
7
|
+
</result>
|
8
|
+
<cachedUntil>2013-08-30 22:07:51</cachedUntil>
|
9
|
+
</eveapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><eveapi version="2" zkbapi="1"><currentTime>2013-09-02 11:44:37</currentTime><result><rowset name="kills" key="killID" columns="killID,solarSystemID,killTime,moonID"><row killID="33029760" solarSystemID="30002481" killTime="2013-09-02 04:00:00" moonID="0"><victim characterID="655479853" characterName="ladymauve" corporationID="98244923" corporationName="George Takei's Fine Perfumes" allianceID="0" allianceName="" factionID="0" factionName="" damageTaken="465" shipTypeID="596"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="90407545" characterName="OlimpuS Mileghere" corporationID="1719660426" corporationName="NeoCorteX Industry" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="3.5931947697267" damageDone="465" finalBlow="1" weaponTypeID="2629" shipTypeID="29984"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="34" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="3634" flag="27" qtyDropped="1" qtyDestroyed="0"/><row typeID="3651" flag="28" qtyDropped="1" qtyDestroyed="0"/></rowset></row><row killID="33024892" solarSystemID="30000186" killTime="2013-09-01 22:16:00" moonID="0"><victim characterID="92368502" characterName="Ulic Qel-Drazen" corporationID="98134867" corporationName="Glory to the First Born" allianceID="0" allianceName="" factionID="0" factionName="" damageTaken="8694" shipTypeID="17478"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="280884428" characterName="Takoona" corporationID="98130632" corporationName="Stella Incognita" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="-7.8651406997237" damageDone="6058" finalBlow="1" weaponTypeID="2881" shipTypeID="11400"/><row characterID="0" characterName="" corporationID="1000127" corporationName="Guristas" allianceID="0" allianceName="" factionID="0" factionName="" securityStatus="0" damageDone="2636" finalBlow="0" weaponTypeID="0" shipTypeID="23312"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="18058" flag="5" qtyDropped="0" qtyDestroyed="8"/><row typeID="18058" flag="28" qtyDropped="0" qtyDestroyed="1"/><row typeID="22542" flag="13" qtyDropped="1" qtyDestroyed="0"/><row typeID="2454" flag="87" qtyDropped="1" qtyDestroyed="0"/><row typeID="18066" flag="5" qtyDropped="5" qtyDestroyed="0"/><row typeID="18060" flag="5" qtyDropped="1" qtyDestroyed="9"/><row typeID="18062" flag="5" qtyDropped="5" qtyDestroyed="0"/><row typeID="17452" flag="134" qtyDropped="1655" qtyDestroyed="0"/><row typeID="18058" flag="27" qtyDropped="1" qtyDestroyed="0"/><row typeID="17912" flag="27" qtyDropped="0" qtyDestroyed="1"/><row typeID="22542" flag="11" qtyDropped="0" qtyDestroyed="1"/><row typeID="17912" flag="28" qtyDropped="0" qtyDestroyed="1"/><row typeID="22542" flag="12" qtyDropped="1" qtyDestroyed="0"/><row typeID="4395" flag="92" qtyDropped="0" qtyDestroyed="1"/><row typeID="2333" flag="19" qtyDropped="1" qtyDestroyed="0"/></rowset></row><row killID="33024401" solarSystemID="30000186" killTime="2013-09-01 21:53:00" moonID="0"><victim characterID="345379439" characterName="Sir Gauss" corporationID="98163973" corporationName="Axe and Hammer Precision Industries" allianceID="0" allianceName="" factionID="0" factionName="" damageTaken="412" shipTypeID="670"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="280884428" characterName="Takoona" corporationID="98130632" corporationName="Stella Incognita" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="-7.8446635786573" damageDone="412" finalBlow="1" weaponTypeID="2881" shipTypeID="11400"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"></rowset></row><row killID="33024379" solarSystemID="30000186" killTime="2013-09-01 21:52:00" moonID="0"><victim characterID="345379439" characterName="Sir Gauss" corporationID="98163973" corporationName="Axe and Hammer Precision Industries" allianceID="0" allianceName="" factionID="0" factionName="" damageTaken="5158" shipTypeID="603"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="280884428" characterName="Takoona" corporationID="98130632" corporationName="Stella Incognita" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="-7.6165949108719" damageDone="2224" finalBlow="1" weaponTypeID="2881" shipTypeID="11400"/><row characterID="0" characterName="" corporationID="1000127" corporationName="Guristas" allianceID="0" allianceName="" factionID="0" factionName="" securityStatus="0" damageDone="1491" finalBlow="0" weaponTypeID="0" shipTypeID="23312"/><row characterID="0" characterName="" corporationID="500010" corporationName="Guristas Pirates" allianceID="0" allianceName="" factionID="0" factionName="" securityStatus="0" damageDone="1443" finalBlow="0" weaponTypeID="0" shipTypeID="17598"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="31788" flag="93" qtyDropped="0" qtyDestroyed="1"/><row typeID="3719" flag="5" qtyDropped="10" qtyDestroyed="0"/><row typeID="15331" flag="5" qtyDropped="1" qtyDestroyed="1"/><row typeID="400" flag="19" qtyDropped="0" qtyDestroyed="1"/><row typeID="31358" flag="94" qtyDropped="0" qtyDestroyed="1"/><row typeID="12612" flag="28" qtyDropped="19" qtyDestroyed="0"/><row typeID="4431" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="4833" flag="5" qtyDropped="0" qtyDestroyed="1"/><row typeID="6489" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="12612" flag="27" qtyDropped="19" qtyDestroyed="0"/><row typeID="1826" flag="5" qtyDropped="0" qtyDestroyed="100"/><row typeID="2281" flag="20" qtyDropped="1" qtyDestroyed="0"/><row typeID="1405" flag="12" qtyDropped="1" qtyDestroyed="0"/><row typeID="3178" flag="29" qtyDropped="0" qtyDestroyed="1"/><row typeID="31716" flag="92" qtyDropped="0" qtyDestroyed="1"/><row typeID="12612" flag="29" qtyDropped="0" qtyDestroyed="19"/><row typeID="24766" flag="5" qtyDropped="0" qtyDestroyed="6"/><row typeID="1999" flag="11" qtyDropped="1" qtyDestroyed="0"/><row typeID="217" flag="5" qtyDropped="0" qtyDestroyed="1100"/><row typeID="32803" flag="5" qtyDropped="0" qtyDestroyed="307"/><row typeID="2508" flag="5" qtyDropped="0" qtyDestroyed="100"/><row typeID="3178" flag="27" qtyDropped="1" qtyDestroyed="0"/><row typeID="5971" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="30497" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="2048" flag="13" qtyDropped="1" qtyDestroyed="0"/><row typeID="8427" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="3178" flag="28" qtyDropped="0" qtyDestroyed="1"/><row typeID="3810" flag="5" qtyDropped="10" qtyDestroyed="0"/><row typeID="440" flag="21" qtyDropped="1" qtyDestroyed="0"/><row typeID="380" flag="22" qtyDropped="0" qtyDestroyed="1"/><row typeID="12612" flag="5" qtyDropped="0" qtyDestroyed="834"/><row typeID="16489" flag="5" qtyDropped="1" qtyDestroyed="0"/><row typeID="203" flag="5" qtyDropped="0" qtyDestroyed="100"/></rowset></row><row killID="33022785" solarSystemID="30002424" killTime="2013-09-01 20:43:00" moonID="0"><victim characterID="1163498833" characterName="Adaramyyn" corporationID="98162530" corporationName="Fallen Supremacy" allianceID="0" allianceName="" factionID="0" factionName="" damageTaken="458" shipTypeID="670"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="867830522" characterName="AlKuun" corporationID="1719660426" corporationName="NeoCorteX Industry" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="4.3169145409495" damageDone="458" finalBlow="1" weaponTypeID="2969" shipTypeID="12015"/><row characterID="1556854302" characterName="only2" corporationID="1719660426" corporationName="NeoCorteX Industry" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" securityStatus="5" damageDone="0" finalBlow="0" weaponTypeID="6675" shipTypeID="11978"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="3265" flag="89" qtyDropped="0" qtyDestroyed="1"/><row typeID="10216" flag="89" qtyDropped="0" qtyDestroyed="1"/><row typeID="10212" flag="89" qtyDropped="0" qtyDestroyed="1"/></rowset></row></rowset></result><cachedUntil>2013-09-02 12:44:37</cachedUntil></eveapi>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><eveapi version="2" zkbapi="1"><currentTime>2013-08-31 16:09:12</currentTime><result><rowset name="kills" key="killID" columns="killID,solarSystemID,killTime,moonID"><row killID="32991128" solarSystemID="30001962" killTime="2013-08-31 16:04:00" moonID="0"><victim characterID="876249428" characterName="Horgart II" corporationID="502658884" corporationName="Ecliptic Control" allianceID="99002808" allianceName="Darkness of Despair" factionID="0" factionName="" damageTaken="1564" shipTypeID="602"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="91754202" characterName="Bakla Firoz" corporationID="98149396" corporationName="Dominion of Inter-Celestial Kings" allianceID="99002275" allianceName="Tribal Band" factionID="0" factionName="" securityStatus="-0.44171888488255" damageDone="1564" finalBlow="1" weaponTypeID="3520" shipTypeID="29986"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="21096" flag="27" qtyDropped="1" qtyDestroyed="0"/></rowset></row><row killID="32991104" solarSystemID="30002427" killTime="2013-08-31 16:02:00" moonID="0"><victim characterID="626314013" characterName="Mazzy Vos" corporationID="98003985" corporationName="EASTERN BLOC" allianceID="99002003" allianceName="No Value" factionID="0" factionName="" damageTaken="1481" shipTypeID="585"/><rowset name="attackers" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName,securityStatus,damageDone,finalBlow,weaponTypeID,shipTypeID"><row characterID="940419043" characterName="Legis Atreydis" corporationID="1000014" corporationName="Perkone" allianceID="0" allianceName="" factionID="0" factionName="" securityStatus="0.8251230286289" damageDone="1481" finalBlow="1" weaponTypeID="3170" shipTypeID="593"/></rowset><rowset name="items" columns="typeID,flag,qtyDropped,qtyDestroyed"><row typeID="21898" flag="5" qtyDropped="0" qtyDestroyed="1000"/><row typeID="2605" flag="12" qtyDropped="1" qtyDestroyed="0"/><row typeID="33332" flag="5" qtyDropped="0" qtyDestroyed="23"/><row typeID="4025" flag="19" qtyDropped="0" qtyDestroyed="1"/><row typeID="31716" flag="94" qtyDropped="0" qtyDestroyed="1"/><row typeID="26929" flag="93" qtyDropped="0" qtyDestroyed="1"/><row typeID="31680" flag="92" qtyDropped="0" qtyDestroyed="1"/><row typeID="32772" flag="22" qtyDropped="1" qtyDestroyed="0"/><row typeID="2881" flag="27" qtyDropped="0" qtyDestroyed="1"/><row typeID="5439" flag="20" qtyDropped="1" qtyDestroyed="0"/><row typeID="21924" flag="27" qtyDropped="111" qtyDestroyed="0"/><row typeID="21924" flag="5" qtyDropped="520" qtyDestroyed="0"/><row typeID="21924" flag="28" qtyDropped="111" qtyDestroyed="0"/><row typeID="519" flag="11" qtyDropped="0" qtyDestroyed="1"/><row typeID="33332" flag="22" qtyDropped="0" qtyDestroyed="6"/><row typeID="5973" flag="21" qtyDropped="0" qtyDestroyed="1"/><row typeID="28668" flag="5" qtyDropped="0" qtyDestroyed="50"/><row typeID="2881" flag="28" qtyDropped="0" qtyDestroyed="1"/><row typeID="21924" flag="29" qtyDropped="111" qtyDestroyed="0"/><row typeID="2881" flag="29" qtyDropped="1" qtyDestroyed="0"/></rowset></row></rowset></result><cachedUntil>2013-08-31 17:09:12</cachedUntil></eveapi>
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
require 'eoat'
|
8
|
+
require 'rspec/core'
|
9
|
+
require 'webmock/rspec'
|
10
|
+
require 'rr'
|
11
|
+
|
12
|
+
include WebMock::API
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
16
|
+
config.run_all_when_everything_filtered = true
|
17
|
+
config.filter_run :focus
|
18
|
+
|
19
|
+
# Run specs in random order to surface order dependencies. If you find an
|
20
|
+
# order dependency and want to debug it, you can fix the order by providing
|
21
|
+
# the seed, which is printed after each run.
|
22
|
+
# --seed 1234
|
23
|
+
config.order = :default
|
24
|
+
|
25
|
+
# Set use by default RR
|
26
|
+
config.mock_with :rr
|
27
|
+
end
|
28
|
+
|
29
|
+
def stub_eve_request(uri, status=200)
|
30
|
+
stub_request(
|
31
|
+
:get,
|
32
|
+
'https://api.eveonline.com' + uri.to_s
|
33
|
+
).
|
34
|
+
with(
|
35
|
+
:headers => EOAT.headers
|
36
|
+
).to_return(
|
37
|
+
:body => File.open(
|
38
|
+
File.expand_path(
|
39
|
+
File.join(
|
40
|
+
File.dirname(__FILE__),
|
41
|
+
'fixtures/eve' + uri.split('?').first
|
42
|
+
)
|
43
|
+
)
|
44
|
+
),
|
45
|
+
:headers => {
|
46
|
+
'transfer-encoding'=>['chunked'],
|
47
|
+
'content-type'=>['application/xml; charset=utf-8'],
|
48
|
+
},
|
49
|
+
:status => status
|
50
|
+
)
|
51
|
+
end
|
52
|
+
|
53
|
+
def stub_zk_request(uri)
|
54
|
+
stub_request(
|
55
|
+
:get,
|
56
|
+
'http://zkillboard.com/' + uri.to_s
|
57
|
+
).
|
58
|
+
with(
|
59
|
+
:headers => EOAT.headers
|
60
|
+
).to_return(
|
61
|
+
:body => File.open(
|
62
|
+
File.expand_path(
|
63
|
+
File.join(
|
64
|
+
File.dirname(__FILE__),
|
65
|
+
'fixtures/zkillboard/' + uri.tr('/', '-')
|
66
|
+
)
|
67
|
+
)
|
68
|
+
),
|
69
|
+
:headers => {
|
70
|
+
'transfer-encoding'=>['chunked'],
|
71
|
+
'content-type'=>['application/xml; charset=utf-8'],
|
72
|
+
},
|
73
|
+
:status => 200
|
74
|
+
)
|
75
|
+
end
|
76
|
+
|
77
|
+
def delete_cache
|
78
|
+
FileUtils.rmtree(
|
79
|
+
File.expand_path(
|
80
|
+
File.join(File.dirname(__FILE__),
|
81
|
+
'fixtures/cache',
|
82
|
+
'1309c631605e762ca0a8450211bb5bd9'
|
83
|
+
)
|
84
|
+
)
|
85
|
+
)
|
86
|
+
end
|
metadata
ADDED
@@ -0,0 +1,259 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: eoat
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ivan Kotov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.11.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.11.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec-core
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.10.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.10.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-expectations
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.10.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.10.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.4
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: yard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.8.7
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.8.7
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: redcarpet
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.1.1
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.1.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.13.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.13.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: memcache
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.4.1
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.1
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: redis
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.0.4
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.0.4
|
167
|
+
description: Eve Online API toolbox
|
168
|
+
email:
|
169
|
+
- i.spec.kotov@gmail.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- .gitignore
|
175
|
+
- .rspec
|
176
|
+
- .travis.yml
|
177
|
+
- .yardopts
|
178
|
+
- Gemfile
|
179
|
+
- LICENSE.txt
|
180
|
+
- README.md
|
181
|
+
- Rakefile
|
182
|
+
- eoat.gemspec
|
183
|
+
- lib/eoat.rb
|
184
|
+
- lib/eoat/cache/file_cache.rb
|
185
|
+
- lib/eoat/cache/memcached_cache.rb
|
186
|
+
- lib/eoat/cache/none_cache.rb
|
187
|
+
- lib/eoat/cache/redis_cache.rb
|
188
|
+
- lib/eoat/eve_api.rb
|
189
|
+
- lib/eoat/exception.rb
|
190
|
+
- lib/eoat/request.rb
|
191
|
+
- lib/eoat/result/eve_type.rb
|
192
|
+
- lib/eoat/version.rb
|
193
|
+
- lib/eoat/zk_api.rb
|
194
|
+
- spec/eoat/eve_api_spec.rb
|
195
|
+
- spec/eoat/eve_result_spec.rb
|
196
|
+
- spec/eoat/file_cache_spec.rb
|
197
|
+
- spec/eoat/memcached_cache_spec.rb
|
198
|
+
- spec/eoat/redis_cache_spec.rb
|
199
|
+
- spec/eoat/zk_api_spec.rb
|
200
|
+
- spec/eoat_spec.rb
|
201
|
+
- spec/fixtures/cache/.keep
|
202
|
+
- spec/fixtures/eve/account/APIKeyInfo.xml.aspx
|
203
|
+
- spec/fixtures/eve/corp/KillLog.xml.aspx
|
204
|
+
- spec/fixtures/eve/eve/CertificateTree.xml.aspx
|
205
|
+
- spec/fixtures/eve/eve/CharacterInfo.xml.aspx
|
206
|
+
- spec/fixtures/eve/eve/CharacterName.xml.aspx
|
207
|
+
- spec/fixtures/eve/eve/ErrorList.xml.aspx
|
208
|
+
- spec/fixtures/eve/eve/FacWarStats.xml.aspx
|
209
|
+
- spec/fixtures/eve/eve/FacWarTopStats.xml.aspx
|
210
|
+
- spec/fixtures/eve/server/ServerStatus.xml.aspx
|
211
|
+
- spec/fixtures/zkillboard/api-kills-allianceID-99002003-limit-5-xml
|
212
|
+
- spec/fixtures/zkillboard/api-kills-solo-xml
|
213
|
+
- spec/spec_helper.rb
|
214
|
+
homepage: https://github.com/elDante/eoat
|
215
|
+
licenses:
|
216
|
+
- MIT
|
217
|
+
metadata: {}
|
218
|
+
post_install_message: Thank you for choosing EOAT.
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - '>='
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: 2.0.0
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - '>='
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
requirements: []
|
233
|
+
rubyforge_project:
|
234
|
+
rubygems_version: 2.0.3
|
235
|
+
signing_key:
|
236
|
+
specification_version: 4
|
237
|
+
summary: Eve Online API toolbox
|
238
|
+
test_files:
|
239
|
+
- spec/eoat/eve_api_spec.rb
|
240
|
+
- spec/eoat/eve_result_spec.rb
|
241
|
+
- spec/eoat/file_cache_spec.rb
|
242
|
+
- spec/eoat/memcached_cache_spec.rb
|
243
|
+
- spec/eoat/redis_cache_spec.rb
|
244
|
+
- spec/eoat/zk_api_spec.rb
|
245
|
+
- spec/eoat_spec.rb
|
246
|
+
- spec/fixtures/cache/.keep
|
247
|
+
- spec/fixtures/eve/account/APIKeyInfo.xml.aspx
|
248
|
+
- spec/fixtures/eve/corp/KillLog.xml.aspx
|
249
|
+
- spec/fixtures/eve/eve/CertificateTree.xml.aspx
|
250
|
+
- spec/fixtures/eve/eve/CharacterInfo.xml.aspx
|
251
|
+
- spec/fixtures/eve/eve/CharacterName.xml.aspx
|
252
|
+
- spec/fixtures/eve/eve/ErrorList.xml.aspx
|
253
|
+
- spec/fixtures/eve/eve/FacWarStats.xml.aspx
|
254
|
+
- spec/fixtures/eve/eve/FacWarTopStats.xml.aspx
|
255
|
+
- spec/fixtures/eve/server/ServerStatus.xml.aspx
|
256
|
+
- spec/fixtures/zkillboard/api-kills-allianceID-99002003-limit-5-xml
|
257
|
+
- spec/fixtures/zkillboard/api-kills-solo-xml
|
258
|
+
- spec/spec_helper.rb
|
259
|
+
has_rdoc:
|