eve_online 0.31.0 → 0.32.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/.circleci/config.yml +18 -49
- data/.ruby-version +1 -1
- data/Appraisals +0 -12
- data/CHANGELOG.md +22 -0
- data/Gemfile.lock +32 -32
- data/Gemfile.mutant.lock +25 -24
- data/README.md +214 -108
- data/eve_online.gemspec +2 -2
- data/lib/eve_online.rb +13 -6
- data/lib/eve_online/esi/alliance_corporations.rb +1 -1
- data/lib/eve_online/esi/alliances.rb +1 -1
- data/lib/eve_online/esi/base.rb +8 -0
- data/lib/eve_online/esi/character_assets.rb +1 -1
- data/lib/eve_online/esi/{character_bookmarks.rb → character_contracts.rb} +7 -7
- data/lib/eve_online/esi/character_skills.rb +1 -1
- data/lib/eve_online/esi/character_wallet.rb +1 -1
- data/lib/eve_online/esi/character_wallet_journal.rb +2 -2
- data/lib/eve_online/esi/character_wallet_transactions.rb +41 -0
- data/lib/eve_online/esi/corporation_assets.rb +1 -1
- data/lib/eve_online/esi/corporation_npc.rb +20 -0
- data/lib/eve_online/esi/killmail.rb +30 -0
- data/lib/eve_online/esi/market_prices.rb +27 -0
- data/lib/eve_online/esi/models/aggressor.rb +1 -1
- data/lib/eve_online/esi/models/alliance.rb +1 -1
- data/lib/eve_online/esi/models/alliance_icon.rb +1 -1
- data/lib/eve_online/esi/models/alliance_short.rb +1 -1
- data/lib/eve_online/esi/models/ally.rb +1 -1
- data/lib/eve_online/esi/models/ancestry.rb +1 -1
- data/lib/eve_online/esi/models/asset.rb +1 -1
- data/lib/eve_online/esi/models/asset_location.rb +1 -1
- data/lib/eve_online/esi/models/asset_name.rb +1 -1
- data/lib/eve_online/esi/models/asteroid_belt.rb +1 -1
- data/lib/eve_online/esi/models/attributes.rb +1 -1
- data/lib/eve_online/esi/models/bloodline.rb +1 -1
- data/lib/eve_online/esi/models/blueprint.rb +1 -1
- data/lib/eve_online/esi/models/category.rb +1 -1
- data/lib/eve_online/esi/models/character.rb +1 -1
- data/lib/eve_online/esi/models/character_corporation_history.rb +1 -1
- data/lib/eve_online/esi/models/character_industry_job.rb +1 -1
- data/lib/eve_online/esi/models/character_location.rb +1 -1
- data/lib/eve_online/esi/models/character_order.rb +1 -1
- data/lib/eve_online/esi/models/character_portrait.rb +1 -1
- data/lib/eve_online/esi/models/character_ship.rb +1 -1
- data/lib/eve_online/esi/models/constellation.rb +1 -1
- data/lib/eve_online/esi/models/contract.rb +132 -0
- data/lib/eve_online/esi/models/coordinates.rb +1 -1
- data/lib/eve_online/esi/models/corporation.rb +1 -1
- data/lib/eve_online/esi/models/corporation_alliance_history.rb +1 -1
- data/lib/eve_online/esi/models/corporation_industry_job.rb +1 -1
- data/lib/eve_online/esi/models/corporation_order.rb +1 -1
- data/lib/eve_online/esi/models/defender.rb +1 -1
- data/lib/eve_online/esi/models/dogma_attribute.rb +1 -1
- data/lib/eve_online/esi/models/dogma_attribute_short.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect_modifier.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect_short.rb +1 -1
- data/lib/eve_online/esi/models/event.rb +1 -1
- data/lib/eve_online/esi/models/event_details.rb +1 -1
- data/lib/eve_online/esi/models/faction.rb +1 -1
- data/lib/eve_online/esi/models/fatigue.rb +1 -1
- data/lib/eve_online/esi/models/graphic.rb +1 -1
- data/lib/eve_online/esi/models/group.rb +1 -1
- data/lib/eve_online/esi/models/home_location.rb +1 -1
- data/lib/eve_online/esi/models/jump_clone.rb +1 -1
- data/lib/eve_online/esi/models/killmail.rb +47 -0
- data/lib/eve_online/esi/models/killmail_short.rb +1 -1
- data/lib/eve_online/esi/models/loyalty_point.rb +1 -1
- data/lib/eve_online/esi/models/loyalty_store_offer.rb +1 -1
- data/lib/eve_online/esi/models/mail.rb +1 -1
- data/lib/eve_online/esi/models/mail_label.rb +1 -1
- data/lib/eve_online/esi/models/mail_recipient.rb +1 -1
- data/lib/eve_online/esi/models/market_group.rb +1 -1
- data/lib/eve_online/esi/models/market_history.rb +1 -1
- data/lib/eve_online/esi/models/market_price.rb +29 -0
- data/lib/eve_online/esi/models/moon.rb +1 -1
- data/lib/eve_online/esi/models/notification.rb +1 -1
- data/lib/eve_online/esi/models/offer_required_item.rb +1 -1
- data/lib/eve_online/esi/models/online.rb +1 -1
- data/lib/eve_online/esi/models/planet.rb +1 -1
- data/lib/eve_online/esi/models/planet_short.rb +1 -1
- data/lib/eve_online/esi/models/position.rb +1 -1
- data/lib/eve_online/esi/models/race.rb +1 -1
- data/lib/eve_online/esi/models/region.rb +1 -1
- data/lib/eve_online/esi/models/server_status.rb +1 -1
- data/lib/eve_online/esi/models/skill.rb +1 -1
- data/lib/eve_online/esi/models/skill_queue_entry.rb +1 -1
- data/lib/eve_online/esi/models/standing.rb +1 -1
- data/lib/eve_online/esi/models/star.rb +1 -1
- data/lib/eve_online/esi/models/stargate.rb +1 -1
- data/lib/eve_online/esi/models/station.rb +1 -1
- data/lib/eve_online/esi/models/system.rb +1 -1
- data/lib/eve_online/esi/models/system_jump.rb +1 -1
- data/lib/eve_online/esi/models/system_kill.rb +1 -1
- data/lib/eve_online/esi/models/type.rb +1 -1
- data/lib/eve_online/esi/models/{wallet_journal_entry.rb → wallet_journal.rb} +4 -4
- data/lib/eve_online/esi/models/wallet_transaction.rb +66 -0
- data/lib/eve_online/esi/models/war.rb +1 -1
- data/lib/eve_online/formulas/blueprint_copy_time.rb +47 -0
- data/lib/eve_online/version.rb +1 -1
- metadata +14 -8
- data/lib/eve_online/esi/character_bookmark_folders.rb +0 -41
- data/lib/eve_online/esi/models/bookmark.rb +0 -71
- data/lib/eve_online/esi/models/bookmark_folder.rb +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 282c82441595ee8a0aecc718d10a7199633acea616c62e133f80bd654fce0f10
|
|
4
|
+
data.tar.gz: 69b9eeb7ff87c9ae782a70831f0c9ecfba5a778e964c734bd0147a0ec8ac12a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d30e4942178d72726b583edbe94b7db9302e440eba26d1945bf1f248f8e42ff678f251bc696ce3d0cc73aec95fbc869160cbfaeb3a19cd72a0f02d82c93ff0e
|
|
7
|
+
data.tar.gz: a811e9791d94fbf81750cef43963ebb4c6f12308d0bb96e524eec8c5d2060399b7419fc51a5a3a309ee6f396638cfd9ceed5d7e65c31e76b9e290ed617c233a1
|
data/.circleci/config.yml
CHANGED
|
@@ -1,84 +1,54 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
|
|
3
3
|
jobs:
|
|
4
|
-
ruby-2.
|
|
4
|
+
ruby-2.5.8:
|
|
5
5
|
docker:
|
|
6
|
-
- image: circleci/ruby:2.
|
|
6
|
+
- image: circleci/ruby:2.5.8
|
|
7
7
|
steps:
|
|
8
8
|
- checkout
|
|
9
9
|
- run: rm Gemfile.lock
|
|
10
10
|
- run: rm .ruby-version
|
|
11
11
|
- run: bundle install
|
|
12
12
|
- run: bundle exec appraisal install || true
|
|
13
|
-
- run: bundle exec appraisal
|
|
14
|
-
- run: bundle exec appraisal activesupport_50 rake
|
|
15
|
-
- run: bundle exec appraisal activesupport_51 rake
|
|
16
|
-
- run: bundle exec appraisal activesupport_52 rake
|
|
13
|
+
- run: bundle exec appraisal rake
|
|
17
14
|
- run: bundle exec standardrb
|
|
18
15
|
- run: bundle exec mdl README.md CHANGELOG.md TODO.md
|
|
19
|
-
ruby-2.
|
|
16
|
+
ruby-2.6.6:
|
|
20
17
|
docker:
|
|
21
|
-
- image: circleci/ruby:2.
|
|
18
|
+
- image: circleci/ruby:2.6.6
|
|
22
19
|
steps:
|
|
23
20
|
- checkout
|
|
24
21
|
- run: rm Gemfile.lock
|
|
25
22
|
- run: rm .ruby-version
|
|
26
23
|
- run: bundle install
|
|
27
24
|
- run: bundle exec appraisal install || true
|
|
28
|
-
- run: bundle exec appraisal
|
|
29
|
-
- run: bundle exec appraisal activesupport_51 rake
|
|
30
|
-
- run: bundle exec appraisal activesupport_52 rake
|
|
31
|
-
- run: bundle exec appraisal activesupport_60 rake
|
|
32
|
-
- run: bundle exec appraisal activesupport_edge rake
|
|
25
|
+
- run: bundle exec appraisal rake
|
|
33
26
|
- run: bundle exec standardrb
|
|
34
27
|
- run: bundle exec mdl README.md CHANGELOG.md TODO.md
|
|
35
|
-
ruby-2.
|
|
28
|
+
ruby-2.7.1:
|
|
36
29
|
docker:
|
|
37
|
-
- image: circleci/ruby:2.
|
|
30
|
+
- image: circleci/ruby:2.7.1
|
|
38
31
|
steps:
|
|
39
32
|
- checkout
|
|
40
33
|
- run: rm Gemfile.lock
|
|
41
34
|
- run: rm .ruby-version
|
|
42
35
|
- run: bundle install
|
|
43
36
|
- run: bundle exec appraisal install || true
|
|
44
|
-
- run: bundle exec appraisal
|
|
45
|
-
- run: bundle exec appraisal activesupport_51 rake
|
|
46
|
-
- run: bundle exec appraisal activesupport_52 rake
|
|
47
|
-
- run: bundle exec appraisal activesupport_60 rake
|
|
48
|
-
- run: bundle exec appraisal activesupport_edge rake
|
|
37
|
+
- run: bundle exec appraisal rake
|
|
49
38
|
- run: bundle exec standardrb
|
|
50
39
|
- run: bundle exec mdl README.md CHANGELOG.md TODO.md
|
|
51
|
-
|
|
40
|
+
jruby-9.2.11.1:
|
|
52
41
|
docker:
|
|
53
|
-
- image: circleci/
|
|
42
|
+
- image: circleci/jruby:9.2.11.1
|
|
43
|
+
environment:
|
|
44
|
+
JRUBY_OPTS: "--debug -J-Xmn1024m -J-Xms2048m -J-Xmx2048m"
|
|
54
45
|
steps:
|
|
55
46
|
- checkout
|
|
56
47
|
- run: rm Gemfile.lock
|
|
57
48
|
- run: rm .ruby-version
|
|
58
49
|
- run: bundle install
|
|
59
50
|
- run: bundle exec appraisal install || true
|
|
60
|
-
- run: bundle exec appraisal
|
|
61
|
-
- run: bundle exec appraisal activesupport_51 rake
|
|
62
|
-
- run: bundle exec appraisal activesupport_52 rake
|
|
63
|
-
- run: bundle exec appraisal activesupport_60 rake
|
|
64
|
-
- run: bundle exec appraisal activesupport_edge rake
|
|
65
|
-
- run: bundle exec standardrb
|
|
66
|
-
- run: bundle exec mdl README.md CHANGELOG.md TODO.md
|
|
67
|
-
jruby-9.2.9.0:
|
|
68
|
-
docker:
|
|
69
|
-
- image: circleci/jruby:9.2.9.0
|
|
70
|
-
steps:
|
|
71
|
-
- checkout
|
|
72
|
-
- run: rm Gemfile.lock
|
|
73
|
-
- run: rm .ruby-version
|
|
74
|
-
- run: bundle install
|
|
75
|
-
- run: bundle exec appraisal install || true
|
|
76
|
-
- run: bundle exec appraisal activesupport_42 rake JRUBY_OPTS="--debug"
|
|
77
|
-
- run: bundle exec appraisal activesupport_50 rake JRUBY_OPTS="--debug"
|
|
78
|
-
- run: bundle exec appraisal activesupport_51 rake JRUBY_OPTS="--debug"
|
|
79
|
-
- run: bundle exec appraisal activesupport_52 rake JRUBY_OPTS="--debug"
|
|
80
|
-
- run: bundle exec appraisal activesupport_60 rake JRUBY_OPTS="--debug"
|
|
81
|
-
- run: bundle exec appraisal activesupport_edge rake JRUBY_OPTS="--debug"
|
|
51
|
+
- run: bundle exec appraisal rake
|
|
82
52
|
- run: bundle exec standardrb
|
|
83
53
|
- run: bundle exec mdl README.md CHANGELOG.md TODO.md
|
|
84
54
|
|
|
@@ -86,8 +56,7 @@ workflows:
|
|
|
86
56
|
version: 2
|
|
87
57
|
tests:
|
|
88
58
|
jobs:
|
|
89
|
-
- jruby-9.2.
|
|
90
|
-
- ruby-2.
|
|
91
|
-
- ruby-2.
|
|
92
|
-
- ruby-2.
|
|
93
|
-
- ruby-2.7.0
|
|
59
|
+
- jruby-9.2.11.1
|
|
60
|
+
- ruby-2.5.8
|
|
61
|
+
- ruby-2.6.6
|
|
62
|
+
- ruby-2.7.1
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.7.
|
|
1
|
+
2.7.1
|
data/Appraisals
CHANGED
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
appraise "activesupport_42" do
|
|
2
|
-
gem "activesupport", "~> 4.2.0"
|
|
3
|
-
end
|
|
4
|
-
|
|
5
|
-
appraise "activesupport_50" do
|
|
6
|
-
gem "activesupport", "~> 5.0.0"
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
appraise "activesupport_51" do
|
|
10
|
-
gem "activesupport", "~> 5.1.0"
|
|
11
|
-
end
|
|
12
|
-
|
|
13
1
|
appraise "activesupport_52" do
|
|
14
2
|
gem "activesupport", "~> 5.2.0"
|
|
15
3
|
end
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.32.0
|
|
4
|
+
|
|
5
|
+
* Sync with new ESI API
|
|
6
|
+
* Add `EveOnline::ESI::CharacterContracts`
|
|
7
|
+
* Add `EveOnline::ESI::Models::Contract`
|
|
8
|
+
* Add support `X-ESI-Error-Limit-Remain` header
|
|
9
|
+
* Add support `X-ESI-Error-Limit-Reset` header
|
|
10
|
+
* Add `EveOnline::ESI::Killmail`
|
|
11
|
+
* Add `EveOnline::ESI::MarketPrices`
|
|
12
|
+
* Add `EveOnline::ESI::Models::MarketPrice`
|
|
13
|
+
* Add `EveOnline::ESI::Models::WalletTransaction`
|
|
14
|
+
* Add `EveOnline::ESI::CharacterWalletTransactions`
|
|
15
|
+
* Rename `EveOnline::ESI::Models::WalletJournalEntry` to `EveOnline::ESI::Models::WalletJournal`
|
|
16
|
+
* Add `EveOnline::ESI::Models::Killmail`
|
|
17
|
+
* Rename `EveOnline::ESI::Models::WalletJournal#id` to `#wallet_journal_id` and update `#as_json`
|
|
18
|
+
* Add `EveOnline::Formulas::BlueprintCopyTime`
|
|
19
|
+
* Drop `EveOnline::ESI::CharacterBookmarkFolders`
|
|
20
|
+
* Drop `EveOnline::ESI::CharacterBookmarks`
|
|
21
|
+
* Drop `EveOnline::ESI::Models::Bookmark`
|
|
22
|
+
* Drop `EveOnline::ESI::Models::BookmarkFolder`
|
|
23
|
+
* Add `EveOnline::ESI::CorporationNPC`
|
|
24
|
+
|
|
3
25
|
## v0.31.0
|
|
4
26
|
|
|
5
27
|
* Add `EveOnline::ESI::Models::MailRecipient`
|
data/Gemfile.lock
CHANGED
|
@@ -7,7 +7,7 @@ PATH
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (6.0.2.
|
|
10
|
+
activesupport (6.0.2.2)
|
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
12
|
i18n (>= 0.7, < 2)
|
|
13
13
|
minitest (~> 5.1)
|
|
@@ -23,51 +23,51 @@ GEM
|
|
|
23
23
|
awesome_print (1.8.0)
|
|
24
24
|
coderay (1.1.2)
|
|
25
25
|
colorize (0.8.1)
|
|
26
|
-
concurrent-ruby (1.1.
|
|
26
|
+
concurrent-ruby (1.1.6)
|
|
27
27
|
crack (0.4.3)
|
|
28
28
|
safe_yaml (~> 1.0.0)
|
|
29
29
|
diff-lcs (1.3)
|
|
30
30
|
docile (1.3.2)
|
|
31
|
-
fasterer (0.8.
|
|
31
|
+
fasterer (0.8.3)
|
|
32
32
|
colorize (~> 0.7)
|
|
33
33
|
ruby_parser (>= 3.14.1)
|
|
34
|
-
hashdiff (1.0.
|
|
34
|
+
hashdiff (1.0.1)
|
|
35
35
|
i18n (1.8.2)
|
|
36
36
|
concurrent-ruby (~> 1.0)
|
|
37
37
|
jaro_winkler (1.5.4)
|
|
38
|
-
json (2.3.0)
|
|
39
38
|
kramdown (2.1.0)
|
|
40
39
|
kramdown-parser-gfm (1.1.0)
|
|
41
40
|
kramdown (~> 2.0)
|
|
42
|
-
mdl (0.
|
|
41
|
+
mdl (0.9.0)
|
|
43
42
|
kramdown (~> 2.0)
|
|
44
43
|
kramdown-parser-gfm (~> 1.0)
|
|
45
44
|
mixlib-cli (~> 2.1, >= 2.1.1)
|
|
46
45
|
mixlib-config (>= 2.2.1, < 4)
|
|
47
|
-
method_source (0.
|
|
46
|
+
method_source (1.0.0)
|
|
48
47
|
mini_portile2 (2.4.0)
|
|
49
48
|
minitest (5.14.0)
|
|
50
|
-
mixlib-cli (2.1.
|
|
49
|
+
mixlib-cli (2.1.6)
|
|
51
50
|
mixlib-config (3.0.6)
|
|
52
51
|
tomlrb
|
|
53
|
-
nokogiri (1.10.
|
|
52
|
+
nokogiri (1.10.9)
|
|
54
53
|
mini_portile2 (~> 2.4.0)
|
|
55
54
|
parallel (1.19.1)
|
|
56
|
-
parser (2.7.
|
|
55
|
+
parser (2.7.1.1)
|
|
57
56
|
ast (~> 2.4.0)
|
|
58
|
-
pry (0.
|
|
59
|
-
coderay (~> 1.1
|
|
60
|
-
method_source (~>
|
|
61
|
-
public_suffix (4.0.
|
|
57
|
+
pry (0.13.1)
|
|
58
|
+
coderay (~> 1.1)
|
|
59
|
+
method_source (~> 1.0)
|
|
60
|
+
public_suffix (4.0.4)
|
|
62
61
|
rainbow (3.0.0)
|
|
63
62
|
rake (13.0.1)
|
|
63
|
+
rexml (3.2.4)
|
|
64
64
|
rspec (3.9.0)
|
|
65
65
|
rspec-core (~> 3.9.0)
|
|
66
66
|
rspec-expectations (~> 3.9.0)
|
|
67
67
|
rspec-mocks (~> 3.9.0)
|
|
68
68
|
rspec-core (3.9.1)
|
|
69
69
|
rspec-support (~> 3.9.1)
|
|
70
|
-
rspec-expectations (3.9.
|
|
70
|
+
rspec-expectations (3.9.1)
|
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
72
72
|
rspec-support (~> 3.9.0)
|
|
73
73
|
rspec-its (1.3.0)
|
|
@@ -77,40 +77,40 @@ GEM
|
|
|
77
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
78
78
|
rspec-support (~> 3.9.0)
|
|
79
79
|
rspec-support (3.9.2)
|
|
80
|
-
rubocop (0.
|
|
80
|
+
rubocop (0.80.1)
|
|
81
81
|
jaro_winkler (~> 1.5.1)
|
|
82
82
|
parallel (~> 1.10)
|
|
83
|
-
parser (>= 2.
|
|
83
|
+
parser (>= 2.7.0.1)
|
|
84
84
|
rainbow (>= 2.2.2, < 4.0)
|
|
85
|
+
rexml
|
|
85
86
|
ruby-progressbar (~> 1.7)
|
|
86
87
|
unicode-display_width (>= 1.4.0, < 1.7)
|
|
87
88
|
rubocop-performance (1.5.2)
|
|
88
89
|
rubocop (>= 0.71.0)
|
|
89
90
|
ruby-progressbar (1.10.1)
|
|
90
|
-
ruby_parser (3.14.
|
|
91
|
+
ruby_parser (3.14.2)
|
|
91
92
|
sexp_processor (~> 4.9)
|
|
92
93
|
safe_yaml (1.0.5)
|
|
93
|
-
sexp_processor (4.
|
|
94
|
-
simplecov (0.
|
|
94
|
+
sexp_processor (4.14.1)
|
|
95
|
+
simplecov (0.18.5)
|
|
95
96
|
docile (~> 1.1)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
rubocop (~>
|
|
101
|
-
rubocop-performance (~> 1.5.1)
|
|
97
|
+
simplecov-html (~> 0.11)
|
|
98
|
+
simplecov-html (0.12.2)
|
|
99
|
+
standard (0.2.4)
|
|
100
|
+
rubocop (~> 0.80.1)
|
|
101
|
+
rubocop-performance (~> 1.5.2)
|
|
102
102
|
thor (1.0.1)
|
|
103
103
|
thread_safe (0.3.6)
|
|
104
|
-
tomlrb (1.
|
|
105
|
-
tzinfo (1.2.
|
|
104
|
+
tomlrb (1.3.0)
|
|
105
|
+
tzinfo (1.2.7)
|
|
106
106
|
thread_safe (~> 0.1)
|
|
107
107
|
unicode-display_width (1.6.1)
|
|
108
|
-
vcr (5.
|
|
109
|
-
webmock (3.8.
|
|
108
|
+
vcr (5.1.0)
|
|
109
|
+
webmock (3.8.3)
|
|
110
110
|
addressable (>= 2.3.6)
|
|
111
111
|
crack (>= 0.3.2)
|
|
112
112
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
113
|
-
zeitwerk (2.
|
|
113
|
+
zeitwerk (2.3.0)
|
|
114
114
|
|
|
115
115
|
PLATFORMS
|
|
116
116
|
ruby
|
|
@@ -133,4 +133,4 @@ DEPENDENCIES
|
|
|
133
133
|
webmock
|
|
134
134
|
|
|
135
135
|
BUNDLED WITH
|
|
136
|
-
2.1.
|
|
136
|
+
2.1.4
|
data/Gemfile.mutant.lock
CHANGED
|
@@ -8,7 +8,7 @@ GEM
|
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
abstract_type (0.0.7)
|
|
11
|
-
activesupport (6.0.2.
|
|
11
|
+
activesupport (6.0.2.2)
|
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
13
13
|
i18n (>= 0.7, < 2)
|
|
14
14
|
minitest (~> 5.1)
|
|
@@ -31,21 +31,20 @@ GEM
|
|
|
31
31
|
concord (0.1.5)
|
|
32
32
|
adamantium (~> 0.2.0)
|
|
33
33
|
equalizer (~> 0.0.9)
|
|
34
|
-
concurrent-ruby (1.1.
|
|
34
|
+
concurrent-ruby (1.1.6)
|
|
35
35
|
crack (0.4.3)
|
|
36
36
|
safe_yaml (~> 1.0.0)
|
|
37
37
|
diff-lcs (1.3)
|
|
38
38
|
docile (1.3.2)
|
|
39
39
|
equalizer (0.0.11)
|
|
40
|
-
hashdiff (1.0.
|
|
40
|
+
hashdiff (1.0.1)
|
|
41
41
|
i18n (1.8.2)
|
|
42
42
|
concurrent-ruby (~> 1.0)
|
|
43
43
|
ice_nine (0.11.2)
|
|
44
|
-
json (2.3.0)
|
|
45
44
|
kramdown (2.1.0)
|
|
46
45
|
kramdown-parser-gfm (1.1.0)
|
|
47
46
|
kramdown (~> 2.0)
|
|
48
|
-
mdl (0.
|
|
47
|
+
mdl (0.9.0)
|
|
49
48
|
kramdown (~> 2.0)
|
|
50
49
|
kramdown-parser-gfm (~> 1.0)
|
|
51
50
|
mixlib-cli (~> 2.1, >= 2.1.1)
|
|
@@ -54,7 +53,7 @@ GEM
|
|
|
54
53
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
55
54
|
mini_portile2 (2.4.0)
|
|
56
55
|
minitest (5.14.0)
|
|
57
|
-
mixlib-cli (2.1.
|
|
56
|
+
mixlib-cli (2.1.6)
|
|
58
57
|
mixlib-config (3.0.6)
|
|
59
58
|
tomlrb
|
|
60
59
|
mprelude (0.1.0)
|
|
@@ -64,7 +63,7 @@ GEM
|
|
|
64
63
|
equalizer (~> 0.0.9)
|
|
65
64
|
ice_nine (~> 0.11.1)
|
|
66
65
|
procto (~> 0.0.2)
|
|
67
|
-
mutant (0.9.
|
|
66
|
+
mutant (0.9.6)
|
|
68
67
|
abstract_type (~> 0.0.7)
|
|
69
68
|
adamantium (~> 0.2.0)
|
|
70
69
|
anima (~> 0.3.1)
|
|
@@ -75,18 +74,19 @@ GEM
|
|
|
75
74
|
ice_nine (~> 0.11.1)
|
|
76
75
|
memoizable (~> 0.4.2)
|
|
77
76
|
mprelude (~> 0.1.0)
|
|
78
|
-
parser (~> 2.
|
|
77
|
+
parser (~> 2.7.0.2)
|
|
79
78
|
procto (~> 0.0.2)
|
|
80
79
|
unparser (~> 0.4.6)
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
variable (~> 0.0.1)
|
|
81
|
+
mutant-rspec (0.9.5)
|
|
82
|
+
mutant (~> 0.9.5)
|
|
83
83
|
rspec-core (>= 3.8.0, < 4.0.0)
|
|
84
|
-
nokogiri (1.10.
|
|
84
|
+
nokogiri (1.10.9)
|
|
85
85
|
mini_portile2 (~> 2.4.0)
|
|
86
|
-
parser (2.
|
|
86
|
+
parser (2.7.0.5)
|
|
87
87
|
ast (~> 2.4.0)
|
|
88
88
|
procto (0.0.3)
|
|
89
|
-
public_suffix (4.0.
|
|
89
|
+
public_suffix (4.0.4)
|
|
90
90
|
rake (13.0.1)
|
|
91
91
|
rspec (3.9.0)
|
|
92
92
|
rspec-core (~> 3.9.0)
|
|
@@ -94,7 +94,7 @@ GEM
|
|
|
94
94
|
rspec-mocks (~> 3.9.0)
|
|
95
95
|
rspec-core (3.9.1)
|
|
96
96
|
rspec-support (~> 3.9.1)
|
|
97
|
-
rspec-expectations (3.9.
|
|
97
|
+
rspec-expectations (3.9.1)
|
|
98
98
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
99
99
|
rspec-support (~> 3.9.0)
|
|
100
100
|
rspec-its (1.3.0)
|
|
@@ -105,15 +105,14 @@ GEM
|
|
|
105
105
|
rspec-support (~> 3.9.0)
|
|
106
106
|
rspec-support (3.9.2)
|
|
107
107
|
safe_yaml (1.0.5)
|
|
108
|
-
simplecov (0.
|
|
108
|
+
simplecov (0.18.5)
|
|
109
109
|
docile (~> 1.1)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
simplecov-html (0.10.2)
|
|
110
|
+
simplecov-html (~> 0.11)
|
|
111
|
+
simplecov-html (0.12.2)
|
|
113
112
|
thor (1.0.1)
|
|
114
113
|
thread_safe (0.3.6)
|
|
115
|
-
tomlrb (1.
|
|
116
|
-
tzinfo (1.2.
|
|
114
|
+
tomlrb (1.3.0)
|
|
115
|
+
tzinfo (1.2.7)
|
|
117
116
|
thread_safe (~> 0.1)
|
|
118
117
|
unparser (0.4.7)
|
|
119
118
|
abstract_type (~> 0.0.7)
|
|
@@ -123,12 +122,14 @@ GEM
|
|
|
123
122
|
equalizer (~> 0.0.9)
|
|
124
123
|
parser (>= 2.6.5)
|
|
125
124
|
procto (~> 0.0.2)
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
variable (0.0.1)
|
|
126
|
+
equalizer (~> 0.0.11)
|
|
127
|
+
vcr (5.1.0)
|
|
128
|
+
webmock (3.8.3)
|
|
128
129
|
addressable (>= 2.3.6)
|
|
129
130
|
crack (>= 0.3.2)
|
|
130
131
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
131
|
-
zeitwerk (2.
|
|
132
|
+
zeitwerk (2.3.0)
|
|
132
133
|
|
|
133
134
|
PLATFORMS
|
|
134
135
|
ruby
|
|
@@ -149,4 +150,4 @@ DEPENDENCIES
|
|
|
149
150
|
webmock
|
|
150
151
|
|
|
151
152
|
BUNDLED WITH
|
|
152
|
-
2.1.
|
|
153
|
+
2.1.4
|
data/README.md
CHANGED
|
@@ -48,17 +48,13 @@ gem install eve_online
|
|
|
48
48
|
|
|
49
49
|
## Supported ruby versions
|
|
50
50
|
|
|
51
|
-
* MRI 2.4
|
|
52
51
|
* MRI 2.5
|
|
53
52
|
* MRI 2.6
|
|
54
53
|
* MRI 2.7
|
|
55
|
-
* JRuby 9.2.
|
|
54
|
+
* JRuby 9.2.11.1
|
|
56
55
|
|
|
57
56
|
## Supported rails versions
|
|
58
57
|
|
|
59
|
-
* 4.2
|
|
60
|
-
* 5.0
|
|
61
|
-
* 5.1
|
|
62
58
|
* 5.2
|
|
63
59
|
* 6.0
|
|
64
60
|
* Edge
|
|
@@ -331,74 +327,8 @@ corporation_assets_names.etag # => NotImplementedError
|
|
|
331
327
|
|
|
332
328
|
#### List bookmarks
|
|
333
329
|
|
|
334
|
-
```ruby
|
|
335
|
-
options = { token: 'token123', character_id: 90_729_314, page: 1 }
|
|
336
|
-
|
|
337
|
-
character_bookmarks = EveOnline::ESI::CharacterBookmarks.new(options)
|
|
338
|
-
|
|
339
|
-
character_bookmarks.scope # => "esi-bookmarks.read_character_bookmarks.v1"
|
|
340
|
-
|
|
341
|
-
character_bookmarks.page # => 1
|
|
342
|
-
|
|
343
|
-
character_bookmarks.total_pages # => 1
|
|
344
|
-
|
|
345
|
-
character_bookmarks.bookmarks.size # => 20
|
|
346
|
-
|
|
347
|
-
bookmark = character_bookmarks.bookmarks.first
|
|
348
|
-
|
|
349
|
-
bookmark.as_json # => {:bookmark_id=>4,
|
|
350
|
-
# :created=>Mon, 09 Jul 2012 22:38:31 UTC +00:00,
|
|
351
|
-
# :creator_id=>2112625428,
|
|
352
|
-
# :folder_id=>5,
|
|
353
|
-
# :item_id=>30003496,
|
|
354
|
-
# :item_type_id=>5,
|
|
355
|
-
# :label=>"Stargate",
|
|
356
|
-
# :location_id=>30003430,
|
|
357
|
-
# :notes=>"This is a stargate"}
|
|
358
|
-
|
|
359
|
-
bookmark.bookmark_id # => 4
|
|
360
|
-
bookmark.created # => Mon, 09 Jul 2012 22:38:31 UTC +00:00
|
|
361
|
-
bookmark.creator_id # => 2112625428
|
|
362
|
-
bookmark.folder_id # => 5
|
|
363
|
-
bookmark.item_id # => 30003496
|
|
364
|
-
bookmark.item_type_id # => 5
|
|
365
|
-
bookmark.label # => "Stargate"
|
|
366
|
-
bookmark.location_id # => 30003430
|
|
367
|
-
bookmark.notes # => "This is a stargate"
|
|
368
|
-
|
|
369
|
-
bookmark.coordinates.as_json # => {:x=>-144951231521.81625,
|
|
370
|
-
# :y=>164030047870.25558,
|
|
371
|
-
# :z=>211467631848.1311}
|
|
372
|
-
|
|
373
|
-
# TODO: character_bookmarks.etag
|
|
374
|
-
```
|
|
375
|
-
|
|
376
330
|
#### List bookmark folders
|
|
377
331
|
|
|
378
|
-
```ruby
|
|
379
|
-
options = { token: 'token123', character_id: 90_729_314, page: 1 }
|
|
380
|
-
|
|
381
|
-
character_bookmark_folders = EveOnline::ESI::CharacterBookmarkFolders.new(options)
|
|
382
|
-
|
|
383
|
-
character_bookmark_folders.scope # => "esi-bookmarks.read_character_bookmarks.v1"
|
|
384
|
-
|
|
385
|
-
character_bookmark_folders.page # => 1
|
|
386
|
-
|
|
387
|
-
character_bookmark_folders.total_pages # => 1
|
|
388
|
-
|
|
389
|
-
character_bookmark_folders.bookmark_folders.size # => 1
|
|
390
|
-
|
|
391
|
-
bookmark_folder = character_bookmark_folders.bookmark_folders.first
|
|
392
|
-
|
|
393
|
-
bookmark_folder.as_json # => {:folder_id=>5,
|
|
394
|
-
# :name=>"Icecream"}
|
|
395
|
-
|
|
396
|
-
bookmark_folder.folder_id # => 5
|
|
397
|
-
bookmark_folder.name # => "Icecream"
|
|
398
|
-
|
|
399
|
-
# TODO: character_bookmark_folders.etag
|
|
400
|
-
```
|
|
401
|
-
|
|
402
332
|
#### List corporation bookmarks
|
|
403
333
|
|
|
404
334
|
#### List corporation bookmark folders
|
|
@@ -645,15 +575,15 @@ character_portrait = EveOnline::ESI::CharacterPortrait.new(options)
|
|
|
645
575
|
|
|
646
576
|
character_portrait.scope # => nil
|
|
647
577
|
|
|
648
|
-
character_portrait.as_json # => {:medium=>"
|
|
649
|
-
# :large=>"
|
|
650
|
-
# :huge=>"
|
|
651
|
-
# :small=>"
|
|
578
|
+
character_portrait.as_json # => {:medium=>"https://images.evetech.net/Character/1337512245_128.jpg",
|
|
579
|
+
# :large=>"https://images.evetech.net/Character/1337512245_256.jpg",
|
|
580
|
+
# :huge=>"https://images.evetech.net/Character/1337512245_512.jpg",
|
|
581
|
+
# :small=>"https://images.evetech.net/Character/1337512245_64.jpg"}
|
|
652
582
|
|
|
653
|
-
character_portrait.medium # => "
|
|
654
|
-
character_portrait.large # => "
|
|
655
|
-
character_portrait.huge # => "
|
|
656
|
-
character_portrait.small # => "
|
|
583
|
+
character_portrait.medium # => "https://images.evetech.net/Character/1337512245_128.jpg"
|
|
584
|
+
character_portrait.large # => "https://images.evetech.net/Character/1337512245_256.jpg"
|
|
585
|
+
character_portrait.huge # => "https://images.evetech.net/Character/1337512245_512.jpg"
|
|
586
|
+
character_portrait.small # => "https://images.evetech.net/Character/1337512245_64.jpg"
|
|
657
587
|
|
|
658
588
|
character_portrait.etag # => "2c8392581d493e06c015ca3d48d4076079bf4c976b1f776742592260"
|
|
659
589
|
```
|
|
@@ -767,6 +697,66 @@ character_implants.implant_ids # => [9899, 9941, 9942, 9943, 9956]
|
|
|
767
697
|
|
|
768
698
|
#### Get contracts
|
|
769
699
|
|
|
700
|
+
```ruby
|
|
701
|
+
options = { token: 'token123', character_id: 1337512245, page: 1 }
|
|
702
|
+
|
|
703
|
+
contracts = EveOnline::ESI::CharacterContracts.new(options)
|
|
704
|
+
|
|
705
|
+
contracts.scope # => "esi-contracts.read_character_contracts.v1"
|
|
706
|
+
|
|
707
|
+
contracts.contracts.size # => 3
|
|
708
|
+
|
|
709
|
+
contract = contracts.contracts.first
|
|
710
|
+
|
|
711
|
+
contract.as_json # => {:acceptor_id=>2116199184,
|
|
712
|
+
# :assignee_id=>2116199184,
|
|
713
|
+
# :availability=>"personal",
|
|
714
|
+
# :buyout=>nil,
|
|
715
|
+
# :collateral=>0.0,
|
|
716
|
+
# :contract_id=>154837125,
|
|
717
|
+
# :date_accepted=>Fri, 06 Mar 2020 21:09:32 UTC +00:00,
|
|
718
|
+
# :date_completed=>Fri, 06 Mar 2020 21:09:32 UTC +00:00,
|
|
719
|
+
# :date_expired=>Sat, 07 Mar 2020 21:09:11 UTC +00:00,
|
|
720
|
+
# :date_issued=>Fri, 06 Mar 2020 21:09:11 UTC +00:00,
|
|
721
|
+
# :days_to_complete=>0,
|
|
722
|
+
# :end_location_id=>60008674,
|
|
723
|
+
# :for_corporation=>false,
|
|
724
|
+
# :issuer_corporation_id=>98134807,
|
|
725
|
+
# :issuer_id=>1337512245,
|
|
726
|
+
# :price=>0.0,
|
|
727
|
+
# :reward=>0.0,
|
|
728
|
+
# :start_location_id=>60008674,
|
|
729
|
+
# :status=>"finished",
|
|
730
|
+
# :title=>"",
|
|
731
|
+
# :type=>"item_exchange",
|
|
732
|
+
# :volume=>15000.0}
|
|
733
|
+
|
|
734
|
+
contract.acceptor_id # => 2116199184
|
|
735
|
+
contract.assignee_id # => 2116199184
|
|
736
|
+
contract.availability # => "personal"
|
|
737
|
+
contract.buyout # => nil
|
|
738
|
+
contract.collateral # => 0.0
|
|
739
|
+
contract.contract_id # => 154837125
|
|
740
|
+
contract.date_accepted # => Fri, 06 Mar 2020 21:09:32 UTC +00:00
|
|
741
|
+
contract.date_completed # => Fri, 06 Mar 2020 21:09:32 UTC +00:00
|
|
742
|
+
contract.date_expired # => Sat, 07 Mar 2020 21:09:11 UTC +00:00
|
|
743
|
+
contract.date_issued # => Fri, 06 Mar 2020 21:09:11 UTC +00:00
|
|
744
|
+
contract.days_to_complete # => 0
|
|
745
|
+
contract.end_location_id # => 60008674
|
|
746
|
+
contract.for_corporation # => false
|
|
747
|
+
contract.issuer_corporation_id # => 98134807
|
|
748
|
+
contract.issuer_id # => 1337512245
|
|
749
|
+
contract.price # => 0.0
|
|
750
|
+
contract.reward # => 0.0
|
|
751
|
+
contract.start_location_id # => 60008674
|
|
752
|
+
contract.status # => "finished"
|
|
753
|
+
contract.title # => ""
|
|
754
|
+
contract.type # => "item_exchange"
|
|
755
|
+
contract.volume # => 15000.0
|
|
756
|
+
|
|
757
|
+
contracts.etag # => "6e18566a8f786f08aba678262360d0c74a783f9923aa43f8043133e4"
|
|
758
|
+
```
|
|
759
|
+
|
|
770
760
|
#### Get contract bids
|
|
771
761
|
|
|
772
762
|
#### Get contract items
|
|
@@ -933,6 +923,18 @@ corporation_blueprints.roles # => ["Director"]
|
|
|
933
923
|
|
|
934
924
|
#### Get npc corporations
|
|
935
925
|
|
|
926
|
+
```ruby
|
|
927
|
+
corporation_npcs = EveOnline::ESI::CorporationNPC.new
|
|
928
|
+
|
|
929
|
+
corporation_npcs.scope # => nil
|
|
930
|
+
|
|
931
|
+
corporation_npcs.corporation_npc_ids.size # => 262
|
|
932
|
+
|
|
933
|
+
corporation_npcs.corporation_npc_ids.first # => 1000001
|
|
934
|
+
|
|
935
|
+
corporation_npcs.etag # => "085946820256a4f7be2e9926e9d1de9e420cca53ffb31f7547740a05"
|
|
936
|
+
```
|
|
937
|
+
|
|
936
938
|
### Dogma
|
|
937
939
|
|
|
938
940
|
#### Get attributes
|
|
@@ -1298,13 +1300,13 @@ character_killmails.killmails.size # => 1
|
|
|
1298
1300
|
|
|
1299
1301
|
killmail = character_killmails.killmails.first
|
|
1300
1302
|
|
|
1301
|
-
killmail.as_json # => {:killmail_hash=>"
|
|
1302
|
-
# :killmail_id=>
|
|
1303
|
+
killmail.as_json # => {:killmail_hash=>"8f1450fca8ce97be9b10e106a1257088407ef387",
|
|
1304
|
+
# :killmail_id=>81_646_519}
|
|
1303
1305
|
|
|
1304
|
-
killmail.killmail_hash # => "
|
|
1305
|
-
killmail.killmail_id # =>
|
|
1306
|
+
killmail.killmail_hash # => "8f1450fca8ce97be9b10e106a1257088407ef387"
|
|
1307
|
+
killmail.killmail_id # => 81646519
|
|
1306
1308
|
|
|
1307
|
-
#
|
|
1309
|
+
character_killmails.etag # => "ba5068bc1b07db98d9efce93437295fbdb9d29b14b4ffbcbfa91ac0d"
|
|
1308
1310
|
```
|
|
1309
1311
|
|
|
1310
1312
|
#### Get a corporation's recent kills and losses
|
|
@@ -1337,6 +1339,14 @@ corporation_killmails.roles # => ["Director"]
|
|
|
1337
1339
|
|
|
1338
1340
|
#### Get a single killmail
|
|
1339
1341
|
|
|
1342
|
+
```ruby
|
|
1343
|
+
options = { killmail_id: 81_646_519, killmail_hash: "8f1450fca8ce97be9b10e106a1257088407ef387" }
|
|
1344
|
+
|
|
1345
|
+
killmail = EveOnline::ESI::Killmail.new(options)
|
|
1346
|
+
|
|
1347
|
+
# TODO: finish this
|
|
1348
|
+
```
|
|
1349
|
+
|
|
1340
1350
|
### Location
|
|
1341
1351
|
|
|
1342
1352
|
#### Get character location
|
|
@@ -1727,6 +1737,27 @@ market_group.etag # => "bf7832bfc20f5f9fdeddc9cb0360b941067310e7e3a2a80315b45a43
|
|
|
1727
1737
|
|
|
1728
1738
|
#### List market prices
|
|
1729
1739
|
|
|
1740
|
+
```ruby
|
|
1741
|
+
market_prices = EveOnline::ESI::MarketPrices.new
|
|
1742
|
+
|
|
1743
|
+
market_prices.scope # => nil
|
|
1744
|
+
|
|
1745
|
+
market_prices.market_prices.size # => 12565
|
|
1746
|
+
|
|
1747
|
+
market_price = market_prices.market_prices.first
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
market_price.as_json # => {:adjusted_price=>923296.88,
|
|
1751
|
+
# :average_price=>1273871.6,
|
|
1752
|
+
# :type_id=>32772}
|
|
1753
|
+
|
|
1754
|
+
market_price.adjusted_price # => 923296.88
|
|
1755
|
+
market_price.average_price # => 1273871.6
|
|
1756
|
+
market_price.type_id # => 32772
|
|
1757
|
+
|
|
1758
|
+
market_prices.etag # => "2d5acc3bd4555821bb91d787596f5ddad129f849739e83162e93c02f"
|
|
1759
|
+
```
|
|
1760
|
+
|
|
1730
1761
|
#### List orders in a structure
|
|
1731
1762
|
|
|
1732
1763
|
### Opportunities
|
|
@@ -2020,7 +2051,7 @@ category.published # => true
|
|
|
2020
2051
|
category.group_ids.size # => 46
|
|
2021
2052
|
category.group_ids.first # => 25
|
|
2022
2053
|
|
|
2023
|
-
#
|
|
2054
|
+
category.etag # => "37a39e7a5f5ecc07b19a3128c319f1198d035aee10052d0a21ccdd94"
|
|
2024
2055
|
```
|
|
2025
2056
|
|
|
2026
2057
|
#### Get constellations
|
|
@@ -2690,7 +2721,7 @@ type.etag # => "e3f6a76b4a1287f54966c6253f8f5d6ac6460bc43d47570331b43e0b"
|
|
|
2690
2721
|
#### Get a character's wallet balance
|
|
2691
2722
|
|
|
2692
2723
|
```ruby
|
|
2693
|
-
options = { token: 'token123', character_id:
|
|
2724
|
+
options = { token: 'token123', character_id: 90_729_314 }
|
|
2694
2725
|
|
|
2695
2726
|
character_wallet = EveOnline::ESI::CharacterWallet.new(options)
|
|
2696
2727
|
|
|
@@ -2700,13 +2731,13 @@ character_wallet.as_json # => {:wallet=>409488252.49}
|
|
|
2700
2731
|
|
|
2701
2732
|
character_wallet.wallet # => 409488252.49
|
|
2702
2733
|
|
|
2703
|
-
#
|
|
2734
|
+
character_wallet.etag # => "482786a491138fdf393f42c457424b0cd3f3c3c7c2c9afb3f55c618a"
|
|
2704
2735
|
```
|
|
2705
2736
|
|
|
2706
2737
|
#### Get character wallet journal
|
|
2707
2738
|
|
|
2708
2739
|
```ruby
|
|
2709
|
-
options = { token: 'token123', character_id:
|
|
2740
|
+
options = { token: 'token123', character_id: 90_729_314, page: 1 }
|
|
2710
2741
|
|
|
2711
2742
|
character_wallet_journal = EveOnline::ESI::CharacterWalletJournal.new(options)
|
|
2712
2743
|
|
|
@@ -2716,39 +2747,94 @@ character_wallet_journal.page # => 1
|
|
|
2716
2747
|
|
|
2717
2748
|
character_wallet_journal.total_pages # => 1
|
|
2718
2749
|
|
|
2719
|
-
character_wallet_journal.wallet_journal_entries.size # =>
|
|
2750
|
+
character_wallet_journal.wallet_journal_entries.size # => 220
|
|
2720
2751
|
|
|
2721
2752
|
wallet_journal_entry = character_wallet_journal.wallet_journal_entries.first
|
|
2722
2753
|
|
|
2723
|
-
wallet_journal_entry.as_json
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
wallet_journal_entry.
|
|
2738
|
-
|
|
2739
|
-
#
|
|
2740
|
-
|
|
2741
|
-
#
|
|
2754
|
+
wallet_journal_entry.as_json # => {:amount=>87375.0,
|
|
2755
|
+
# :balance=>2405126.01,
|
|
2756
|
+
# :context_id=>30003498,
|
|
2757
|
+
# :context_id_type=>"system_id",
|
|
2758
|
+
# :date=>Sun, 08 Mar 2020 12:08:25 UTC +00:00,
|
|
2759
|
+
# :description=>"Johnn Dillinger got bounty prizes for killing pirates in Sharhelund",
|
|
2760
|
+
# :first_party_id=>1000125,
|
|
2761
|
+
# :wallet_journal_id=>17740466914,
|
|
2762
|
+
# :reason=>"3744: 2,3748: 2,18085: 2,18070: 1",
|
|
2763
|
+
# :ref_type=>"bounty_prizes",
|
|
2764
|
+
# :second_party_id=>1337512245,
|
|
2765
|
+
# :tax=>nil,
|
|
2766
|
+
# :tax_receiver_id=>nil}
|
|
2767
|
+
|
|
2768
|
+
wallet_journal_entry.amount # => 87375.0
|
|
2769
|
+
wallet_journal_entry.balance # => 2405126.01
|
|
2770
|
+
wallet_journal_entry.context_id # => 30003498
|
|
2771
|
+
wallet_journal_entry.context_id_type # => "system_id"
|
|
2772
|
+
wallet_journal_entry.date # => Sun, 08 Mar 2020 12:08:25 UTC +00:00
|
|
2773
|
+
wallet_journal_entry.description # => "Johnn Dillinger got bounty prizes for killing pirates in Sharhelund"
|
|
2774
|
+
wallet_journal_entry.first_party_id # => 1000125
|
|
2775
|
+
wallet_journal_entry.wallet_journal_id # => 17740466914
|
|
2776
|
+
wallet_journal_entry.reason # => "3744: 2,3748: 2,18085: 2,18070: 1"
|
|
2777
|
+
wallet_journal_entry.ref_type # => "bounty_prizes"
|
|
2778
|
+
wallet_journal_entry.second_party_id # => 1337512245
|
|
2779
|
+
wallet_journal_entry.tax # => nil
|
|
2780
|
+
wallet_journal_entry.tax_receiver_id # => nil
|
|
2781
|
+
|
|
2782
|
+
character_wallet_journal.etag # => "b618a1a584f6aad53cb79c72d6de26d8c9210d0a18be1421d5355446"
|
|
2742
2783
|
```
|
|
2743
2784
|
|
|
2744
2785
|
#### Get wallet transactions
|
|
2745
2786
|
|
|
2787
|
+
```ruby
|
|
2788
|
+
options = { token: "token123", character_id: 1_337_512_245 } # optional, add `from_id: 123` to skip records
|
|
2789
|
+
|
|
2790
|
+
wallet_transactions = EveOnline::ESI::CharacterWalletTransactions.new(options)
|
|
2791
|
+
|
|
2792
|
+
wallet_transactions.scope # => "esi-wallet.read_character_wallet.v1"
|
|
2793
|
+
|
|
2794
|
+
wallet_transactions.wallet_transactions.size # => 47
|
|
2795
|
+
|
|
2796
|
+
wallet_transaction = wallet_transactions.wallet_transactions.first
|
|
2797
|
+
|
|
2798
|
+
wallet_transaction.as_json # => {:client_id=>2116253203,
|
|
2799
|
+
# :date=>Sun, 08 Mar 2020 11:49:16 UTC +00:00,
|
|
2800
|
+
# :is_buy=>true,
|
|
2801
|
+
# :is_personal=>true,
|
|
2802
|
+
# :journal_ref_id=>17740411474,
|
|
2803
|
+
# :location_id=>60008494,
|
|
2804
|
+
# :quantity=>1,
|
|
2805
|
+
# :transaction_id=>5296927639,
|
|
2806
|
+
# :type_id=>3538,
|
|
2807
|
+
# :unit_price=>99887.79}
|
|
2808
|
+
|
|
2809
|
+
wallet_transaction.client_id # => 2116253203
|
|
2810
|
+
wallet_transaction.date # => Sun, 08 Mar 2020 11:49:16 UTC +00:00
|
|
2811
|
+
wallet_transaction.is_buy # => true
|
|
2812
|
+
wallet_transaction.is_personal # => true
|
|
2813
|
+
wallet_transaction.journal_ref_id # => 17740411474
|
|
2814
|
+
wallet_transaction.location_id # => 60008494
|
|
2815
|
+
wallet_transaction.quantity # => 1
|
|
2816
|
+
wallet_transaction.transaction_id # => 5296927639
|
|
2817
|
+
wallet_transaction.type_id # => 3538
|
|
2818
|
+
wallet_transaction.unit_price # => 99887.79
|
|
2819
|
+
|
|
2820
|
+
wallet_transactions.etag # => "55d0fbe8b408d6a76dab70c0a709d4e7c5dd58d4e0b7bd785549e268"
|
|
2821
|
+
```
|
|
2822
|
+
|
|
2746
2823
|
#### Returns a corporation's wallet balance
|
|
2747
2824
|
|
|
2825
|
+
```ruby
|
|
2826
|
+
```
|
|
2827
|
+
|
|
2748
2828
|
#### Get corporation wallet journal
|
|
2749
2829
|
|
|
2830
|
+
```ruby
|
|
2831
|
+
```
|
|
2832
|
+
|
|
2750
2833
|
#### Get corporation wallet transactions
|
|
2751
2834
|
|
|
2835
|
+
```ruby
|
|
2836
|
+
```
|
|
2837
|
+
|
|
2752
2838
|
### Wars
|
|
2753
2839
|
|
|
2754
2840
|
#### List wars
|
|
@@ -2956,6 +3042,26 @@ Oj.mimic_JSON()
|
|
|
2956
3042
|
races = EveOnline::ESI::UniverseRaces.new
|
|
2957
3043
|
```
|
|
2958
3044
|
|
|
3045
|
+
## Formulas
|
|
3046
|
+
|
|
3047
|
+
### Blueprint copy time
|
|
3048
|
+
|
|
3049
|
+
```ruby
|
|
3050
|
+
seconds = 240 # 240 seconds it time to copy e.g. "Acolyte I Blueprint"
|
|
3051
|
+
science_level = 5 # character science level
|
|
3052
|
+
advanced_industry_level = 1 # character advanced industry level
|
|
3053
|
+
science_copy_speed_bonus_per_level = -5.00 # type dogma attribute copy speed bonus for science
|
|
3054
|
+
advanced_industry_skill_industry_job_time_bonus_per_level = -3.00 # type dogma attribute industry job time bonuse for advanced industry
|
|
3055
|
+
runs = 1 # number of copy, optional. default: 1
|
|
3056
|
+
|
|
3057
|
+
formula = EveOnline::Formulas::BlueprintCopyTime.new(seconds, science_level,
|
|
3058
|
+
advanced_industry_level, science_copy_speed_bonus_per_level,
|
|
3059
|
+
advanced_industry_skill_industry_job_time_bonus_per_level, runs)
|
|
3060
|
+
|
|
3061
|
+
# time of copy in seconds
|
|
3062
|
+
formula.time # => 174.6
|
|
3063
|
+
```
|
|
3064
|
+
|
|
2959
3065
|
## Useful links
|
|
2960
3066
|
|
|
2961
3067
|
* [BREAKING CHANGES AND YOU - HOW TO USE ALT-ROUTES TO ENHANCE YOUR SANITY](https://developers.eveonline.com/blog/article/breaking-changes-and-you)
|