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
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseAsteroidBelt < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/asteroid_belts/%<asteroid_belt_id>s
|
10
|
+
API_PATH = '/v1/universe/asteroid_belts/%<asteroid_belt_id>s/'
|
11
11
|
|
12
12
|
attr_reader :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 }", asteroid_belt_id: id)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseBloodlines < Base
|
6
|
-
API_PATH = '/v1/universe/bloodlines
|
6
|
+
API_PATH = '/v1/universe/bloodlines/'
|
7
7
|
|
8
8
|
def bloodlines
|
9
9
|
@bloodlines ||=
|
@@ -18,8 +18,12 @@ module EveOnline
|
|
18
18
|
|
19
19
|
def scope; end
|
20
20
|
|
21
|
-
def
|
22
|
-
|
21
|
+
def additation_query_params
|
22
|
+
[:language]
|
23
|
+
end
|
24
|
+
|
25
|
+
def path
|
26
|
+
API_PATH
|
23
27
|
end
|
24
28
|
end
|
25
29
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseCategories < Base
|
6
|
-
API_PATH = '/v1/universe/categories
|
6
|
+
API_PATH = '/v1/universe/categories/'
|
7
7
|
|
8
8
|
def category_ids
|
9
9
|
response
|
@@ -11,8 +11,8 @@ module EveOnline
|
|
11
11
|
|
12
12
|
def scope; end
|
13
13
|
|
14
|
-
def
|
15
|
-
|
14
|
+
def path
|
15
|
+
API_PATH
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseCategory < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/categories/%<category_id>s
|
10
|
+
API_PATH = '/v1/universe/categories/%<category_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -26,8 +26,12 @@ module EveOnline
|
|
26
26
|
|
27
27
|
def scope; end
|
28
28
|
|
29
|
-
def
|
30
|
-
|
29
|
+
def additation_query_params
|
30
|
+
[:language]
|
31
|
+
end
|
32
|
+
|
33
|
+
def path
|
34
|
+
format("#{ API_PATH }", category_id: id)
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseConstellation < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/constellations/%<constellation_id>s
|
10
|
+
API_PATH = '/v1/universe/constellations/%<constellation_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -26,8 +26,12 @@ module EveOnline
|
|
26
26
|
|
27
27
|
def scope; end
|
28
28
|
|
29
|
-
def
|
30
|
-
|
29
|
+
def additation_query_params
|
30
|
+
[:language]
|
31
|
+
end
|
32
|
+
|
33
|
+
def path
|
34
|
+
format("#{ API_PATH }", constellation_id: id)
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseConstellations < Base
|
6
|
-
API_PATH = '/v1/universe/constellations
|
6
|
+
API_PATH = '/v1/universe/constellations/'
|
7
7
|
|
8
8
|
def constellation_ids
|
9
9
|
response
|
@@ -11,8 +11,8 @@ module EveOnline
|
|
11
11
|
|
12
12
|
def scope; end
|
13
13
|
|
14
|
-
def
|
15
|
-
|
14
|
+
def path
|
15
|
+
API_PATH
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseFactions < Base
|
6
|
-
API_PATH = '/v2/universe/factions
|
6
|
+
API_PATH = '/v2/universe/factions/'
|
7
7
|
|
8
8
|
def factions
|
9
9
|
@factions ||=
|
@@ -18,8 +18,12 @@ module EveOnline
|
|
18
18
|
|
19
19
|
def scope; end
|
20
20
|
|
21
|
-
def
|
22
|
-
|
21
|
+
def additation_query_params
|
22
|
+
[:language]
|
23
|
+
end
|
24
|
+
|
25
|
+
def path
|
26
|
+
API_PATH
|
23
27
|
end
|
24
28
|
end
|
25
29
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseGraphic < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/graphics/%<graphic_id>s
|
10
|
+
API_PATH = '/v1/universe/graphics/%<graphic_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,8 +27,8 @@ module EveOnline
|
|
27
27
|
|
28
28
|
def scope; end
|
29
29
|
|
30
|
-
def
|
31
|
-
format("#{
|
30
|
+
def path
|
31
|
+
format("#{ API_PATH }", graphic_id: 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 UniverseGraphics < Base
|
6
|
-
API_PATH = '/v1/universe/graphics
|
6
|
+
API_PATH = '/v1/universe/graphics/'
|
7
7
|
|
8
8
|
def graphic_ids
|
9
9
|
response
|
@@ -11,8 +11,8 @@ module EveOnline
|
|
11
11
|
|
12
12
|
def scope; end
|
13
13
|
|
14
|
-
def
|
15
|
-
|
14
|
+
def path
|
15
|
+
API_PATH
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseGroup < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/groups/%<group_id>s
|
10
|
+
API_PATH = '/v1/universe/groups/%<group_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -26,8 +26,12 @@ module EveOnline
|
|
26
26
|
|
27
27
|
def scope; end
|
28
28
|
|
29
|
-
def
|
30
|
-
|
29
|
+
def additation_query_params
|
30
|
+
[:language]
|
31
|
+
end
|
32
|
+
|
33
|
+
def path
|
34
|
+
format("#{ API_PATH }", group_id: id)
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseGroups < Base
|
6
|
-
API_PATH = '/v1/universe/groups
|
6
|
+
API_PATH = '/v1/universe/groups/'
|
7
7
|
|
8
8
|
attr_reader :page
|
9
9
|
|
@@ -19,8 +19,12 @@ module EveOnline
|
|
19
19
|
|
20
20
|
def scope; end
|
21
21
|
|
22
|
-
def
|
23
|
-
|
22
|
+
def additation_query_params
|
23
|
+
[:page]
|
24
|
+
end
|
25
|
+
|
26
|
+
def path
|
27
|
+
API_PATH
|
24
28
|
end
|
25
29
|
end
|
26
30
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseMoon < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/moons/%<moon_id>s
|
10
|
+
API_PATH = '/v1/universe/moons/%<moon_id>s/'
|
11
11
|
|
12
12
|
attr_reader :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 }", moon_id: id)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniversePlanet < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/planets/%<planet_id>s
|
10
|
+
API_PATH = '/v1/universe/planets/%<planet_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -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 }", planet_id: id)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseRaces < Base
|
6
|
-
API_PATH = '/v1/universe/races
|
6
|
+
API_PATH = '/v1/universe/races/'
|
7
7
|
|
8
8
|
def races
|
9
9
|
@races ||=
|
@@ -18,8 +18,12 @@ module EveOnline
|
|
18
18
|
|
19
19
|
def scope; end
|
20
20
|
|
21
|
-
def
|
22
|
-
|
21
|
+
def additation_query_params
|
22
|
+
[:language]
|
23
|
+
end
|
24
|
+
|
25
|
+
def path
|
26
|
+
API_PATH
|
23
27
|
end
|
24
28
|
end
|
25
29
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseRegion < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/regions/%<region_id>s
|
10
|
+
API_PATH = '/v1/universe/regions/%<region_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -26,8 +26,12 @@ module EveOnline
|
|
26
26
|
|
27
27
|
def scope; end
|
28
28
|
|
29
|
-
def
|
30
|
-
|
29
|
+
def additation_query_params
|
30
|
+
[:language]
|
31
|
+
end
|
32
|
+
|
33
|
+
def path
|
34
|
+
format("#{ API_PATH }", region_id: id)
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseRegions < Base
|
6
|
-
API_PATH = '/v1/universe/regions
|
6
|
+
API_PATH = '/v1/universe/regions/'
|
7
7
|
|
8
8
|
def universe_region_ids
|
9
9
|
response
|
@@ -11,8 +11,8 @@ module EveOnline
|
|
11
11
|
|
12
12
|
def scope; end
|
13
13
|
|
14
|
-
def
|
15
|
-
|
14
|
+
def path
|
15
|
+
API_PATH
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseStar < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/stars/%<star_id>s
|
10
|
+
API_PATH = '/v1/universe/stars/%<star_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,8 +27,8 @@ module EveOnline
|
|
27
27
|
|
28
28
|
def scope; end
|
29
29
|
|
30
|
-
def
|
31
|
-
format("#{
|
30
|
+
def path
|
31
|
+
format("#{ API_PATH }", star_id: id)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseStargate < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v1/universe/stargates/%<stargate_id>s
|
10
|
+
API_PATH = '/v1/universe/stargates/%<stargate_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -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 }", stargate_id: id)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseStation < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
API_PATH = '/v2/universe/stations/%<station_id>s
|
10
|
+
API_PATH = '/v2/universe/stations/%<station_id>s/'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -28,8 +28,8 @@ module EveOnline
|
|
28
28
|
|
29
29
|
def scope; end
|
30
30
|
|
31
|
-
def
|
32
|
-
format("#{
|
31
|
+
def path
|
32
|
+
format("#{ API_PATH }", station_id: id)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,15 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseStructures < Base
|
6
|
-
API_PATH = '/v1/universe/structures
|
6
|
+
API_PATH = '/v1/universe/structures/'
|
7
|
+
|
8
|
+
attr_reader :filter
|
9
|
+
|
10
|
+
def initialize(options = {})
|
11
|
+
super
|
12
|
+
|
13
|
+
@filter = options.fetch(:filter, nil)
|
14
|
+
end
|
7
15
|
|
8
16
|
def structure_ids
|
9
17
|
response
|
@@ -11,8 +19,12 @@ module EveOnline
|
|
11
19
|
|
12
20
|
def scope; end
|
13
21
|
|
14
|
-
def
|
15
|
-
|
22
|
+
def additation_query_params
|
23
|
+
[:filter]
|
24
|
+
end
|
25
|
+
|
26
|
+
def path
|
27
|
+
API_PATH
|
16
28
|
end
|
17
29
|
end
|
18
30
|
end
|