eve_online 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +3 -3
- data/Gemfile.mutant.lock +2 -2
- data/README.md +54 -6
- data/lib/eve_online.rb +2 -0
- data/lib/eve_online/esi/alliance.rb +3 -3
- data/lib/eve_online/esi/alliance_corporations.rb +3 -3
- data/lib/eve_online/esi/alliance_icon.rb +3 -3
- data/lib/eve_online/esi/alliances.rb +3 -3
- data/lib/eve_online/esi/base.rb +27 -4
- data/lib/eve_online/esi/character.rb +3 -3
- data/lib/eve_online/esi/character_assets.rb +7 -3
- data/lib/eve_online/esi/character_assets_locations.rb +3 -3
- data/lib/eve_online/esi/character_assets_names.rb +3 -3
- data/lib/eve_online/esi/character_attributes.rb +3 -3
- data/lib/eve_online/esi/character_blueprints.rb +7 -3
- data/lib/eve_online/esi/character_bookmark_folders.rb +7 -3
- data/lib/eve_online/esi/character_bookmarks.rb +7 -3
- data/lib/eve_online/esi/character_calendar.rb +9 -6
- data/lib/eve_online/esi/character_calendar_event.rb +3 -3
- data/lib/eve_online/esi/character_clones.rb +3 -3
- data/lib/eve_online/esi/character_corporation_history.rb +3 -3
- data/lib/eve_online/esi/character_fatigue.rb +3 -3
- data/lib/eve_online/esi/character_implants.rb +3 -3
- data/lib/eve_online/esi/character_industry_jobs.rb +8 -4
- data/lib/eve_online/esi/character_killmails_recent.rb +7 -3
- data/lib/eve_online/esi/character_location.rb +3 -3
- data/lib/eve_online/esi/character_loyalty_points.rb +3 -3
- data/lib/eve_online/esi/character_notifications.rb +3 -3
- data/lib/eve_online/esi/character_online.rb +3 -3
- data/lib/eve_online/esi/character_orders.rb +3 -3
- data/lib/eve_online/esi/character_portrait.rb +3 -3
- data/lib/eve_online/esi/character_ship.rb +3 -3
- data/lib/eve_online/esi/character_skill_queue.rb +3 -3
- data/lib/eve_online/esi/character_skills.rb +3 -3
- 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 +7 -3
- data/lib/eve_online/esi/corporation.rb +3 -3
- data/lib/eve_online/esi/corporation_alliance_history.rb +38 -0
- data/lib/eve_online/esi/corporation_assets.rb +7 -3
- data/lib/eve_online/esi/corporation_assets_locations.rb +3 -3
- data/lib/eve_online/esi/corporation_assets_names.rb +3 -3
- data/lib/eve_online/esi/corporation_blueprints.rb +7 -3
- data/lib/eve_online/esi/corporation_industry_jobs.rb +8 -4
- data/lib/eve_online/esi/corporation_killmails_recent.rb +7 -3
- data/lib/eve_online/esi/corporation_loyalty_store_offers.rb +3 -3
- data/lib/eve_online/esi/corporation_orders.rb +7 -3
- data/lib/eve_online/esi/dogma_attribute.rb +3 -3
- data/lib/eve_online/esi/dogma_attributes.rb +3 -3
- data/lib/eve_online/esi/dogma_effect.rb +3 -3
- data/lib/eve_online/esi/dogma_effects.rb +3 -3
- data/lib/eve_online/esi/market_history.rb +7 -3
- data/lib/eve_online/esi/models/corporation_alliance_history.rb +36 -0
- data/lib/eve_online/esi/server_status.rb +3 -3
- data/lib/eve_online/esi/universe_ancestries.rb +7 -3
- data/lib/eve_online/esi/universe_asteroid_belt.rb +3 -3
- data/lib/eve_online/esi/universe_bloodlines.rb +7 -3
- data/lib/eve_online/esi/universe_categories.rb +3 -3
- data/lib/eve_online/esi/universe_category.rb +7 -3
- data/lib/eve_online/esi/universe_constellation.rb +7 -3
- data/lib/eve_online/esi/universe_constellations.rb +3 -3
- data/lib/eve_online/esi/universe_factions.rb +7 -3
- data/lib/eve_online/esi/universe_graphic.rb +3 -3
- data/lib/eve_online/esi/universe_graphics.rb +3 -3
- data/lib/eve_online/esi/universe_group.rb +7 -3
- data/lib/eve_online/esi/universe_groups.rb +7 -3
- data/lib/eve_online/esi/universe_moon.rb +3 -3
- data/lib/eve_online/esi/universe_planet.rb +3 -3
- data/lib/eve_online/esi/universe_races.rb +7 -3
- data/lib/eve_online/esi/universe_region.rb +7 -3
- data/lib/eve_online/esi/universe_regions.rb +3 -3
- data/lib/eve_online/esi/universe_star.rb +3 -3
- data/lib/eve_online/esi/universe_stargate.rb +3 -3
- data/lib/eve_online/esi/universe_station.rb +3 -3
- data/lib/eve_online/esi/universe_structures.rb +15 -3
- data/lib/eve_online/esi/universe_system.rb +7 -3
- data/lib/eve_online/esi/universe_system_jumps.rb +3 -3
- data/lib/eve_online/esi/universe_system_kills.rb +3 -3
- data/lib/eve_online/esi/universe_systems.rb +3 -3
- data/lib/eve_online/esi/universe_type.rb +7 -3
- data/lib/eve_online/esi/universe_types.rb +7 -3
- data/lib/eve_online/esi/war_killmails.rb +7 -3
- data/lib/eve_online/esi/wars.rb +14 -7
- data/lib/eve_online/version.rb +1 -1
- metadata +4 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterBookmarkFolders < Base
|
6
|
-
API_PATH = '/v2/characters/%<character_id>s/bookmarks/folders
|
6
|
+
API_PATH = '/v2/characters/%<character_id>s/bookmarks/folders/'
|
7
7
|
|
8
8
|
attr_reader :character_id, :page
|
9
9
|
|
@@ -29,8 +29,12 @@ module EveOnline
|
|
29
29
|
'esi-bookmarks.read_character_bookmarks.v1'
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
|
32
|
+
def additation_query_params
|
33
|
+
[:page]
|
34
|
+
end
|
35
|
+
|
36
|
+
def path
|
37
|
+
format("#{ API_PATH }", character_id: character_id)
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterBookmarks < Base
|
6
|
-
API_PATH = '/v2/characters/%<character_id>s/bookmarks
|
6
|
+
API_PATH = '/v2/characters/%<character_id>s/bookmarks/'
|
7
7
|
|
8
8
|
attr_reader :character_id, :page
|
9
9
|
|
@@ -29,8 +29,12 @@ module EveOnline
|
|
29
29
|
'esi-bookmarks.read_character_bookmarks.v1'
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
|
32
|
+
def additation_query_params
|
33
|
+
[:page]
|
34
|
+
end
|
35
|
+
|
36
|
+
def path
|
37
|
+
format("#{ API_PATH }", character_id: character_id)
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
@@ -3,16 +3,15 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterCalendar < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/calendar
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/calendar/'
|
7
7
|
|
8
|
-
attr_reader :character_id
|
8
|
+
attr_reader :character_id, :from_event
|
9
9
|
|
10
10
|
def initialize(options)
|
11
11
|
super
|
12
12
|
|
13
13
|
@character_id = options.fetch(:character_id)
|
14
|
-
|
15
|
-
# @from_event =
|
14
|
+
@from_event = options.fetch(:from_event, nil)
|
16
15
|
end
|
17
16
|
|
18
17
|
def events
|
@@ -30,8 +29,12 @@ module EveOnline
|
|
30
29
|
'esi-calendar.read_calendar_events.v1'
|
31
30
|
end
|
32
31
|
|
33
|
-
def
|
34
|
-
|
32
|
+
def additation_query_params
|
33
|
+
[:from_event]
|
34
|
+
end
|
35
|
+
|
36
|
+
def path
|
37
|
+
format("#{ API_PATH }", character_id: character_id)
|
35
38
|
end
|
36
39
|
end
|
37
40
|
end
|
@@ -5,7 +5,7 @@ module EveOnline
|
|
5
5
|
class CharacterCalendarEvent < Base
|
6
6
|
extend Forwardable
|
7
7
|
|
8
|
-
API_PATH = '/v3/characters/%<character_id>s/calendar/%<event_id>s
|
8
|
+
API_PATH = '/v3/characters/%<character_id>s/calendar/%<event_id>s/'
|
9
9
|
|
10
10
|
attr_reader :character_id, :event_id
|
11
11
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-calendar.read_calendar_events.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id, event_id: event_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterClones < Base
|
6
|
-
API_PATH = '/v3/characters/%<character_id>s/clones
|
6
|
+
API_PATH = '/v3/characters/%<character_id>s/clones/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -44,8 +44,8 @@ module EveOnline
|
|
44
44
|
'esi-clones.read_clones.v1'
|
45
45
|
end
|
46
46
|
|
47
|
-
def
|
48
|
-
format("#{
|
47
|
+
def path
|
48
|
+
format("#{ API_PATH }", character_id: character_id)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterCorporationHistory < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/corporationhistory
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/corporationhistory/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -26,8 +26,8 @@ module EveOnline
|
|
26
26
|
|
27
27
|
def scope; end
|
28
28
|
|
29
|
-
def
|
30
|
-
format("#{
|
29
|
+
def path
|
30
|
+
format("#{ API_PATH }", character_id: character_id)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class CharacterFatigue < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/characters/%<character_id>s/fatigue
|
10
|
+
API_PATH = '/v1/characters/%<character_id>s/fatigue/'
|
11
11
|
|
12
12
|
attr_reader :character_id
|
13
13
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-characters.read_fatigue.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterImplants < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/implants
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/implants/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -21,8 +21,8 @@ module EveOnline
|
|
21
21
|
'esi-clones.read_implants.v1'
|
22
22
|
end
|
23
23
|
|
24
|
-
def
|
25
|
-
format("#{
|
24
|
+
def path
|
25
|
+
format("#{ API_PATH }", character_id: character_id)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterIndustryJobs < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/industry/jobs
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/industry/jobs/'
|
7
7
|
|
8
8
|
attr_reader :character_id, :include_completed
|
9
9
|
|
@@ -11,7 +11,7 @@ module EveOnline
|
|
11
11
|
super
|
12
12
|
|
13
13
|
@character_id = options.fetch(:character_id)
|
14
|
-
@include_completed = options.fetch(:include_completed,
|
14
|
+
@include_completed = options.fetch(:include_completed, nil)
|
15
15
|
end
|
16
16
|
|
17
17
|
def jobs
|
@@ -29,8 +29,12 @@ module EveOnline
|
|
29
29
|
'esi-industry.read_character_jobs.v1'
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
|
32
|
+
def additation_query_params
|
33
|
+
[:include_completed]
|
34
|
+
end
|
35
|
+
|
36
|
+
def path
|
37
|
+
format("#{ API_PATH }", character_id: character_id)
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterKillmailsRecent < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/killmails/recent
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/killmails/recent/'
|
7
7
|
|
8
8
|
attr_reader :character_id, :page
|
9
9
|
|
@@ -29,8 +29,12 @@ module EveOnline
|
|
29
29
|
'esi-killmails.read_killmails.v1'
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
|
32
|
+
def additation_query_params
|
33
|
+
[:page]
|
34
|
+
end
|
35
|
+
|
36
|
+
def path
|
37
|
+
format("#{ API_PATH }", character_id: character_id)
|
34
38
|
end
|
35
39
|
end
|
36
40
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class CharacterLocation < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/characters/%<character_id>s/location
|
10
|
+
API_PATH = '/v1/characters/%<character_id>s/location/'
|
11
11
|
|
12
12
|
attr_reader :character_id
|
13
13
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-location.read_location.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterLoyaltyPoints < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/loyalty/points
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/loyalty/points/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-characters.read_loyalty.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterNotifications < Base
|
6
|
-
API_PATH = '/v5/characters/%<character_id>s/notifications
|
6
|
+
API_PATH = '/v5/characters/%<character_id>s/notifications/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-characters.read_notifications.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class CharacterOnline < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v2/characters/%<character_id>s/online
|
10
|
+
API_PATH = '/v2/characters/%<character_id>s/online/'
|
11
11
|
|
12
12
|
attr_reader :character_id
|
13
13
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-location.read_online.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterOrders < Base
|
6
|
-
API_PATH = '/v2/characters/%<character_id>s/orders
|
6
|
+
API_PATH = '/v2/characters/%<character_id>s/orders/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-markets.read_character_orders.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class CharacterPortrait < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v2/characters/%<character_id>s/portrait
|
10
|
+
API_PATH = '/v2/characters/%<character_id>s/portrait/'
|
11
11
|
|
12
12
|
attr_reader :character_id
|
13
13
|
|
@@ -25,8 +25,8 @@ module EveOnline
|
|
25
25
|
|
26
26
|
def scope; end
|
27
27
|
|
28
|
-
def
|
29
|
-
format("#{
|
28
|
+
def path
|
29
|
+
format("#{ API_PATH }", character_id: character_id)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class CharacterShip < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/characters/%<character_id>s/ship
|
10
|
+
API_PATH = '/v1/characters/%<character_id>s/ship/'
|
11
11
|
|
12
12
|
attr_reader :character_id
|
13
13
|
|
@@ -27,8 +27,8 @@ module EveOnline
|
|
27
27
|
'esi-location.read_ship_type.v1'
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
31
|
-
format("#{
|
30
|
+
def path
|
31
|
+
format("#{ API_PATH }", character_id: character_id)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterSkillQueue < Base
|
6
|
-
API_PATH = '/v2/characters/%<character_id>s/skillqueue
|
6
|
+
API_PATH = '/v2/characters/%<character_id>s/skillqueue/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-skills.read_skillqueue.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterSkills < Base
|
6
|
-
API_PATH = '/v4/characters/%<character_id>s/skills
|
6
|
+
API_PATH = '/v4/characters/%<character_id>s/skills/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -43,8 +43,8 @@ module EveOnline
|
|
43
43
|
'esi-skills.read_skills.v1'
|
44
44
|
end
|
45
45
|
|
46
|
-
def
|
47
|
-
format("#{
|
46
|
+
def path
|
47
|
+
format("#{ API_PATH }", character_id: character_id)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterStandings < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/standings
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/standings/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
'esi-characters.read_standings.v1'
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", character_id: character_id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class CharacterWallet < Base
|
6
|
-
API_PATH = '/v1/characters/%<character_id>s/wallet
|
6
|
+
API_PATH = '/v1/characters/%<character_id>s/wallet/'
|
7
7
|
|
8
8
|
attr_reader :character_id
|
9
9
|
|
@@ -27,8 +27,8 @@ module EveOnline
|
|
27
27
|
'esi-wallet.read_character_wallet.v1'
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
31
|
-
format("#{
|
30
|
+
def path
|
31
|
+
format("#{ API_PATH }", character_id: character_id)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|