eve_online 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.mdlrc +1 -0
- data/.travis.yml +11 -2
- data/CHANGELOG.md +43 -17
- data/Gemfile.lock +37 -28
- data/Gemfile.mutant +0 -4
- data/Gemfile.mutant.lock +154 -0
- data/README.md +334 -302
- data/TODO.md +4 -0
- data/eve_online.gemspec +1 -1
- data/lib/eve_online.rb +2 -2
- data/lib/eve_online/esi/alliance.rb +6 -6
- 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 +2 -2
- data/lib/eve_online/esi/ancestries.rb +2 -2
- data/lib/eve_online/esi/base.rb +3 -2
- data/lib/eve_online/esi/bloodlines.rb +2 -2
- data/lib/eve_online/esi/character.rb +6 -6
- data/lib/eve_online/esi/character_assets.rb +3 -3
- data/lib/eve_online/esi/character_attributes.rb +6 -6
- data/lib/eve_online/esi/character_blueprints.rb +3 -3
- data/lib/eve_online/esi/character_bookmark_folders.rb +3 -3
- data/lib/eve_online/esi/character_bookmarks.rb +3 -3
- data/lib/eve_online/esi/character_calendar.rb +3 -3
- data/lib/eve_online/esi/character_clones.rb +9 -9
- 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 +5 -5
- 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 +5 -5
- data/lib/eve_online/esi/character_orders.rb +3 -3
- data/lib/eve_online/esi/character_portrait.rb +4 -5
- data/lib/eve_online/esi/character_skill_queue.rb +3 -3
- data/lib/eve_online/esi/character_skills.rb +11 -11
- 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 +3 -3
- data/lib/eve_online/esi/corporation.rb +7 -7
- data/lib/eve_online/esi/corporation_blueprints.rb +3 -3
- data/lib/eve_online/esi/corporation_industry_jobs.rb +5 -5
- data/lib/eve_online/esi/corporation_orders.rb +3 -3
- data/lib/eve_online/esi/dogma_attribute.rb +7 -7
- data/lib/eve_online/esi/dogma_attributes.rb +2 -2
- data/lib/eve_online/esi/factions.rb +2 -2
- data/lib/eve_online/esi/market_history.rb +4 -4
- data/lib/eve_online/esi/models/alliance.rb +18 -18
- data/lib/eve_online/esi/models/alliance_icon.rb +5 -5
- data/lib/eve_online/esi/models/ancestry.rb +16 -16
- data/lib/eve_online/esi/models/asset.rb +22 -17
- data/lib/eve_online/esi/models/attributes.rb +20 -20
- data/lib/eve_online/esi/models/bloodline.rb +25 -25
- data/lib/eve_online/esi/models/blueprint.rb +16 -16
- data/lib/eve_online/esi/models/bookmark.rb +26 -26
- data/lib/eve_online/esi/models/character.rb +28 -28
- data/lib/eve_online/esi/models/{industry_job.rb → character_industry_job.rb} +1 -2
- data/lib/eve_online/esi/models/character_order.rb +39 -49
- data/lib/eve_online/esi/models/character_portrait.rb +4 -20
- data/lib/eve_online/esi/models/corporation.rb +35 -35
- data/lib/eve_online/esi/models/corporation_industry_job.rb +132 -0
- data/lib/eve_online/esi/models/corporation_order.rb +42 -42
- data/lib/eve_online/esi/models/dogma_attribute.rb +21 -21
- data/lib/eve_online/esi/models/event.rb +11 -11
- data/lib/eve_online/esi/models/faction.rb +20 -20
- data/lib/eve_online/esi/models/jump_clone.rb +8 -8
- data/lib/eve_online/esi/models/market_history.rb +16 -16
- data/lib/eve_online/esi/models/notification.rb +10 -10
- data/lib/eve_online/esi/models/online.rb +6 -6
- data/lib/eve_online/esi/models/race.rb +11 -11
- data/lib/eve_online/esi/models/server_status.rb +7 -7
- data/lib/eve_online/esi/models/skill.rb +6 -6
- data/lib/eve_online/esi/models/skill_queue_entry.rb +19 -19
- data/lib/eve_online/esi/models/type.rb +33 -33
- data/lib/eve_online/esi/models/wallet_journal_entry.rb +37 -33
- data/lib/eve_online/esi/races.rb +2 -2
- data/lib/eve_online/esi/server_status.rb +2 -2
- data/lib/eve_online/esi/universe_type.rb +8 -8
- data/lib/eve_online/esi/universe_types.rb +2 -2
- data/lib/eve_online/version.rb +1 -1
- data/mutant.sh +1 -1
- metadata +14 -11
- data/lib/eve_online/esi/alliances_names.rb +0 -32
@@ -0,0 +1,132 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module EveOnline
|
4
|
+
module ESI
|
5
|
+
module Models
|
6
|
+
class CorporationIndustryJob < Base
|
7
|
+
def as_json
|
8
|
+
{
|
9
|
+
activity_id: activity_id,
|
10
|
+
blueprint_id: blueprint_id,
|
11
|
+
blueprint_location_id: blueprint_location_id,
|
12
|
+
blueprint_type_id: blueprint_type_id,
|
13
|
+
completed_character_id: completed_character_id,
|
14
|
+
completed_date: completed_date,
|
15
|
+
cost: cost,
|
16
|
+
duration: duration,
|
17
|
+
end_date: end_date,
|
18
|
+
facility_id: facility_id,
|
19
|
+
installer_id: installer_id,
|
20
|
+
job_id: job_id,
|
21
|
+
licensed_runs: licensed_runs,
|
22
|
+
location_id: location_id,
|
23
|
+
output_location_id: output_location_id,
|
24
|
+
pause_date: pause_date,
|
25
|
+
probability: probability,
|
26
|
+
product_type_id: product_type_id,
|
27
|
+
runs: runs,
|
28
|
+
start_date: start_date,
|
29
|
+
status: status,
|
30
|
+
successful_runs: successful_runs
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
def activity_id
|
35
|
+
options['activity_id']
|
36
|
+
end
|
37
|
+
|
38
|
+
def blueprint_id
|
39
|
+
options['blueprint_id']
|
40
|
+
end
|
41
|
+
|
42
|
+
def blueprint_location_id
|
43
|
+
options['blueprint_location_id']
|
44
|
+
end
|
45
|
+
|
46
|
+
def blueprint_type_id
|
47
|
+
options['blueprint_type_id']
|
48
|
+
end
|
49
|
+
|
50
|
+
def completed_character_id
|
51
|
+
options['completed_character_id']
|
52
|
+
end
|
53
|
+
|
54
|
+
def completed_date
|
55
|
+
completed_date = options['completed_date']
|
56
|
+
|
57
|
+
parse_datetime_with_timezone(completed_date) if completed_date
|
58
|
+
end
|
59
|
+
|
60
|
+
def cost
|
61
|
+
options['cost']
|
62
|
+
end
|
63
|
+
|
64
|
+
def duration
|
65
|
+
options['duration']
|
66
|
+
end
|
67
|
+
|
68
|
+
def end_date
|
69
|
+
end_date = options['end_date']
|
70
|
+
|
71
|
+
parse_datetime_with_timezone(end_date) if end_date
|
72
|
+
end
|
73
|
+
|
74
|
+
def facility_id
|
75
|
+
options['facility_id']
|
76
|
+
end
|
77
|
+
|
78
|
+
def installer_id
|
79
|
+
options['installer_id']
|
80
|
+
end
|
81
|
+
|
82
|
+
def job_id
|
83
|
+
options['job_id']
|
84
|
+
end
|
85
|
+
|
86
|
+
def licensed_runs
|
87
|
+
options['licensed_runs']
|
88
|
+
end
|
89
|
+
|
90
|
+
def location_id
|
91
|
+
options['location_id']
|
92
|
+
end
|
93
|
+
|
94
|
+
def output_location_id
|
95
|
+
options['output_location_id']
|
96
|
+
end
|
97
|
+
|
98
|
+
def pause_date
|
99
|
+
pause_date = options['pause_date']
|
100
|
+
|
101
|
+
parse_datetime_with_timezone(pause_date) if pause_date
|
102
|
+
end
|
103
|
+
|
104
|
+
def probability
|
105
|
+
options['probability']
|
106
|
+
end
|
107
|
+
|
108
|
+
def product_type_id
|
109
|
+
options['product_type_id']
|
110
|
+
end
|
111
|
+
|
112
|
+
def runs
|
113
|
+
options['runs']
|
114
|
+
end
|
115
|
+
|
116
|
+
def start_date
|
117
|
+
start_date = options['start_date']
|
118
|
+
|
119
|
+
parse_datetime_with_timezone(start_date) if start_date
|
120
|
+
end
|
121
|
+
|
122
|
+
def status
|
123
|
+
options['status']
|
124
|
+
end
|
125
|
+
|
126
|
+
def successful_runs
|
127
|
+
options['successful_runs']
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -6,85 +6,85 @@ module EveOnline
|
|
6
6
|
class CorporationOrder < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
|
10
|
-
|
11
|
-
region_id: region_id,
|
12
|
-
location_id: location_id,
|
13
|
-
range: range,
|
9
|
+
duration: duration,
|
10
|
+
escrow: escrow,
|
14
11
|
is_buy_order: is_buy_order,
|
15
|
-
price: price,
|
16
|
-
volume_total: volume_total,
|
17
|
-
volume_remain: volume_remain,
|
18
12
|
issued: issued,
|
19
|
-
|
13
|
+
issued_by: issued_by,
|
14
|
+
location_id: location_id,
|
20
15
|
min_volume: min_volume,
|
21
|
-
|
22
|
-
|
23
|
-
|
16
|
+
order_id: order_id,
|
17
|
+
price: price,
|
18
|
+
range: range,
|
19
|
+
region_id: region_id,
|
20
|
+
type_id: type_id,
|
21
|
+
volume_remain: volume_remain,
|
22
|
+
volume_total: volume_total,
|
23
|
+
wallet_division: wallet_division
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
28
|
-
options['
|
27
|
+
def duration
|
28
|
+
options['duration']
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
32
|
-
options['
|
31
|
+
def escrow
|
32
|
+
options['escrow']
|
33
33
|
end
|
34
34
|
|
35
|
-
def
|
36
|
-
options['
|
35
|
+
def is_buy_order
|
36
|
+
options['is_buy_order']
|
37
|
+
end
|
38
|
+
|
39
|
+
def issued
|
40
|
+
issued = options['issued']
|
41
|
+
|
42
|
+
parse_datetime_with_timezone(issued) if issued
|
43
|
+
end
|
44
|
+
|
45
|
+
def issued_by
|
46
|
+
options['issued_by']
|
37
47
|
end
|
38
48
|
|
39
49
|
def location_id
|
40
50
|
options['location_id']
|
41
51
|
end
|
42
52
|
|
43
|
-
def
|
44
|
-
options['
|
53
|
+
def min_volume
|
54
|
+
options['min_volume']
|
45
55
|
end
|
46
56
|
|
47
|
-
def
|
48
|
-
options['
|
57
|
+
def order_id
|
58
|
+
options['order_id']
|
49
59
|
end
|
50
60
|
|
51
61
|
def price
|
52
62
|
options['price']
|
53
63
|
end
|
54
64
|
|
55
|
-
def
|
56
|
-
options['
|
65
|
+
def range
|
66
|
+
options['range']
|
57
67
|
end
|
58
68
|
|
59
|
-
def
|
60
|
-
options['
|
69
|
+
def region_id
|
70
|
+
options['region_id']
|
61
71
|
end
|
62
72
|
|
63
|
-
def
|
64
|
-
|
65
|
-
|
66
|
-
parse_datetime_with_timezone(issued) if issued
|
73
|
+
def type_id
|
74
|
+
options['type_id']
|
67
75
|
end
|
68
76
|
|
69
|
-
def
|
70
|
-
options['
|
77
|
+
def volume_remain
|
78
|
+
options['volume_remain']
|
71
79
|
end
|
72
80
|
|
73
|
-
def
|
74
|
-
options['
|
81
|
+
def volume_total
|
82
|
+
options['volume_total']
|
75
83
|
end
|
76
84
|
|
77
85
|
def wallet_division
|
78
86
|
options['wallet_division']
|
79
87
|
end
|
80
|
-
|
81
|
-
def duration
|
82
|
-
options['duration']
|
83
|
-
end
|
84
|
-
|
85
|
-
def escrow
|
86
|
-
options['escrow']
|
87
|
-
end
|
88
88
|
end
|
89
89
|
end
|
90
90
|
end
|
@@ -6,57 +6,57 @@ module EveOnline
|
|
6
6
|
class DogmaAttribute < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
|
10
|
-
|
9
|
+
attribute_id: attribute_id,
|
10
|
+
default_value: default_value,
|
11
11
|
description: description,
|
12
|
+
display_name: display_name,
|
13
|
+
high_is_good: high_is_good,
|
12
14
|
icon_id: icon_id,
|
13
|
-
|
15
|
+
name: name,
|
14
16
|
published: published,
|
15
|
-
display_name: display_name,
|
16
|
-
unit_id: unit_id,
|
17
17
|
stackable: stackable,
|
18
|
-
|
18
|
+
unit_id: unit_id
|
19
19
|
}
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
22
|
+
def attribute_id
|
23
23
|
options['attribute_id']
|
24
24
|
end
|
25
25
|
|
26
|
-
def
|
27
|
-
options['
|
26
|
+
def default_value
|
27
|
+
options['default_value']
|
28
28
|
end
|
29
29
|
|
30
30
|
def description
|
31
31
|
options['description']
|
32
32
|
end
|
33
33
|
|
34
|
-
def
|
35
|
-
options['
|
34
|
+
def display_name
|
35
|
+
options['display_name']
|
36
36
|
end
|
37
37
|
|
38
|
-
def
|
39
|
-
options['
|
38
|
+
def high_is_good
|
39
|
+
options['high_is_good']
|
40
40
|
end
|
41
41
|
|
42
|
-
def
|
43
|
-
options['
|
42
|
+
def icon_id
|
43
|
+
options['icon_id']
|
44
44
|
end
|
45
45
|
|
46
|
-
def
|
47
|
-
options['
|
46
|
+
def name
|
47
|
+
options['name']
|
48
48
|
end
|
49
49
|
|
50
|
-
def
|
51
|
-
options['
|
50
|
+
def published
|
51
|
+
options['published']
|
52
52
|
end
|
53
53
|
|
54
54
|
def stackable
|
55
55
|
options['stackable']
|
56
56
|
end
|
57
57
|
|
58
|
-
def
|
59
|
-
options['
|
58
|
+
def unit_id
|
59
|
+
options['unit_id']
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
@@ -6,34 +6,34 @@ module EveOnline
|
|
6
6
|
class Event < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
event_id: event_id,
|
10
9
|
event_date: event_date,
|
11
|
-
|
10
|
+
event_id: event_id,
|
11
|
+
event_response: event_response,
|
12
12
|
importance: importance,
|
13
|
-
|
13
|
+
title: title
|
14
14
|
}
|
15
15
|
end
|
16
16
|
|
17
|
-
def event_id
|
18
|
-
options['event_id']
|
19
|
-
end
|
20
|
-
|
21
17
|
def event_date
|
22
18
|
event_date = options['event_date']
|
23
19
|
|
24
20
|
parse_datetime_with_timezone(event_date) if event_date
|
25
21
|
end
|
26
22
|
|
27
|
-
def
|
28
|
-
options['
|
23
|
+
def event_id
|
24
|
+
options['event_id']
|
25
|
+
end
|
26
|
+
|
27
|
+
def event_response
|
28
|
+
options['event_response']
|
29
29
|
end
|
30
30
|
|
31
31
|
def importance
|
32
32
|
options['importance']
|
33
33
|
end
|
34
34
|
|
35
|
-
def
|
36
|
-
options['
|
35
|
+
def title
|
36
|
+
options['title']
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
@@ -6,47 +6,51 @@ module EveOnline
|
|
6
6
|
class Faction < Base
|
7
7
|
def as_json
|
8
8
|
{
|
9
|
-
faction_id: faction_id,
|
10
|
-
name: name,
|
11
|
-
description: description,
|
12
|
-
solar_system_id: solar_system_id,
|
13
9
|
corporation_id: corporation_id,
|
10
|
+
description: description,
|
11
|
+
faction_id: faction_id,
|
12
|
+
is_unique: is_unique,
|
14
13
|
militia_corporation_id: militia_corporation_id,
|
14
|
+
name: name,
|
15
15
|
size_factor: size_factor,
|
16
|
+
solar_system_id: solar_system_id,
|
16
17
|
station_count: station_count,
|
17
|
-
station_system_count: station_system_count
|
18
|
-
is_unique: is_unique
|
18
|
+
station_system_count: station_system_count
|
19
19
|
}
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
23
|
-
options['
|
24
|
-
end
|
25
|
-
|
26
|
-
def name
|
27
|
-
options['name']
|
22
|
+
def corporation_id
|
23
|
+
options['corporation_id']
|
28
24
|
end
|
29
25
|
|
30
26
|
def description
|
31
27
|
options['description']
|
32
28
|
end
|
33
29
|
|
34
|
-
def
|
35
|
-
options['
|
30
|
+
def faction_id
|
31
|
+
options['faction_id']
|
36
32
|
end
|
37
33
|
|
38
|
-
def
|
39
|
-
options['
|
34
|
+
def is_unique
|
35
|
+
options['is_unique']
|
40
36
|
end
|
41
37
|
|
42
38
|
def militia_corporation_id
|
43
39
|
options['militia_corporation_id']
|
44
40
|
end
|
45
41
|
|
42
|
+
def name
|
43
|
+
options['name']
|
44
|
+
end
|
45
|
+
|
46
46
|
def size_factor
|
47
47
|
options['size_factor']
|
48
48
|
end
|
49
49
|
|
50
|
+
def solar_system_id
|
51
|
+
options['solar_system_id']
|
52
|
+
end
|
53
|
+
|
50
54
|
def station_count
|
51
55
|
options['station_count']
|
52
56
|
end
|
@@ -54,10 +58,6 @@ module EveOnline
|
|
54
58
|
def station_system_count
|
55
59
|
options['station_system_count']
|
56
60
|
end
|
57
|
-
|
58
|
-
def is_unique
|
59
|
-
options['is_unique']
|
60
|
-
end
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|