eve_online 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +10 -0
- data/.rubocop.yml +2 -7
- data/.travis.yml +4 -1
- data/Gemfile +1 -1
- data/README.md +273 -7
- data/eve_online.gemspec +4 -2
- data/lib/eve_online.rb +32 -2
- data/lib/eve_online/characters/skill_queue.rb +3 -3
- data/lib/eve_online/esi/base.rb +15 -2
- data/lib/eve_online/esi/character.rb +75 -0
- data/lib/eve_online/esi/character_loyalty_points.rb +31 -0
- data/lib/eve_online/esi/character_portrait.rb +61 -0
- data/lib/eve_online/esi/character_skill_queue.rb +31 -0
- data/lib/eve_online/esi/character_skills.rb +41 -0
- data/lib/eve_online/esi/models/loyalty_point.rb +28 -0
- data/lib/eve_online/esi/models/skill.rb +33 -0
- data/lib/eve_online/esi/models/skill_queue_entry.rb +60 -0
- data/lib/eve_online/sde/agt_agent_types.rb +14 -0
- data/lib/eve_online/sde/agt_agents.rb +14 -0
- data/lib/eve_online/sde/agt_research_agents.rb +14 -0
- data/lib/eve_online/sde/base.rb +25 -0
- data/lib/eve_online/sde/chr_races.rb +14 -0
- data/lib/eve_online/sde/inv_flags.rb +14 -0
- data/lib/eve_online/sde/inv_items.rb +14 -0
- data/lib/eve_online/sde/inv_names.rb +14 -0
- data/lib/eve_online/sde/inv_positions.rb +14 -0
- data/lib/eve_online/sde/models/agt_agent.rb +58 -0
- data/lib/eve_online/sde/models/agt_agent_type.rb +28 -0
- data/lib/eve_online/sde/models/agt_research_agent.rb +28 -0
- data/lib/eve_online/sde/models/chr_race.rb +38 -0
- data/lib/eve_online/sde/models/inv_flag.rb +38 -0
- data/lib/eve_online/sde/models/inv_item.rb +48 -0
- data/lib/eve_online/sde/models/inv_name.rb +28 -0
- data/lib/eve_online/sde/models/inv_position.rb +53 -0
- data/lib/eve_online/version.rb +1 -1
- data/lib/eve_online/xml/models/skill_queue_entry.rb +55 -0
- metadata +31 -6
- data/lib/eve_online/esi/characters/character.rb +0 -20
- data/lib/eve_online/skill_queue_entry.rb +0 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 504405d8b40072ca623979ee5b0388080335ee0c
|
4
|
+
data.tar.gz: f27d4dbfa2a07efd1b1ea5addd7311d07ce4b8e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1264fa212dbe6eb520397dc225b8312ca4ff0af2c9d7bf0752f4a3ea45f104c0ed615e79e035ec1816e0bb84d10002a382aec02d253610ca0dcacc932d1cf81f
|
7
|
+
data.tar.gz: 42e15086fdf5b57cb3ef3d2b574895180fb6fd8b424fd3148f9d991ffb0bafb95422f9c71c86eacae4aa69c06ef1448cca1b9254c47e8d4ab9af459289349379
|
data/.editorconfig
ADDED
data/.rubocop.yml
CHANGED
@@ -20,9 +20,9 @@ Style/DotPosition:
|
|
20
20
|
StyleGuide: '#consistent-multi-line-chains'
|
21
21
|
Enabled: true
|
22
22
|
|
23
|
-
# Disable magic
|
24
23
|
Style/FrozenStringLiteralComment:
|
25
|
-
Enabled:
|
24
|
+
Enabled: true
|
25
|
+
EnforcedStyle: never
|
26
26
|
|
27
27
|
# Recheck this cop later
|
28
28
|
Style/FlipFlop:
|
@@ -98,11 +98,6 @@ Style/MethodCalledOnDoEndBlock:
|
|
98
98
|
Style/MultilineAssignmentLayout:
|
99
99
|
Enabled: true
|
100
100
|
|
101
|
-
# Use %i or %I for arrays of symbols
|
102
|
-
# Ruby 1.9 doesn't support %i and %I for arrays of symbols
|
103
|
-
Style/SymbolArray:
|
104
|
-
Enabled: false
|
105
|
-
|
106
101
|
# Just ignore order of gems in Gemfile
|
107
102
|
Bundler/OrderedGems:
|
108
103
|
Enabled: false
|
data/.travis.yml
CHANGED
@@ -7,6 +7,7 @@ rvm:
|
|
7
7
|
- 2.1
|
8
8
|
- 2.2.6
|
9
9
|
- 2.3.3
|
10
|
+
- 2.4.0
|
10
11
|
- ruby-head
|
11
12
|
|
12
13
|
gemfile:
|
@@ -21,6 +22,8 @@ matrix:
|
|
21
22
|
gemfile: gemfiles/activesupport_50.gemfile
|
22
23
|
- rvm: 2.1
|
23
24
|
gemfile: gemfiles/activesupport_50.gemfile
|
25
|
+
- rvm: 2.4.0
|
26
|
+
gemfile: gemfiles/activesupport_42.gemfile
|
24
27
|
- rvm: ruby-head
|
25
28
|
gemfile: gemfiles/activesupport_42.gemfile
|
26
29
|
include:
|
@@ -43,7 +46,7 @@ matrix:
|
|
43
46
|
- rvm: jruby-head
|
44
47
|
fast_finish: true
|
45
48
|
|
46
|
-
before_install: gem install bundler -v 1.
|
49
|
+
before_install: gem install bundler -v 1.14.5
|
47
50
|
|
48
51
|
script:
|
49
52
|
- bundle exec rake
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# EveOnline API (XML, CREST and ESI)
|
1
|
+
# EveOnline API (XML, CREST and ESI). With SDE.
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/eve_online.svg)](https://badge.fury.io/rb/eve_online)
|
4
4
|
[![Gem Downloads](https://img.shields.io/gem/dt/eve_online.svg)](https://rubygems.org/gems/eve_online)
|
@@ -8,7 +8,7 @@
|
|
8
8
|
[![Dependency Status](https://gemnasium.com/biow0lf/eve_online.svg)](https://gemnasium.com/biow0lf/eve_online)
|
9
9
|
[![security](https://hakiri.io/github/biow0lf/eve_online/master.svg)](https://hakiri.io/github/biow0lf/eve_online/master)
|
10
10
|
|
11
|
-
This gem implement Ruby API for EveOnline MMORPG. All, XML, CREST and ESI API.
|
11
|
+
This gem implement Ruby API for EveOnline MMORPG. All, XML, CREST and ESI API. With SDE.
|
12
12
|
|
13
13
|
This gem was extracted from [EveMonk](http://evemonk.com). Source code of evemonk backend published [here](https://github.com/biow0lf/evemonk).
|
14
14
|
|
@@ -37,12 +37,15 @@ Or install it yourself as:
|
|
37
37
|
* MRI 2.1
|
38
38
|
* MRI 2.2
|
39
39
|
* MRI 2.3
|
40
|
-
* MRI 2.4
|
40
|
+
* MRI 2.4
|
41
|
+
* MRI 2.5 (head)
|
41
42
|
* JRuby 9.1.5.0
|
42
43
|
* JRuby (head)
|
43
44
|
|
44
45
|
## Usage
|
45
46
|
|
47
|
+
### XML API
|
48
|
+
|
46
49
|
Account status:
|
47
50
|
|
48
51
|
```ruby
|
@@ -993,16 +996,249 @@ campaigns.items.first
|
|
993
996
|
# => {"eventType_str"=>"1", "campaignID"=>21773, "eventType"=>1, "sourceSolarsystem"=>{"id_str"=>"30003629", "href"=>"https://crest-tq.eveonline.com/solarsystems/30003629/", "id"=>30003629, "name"=>"S-KSWL"}, "attackers"=>{"score"=>0.8}, "campaignID_str"=>"21773", "sourceItemID"=>1020806305659, "startTime"=>"2016-05-04T15:43:16", "sourceItemID_str"=>"1020806305659", "defender"=>{"defender"=>{"id_str"=>"99006297", "href"=>"https://crest-tq.eveonline.com/alliances/99006297/", "id"=>99006297, "name"=>"DRONE WALKERS"}, "score"=>0.2}, "constellation"=>{"id_str"=>"20000529", "href"=>"https://crest-tq.eveonline.com/constellations/20000529/", "id"=>20000529, "name"=>"TJ10-O"}}
|
994
997
|
```
|
995
998
|
|
996
|
-
|
999
|
+
### ESI Examples
|
1000
|
+
|
1001
|
+
#### Public information about a character
|
1002
|
+
|
1003
|
+
```ruby
|
1004
|
+
character_id = 90729314
|
1005
|
+
|
1006
|
+
character = EveOnline::ESI::Character.new(character_id)
|
1007
|
+
|
1008
|
+
character.as_json
|
1009
|
+
# => {:corporation_id=>1000168, :birthday=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :name=>"Green Black", :gender=>"male", :race_id=>2, :bloodline_id=>4, :description=>"", :alliance_id=>12345678, :ancestry_id=>24, :security_status=>1.8694881661345457}
|
1010
|
+
|
1011
|
+
character.corporation_id # => 1000168
|
1012
|
+
character.birthday # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
|
1013
|
+
character.name # => "Green Black"
|
1014
|
+
character.gender # => "male"
|
1015
|
+
character.race_id # => 2
|
1016
|
+
character.bloodline_id # => 4
|
1017
|
+
character.description # => ""
|
1018
|
+
character.alliance_id # => 12345678
|
1019
|
+
character.ancestry_id # => 24
|
1020
|
+
character.security_status # => 1.8694881661345457
|
1021
|
+
```
|
1022
|
+
|
1023
|
+
#### Get portrait urls for a character
|
1024
|
+
|
1025
|
+
```ruby
|
1026
|
+
character_id = 90729314
|
1027
|
+
|
1028
|
+
character_portrait = EveOnline::ESI::CharacterPortrait.new(character_id)
|
1029
|
+
|
1030
|
+
character_portrait.as_json
|
1031
|
+
# => {:small=>"http://image.eveonline.com/Character/90729314_64.jpg", :medium=>"http://image.eveonline.com/Character/90729314_128.jpg", :large=>"http://image.eveonline.com/Character/90729314_256.jpg", :huge=>"http://image.eveonline.com/Character/90729314_512.jpg"}
|
1032
|
+
|
1033
|
+
character_portrait.small # => "http://image.eveonline.com/Character/90729314_64.jpg"
|
1034
|
+
character_portrait.medium # => "http://image.eveonline.com/Character/90729314_128.jpg"
|
1035
|
+
character_portrait.large # => "http://image.eveonline.com/Character/90729314_256.jpg"
|
1036
|
+
character_portrait.huge # => "http://image.eveonline.com/Character/90729314_512.jpg"
|
1037
|
+
```
|
1038
|
+
|
1039
|
+
#### List all trained skills for the given character
|
1040
|
+
|
1041
|
+
```ruby
|
1042
|
+
token = 'token123'
|
1043
|
+
|
1044
|
+
character_id = 90729314
|
1045
|
+
|
1046
|
+
character_skills = EveOnline::ESI::CharacterSkills.new(token, character_id)
|
1047
|
+
|
1048
|
+
character_skills.total_sp # => 43232144
|
1049
|
+
|
1050
|
+
character_skills.as_json # => {:total_sp=>43232144}
|
1051
|
+
|
1052
|
+
character_skills.skills.size # => 180
|
1053
|
+
|
1054
|
+
skill = character_skills.skills.first
|
1055
|
+
|
1056
|
+
skill.as_json # => {:skill_id=>22536, :skillpoints_in_skill=>500, :current_skill_level=>1}
|
1057
|
+
|
1058
|
+
skill.skill_id # => 22536
|
1059
|
+
skill.skillpoints_in_skill # => 500
|
1060
|
+
skill.current_skill_level # => 1
|
1061
|
+
```
|
1062
|
+
|
1063
|
+
#### List the configured skill queue for the given character
|
1064
|
+
|
1065
|
+
```ruby
|
1066
|
+
token = 'token123'
|
1067
|
+
|
1068
|
+
character_id = 90729314
|
1069
|
+
|
1070
|
+
character_skill_queue = EveOnline::ESI::CharacterSkillQueue.new(token, character_id)
|
997
1071
|
|
998
|
-
|
1072
|
+
character_skill_queue.skills.size # => 50
|
1073
|
+
|
1074
|
+
skill_queue_entry = character_skill_queue.skills.first
|
1075
|
+
|
1076
|
+
skill_queue_entry.as_json
|
1077
|
+
# => {:skill_id=>12487, :finished_level=>3, :queue_position=>0, :finish_date=>Mon, 16 Jan 2017 03:00:35 UTC +00:00, :start_date=>Sun, 15 Jan 2017 11:38:25 UTC +00:00, :training_start_sp=>7263, :level_end_sp=>40000, :level_start_sp=>7072}
|
1078
|
+
|
1079
|
+
skill_queue_entry.skill_id # => 12487
|
1080
|
+
skill_queue_entry.finished_level # => 3
|
1081
|
+
skill_queue_entry.queue_position # => 0
|
1082
|
+
skill_queue_entry.finish_date # => Mon, 16 Jan 2017 03:00:35 UTC +00:00
|
1083
|
+
skill_queue_entry.start_date # => Sun, 15 Jan 2017 11:38:25 UTC +00:00
|
1084
|
+
skill_queue_entry.training_start_sp # => 7263
|
1085
|
+
skill_queue_entry.level_end_sp # => 40000
|
1086
|
+
skill_queue_entry.level_start_sp # => 7072
|
1087
|
+
```
|
1088
|
+
|
1089
|
+
#### List of loyalty points for all corporations the character has worked for
|
999
1090
|
|
1000
1091
|
```ruby
|
1092
|
+
token = 'token123'
|
1093
|
+
|
1001
1094
|
character_id = 90729314
|
1002
1095
|
|
1003
|
-
|
1096
|
+
character_loyalty_points = EveOnline::ESI::CharacterLoyaltyPoints.new(token, character_id)
|
1097
|
+
|
1098
|
+
character_loyalty_points.loyalty_points.size # => 5
|
1099
|
+
|
1100
|
+
loyalty_point = character_loyalty_points.loyalty_points.first
|
1004
1101
|
|
1005
|
-
#
|
1102
|
+
loyalty_point.as_json # => {:corporation_id=>1000035, :loyalty_points=>14163}
|
1103
|
+
|
1104
|
+
loyalty_point.corporation_id # => 1000035
|
1105
|
+
loyalty_point.loyalty_points # => 14163
|
1106
|
+
```
|
1107
|
+
|
1108
|
+
### SDE Examples
|
1109
|
+
|
1110
|
+
Agent Types:
|
1111
|
+
```ruby
|
1112
|
+
file = 'agtAgentTypes.yaml'
|
1113
|
+
|
1114
|
+
agt_agent_types = EveOnline::SDE::AgtAgentTypes.new(file)
|
1115
|
+
|
1116
|
+
agt_agent_types.agt_agent_types.size # => 12
|
1117
|
+
|
1118
|
+
agent_type = agt_agent_types.agt_agent_types.first
|
1119
|
+
|
1120
|
+
agent_type.as_json # => {:agent_type=>"NonAgent", :agent_type_id=>1}
|
1121
|
+
|
1122
|
+
agent_type.agent_type # => "NonAgent"
|
1123
|
+
agent_type.agent_type_id # => 1
|
1124
|
+
```
|
1125
|
+
|
1126
|
+
Agents:
|
1127
|
+
```ruby
|
1128
|
+
file = 'agtAgents.yaml'
|
1129
|
+
|
1130
|
+
agt_agents = EveOnline::SDE::AgtAgents.new(file)
|
1131
|
+
|
1132
|
+
agt_agents.agt_agents.size # => 10975
|
1133
|
+
|
1134
|
+
agt_agent = agt_agents.agt_agents.first
|
1135
|
+
|
1136
|
+
agt_agent.as_json # => {:agent_id=>3008416, :agent_type_id=>2, :corporation_id=>1000002, :division_id=>22, :is_locator=>false, :level=>1, :location_id=>60000004, :quality=>20}
|
1137
|
+
|
1138
|
+
agt_agent.agent_id # => 3008416
|
1139
|
+
agt_agent.agent_type_id # => 2
|
1140
|
+
agt_agent.corporation_id # => 1000002
|
1141
|
+
agt_agent.division_id # => 22
|
1142
|
+
agt_agent.is_locator # => false
|
1143
|
+
agt_agent.level # => 1
|
1144
|
+
agt_agent.location_id # => 60000004
|
1145
|
+
agt_agent.quality # => 20
|
1146
|
+
```
|
1147
|
+
|
1148
|
+
Inventory Flags:
|
1149
|
+
```ruby
|
1150
|
+
file = 'invFlags.yaml'
|
1151
|
+
|
1152
|
+
inv_flags = EveOnline::SDE::InvFlags.new(file)
|
1153
|
+
|
1154
|
+
inv_flags.inv_flags.size # => 152
|
1155
|
+
|
1156
|
+
inv_flag = inv_flags.inv_flags.first
|
1157
|
+
|
1158
|
+
inv_flag.as_json # => {:flag_id=>0, :flag_name=>"None", :flag_text=>"None", :order_id=>0}
|
1159
|
+
|
1160
|
+
inv_flag.flag_id # => 0
|
1161
|
+
inv_flag.flag_name # => "None"
|
1162
|
+
inv_flag.flag_text # => "None"
|
1163
|
+
inv_flag.order_id # => 0
|
1164
|
+
```
|
1165
|
+
|
1166
|
+
Inventory Items:
|
1167
|
+
```ruby
|
1168
|
+
file = 'invItems.yaml'
|
1169
|
+
|
1170
|
+
inv_items = EveOnline::SDE::InvItems.new(file)
|
1171
|
+
|
1172
|
+
inv_items.inv_items.size # => 531470
|
1173
|
+
|
1174
|
+
inv_item = inv_items.inv_items.first
|
1175
|
+
|
1176
|
+
inv_item.as_json # => {:flag_id=>0, :item_id=>40021067, :location_id=>30000334, :owner_id=>1, :quantity=>34, :type_id=>14}
|
1177
|
+
|
1178
|
+
inv_item.flag_id # => 0
|
1179
|
+
inv_item.item_id # => 40021067
|
1180
|
+
inv_item.location_id # => 30000334
|
1181
|
+
inv_item.owner_id # => 1
|
1182
|
+
inv_item.quantity # => 34
|
1183
|
+
inv_item.type_id # => 14
|
1184
|
+
```
|
1185
|
+
|
1186
|
+
Inventory Names:
|
1187
|
+
```ruby
|
1188
|
+
file = 'invNames.yaml'
|
1189
|
+
|
1190
|
+
inv_names = EveOnline::SDE::InvNames.new(file)
|
1191
|
+
|
1192
|
+
inv_names.inv_names.size # => 519921
|
1193
|
+
|
1194
|
+
inv_name = inv_names.inv_names.first
|
1195
|
+
|
1196
|
+
inv_name.as_json # => {:item_id=>0, :item_name=>"(none)"}
|
1197
|
+
|
1198
|
+
inv_name.item_id # => 0
|
1199
|
+
inv_name.item_name # => "(none)"
|
1200
|
+
```
|
1201
|
+
|
1202
|
+
Invertory Positions:
|
1203
|
+
```ruby
|
1204
|
+
file = 'invPositions.yaml'
|
1205
|
+
|
1206
|
+
inv_positions = EveOnline::SDE::InvPositions.new(file)
|
1207
|
+
|
1208
|
+
inv_positions.inv_positions.size # => 508383
|
1209
|
+
|
1210
|
+
inv_position = inv_positions.inv_positions.first
|
1211
|
+
|
1212
|
+
inv_position.as_json # => {:item_id=>0, :pitch=>0.0, :roll=>0.0, :x=>0.0, :y=>0.0, :yaw=>0.0, :z=>0.0}
|
1213
|
+
|
1214
|
+
inv_position.item_id # => 0
|
1215
|
+
inv_position.pitch # => 0.0
|
1216
|
+
inv_position.roll # => 0.0
|
1217
|
+
inv_position.x # => 0.0
|
1218
|
+
inv_position.y # => 0.0
|
1219
|
+
inv_position.yaw # => 0.0
|
1220
|
+
inv_position.z # => 0.0
|
1221
|
+
```
|
1222
|
+
|
1223
|
+
Character Races:
|
1224
|
+
```ruby
|
1225
|
+
file = 'chrRaces.yaml'
|
1226
|
+
|
1227
|
+
chr_races = EveOnline::SDE::ChrRaces.new(file)
|
1228
|
+
|
1229
|
+
chr_races.chr_races.size # => 8
|
1230
|
+
|
1231
|
+
chr_race = chr_races.chr_races.first
|
1232
|
+
|
1233
|
+
chr_race.as_json # => {:race_id=>16,
|
1234
|
+
# :race_name=>"Jove",
|
1235
|
+
# :short_description=>"",
|
1236
|
+
# :description=>"The most mysterious and elusive of all the universe's peoples..."}
|
1237
|
+
|
1238
|
+
chr_race.race_id # => 16
|
1239
|
+
chr_race.race_name # => "Jove"
|
1240
|
+
chr_race.short_description # => ""
|
1241
|
+
chr_race.description # => "The most mysterious and elusive of all the universe's peoples..."
|
1006
1242
|
```
|
1007
1243
|
|
1008
1244
|
## Useful links
|
@@ -1025,6 +1261,36 @@ Issue reports and pull requests are welcome on GitHub at https://github.com/biow
|
|
1025
1261
|
|
1026
1262
|
## Changelog
|
1027
1263
|
|
1264
|
+
**v0.11.0**
|
1265
|
+
|
1266
|
+
* Add SDE support classes
|
1267
|
+
* `EveOnline::SDE::AgtAgentTypes`
|
1268
|
+
* `EveOnline::SDE::AgtAgents`
|
1269
|
+
* `EveOnline::SDE::AgtResearchAgents`
|
1270
|
+
* `EveOnline::SDE::ChrRaces`
|
1271
|
+
* `EveOnline::SDE::InvFlags`
|
1272
|
+
* `EveOnline::SDE::InvItems`
|
1273
|
+
* `EveOnline::SDE::InvNames`
|
1274
|
+
* `EveOnline::SDE::InvPositions`
|
1275
|
+
* `EveOnline::SDE::Models::AgtAgentType`
|
1276
|
+
* `EveOnline::SDE::Models::AgtAgent`
|
1277
|
+
* `EveOnline::SDE::Models::AgtResearchAgent`
|
1278
|
+
* `EveOnline::SDE::Models::ChrRace`
|
1279
|
+
* `EveOnline::SDE::Models::InvFlag`
|
1280
|
+
* `EveOnline::SDE::Models::InvItem`
|
1281
|
+
* `EveOnline::SDE::Models::InvName`
|
1282
|
+
* `EveOnline::SDE::Models::InvPosition`
|
1283
|
+
* Finish `EveOnline::ESI::Characters::Character`
|
1284
|
+
* Add `EveOnline::ESI::CharacterPortrait`
|
1285
|
+
* Add `EveOnline::ESI::CharacterSkills`
|
1286
|
+
* Rename `EveOnline::ESI::Characters::Character` to `EveOnline::ESI::Character`
|
1287
|
+
* Add `EveOnline::ESI::CharacterSkillQueue`
|
1288
|
+
* Add `EveOnline::ESI::CharacterLoyaltyPoints`
|
1289
|
+
* Add `EveOnline::ESI::Models::LoyaltyPoint` class for handling character loyalty points
|
1290
|
+
* Add `EveOnline::ESI::Models::SkillQueue` class for handling character skill queue entries
|
1291
|
+
* Add `EveOnline::ESI::Models::Skill` class for handing character skills
|
1292
|
+
* Rename `EveOnline::SkillQueueEntry` to `EveOnline::XML::Models::SkillQueueEntry`
|
1293
|
+
|
1028
1294
|
**v0.10.0**
|
1029
1295
|
|
1030
1296
|
* Replace `open-uri` with `faraday`
|
data/eve_online.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ['Igor Zubkov']
|
9
9
|
spec.email = ['igor.zubkov@gmail.com']
|
10
10
|
|
11
|
-
spec.summary = 'EveOnline API. XML, CREST and ESI.'
|
12
|
-
spec.description = 'EveOnline API. XML, CREST and ESI.'
|
11
|
+
spec.summary = 'EveOnline API. XML, CREST and ESI. And SDE.'
|
12
|
+
spec.description = 'EveOnline API. XML, CREST and ESI. And SDE.'
|
13
13
|
spec.homepage = 'https://github.com/biow0lf/eve_online'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
@@ -28,6 +28,8 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_runtime_dependency 'activesupport', '>= 3.0.0'
|
29
29
|
spec.add_runtime_dependency 'nori', '~> 2.6'
|
30
30
|
spec.add_runtime_dependency 'json'
|
31
|
+
# spec.add_runtime_dependency 'bitset'
|
32
|
+
# spec.add_runtime_dependency 'hashformer'
|
31
33
|
spec.add_runtime_dependency 'memoist'
|
32
34
|
spec.add_runtime_dependency 'faraday'
|
33
35
|
end
|
data/lib/eve_online.rb
CHANGED
@@ -23,7 +23,6 @@ require 'eve_online/character_implants'
|
|
23
23
|
require 'eve_online/character_jump_clones'
|
24
24
|
require 'eve_online/character_jump_clone_implants'
|
25
25
|
require 'eve_online/standing'
|
26
|
-
require 'eve_online/skill_queue_entry'
|
27
26
|
require 'eve_online/contact_notification'
|
28
27
|
require 'eve_online/wallet_journal_entry'
|
29
28
|
require 'eve_online/market_order'
|
@@ -76,10 +75,41 @@ require 'eve_online/server/status'
|
|
76
75
|
|
77
76
|
require 'eve_online/sovereignty/campaigns'
|
78
77
|
|
78
|
+
require 'eve_online/xml/models/skill_queue_entry'
|
79
|
+
|
79
80
|
# ESI API
|
80
81
|
require 'eve_online/esi/base'
|
81
82
|
|
82
|
-
require 'eve_online/esi/
|
83
|
+
require 'eve_online/esi/character'
|
84
|
+
require 'eve_online/esi/character_portrait'
|
85
|
+
require 'eve_online/esi/character_skills'
|
86
|
+
require 'eve_online/esi/character_skill_queue'
|
87
|
+
require 'eve_online/esi/character_loyalty_points'
|
88
|
+
|
89
|
+
require 'eve_online/esi/models/loyalty_point'
|
90
|
+
require 'eve_online/esi/models/skill_queue_entry'
|
91
|
+
require 'eve_online/esi/models/skill'
|
92
|
+
|
93
|
+
# SDE
|
94
|
+
require 'eve_online/sde/base'
|
95
|
+
|
96
|
+
require 'eve_online/sde/agt_agent_types'
|
97
|
+
require 'eve_online/sde/agt_agents'
|
98
|
+
require 'eve_online/sde/agt_research_agents'
|
99
|
+
require 'eve_online/sde/chr_races'
|
100
|
+
require 'eve_online/sde/inv_flags'
|
101
|
+
require 'eve_online/sde/inv_items'
|
102
|
+
require 'eve_online/sde/inv_names'
|
103
|
+
require 'eve_online/sde/inv_positions'
|
104
|
+
|
105
|
+
require 'eve_online/sde/models/agt_agent_type'
|
106
|
+
require 'eve_online/sde/models/agt_agent'
|
107
|
+
require 'eve_online/sde/models/agt_research_agent'
|
108
|
+
require 'eve_online/sde/models/chr_race'
|
109
|
+
require 'eve_online/sde/models/inv_flag'
|
110
|
+
require 'eve_online/sde/models/inv_item'
|
111
|
+
require 'eve_online/sde/models/inv_name'
|
112
|
+
require 'eve_online/sde/models/inv_position'
|
83
113
|
|
84
114
|
module EveOnline
|
85
115
|
end
|