eve_online 0.29.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +62 -0
- data/.ruby-version +1 -1
- data/Appraisals +11 -0
- data/CHANGELOG.md +67 -0
- data/Gemfile +7 -10
- data/Gemfile.lock +77 -68
- data/Gemfile.mutant.lock +67 -59
- data/README.md +414 -136
- data/Rakefile +2 -2
- data/eve_online.gemspec +28 -27
- data/lib/eve_online.rb +226 -185
- data/lib/eve_online/esi/alliance.rb +6 -6
- data/lib/eve_online/esi/alliance_corporations.rb +4 -3
- data/lib/eve_online/esi/alliance_icon.rb +5 -4
- data/lib/eve_online/esi/alliances.rb +3 -2
- data/lib/eve_online/esi/base.rb +42 -32
- data/lib/eve_online/esi/character.rb +7 -6
- data/lib/eve_online/esi/character_assets.rb +4 -4
- data/lib/eve_online/esi/character_assets_locations.rb +4 -4
- data/lib/eve_online/esi/character_assets_names.rb +4 -4
- data/lib/eve_online/esi/character_attributes.rb +6 -6
- data/lib/eve_online/esi/character_blueprints.rb +4 -4
- data/lib/eve_online/esi/character_calendar.rb +4 -4
- data/lib/eve_online/esi/character_calendar_event.rb +4 -5
- data/lib/eve_online/esi/character_clones.rb +7 -7
- data/lib/eve_online/esi/{character_bookmarks.rb → character_contracts.rb} +9 -9
- data/lib/eve_online/esi/character_corporation_history.rb +4 -3
- data/lib/eve_online/esi/character_fatigue.rb +5 -5
- data/lib/eve_online/esi/character_get_mail.rb +37 -0
- data/lib/eve_online/esi/character_implants.rb +3 -3
- data/lib/eve_online/esi/character_industry_jobs.rb +4 -4
- data/lib/eve_online/esi/character_killmails_recent.rb +4 -4
- data/lib/eve_online/esi/character_location.rb +5 -5
- data/lib/eve_online/esi/character_loyalty_points.rb +3 -3
- data/lib/eve_online/esi/character_mail_labels.rb +40 -0
- data/lib/eve_online/esi/character_notifications.rb +3 -3
- data/lib/eve_online/esi/character_online.rb +5 -5
- data/lib/eve_online/esi/character_orders.rb +3 -3
- data/lib/eve_online/esi/character_portrait.rb +5 -4
- data/lib/eve_online/esi/character_ship.rb +4 -4
- data/lib/eve_online/esi/character_skill_queue.rb +3 -3
- data/lib/eve_online/esi/character_skills.rb +6 -6
- data/lib/eve_online/esi/character_standings.rb +3 -3
- data/lib/eve_online/esi/character_wallet.rb +3 -3
- data/lib/eve_online/esi/character_wallet_journal.rb +6 -6
- data/lib/eve_online/esi/character_wallet_transactions.rb +41 -0
- data/lib/eve_online/esi/corporation.rb +8 -7
- data/lib/eve_online/esi/corporation_alliance_history.rb +4 -3
- data/lib/eve_online/esi/corporation_assets.rb +5 -5
- data/lib/eve_online/esi/corporation_assets_locations.rb +5 -5
- data/lib/eve_online/esi/corporation_assets_names.rb +5 -5
- data/lib/eve_online/esi/corporation_blueprints.rb +5 -5
- data/lib/eve_online/esi/corporation_industry_jobs.rb +5 -5
- data/lib/eve_online/esi/corporation_killmails_recent.rb +5 -5
- data/lib/eve_online/esi/corporation_loyalty_store_offers.rb +4 -3
- data/lib/eve_online/esi/corporation_npc.rb +20 -0
- data/lib/eve_online/esi/corporation_orders.rb +5 -5
- data/lib/eve_online/esi/dogma_attribute.rb +7 -6
- data/lib/eve_online/esi/dogma_attributes.rb +3 -2
- data/lib/eve_online/esi/dogma_effect.rb +11 -11
- data/lib/eve_online/esi/dogma_effects.rb +3 -2
- data/lib/eve_online/esi/killmail.rb +30 -0
- data/lib/eve_online/esi/market_group.rb +39 -0
- data/lib/eve_online/esi/market_groups.rb +20 -0
- data/lib/eve_online/esi/market_history.rb +5 -4
- data/lib/eve_online/esi/market_prices.rb +27 -0
- data/lib/eve_online/esi/models/aggressor.rb +34 -0
- data/lib/eve_online/esi/models/alliance.rb +7 -7
- data/lib/eve_online/esi/models/alliance_icon.rb +2 -2
- data/lib/eve_online/esi/models/alliance_short.rb +2 -2
- data/lib/eve_online/esi/models/allies.rb +21 -0
- data/lib/eve_online/esi/models/ally.rb +24 -0
- data/lib/eve_online/esi/models/ancestry.rb +6 -6
- data/lib/eve_online/esi/models/asset.rb +8 -8
- data/lib/eve_online/esi/models/asset_location.rb +2 -2
- data/lib/eve_online/esi/models/asset_name.rb +2 -2
- data/lib/eve_online/esi/models/asteroid_belt.rb +3 -3
- data/lib/eve_online/esi/models/attributes.rb +8 -8
- data/lib/eve_online/esi/models/base.rb +2 -2
- data/lib/eve_online/esi/models/bloodline.rb +11 -11
- data/lib/eve_online/esi/models/blueprint.rb +8 -8
- data/lib/eve_online/esi/models/category.rb +4 -4
- data/lib/eve_online/esi/models/character.rb +12 -12
- data/lib/eve_online/esi/models/character_corporation_history.rb +4 -4
- data/lib/eve_online/esi/models/character_industry_job.rb +22 -22
- data/lib/eve_online/esi/models/character_location.rb +3 -3
- data/lib/eve_online/esi/models/character_order.rb +14 -14
- data/lib/eve_online/esi/models/character_portrait.rb +4 -4
- data/lib/eve_online/esi/models/character_ship.rb +3 -3
- data/lib/eve_online/esi/models/constellation.rb +5 -5
- data/lib/eve_online/esi/models/contract.rb +132 -0
- data/lib/eve_online/esi/models/coordinates.rb +3 -3
- data/lib/eve_online/esi/models/corporation.rb +14 -14
- data/lib/eve_online/esi/models/corporation_alliance_history.rb +4 -4
- data/lib/eve_online/esi/models/corporation_industry_job.rb +22 -22
- data/lib/eve_online/esi/models/corporation_order.rb +15 -15
- data/lib/eve_online/esi/models/defender.rb +34 -0
- data/lib/eve_online/esi/models/dogma_attribute.rb +10 -10
- data/lib/eve_online/esi/models/dogma_attribute_short.rb +2 -2
- data/lib/eve_online/esi/models/dogma_attributes.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect.rb +21 -21
- data/lib/eve_online/esi/models/dogma_effect_modifier.rb +6 -6
- data/lib/eve_online/esi/models/dogma_effect_modifiers.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect_short.rb +2 -2
- data/lib/eve_online/esi/models/dogma_effects.rb +1 -1
- data/lib/eve_online/esi/models/event.rb +5 -5
- data/lib/eve_online/esi/models/event_details.rb +10 -10
- data/lib/eve_online/esi/models/faction.rb +10 -10
- data/lib/eve_online/esi/models/fatigue.rb +3 -3
- data/lib/eve_online/esi/models/graphic.rb +8 -8
- data/lib/eve_online/esi/models/group.rb +5 -5
- data/lib/eve_online/esi/models/home_location.rb +2 -2
- data/lib/eve_online/esi/models/jump_clone.rb +5 -5
- data/lib/eve_online/esi/models/killmail.rb +47 -0
- data/lib/eve_online/esi/models/killmail_short.rb +2 -2
- data/lib/eve_online/esi/models/loyalty_point.rb +2 -2
- data/lib/eve_online/esi/models/loyalty_store_offer.rb +9 -8
- data/lib/eve_online/esi/models/mail.rb +49 -0
- data/lib/eve_online/esi/models/mail_label.rb +34 -0
- data/lib/eve_online/esi/models/mail_recipient.rb +24 -0
- data/lib/eve_online/esi/models/mail_recipients.rb +21 -0
- data/lib/eve_online/esi/models/market_group.rb +38 -0
- data/lib/eve_online/esi/models/market_history.rb +6 -6
- data/lib/eve_online/esi/models/market_price.rb +29 -0
- data/lib/eve_online/esi/models/moon.rb +4 -4
- data/lib/eve_online/esi/models/notification.rb +7 -7
- data/lib/eve_online/esi/models/offer_required_item.rb +24 -0
- data/lib/eve_online/esi/models/offer_required_items.rb +21 -0
- data/lib/eve_online/esi/models/online.rb +4 -4
- data/lib/eve_online/esi/models/planet.rb +5 -5
- data/lib/eve_online/esi/models/planet_short.rb +3 -3
- data/lib/eve_online/esi/models/position.rb +3 -3
- data/lib/eve_online/esi/models/race.rb +6 -6
- data/lib/eve_online/esi/models/region.rb +7 -8
- data/lib/eve_online/esi/models/server_status.rb +4 -4
- data/lib/eve_online/esi/models/skill.rb +4 -4
- data/lib/eve_online/esi/models/skill_queue_entry.rb +8 -8
- data/lib/eve_online/esi/models/standing.rb +3 -3
- data/lib/eve_online/esi/models/star.rb +8 -8
- data/lib/eve_online/esi/models/stargate.rb +14 -8
- data/lib/eve_online/esi/models/station.rb +12 -12
- data/lib/eve_online/esi/models/system.rb +10 -10
- data/lib/eve_online/esi/models/system_jump.rb +2 -2
- data/lib/eve_online/esi/models/system_kill.rb +4 -4
- data/lib/eve_online/esi/models/type.rb +16 -16
- data/lib/eve_online/esi/models/{wallet_journal_entry.rb → wallet_journal.rb} +16 -16
- data/lib/eve_online/esi/models/wallet_transaction.rb +66 -0
- data/lib/eve_online/esi/models/war.rb +69 -0
- data/lib/eve_online/esi/server_status.rb +4 -3
- data/lib/eve_online/esi/universe_ancestries.rb +4 -3
- data/lib/eve_online/esi/universe_asteroid_belt.rb +5 -4
- data/lib/eve_online/esi/universe_bloodlines.rb +4 -3
- data/lib/eve_online/esi/universe_categories.rb +3 -2
- data/lib/eve_online/esi/universe_category.rb +7 -6
- data/lib/eve_online/esi/universe_constellation.rb +7 -6
- data/lib/eve_online/esi/universe_constellations.rb +3 -2
- data/lib/eve_online/esi/universe_factions.rb +4 -3
- data/lib/eve_online/esi/universe_graphic.rb +7 -6
- data/lib/eve_online/esi/universe_graphics.rb +3 -2
- data/lib/eve_online/esi/universe_group.rb +7 -6
- data/lib/eve_online/esi/universe_groups.rb +4 -3
- data/lib/eve_online/esi/universe_moon.rb +5 -4
- data/lib/eve_online/esi/universe_planet.rb +6 -5
- data/lib/eve_online/esi/universe_races.rb +4 -3
- data/lib/eve_online/esi/universe_region.rb +8 -7
- data/lib/eve_online/esi/universe_regions.rb +3 -2
- data/lib/eve_online/esi/universe_star.rb +6 -6
- data/lib/eve_online/esi/universe_stargate.rb +6 -5
- data/lib/eve_online/esi/universe_station.rb +8 -7
- data/lib/eve_online/esi/universe_structures.rb +4 -3
- data/lib/eve_online/esi/universe_system.rb +8 -7
- data/lib/eve_online/esi/universe_system_jumps.rb +3 -2
- data/lib/eve_online/esi/universe_system_kills.rb +3 -2
- data/lib/eve_online/esi/universe_systems.rb +3 -2
- data/lib/eve_online/esi/universe_type.rb +9 -8
- data/lib/eve_online/esi/universe_types.rb +4 -3
- data/lib/eve_online/esi/war.rb +35 -0
- data/lib/eve_online/esi/war_killmails.rb +5 -4
- data/lib/eve_online/esi/wars.rb +4 -3
- data/lib/eve_online/exceptions/error_limited.rb +8 -0
- data/lib/eve_online/formulas/blueprint_copy_time.rb +47 -0
- data/lib/eve_online/version.rb +1 -1
- metadata +54 -27
- data/.rubocop-thread_safety.yml +0 -9
- data/.rubocop.yml +0 -14
- data/.rubocop_general.yml +0 -102
- data/.rubocop_rspec.yml +0 -65
- data/.rubocop_todo.yml +0 -0
- data/.travis.yml +0 -100
- data/gemfiles/activesupport_42.gemfile +0 -7
- data/gemfiles/activesupport_50.gemfile +0 -7
- data/gemfiles/activesupport_51.gemfile +0 -7
- data/gemfiles/activesupport_52.gemfile +0 -7
- data/gemfiles/activesupport_60.gemfile +0 -7
- data/gemfiles/activesupport_edge.gemfile +0 -7
- data/lib/eve_online/esi/character_bookmark_folders.rb +0 -41
- data/lib/eve_online/esi/models/bookmark.rb +0 -71
- data/lib/eve_online/esi/models/bookmark_folder.rb +0 -24
- data/lib/eve_online/esi/models/stargate_destination.rb +0 -24
@@ -6,27 +6,27 @@ module EveOnline
|
|
6
6
|
class Race < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
|
9
|
+
faction_id: faction_id,
|
10
10
|
description: description,
|
11
11
|
name: name,
|
12
12
|
race_id: race_id
|
13
13
|
}
|
14
14
|
end
|
15
15
|
|
16
|
-
def
|
17
|
-
options[
|
16
|
+
def faction_id
|
17
|
+
options["alliance_id"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def description
|
21
|
-
options[
|
21
|
+
options["description"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def name
|
25
|
-
options[
|
25
|
+
options["name"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def race_id
|
29
|
-
options[
|
29
|
+
options["race_id"]
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -6,27 +6,26 @@ module EveOnline
|
|
6
6
|
class Region < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
constellations: constellations, # TODO: rename constellations -> constellation_ids and remove from as_json
|
10
9
|
description: description,
|
11
10
|
name: name,
|
12
11
|
region_id: region_id
|
13
12
|
}
|
14
13
|
end
|
15
14
|
|
16
|
-
def constellations
|
17
|
-
options['constellations']
|
18
|
-
end
|
19
|
-
|
20
15
|
def description
|
21
|
-
options[
|
16
|
+
options["description"]
|
22
17
|
end
|
23
18
|
|
24
19
|
def name
|
25
|
-
options[
|
20
|
+
options["name"]
|
26
21
|
end
|
27
22
|
|
28
23
|
def region_id
|
29
|
-
options[
|
24
|
+
options["region_id"]
|
25
|
+
end
|
26
|
+
|
27
|
+
def constellation_ids
|
28
|
+
options["constellations"]
|
30
29
|
end
|
31
30
|
end
|
32
31
|
end
|
@@ -14,21 +14,21 @@ module EveOnline
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def players
|
17
|
-
options[
|
17
|
+
options["players"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def server_version
|
21
|
-
options[
|
21
|
+
options["server_version"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def start_time
|
25
|
-
start_time = options[
|
25
|
+
start_time = options["start_time"]
|
26
26
|
|
27
27
|
parse_datetime_with_timezone(start_time) if start_time
|
28
28
|
end
|
29
29
|
|
30
30
|
def vip
|
31
|
-
options[
|
31
|
+
options["vip"]
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -14,19 +14,19 @@ module EveOnline
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def active_skill_level
|
17
|
-
options[
|
17
|
+
options["active_skill_level"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def skill_id
|
21
|
-
options[
|
21
|
+
options["skill_id"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def skillpoints_in_skill
|
25
|
-
options[
|
25
|
+
options["skillpoints_in_skill"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def trained_skill_level
|
29
|
-
options[
|
29
|
+
options["trained_skill_level"]
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,39 +18,39 @@ module EveOnline
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def finish_date
|
21
|
-
finish_date = options[
|
21
|
+
finish_date = options["finish_date"]
|
22
22
|
|
23
23
|
parse_datetime_with_timezone(finish_date) if finish_date
|
24
24
|
end
|
25
25
|
|
26
26
|
def finished_level
|
27
|
-
options[
|
27
|
+
options["finished_level"]
|
28
28
|
end
|
29
29
|
|
30
30
|
def level_end_sp
|
31
|
-
options[
|
31
|
+
options["level_end_sp"]
|
32
32
|
end
|
33
33
|
|
34
34
|
def level_start_sp
|
35
|
-
options[
|
35
|
+
options["level_start_sp"]
|
36
36
|
end
|
37
37
|
|
38
38
|
def queue_position
|
39
|
-
options[
|
39
|
+
options["queue_position"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def skill_id
|
43
|
-
options[
|
43
|
+
options["skill_id"]
|
44
44
|
end
|
45
45
|
|
46
46
|
def start_date
|
47
|
-
start_date = options[
|
47
|
+
start_date = options["start_date"]
|
48
48
|
|
49
49
|
parse_datetime_with_timezone(start_date) if start_date
|
50
50
|
end
|
51
51
|
|
52
52
|
def training_start_sp
|
53
|
-
options[
|
53
|
+
options["training_start_sp"]
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
@@ -13,15 +13,15 @@ module EveOnline
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def from_id
|
16
|
-
options[
|
16
|
+
options["from_id"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def from_type
|
20
|
-
options[
|
20
|
+
options["from_type"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def standing
|
24
|
-
options[
|
24
|
+
options["standing"]
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -18,35 +18,35 @@ module EveOnline
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def age
|
21
|
-
options[
|
21
|
+
options["age"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def luminosity
|
25
|
-
options[
|
25
|
+
options["luminosity"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def name
|
29
|
-
options[
|
29
|
+
options["name"]
|
30
30
|
end
|
31
31
|
|
32
32
|
def radius
|
33
|
-
options[
|
33
|
+
options["radius"]
|
34
34
|
end
|
35
35
|
|
36
36
|
def solar_system_id
|
37
|
-
options[
|
37
|
+
options["solar_system_id"]
|
38
38
|
end
|
39
39
|
|
40
40
|
def spectral_class
|
41
|
-
options[
|
41
|
+
options["spectral_class"]
|
42
42
|
end
|
43
43
|
|
44
44
|
def temperature
|
45
|
-
options[
|
45
|
+
options["temperature"]
|
46
46
|
end
|
47
47
|
|
48
48
|
def type_id
|
49
|
-
options[
|
49
|
+
options["type_id"]
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
@@ -9,32 +9,38 @@ module EveOnline
|
|
9
9
|
name: name,
|
10
10
|
stargate_id: stargate_id,
|
11
11
|
system_id: system_id,
|
12
|
-
type_id: type_id
|
12
|
+
type_id: type_id,
|
13
|
+
destination_stargate_id: destination_stargate_id,
|
14
|
+
destination_system_id: destination_system_id
|
13
15
|
}
|
14
16
|
end
|
15
17
|
|
16
18
|
def name
|
17
|
-
options[
|
19
|
+
options["name"]
|
18
20
|
end
|
19
21
|
|
20
22
|
def stargate_id
|
21
|
-
options[
|
23
|
+
options["stargate_id"]
|
22
24
|
end
|
23
25
|
|
24
26
|
def system_id
|
25
|
-
options[
|
27
|
+
options["system_id"]
|
26
28
|
end
|
27
29
|
|
28
30
|
def type_id
|
29
|
-
options[
|
31
|
+
options["type_id"]
|
30
32
|
end
|
31
33
|
|
32
|
-
def
|
33
|
-
|
34
|
+
def destination_stargate_id
|
35
|
+
options.dig("destination", "stargate_id")
|
36
|
+
end
|
37
|
+
|
38
|
+
def destination_system_id
|
39
|
+
options.dig("destination", "system_id")
|
34
40
|
end
|
35
41
|
|
36
42
|
def position
|
37
|
-
@position ||= Position.new(options[
|
43
|
+
@position ||= Position.new(options["position"])
|
38
44
|
end
|
39
45
|
end
|
40
46
|
end
|
@@ -21,51 +21,51 @@ module EveOnline
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def max_dockable_ship_volume
|
24
|
-
options[
|
24
|
+
options["max_dockable_ship_volume"]
|
25
25
|
end
|
26
26
|
|
27
27
|
def name
|
28
|
-
options[
|
28
|
+
options["name"]
|
29
29
|
end
|
30
30
|
|
31
31
|
def office_rental_cost
|
32
|
-
options[
|
32
|
+
options["office_rental_cost"]
|
33
33
|
end
|
34
34
|
|
35
35
|
def owner
|
36
|
-
options[
|
36
|
+
options["owner"]
|
37
37
|
end
|
38
38
|
|
39
39
|
def race_id
|
40
|
-
options[
|
40
|
+
options["race_id"]
|
41
41
|
end
|
42
42
|
|
43
43
|
def reprocessing_efficiency
|
44
|
-
options[
|
44
|
+
options["reprocessing_efficiency"]
|
45
45
|
end
|
46
46
|
|
47
47
|
def reprocessing_stations_take
|
48
|
-
options[
|
48
|
+
options["reprocessing_stations_take"]
|
49
49
|
end
|
50
50
|
|
51
51
|
def services
|
52
|
-
options[
|
52
|
+
options["services"]
|
53
53
|
end
|
54
54
|
|
55
55
|
def station_id
|
56
|
-
options[
|
56
|
+
options["station_id"]
|
57
57
|
end
|
58
58
|
|
59
59
|
def system_id
|
60
|
-
options[
|
60
|
+
options["system_id"]
|
61
61
|
end
|
62
62
|
|
63
63
|
def type_id
|
64
|
-
options[
|
64
|
+
options["type_id"]
|
65
65
|
end
|
66
66
|
|
67
67
|
def position
|
68
|
-
@position ||= Position.new(options[
|
68
|
+
@position ||= Position.new(options["position"])
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
@@ -16,43 +16,43 @@ module EveOnline
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def constellation_id
|
19
|
-
options[
|
19
|
+
options["constellation_id"]
|
20
20
|
end
|
21
21
|
|
22
22
|
def name
|
23
|
-
options[
|
23
|
+
options["name"]
|
24
24
|
end
|
25
25
|
|
26
26
|
def security_class
|
27
|
-
options[
|
27
|
+
options["security_class"]
|
28
28
|
end
|
29
29
|
|
30
30
|
def security_status
|
31
|
-
options[
|
31
|
+
options["security_status"]
|
32
32
|
end
|
33
33
|
|
34
34
|
def star_id
|
35
|
-
options[
|
35
|
+
options["star_id"]
|
36
36
|
end
|
37
37
|
|
38
38
|
def system_id
|
39
|
-
options[
|
39
|
+
options["system_id"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def position
|
43
|
-
@position ||= Position.new(options[
|
43
|
+
@position ||= Position.new(options["position"])
|
44
44
|
end
|
45
45
|
|
46
46
|
def planets
|
47
|
-
@planets ||= Planets.new(options.fetch(
|
47
|
+
@planets ||= Planets.new(options.fetch("planets", [])).planets
|
48
48
|
end
|
49
49
|
|
50
50
|
def stargate_ids
|
51
|
-
options.fetch(
|
51
|
+
options.fetch("stargates", [])
|
52
52
|
end
|
53
53
|
|
54
54
|
def station_ids
|
55
|
-
options.fetch(
|
55
|
+
options.fetch("stations", [])
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -14,19 +14,19 @@ module EveOnline
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def npc_kills
|
17
|
-
options[
|
17
|
+
options["npc_kills"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def pod_kills
|
21
|
-
options[
|
21
|
+
options["pod_kills"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def ship_kills
|
25
|
-
options[
|
25
|
+
options["ship_kills"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def system_id
|
29
|
-
options[
|
29
|
+
options["system_id"]
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -24,67 +24,67 @@ module EveOnline
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def capacity
|
27
|
-
options[
|
27
|
+
options["capacity"]
|
28
28
|
end
|
29
29
|
|
30
30
|
def description
|
31
|
-
options[
|
31
|
+
options["description"]
|
32
32
|
end
|
33
33
|
|
34
34
|
def graphic_id
|
35
|
-
options[
|
35
|
+
options["graphic_id"]
|
36
36
|
end
|
37
37
|
|
38
38
|
def group_id
|
39
|
-
options[
|
39
|
+
options["group_id"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def icon_id
|
43
|
-
options[
|
43
|
+
options["icon_id"]
|
44
44
|
end
|
45
45
|
|
46
46
|
def market_group_id
|
47
|
-
options[
|
47
|
+
options["market_group_id"]
|
48
48
|
end
|
49
49
|
|
50
50
|
def mass
|
51
|
-
options[
|
51
|
+
options["mass"]
|
52
52
|
end
|
53
53
|
|
54
54
|
def name
|
55
|
-
options[
|
55
|
+
options["name"]
|
56
56
|
end
|
57
57
|
|
58
58
|
def packaged_volume
|
59
|
-
options[
|
59
|
+
options["packaged_volume"]
|
60
60
|
end
|
61
61
|
|
62
62
|
def portion_size
|
63
|
-
options[
|
63
|
+
options["portion_size"]
|
64
64
|
end
|
65
65
|
|
66
66
|
def published
|
67
|
-
options[
|
67
|
+
options["published"]
|
68
68
|
end
|
69
69
|
|
70
70
|
def radius
|
71
|
-
options[
|
71
|
+
options["radius"]
|
72
72
|
end
|
73
73
|
|
74
74
|
def type_id
|
75
|
-
options[
|
75
|
+
options["type_id"]
|
76
76
|
end
|
77
77
|
|
78
78
|
def volume
|
79
|
-
options[
|
79
|
+
options["volume"]
|
80
80
|
end
|
81
81
|
|
82
82
|
def dogma_attributes
|
83
|
-
@dogma_attributes ||= DogmaAttributes.new(options[
|
83
|
+
@dogma_attributes ||= DogmaAttributes.new(options["dogma_attributes"]).dogma_attributes
|
84
84
|
end
|
85
85
|
|
86
86
|
def dogma_effects
|
87
|
-
@dogma_effects ||= DogmaEffects.new(options[
|
87
|
+
@dogma_effects ||= DogmaEffects.new(options["dogma_effects"]).dogma_effects
|
88
88
|
end
|
89
89
|
end
|
90
90
|
end
|