eve_online 0.23.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_rspec.yml +4 -0
- data/.ruby-version +1 -1
- data/.travis.yml +6 -8
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +7 -7
- data/Gemfile.mutant.lock +4 -4
- data/README.md +37 -33
- data/lib/eve_online.rb +1 -0
- data/lib/eve_online/esi/alliance.rb +2 -2
- data/lib/eve_online/esi/alliance_corporations.rb +2 -2
- data/lib/eve_online/esi/alliance_icon.rb +2 -2
- data/lib/eve_online/esi/alliances.rb +2 -2
- data/lib/eve_online/esi/base.rb +22 -0
- data/lib/eve_online/esi/character.rb +2 -2
- data/lib/eve_online/esi/character_assets.rb +2 -2
- data/lib/eve_online/esi/character_assets_locations.rb +2 -2
- data/lib/eve_online/esi/character_assets_names.rb +2 -2
- data/lib/eve_online/esi/character_attributes.rb +2 -2
- data/lib/eve_online/esi/character_blueprints.rb +2 -2
- data/lib/eve_online/esi/character_bookmark_folders.rb +2 -2
- data/lib/eve_online/esi/character_bookmarks.rb +2 -2
- data/lib/eve_online/esi/character_calendar.rb +4 -2
- data/lib/eve_online/esi/character_clones.rb +2 -2
- data/lib/eve_online/esi/character_fatigue.rb +2 -2
- data/lib/eve_online/esi/character_implants.rb +2 -2
- data/lib/eve_online/esi/character_industry_jobs.rb +2 -2
- data/lib/eve_online/esi/character_killmails_recent.rb +2 -2
- data/lib/eve_online/esi/character_location.rb +2 -2
- data/lib/eve_online/esi/character_loyalty_points.rb +2 -2
- data/lib/eve_online/esi/character_notifications.rb +2 -2
- data/lib/eve_online/esi/character_online.rb +2 -2
- data/lib/eve_online/esi/character_orders.rb +2 -2
- data/lib/eve_online/esi/character_portrait.rb +2 -2
- data/lib/eve_online/esi/character_ship.rb +2 -2
- data/lib/eve_online/esi/character_skill_queue.rb +2 -2
- data/lib/eve_online/esi/character_skills.rb +2 -2
- data/lib/eve_online/esi/character_standings.rb +2 -2
- data/lib/eve_online/esi/character_wallet.rb +2 -2
- data/lib/eve_online/esi/character_wallet_journal.rb +2 -2
- data/lib/eve_online/esi/corporation.rb +2 -2
- data/lib/eve_online/esi/corporation_blueprints.rb +2 -2
- data/lib/eve_online/esi/corporation_industry_jobs.rb +2 -2
- data/lib/eve_online/esi/corporation_killmails_recent.rb +2 -2
- data/lib/eve_online/esi/corporation_orders.rb +2 -2
- data/lib/eve_online/esi/dogma_attribute.rb +2 -2
- data/lib/eve_online/esi/dogma_attributes.rb +2 -2
- data/lib/eve_online/esi/dogma_effect.rb +2 -2
- data/lib/eve_online/esi/dogma_effects.rb +2 -2
- data/lib/eve_online/esi/market_history.rb +2 -2
- data/lib/eve_online/esi/models/bookmark.rb +5 -15
- data/lib/eve_online/esi/models/coordinates.rb +30 -0
- data/lib/eve_online/esi/models/jump_clone.rb +1 -2
- data/lib/eve_online/esi/server_status.rb +2 -2
- data/lib/eve_online/esi/universe_ancestries.rb +2 -2
- data/lib/eve_online/esi/universe_asteroid_belt.rb +2 -2
- data/lib/eve_online/esi/universe_bloodlines.rb +2 -2
- data/lib/eve_online/esi/universe_categories.rb +2 -2
- data/lib/eve_online/esi/universe_category.rb +2 -2
- data/lib/eve_online/esi/universe_constellation.rb +2 -2
- data/lib/eve_online/esi/universe_constellations.rb +2 -2
- data/lib/eve_online/esi/universe_factions.rb +2 -2
- data/lib/eve_online/esi/universe_graphic.rb +2 -2
- data/lib/eve_online/esi/universe_graphics.rb +2 -2
- data/lib/eve_online/esi/universe_group.rb +2 -2
- data/lib/eve_online/esi/universe_groups.rb +2 -2
- data/lib/eve_online/esi/universe_moon.rb +2 -2
- data/lib/eve_online/esi/universe_planet.rb +2 -2
- data/lib/eve_online/esi/universe_races.rb +2 -2
- data/lib/eve_online/esi/universe_region.rb +2 -2
- data/lib/eve_online/esi/universe_regions.rb +2 -2
- data/lib/eve_online/esi/universe_star.rb +2 -2
- data/lib/eve_online/esi/universe_stargate.rb +2 -2
- data/lib/eve_online/esi/universe_station.rb +2 -2
- data/lib/eve_online/esi/universe_structures.rb +2 -2
- data/lib/eve_online/esi/universe_system.rb +2 -2
- data/lib/eve_online/esi/universe_system_jumps.rb +2 -2
- data/lib/eve_online/esi/universe_system_kills.rb +2 -2
- data/lib/eve_online/esi/universe_systems.rb +2 -2
- data/lib/eve_online/esi/universe_type.rb +2 -2
- data/lib/eve_online/esi/universe_types.rb +2 -2
- data/lib/eve_online/esi/war_killmails.rb +2 -2
- data/lib/eve_online/esi/wars.rb +7 -2
- data/lib/eve_online/version.rb +1 -1
- metadata +3 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseFactions < Base
|
6
|
-
|
6
|
+
API_PATH = '/v2/universe/factions/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def factions
|
9
9
|
@factions ||=
|
@@ -19,7 +19,7 @@ module EveOnline
|
|
19
19
|
def scope; end
|
20
20
|
|
21
21
|
def url
|
22
|
-
format(
|
22
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseGraphic < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
|
10
|
+
API_PATH = '/v1/universe/graphics/%<graphic_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -28,7 +28,7 @@ module EveOnline
|
|
28
28
|
def scope; end
|
29
29
|
|
30
30
|
def url
|
31
|
-
format(
|
31
|
+
format("#{ API_HOST }#{ API_PATH }", graphic_id: id, datasource: datasource)
|
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
|
-
|
6
|
+
API_PATH = '/v1/universe/graphics/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def graphic_ids
|
9
9
|
response
|
@@ -12,7 +12,7 @@ module EveOnline
|
|
12
12
|
def scope; end
|
13
13
|
|
14
14
|
def url
|
15
|
-
format(
|
15
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
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
|
-
|
10
|
+
API_PATH = '/v1/universe/groups/%<group_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,7 +27,7 @@ module EveOnline
|
|
27
27
|
def scope; end
|
28
28
|
|
29
29
|
def url
|
30
|
-
format(
|
30
|
+
format("#{ API_HOST }#{ API_PATH }", group_id: id, datasource: datasource)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseGroups < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/groups/?datasource=%<datasource>s&page=%<page>s'
|
7
7
|
|
8
8
|
attr_reader :page
|
9
9
|
|
@@ -20,7 +20,7 @@ module EveOnline
|
|
20
20
|
def scope; end
|
21
21
|
|
22
22
|
def url
|
23
|
-
format(
|
23
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource, page: page)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseMoon < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
|
10
|
+
API_PATH = '/v1/universe/moons/%<moon_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -26,7 +26,7 @@ module EveOnline
|
|
26
26
|
def scope; end
|
27
27
|
|
28
28
|
def url
|
29
|
-
format(
|
29
|
+
format("#{ API_HOST }#{ API_PATH }", moon_id: id, datasource: datasource)
|
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
|
-
|
10
|
+
API_PATH = '/v1/universe/planets/%<planet_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,7 +27,7 @@ module EveOnline
|
|
27
27
|
def scope; end
|
28
28
|
|
29
29
|
def url
|
30
|
-
format(
|
30
|
+
format("#{ API_HOST }#{ API_PATH }", planet_id: id, datasource: datasource)
|
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
|
-
|
6
|
+
API_PATH = '/v1/universe/races/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def races
|
9
9
|
@races ||=
|
@@ -19,7 +19,7 @@ module EveOnline
|
|
19
19
|
def scope; end
|
20
20
|
|
21
21
|
def url
|
22
|
-
format(
|
22
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseRegion < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
|
10
|
+
API_PATH = '/v1/universe/regions/%<region_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,7 +27,7 @@ module EveOnline
|
|
27
27
|
def scope; end
|
28
28
|
|
29
29
|
def url
|
30
|
-
format(
|
30
|
+
format("#{ API_HOST }#{ API_PATH }", region_id: id, datasource: datasource)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseRegions < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/regions/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def universe_region_ids
|
9
9
|
response
|
@@ -12,7 +12,7 @@ module EveOnline
|
|
12
12
|
def scope; end
|
13
13
|
|
14
14
|
def url
|
15
|
-
format(
|
15
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
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
|
-
|
10
|
+
API_PATH = '/v1/universe/stars/%<star_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -28,7 +28,7 @@ module EveOnline
|
|
28
28
|
def scope; end
|
29
29
|
|
30
30
|
def url
|
31
|
-
format(
|
31
|
+
format("#{ API_HOST }#{ API_PATH }", star_id: id, datasource: datasource)
|
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
|
-
|
10
|
+
API_PATH = '/v1/universe/stargates/%<stargate_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -27,7 +27,7 @@ module EveOnline
|
|
27
27
|
def scope; end
|
28
28
|
|
29
29
|
def url
|
30
|
-
format(
|
30
|
+
format("#{ API_HOST }#{ API_PATH }", stargate_id: id, datasource: datasource)
|
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
|
-
|
10
|
+
API_PATH = '/v2/universe/stations/%<station_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -29,7 +29,7 @@ module EveOnline
|
|
29
29
|
def scope; end
|
30
30
|
|
31
31
|
def url
|
32
|
-
format(
|
32
|
+
format("#{ API_HOST }#{ API_PATH }", station_id: id, datasource: datasource)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseStructures < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/structures/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def structure_ids
|
9
9
|
response
|
@@ -12,7 +12,7 @@ module EveOnline
|
|
12
12
|
def scope; end
|
13
13
|
|
14
14
|
def url
|
15
|
-
format(
|
15
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource, page: page)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseSystem < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
|
10
|
+
API_PATH = '/v4/universe/systems/%<system_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -28,7 +28,7 @@ module EveOnline
|
|
28
28
|
def scope; end
|
29
29
|
|
30
30
|
def url
|
31
|
-
format(
|
31
|
+
format("#{ API_HOST }#{ API_PATH }", system_id: id, datasource: datasource)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseSystemJumps < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/system_jumps/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def system_jumps
|
9
9
|
@system_jumps ||=
|
@@ -19,7 +19,7 @@ module EveOnline
|
|
19
19
|
def scope; end
|
20
20
|
|
21
21
|
def url
|
22
|
-
format(
|
22
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseSystemKills < Base
|
6
|
-
|
6
|
+
API_PATH = '/v2/universe/system_kills/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def system_kills
|
9
9
|
@system_kills ||=
|
@@ -19,7 +19,7 @@ module EveOnline
|
|
19
19
|
def scope; end
|
20
20
|
|
21
21
|
def url
|
22
|
-
format(
|
22
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseSystems < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/systems/?datasource=%<datasource>s'
|
7
7
|
|
8
8
|
def universe_system_ids
|
9
9
|
response
|
@@ -12,7 +12,7 @@ module EveOnline
|
|
12
12
|
def scope; end
|
13
13
|
|
14
14
|
def url
|
15
|
-
format(
|
15
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -7,7 +7,7 @@ module EveOnline
|
|
7
7
|
class UniverseType < Base
|
8
8
|
extend Forwardable
|
9
9
|
|
10
|
-
|
10
|
+
API_PATH = '/v3/universe/types/%<type_id>s/?datasource=%<datasource>s'
|
11
11
|
|
12
12
|
attr_reader :id
|
13
13
|
|
@@ -29,7 +29,7 @@ module EveOnline
|
|
29
29
|
def scope; end
|
30
30
|
|
31
31
|
def url
|
32
|
-
format(
|
32
|
+
format("#{ API_HOST }#{ API_PATH }", type_id: id, datasource: datasource)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class UniverseTypes < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/universe/types/?datasource=%<datasource>s&page=%<page>s'
|
7
7
|
|
8
8
|
attr_reader :page
|
9
9
|
|
@@ -20,7 +20,7 @@ module EveOnline
|
|
20
20
|
def scope; end
|
21
21
|
|
22
22
|
def url
|
23
|
-
format(
|
23
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource, page: page)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class WarKillmails < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/wars/%<war_id>s/killmails/?datasource=%<datasource>s&page=%<page>s'
|
7
7
|
|
8
8
|
attr_reader :war_id, :page
|
9
9
|
|
@@ -28,7 +28,7 @@ module EveOnline
|
|
28
28
|
def scope; end
|
29
29
|
|
30
30
|
def url
|
31
|
-
format(
|
31
|
+
format("#{ API_HOST }#{ API_PATH }", war_id: war_id, datasource: datasource, page: page)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/eve_online/esi/wars.rb
CHANGED
@@ -3,7 +3,12 @@
|
|
3
3
|
module EveOnline
|
4
4
|
module ESI
|
5
5
|
class Wars < Base
|
6
|
-
|
6
|
+
API_PATH = '/v1/wars/?datasource=%<datasource>s'
|
7
|
+
|
8
|
+
# TODO: add max_war_id
|
9
|
+
# def initialize(max_war_id)
|
10
|
+
# @max_war_id = max_war_id
|
11
|
+
# end
|
7
12
|
|
8
13
|
def war_ids
|
9
14
|
response
|
@@ -12,7 +17,7 @@ module EveOnline
|
|
12
17
|
def scope; end
|
13
18
|
|
14
19
|
def url
|
15
|
-
format(
|
20
|
+
format("#{ API_HOST }#{ API_PATH }", datasource: datasource)
|
16
21
|
end
|
17
22
|
end
|
18
23
|
end
|
data/lib/eve_online/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eve_online
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Zubkov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -231,6 +231,7 @@ files:
|
|
231
231
|
- lib/eve_online/esi/models/character_portrait.rb
|
232
232
|
- lib/eve_online/esi/models/character_ship.rb
|
233
233
|
- lib/eve_online/esi/models/constellation.rb
|
234
|
+
- lib/eve_online/esi/models/coordinates.rb
|
234
235
|
- lib/eve_online/esi/models/corporation.rb
|
235
236
|
- lib/eve_online/esi/models/corporation_industry_job.rb
|
236
237
|
- lib/eve_online/esi/models/corporation_order.rb
|