eve_online 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/.travis.yml +18 -2
- data/Gemfile +5 -1
- data/README.md +203 -15
- data/eve_online.gemspec +1 -1
- data/gemfiles/activesupport_42.gemfile +5 -0
- data/gemfiles/activesupport_50.gemfile +5 -0
- data/lib/eve_online.rb +9 -0
- data/lib/eve_online/account/api_key_info.rb +3 -3
- data/lib/eve_online/account/characters.rb +2 -2
- data/lib/eve_online/account/status.rb +3 -3
- data/lib/eve_online/base.rb +1 -1
- data/lib/eve_online/base_xml.rb +8 -2
- data/lib/eve_online/blueprint.rb +2 -2
- data/lib/eve_online/bookmark.rb +2 -2
- data/lib/eve_online/bookmark_folder.rb +29 -2
- data/lib/eve_online/character.rb +2 -2
- data/lib/eve_online/character_implants.rb +23 -0
- data/lib/eve_online/character_jump_clones.rb +23 -0
- data/lib/eve_online/character_skills.rb +23 -0
- data/lib/eve_online/characters/account_balance.rb +1 -1
- data/lib/eve_online/characters/asset_list.rb +2 -2
- data/lib/eve_online/characters/blueprints.rb +2 -2
- data/lib/eve_online/characters/bookmarks.rb +2 -2
- data/lib/eve_online/characters/character_sheet.rb +184 -0
- data/lib/eve_online/characters/medals.rb +21 -0
- data/lib/eve_online/characters/skill_in_training.rb +4 -4
- data/lib/eve_online/characters/standings.rb +65 -0
- data/lib/eve_online/characters/upcoming_calendar_events.rb +2 -2
- data/lib/eve_online/event.rb +3 -3
- data/lib/eve_online/implant.rb +24 -0
- data/lib/eve_online/item.rb +2 -2
- data/lib/eve_online/jump_clone.rb +34 -0
- data/lib/eve_online/server/status.rb +1 -1
- data/lib/eve_online/skill.rb +34 -0
- data/lib/eve_online/standing.rb +29 -0
- data/lib/eve_online/version.rb +1 -1
- data/mutant.sh +4 -0
- metadata +16 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48b111c4d9eed71b87bba9925a8b92d6a0c0e06f
|
4
|
+
data.tar.gz: d393c529a88341cb9ebb89a81951111c8d7ca555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb3a1aa7a307aafd2b8122e2c5e3ac608dec9e2c0917a14eb72ec98df2e809415b85f5a6e5dc8c819a40ae4961af15f09ad0a4329b3872ef059afe5bf6c253f
|
7
|
+
data.tar.gz: c14f30f619c37e4350abf91b0975fb0ae2f5b1a40685ed935ebe0e9c9f158e9b545f696e25494aa923882814781eff5bdace764a1917859f44f32ad06d5fc0ce
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -5,13 +5,29 @@ rvm:
|
|
5
5
|
- 1.9.3
|
6
6
|
- 2.0
|
7
7
|
- 2.1
|
8
|
-
- 2.2
|
8
|
+
- 2.2.5
|
9
9
|
- 2.3.1
|
10
|
+
- ruby-head
|
10
11
|
- rbx
|
11
12
|
- jruby
|
12
13
|
|
14
|
+
gemfile:
|
15
|
+
- gemfiles/activesupport_42.gemfile
|
16
|
+
- gemfiles/activesupport_50.gemfile
|
17
|
+
|
13
18
|
matrix:
|
19
|
+
exclude:
|
20
|
+
- rvm: 1.9.3
|
21
|
+
gemfile: gemfiles/activesupport_50.gemfile
|
22
|
+
- rvm: 2.0
|
23
|
+
gemfile: gemfiles/activesupport_50.gemfile
|
24
|
+
- rvm: 2.1
|
25
|
+
gemfile: gemfiles/activesupport_50.gemfile
|
26
|
+
- rvm: jruby
|
27
|
+
gemfile: gemfiles/activesupport_50.gemfile
|
28
|
+
|
14
29
|
allow_failures:
|
15
30
|
- rvm: rbx
|
31
|
+
- rvm: ruby-head
|
16
32
|
|
17
|
-
before_install: gem install bundler -v 1.12.
|
33
|
+
before_install: gem install bundler -v 1.12.5
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,9 @@
|
|
9
9
|
|
10
10
|
This gem implement Ruby API for EveOnline MMORPG. Both, XML and CREST API.
|
11
11
|
|
12
|
-
|
12
|
+
This gem was extracted from [EveMonk](http://evemonk.com). Source code of evemonk backend published [here](https://github.com/biow0lf/evemonk).
|
13
|
+
|
14
|
+
You will need to add xml parser to your Gemfile to use this gem. E.g. `nokogiri`. Or any other xml parser which are supported by nori.
|
13
15
|
|
14
16
|
## Installation
|
15
17
|
|
@@ -34,6 +36,7 @@ Or install it yourself as:
|
|
34
36
|
* MRI 2.1
|
35
37
|
* MRI 2.2
|
36
38
|
* MRI 2.3
|
39
|
+
* MRI 2.4 (head)
|
37
40
|
* Rubinius (latest via RVM)
|
38
41
|
* JRuby (latest via RVM)
|
39
42
|
|
@@ -181,20 +184,20 @@ blueprints.version # => 2
|
|
181
184
|
|
182
185
|
blueprints.blueprints.size # => 4
|
183
186
|
|
184
|
-
|
187
|
+
blueprint = blueprints.blueprints.first
|
185
188
|
|
186
|
-
|
189
|
+
blueprint.as_json
|
187
190
|
# => {:item_id=>716338097, :location_id=>61000032, :type_id=>1010, :type_name=>"Small Shield Extender I Blueprint", :flag_id=>4, :quantity=>-2, :time_efficiency=>0, :material_efficiency=>10, :runs=>300}
|
188
191
|
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
192
|
+
blueprint.item_id # => 716338097
|
193
|
+
blueprint.location_id # => 61000032
|
194
|
+
blueprint.type_id # => 1010
|
195
|
+
blueprint.type_name # => "Small Shield Extender I Blueprint"
|
196
|
+
blueprint.flag_id # => 4
|
197
|
+
blueprint.quantity # => -2
|
198
|
+
blueprint.time_efficiency # => 0
|
199
|
+
blueprint.material_efficiency # => 10
|
200
|
+
blueprint.runs # => 300
|
198
201
|
```
|
199
202
|
|
200
203
|
Bookmarks:
|
@@ -209,8 +212,32 @@ bookmarks.current_time # => Sun, 03 Jan 2016 14:53:44 UTC +00:00
|
|
209
212
|
bookmarks.cached_until # => Sun, 03 Jan 2016 15:50:44 UTC +00:00
|
210
213
|
bookmarks.version # => 2
|
211
214
|
|
212
|
-
#
|
215
|
+
bookmarks.bookmark_folders.size # => 4
|
216
|
+
|
217
|
+
bookmark_folder = bookmarks.bookmark_folders.first # => #<EveOnline::BookmarkFolder:0x007fda7521a4b0 ....
|
218
|
+
|
219
|
+
bookmark_folder.as_json # => {:folder_id=>0, :folder_name=>""}
|
220
|
+
|
221
|
+
bookmark_folder.folder_id # => 0
|
222
|
+
bookmark_folder.folder_name # => ""
|
223
|
+
|
224
|
+
bookmark_folder.bookmarks.size # => 87
|
225
|
+
|
226
|
+
bookmark = bookmark_folder.bookmarks.first # => #<EveOnline::Bookmark:0x007fc8b49f3880 @options={"@bookmarkID"=>"459411933", "@creatorID"=>"0", "@created"=>"2009-03-28 07:51:00", "@itemID"=>"0", "@typeID"=>"5", "@locationID"=>"30002656", "@x"=>"-267396330161", "@y"=>"-376627274", "@z"=>"-556366331388", "@memo"=>"1", "@note"=>""}>
|
213
227
|
|
228
|
+
bookmark.as_json # => {:bookmark_id=>459411933, :creator_id=>0, :created=>Sat, 28 Mar 2009 07:51:00 UTC +00:00, :item_id=>0, :type_id=>5, :location_id=>30002656, :x=>-267396330161.0, :y=>-376627274.0, :z=>-556366331388.0, :memo=>"1", :note=>""}
|
229
|
+
|
230
|
+
bookmark.bookmark_id # => 459411933
|
231
|
+
bookmark.creator_id # => 0
|
232
|
+
bookmark.created # => Sat, 28 Mar 2009 07:51:00 UTC +00:00
|
233
|
+
bookmark.item_id # => 0
|
234
|
+
bookmark.type_id # => 5
|
235
|
+
bookmark.location_id # => 30002656
|
236
|
+
bookmark.x # => -267396330161.0
|
237
|
+
bookmark.y # => -376627274.0
|
238
|
+
bookmark.z # => -556366331388.0
|
239
|
+
bookmark.memo # => "1"
|
240
|
+
bookmark.note # => ""
|
214
241
|
```
|
215
242
|
|
216
243
|
Calendar Event Attendees:
|
@@ -230,6 +257,108 @@ cea.version # => 2
|
|
230
257
|
|
231
258
|
````
|
232
259
|
|
260
|
+
Character Sheet:
|
261
|
+
```ruby
|
262
|
+
key_id = 1234567
|
263
|
+
v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
|
264
|
+
character_id = 90729314
|
265
|
+
|
266
|
+
character_sheet = EveOnline::Characters::CharacterSheet.new(key_id, v_code, character_id)
|
267
|
+
|
268
|
+
character_sheet.current_time # => Sun, 17 Jul 2016 12:27:11 UTC +00:00
|
269
|
+
character_sheet.cached_until # => Sun, 17 Jul 2016 13:24:11 UTC +00:00
|
270
|
+
character_sheet.version # => 2
|
271
|
+
|
272
|
+
character_sheet.as_json
|
273
|
+
# => {:character_id=>90729314, :name=>"Green Black", :home_station_id=>61000032, :dob=>Fri, 15 Jan 2010 15:26:00 UTC +00:00, :race=>"Minmatar", :blood_line_id=>4, :blood_line=>"Brutor", :ancestry_id=>24, :ancestry=>"Slave Child", :gender=>:male, :corporation_name=>"MyLittleDragon", :corporation_id=>98134807, :alliance_name=>"Kids With Guns Alliance", :alliance_id=>99005443, :faction_name=>nil, :faction_id=>0, :clone_type_id=>164, :clone_name=>"Clone Grade Alpha", :clone_skill_points=>0, :free_skill_points=>400000, :free_respecs=>2, :clone_jump_date=>Fri, 27 Jul 2012 14:50:11 UTC +00:00, :last_respec_date=>Sat, 07 May 2011 12:58:06 UTC +00:00, :last_timed_respec=>Sat, 07 May 2011 12:58:06 UTC +00:00, :remote_station_date=>Tue, 30 Jun 2015 21:51:13 UTC +00:00}
|
274
|
+
|
275
|
+
character_sheet.character_id # => 90729314
|
276
|
+
character_sheet.name # => "Green Black"
|
277
|
+
character_sheet.home_station_id # => 61000032
|
278
|
+
character_sheet.dob # => Fri, 15 Jan 2010 15:26:00 UTC +00:00
|
279
|
+
character_sheet.race # => "Minmatar"
|
280
|
+
character_sheet.blood_line_id # => 4
|
281
|
+
character_sheet.blood_line # => "Brutor"
|
282
|
+
character_sheet.ancestry_id # => 24
|
283
|
+
character_sheet.ancestry # => "Slave Child"
|
284
|
+
character_sheet.gender # => :male
|
285
|
+
character_sheet.corporation_name # => "MyLittleDragon"
|
286
|
+
character_sheet.corporation_id # => 98134807
|
287
|
+
character_sheet.alliance_name # => "Kids With Guns Alliance"
|
288
|
+
character_sheet.alliance_id # => 99005443
|
289
|
+
character_sheet.faction_name # => nil
|
290
|
+
character_sheet.faction_id # => 0
|
291
|
+
character_sheet.clone_type_id # => 164
|
292
|
+
character_sheet.clone_name # => "Clone Grade Alpha"
|
293
|
+
character_sheet.clone_skill_points # => 0
|
294
|
+
character_sheet.free_skill_points # => 400000
|
295
|
+
character_sheet.free_respecs # => 2
|
296
|
+
character_sheet.clone_jump_date # => Fri, 27 Jul 2012 14:50:11 UTC +00:00
|
297
|
+
character_sheet.last_respec_date # => Sat, 07 May 2011 12:58:06 UTC +00:00
|
298
|
+
character_sheet.last_timed_respec # => Sat, 07 May 2011 12:58:06 UTC +00:00
|
299
|
+
character_sheet.remote_station_date # => Tue, 30 Jun 2015 21:51:13 UTC +00:00
|
300
|
+
character_sheet.jump_activation # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
|
301
|
+
character_sheet.jump_fatigue # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
|
302
|
+
character_sheet.jump_last_update # => Mon, 01 Jan 0001 00:00:00 UTC +00:00
|
303
|
+
character_sheet.balance # => "5000.00"
|
304
|
+
|
305
|
+
character_sheet.base_intelligence # => 21
|
306
|
+
character_sheet.base_memory # => 21
|
307
|
+
character_sheet.base_charisma # => 17
|
308
|
+
character_sheet.base_perception # => 20
|
309
|
+
character_sheet.base_willpower # => 20
|
310
|
+
|
311
|
+
character_sheet.implants.size # => 5
|
312
|
+
|
313
|
+
implant = character_sheet.implants.first # => #<EveOnline::Implant:0x007fdd34c88110 @options={"@typeID"=>"9899", "@typeName"=>"Ocular Filter - Basic"}>
|
314
|
+
|
315
|
+
implant.as_json # => {:type_id=>9899, :type_name=>"Ocular Filter - Basic"}
|
316
|
+
|
317
|
+
implant.type_id # => 9899
|
318
|
+
implant.type_name # => "Ocular Filter - Basic"
|
319
|
+
|
320
|
+
character_sheet.skills.size # => 180
|
321
|
+
|
322
|
+
skill = character_sheet.skills.first # => #<EveOnline::Skill:0x007fc1951e1b18 @options={"@typeID"=>"2495", "@skillpoints"=>"1000", "@level"=>"1", "@published"=>"1"}>
|
323
|
+
|
324
|
+
skill.as_json # => {:type_id=>2495, :skillpoints=>1000, :level=>1, :published=>true}
|
325
|
+
|
326
|
+
skill.type_id # => 2495
|
327
|
+
skill.skillpoints # => 1000
|
328
|
+
skill.level # => 1
|
329
|
+
skill.published # => true
|
330
|
+
|
331
|
+
character_sheet.jump_clones.size # => 2
|
332
|
+
|
333
|
+
jump_clone = character_sheet.jump_clones.first # => #<EveOnline::JumpClone:0x007fa2341cdb48 @options={"@jumpCloneID"=>"22357400", "@typeID"=>"164", "@locationID"=>"61000032", "@cloneName"=>""}, @jump_clone_id=22357400, @type_id=164, @location_id=61000032, @clone_name="">
|
334
|
+
|
335
|
+
jump_clone.as_json # => {:jump_clone_id=>22357400, :type_id=>164, :location_id=>61000032, :clone_name=>""}
|
336
|
+
|
337
|
+
jump_clone.jump_clone_id # => 22357400
|
338
|
+
jump_clone.type_id # => 164
|
339
|
+
jump_clone.location_id # => 61000032
|
340
|
+
jump_clone.clone_name # => ""
|
341
|
+
|
342
|
+
# TODO: finish this
|
343
|
+
|
344
|
+
```
|
345
|
+
|
346
|
+
Medals:
|
347
|
+
```ruby
|
348
|
+
key_id = 1234567
|
349
|
+
v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
|
350
|
+
character_id = 90729314
|
351
|
+
|
352
|
+
medals = EveOnline::Characters::Medals.new(key_id, v_code, character_id)
|
353
|
+
|
354
|
+
medals.current_time # => Fri, 01 Jul 2016 14:22:43 UTC +00:00
|
355
|
+
medals.cached_until # => Fri, 01 Jul 2016 20:13:49 UTC +00:00
|
356
|
+
medals.version # => 2
|
357
|
+
|
358
|
+
# TODO: finish this
|
359
|
+
|
360
|
+
```
|
361
|
+
|
233
362
|
Skill In Training:
|
234
363
|
```ruby
|
235
364
|
key_id = 1234567
|
@@ -256,6 +385,49 @@ skill_in_training.training_to_level # => 5
|
|
256
385
|
skill_in_training.skill_in_training # => 1
|
257
386
|
```
|
258
387
|
|
388
|
+
Standings:
|
389
|
+
```ruby
|
390
|
+
key_id = 1234567
|
391
|
+
v_code = '9ce9970b18d07586ead3d052e5b83bc8db303171a28a6f754cf35d9e6b66af17'
|
392
|
+
character_id = 90729314
|
393
|
+
|
394
|
+
standings = EveOnline::Characters::Standings.new(key_id, v_code, character_id)
|
395
|
+
|
396
|
+
standings.current_time # => Thu, 18 Aug 2016 14:50:50 UTC +00:00
|
397
|
+
standings.cached_until # => Thu, 18 Aug 2016 17:47:50 UTC +00:00
|
398
|
+
standings.version # => 2
|
399
|
+
|
400
|
+
standings.agents.size # => 15
|
401
|
+
|
402
|
+
agent = standings.agents.first # => #<EveOnline::Standing:0x007f90f33df4d8 @options={"@fromID"=>"3008771", "@fromName"=>"Nehrnah Gorouyar", "@standing"=>"0.12"}>
|
403
|
+
|
404
|
+
agent.as_json # => {:from_id=>3008771, :from_name=>"Nehrnah Gorouyar", :standing=>0.12}
|
405
|
+
|
406
|
+
agent.from_id # => 3008771
|
407
|
+
agent.from_name # => "Nehrnah Gorouyar"
|
408
|
+
agent.standing # => 0.12
|
409
|
+
|
410
|
+
standings.npc_corporations.size # => 6
|
411
|
+
|
412
|
+
npc_corporation = standings.npc_corporations.first # => #<EveOnline::Standing:0x007f90f33af9e0 @options={"@fromID"=>"1000035", "@fromName"=>"Caldari Navy", "@standing"=>"0.72"}>
|
413
|
+
|
414
|
+
npc_corporation.as_json # => {:from_id=>1000035, :from_name=>"Caldari Navy", :standing=>0.72}
|
415
|
+
|
416
|
+
npc_corporation.from_id # => 1000035
|
417
|
+
npc_corporation.from_name # => "Caldari Navy"
|
418
|
+
npc_corporation.standing # => 0.72
|
419
|
+
|
420
|
+
standings.factions.size # => 16
|
421
|
+
|
422
|
+
faction = standings.factions.first # => #<EveOnline::Standing:0x007f90f3395a90 @options={"@fromID"=>"500001", "@fromName"=>"Caldari State", "@standing"=>"0.33"}>
|
423
|
+
|
424
|
+
faction.as_json # => {:from_id=>500001, :from_name=>"Caldari State", :standing=>0.33}
|
425
|
+
|
426
|
+
faction.from_id # => 500001
|
427
|
+
faction.from_name # => "Caldari State"
|
428
|
+
faction.standing # => 0.33
|
429
|
+
```
|
430
|
+
|
259
431
|
Upcoming Calender Events:
|
260
432
|
```ruby
|
261
433
|
key_id = 1234567
|
@@ -337,6 +509,8 @@ campaigns.items.first
|
|
337
509
|
|
338
510
|
* [TECHNICAL NOTE: INTEGER SIZES AND THE XML API](https://developers.eveonline.com/blog/article/technical-note-integer-sizes-and-the-xml-api)
|
339
511
|
* [THE END OF PUBLIC CREST AS WE KNOW IT](https://developers.eveonline.com/blog/article/the-end-of-public-crest-as-we-know-it)
|
512
|
+
* [CCP, zKillboard (Eve-Kill), and your API](https://docs.google.com/document/d/16YfJwjhuH5A3cS4NTMDFDkprnOVKsvgtuRIKk8xjTM8/edit)
|
513
|
+
* [JUMP CLONES, IMPLANTS, SKILLS, AND MORE](https://developers.eveonline.com/blog/article/jump-clones-implants-skills-and-more)
|
340
514
|
|
341
515
|
## Development
|
342
516
|
|
@@ -350,6 +524,20 @@ Issue reports and pull requests are welcome on GitHub at https://github.com/biow
|
|
350
524
|
|
351
525
|
## Changelog
|
352
526
|
|
527
|
+
**v0.8.0**
|
528
|
+
|
529
|
+
* Add basic `EveOnline::Characters::Medals` class
|
530
|
+
* Add basic `EveOnline::Characters::CharacterSheet` class
|
531
|
+
* Add `EveOnline::Implant` class for handling character implant
|
532
|
+
* Add `EveOnline::Skill` class for handling character skill
|
533
|
+
* Add `EveOnline::CharacterSkills` class for handling character skills
|
534
|
+
* Add `EveOnline::JumpClone` class for handling character jump clone
|
535
|
+
* Add `EveOnline::CharacterImplants` class for handling character implants
|
536
|
+
* Add `EveOnline::CharacterJumpClones` class for handling character jump clones
|
537
|
+
* Finish [Character Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_bookmarks.html)
|
538
|
+
* Finish [Standings](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_standings.html)
|
539
|
+
* Add `EveOnline::Standing` class for handling character standing
|
540
|
+
|
353
541
|
**v0.7.0**
|
354
542
|
|
355
543
|
* Drop `nokogiri` gem from gem dependency
|
@@ -429,7 +617,7 @@ Issue reports and pull requests are welcome on GitHub at https://github.com/biow
|
|
429
617
|
- [x] [Account Balance](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_accountbalance.html)
|
430
618
|
- [x] [Asset List](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html)
|
431
619
|
- [x] [Blueprints](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_blueprints.html)
|
432
|
-
- [
|
620
|
+
- [x] [Bookmarks](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_bookmarks.html)
|
433
621
|
- [ ] [Calendar Event Attendees](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_calendareventattendees.html)
|
434
622
|
- [ ] [Character Sheet](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_charactersheet.html)
|
435
623
|
- [ ] [Chat Channels](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_chatchannels.html)
|
@@ -458,7 +646,7 @@ Issue reports and pull requests are welcome on GitHub at https://github.com/biow
|
|
458
646
|
- [ ] [Research](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_research.html)
|
459
647
|
- [x] [Skill in Training](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillintraining.html)
|
460
648
|
- [ ] [Skill Queue](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_skillqueue.html)
|
461
|
-
- [
|
649
|
+
- [x] [Standings](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_standings.html)
|
462
650
|
- [x] [Upcoming Calendar Events](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_upcomingcalendarevents.html)
|
463
651
|
- [ ] [Wallet Journal](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_walletjournal.html)
|
464
652
|
- [ ] [Wallet Transactions](https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_wallettransactions.html)
|
data/eve_online.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency 'rake'
|
24
24
|
spec.add_development_dependency 'rspec'
|
25
25
|
spec.add_development_dependency 'rspec-its'
|
26
|
-
spec.add_development_dependency '
|
26
|
+
spec.add_development_dependency 'codeclimate-test-reporter'
|
27
27
|
|
28
28
|
spec.add_runtime_dependency 'activesupport', '>= 3.0.0'
|
29
29
|
spec.add_runtime_dependency 'nori', '~> 2.6'
|
data/lib/eve_online.rb
CHANGED
@@ -11,6 +11,13 @@ require 'eve_online/character'
|
|
11
11
|
require 'eve_online/event'
|
12
12
|
require 'eve_online/event_response_object'
|
13
13
|
require 'eve_online/item'
|
14
|
+
require 'eve_online/implant'
|
15
|
+
require 'eve_online/skill'
|
16
|
+
require 'eve_online/jump_clone'
|
17
|
+
require 'eve_online/character_skills'
|
18
|
+
require 'eve_online/character_implants'
|
19
|
+
require 'eve_online/character_jump_clones'
|
20
|
+
require 'eve_online/standing'
|
14
21
|
|
15
22
|
require 'eve_online/account/api_key_info'
|
16
23
|
require 'eve_online/account/characters'
|
@@ -22,9 +29,11 @@ require 'eve_online/characters/bookmarks'
|
|
22
29
|
require 'eve_online/characters/calendar_event_attendees'
|
23
30
|
require 'eve_online/characters/contact_list'
|
24
31
|
require 'eve_online/characters/contact_notifications'
|
32
|
+
require 'eve_online/characters/medals'
|
25
33
|
require 'eve_online/characters/character_sheet'
|
26
34
|
require 'eve_online/characters/upcoming_calendar_events'
|
27
35
|
require 'eve_online/characters/skill_in_training'
|
36
|
+
require 'eve_online/characters/standings'
|
28
37
|
require 'eve_online/eve/character_id'
|
29
38
|
require 'eve_online/server/status'
|
30
39
|
|
@@ -15,11 +15,11 @@ module EveOnline
|
|
15
15
|
def characters
|
16
16
|
case row
|
17
17
|
when Hash
|
18
|
-
[
|
18
|
+
[Character.new(row)]
|
19
19
|
when Array
|
20
20
|
output = []
|
21
21
|
row.each do |character|
|
22
|
-
output <<
|
22
|
+
output << Character.new(character)
|
23
23
|
end
|
24
24
|
output
|
25
25
|
else
|
@@ -36,7 +36,7 @@ module EveOnline
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def expires
|
39
|
-
@expires ||=
|
39
|
+
@expires ||= parse_datetime_with_timezone(key.fetch('@expires'))
|
40
40
|
end
|
41
41
|
|
42
42
|
def type
|
@@ -15,11 +15,11 @@ module EveOnline
|
|
15
15
|
def characters
|
16
16
|
case row
|
17
17
|
when Hash
|
18
|
-
[
|
18
|
+
[Character.new(row)]
|
19
19
|
when Array
|
20
20
|
output = []
|
21
21
|
row.each do |character|
|
22
|
-
output <<
|
22
|
+
output << Character.new(character)
|
23
23
|
end
|
24
24
|
output
|
25
25
|
else
|