eve_online 0.20.0 → 0.21.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/.ruby-version +1 -1
- data/.travis.yml +12 -7
- data/CHANGELOG.md +26 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +30 -27
- data/Gemfile.mutant.lock +20 -25
- data/README.md +41 -21
- data/TODO.md +1 -0
- data/eve_online.gemspec +8 -2
- data/lib/eve_online.rb +9 -4
- data/lib/eve_online/esi/alliance.rb +4 -2
- data/lib/eve_online/esi/alliances.rb +4 -0
- data/lib/eve_online/esi/base.rb +7 -11
- data/lib/eve_online/esi/character.rb +1 -2
- data/lib/eve_online/esi/character_assets.rb +8 -6
- data/lib/eve_online/esi/character_assets_locations.rb +8 -6
- data/lib/eve_online/esi/character_assets_names.rb +8 -6
- data/lib/eve_online/esi/character_attributes.rb +1 -2
- data/lib/eve_online/esi/character_blueprints.rb +8 -6
- data/lib/eve_online/esi/character_bookmark_folders.rb +8 -6
- data/lib/eve_online/esi/character_bookmarks.rb +8 -6
- data/lib/eve_online/esi/character_calendar.rb +8 -6
- data/lib/eve_online/esi/character_clones.rb +9 -8
- data/lib/eve_online/esi/character_fatigue.rb +1 -2
- data/lib/eve_online/esi/character_industry_jobs.rb +8 -6
- data/lib/eve_online/esi/character_killmails_recent.rb +8 -6
- data/lib/eve_online/esi/character_location.rb +1 -2
- data/lib/eve_online/esi/character_loyalty_points.rb +8 -6
- data/lib/eve_online/esi/character_notifications.rb +9 -6
- data/lib/eve_online/esi/character_online.rb +1 -2
- data/lib/eve_online/esi/character_orders.rb +8 -6
- data/lib/eve_online/esi/character_portrait.rb +1 -2
- data/lib/eve_online/esi/character_ship.rb +1 -2
- data/lib/eve_online/esi/character_skill_queue.rb +8 -6
- data/lib/eve_online/esi/character_skills.rb +8 -6
- data/lib/eve_online/esi/character_standings.rb +8 -6
- data/lib/eve_online/esi/character_wallet_journal.rb +8 -6
- data/lib/eve_online/esi/corporation.rb +5 -3
- data/lib/eve_online/esi/corporation_blueprints.rb +8 -6
- data/lib/eve_online/esi/corporation_industry_jobs.rb +8 -6
- data/lib/eve_online/esi/corporation_killmails_recent.rb +8 -6
- data/lib/eve_online/esi/corporation_orders.rb +8 -6
- data/lib/eve_online/esi/dogma_attribute.rb +1 -2
- data/lib/eve_online/esi/dogma_effect.rb +1 -2
- data/lib/eve_online/esi/market_history.rb +8 -6
- data/lib/eve_online/esi/models/alliance.rb +4 -1
- data/lib/eve_online/esi/models/corporation.rb +4 -1
- data/lib/eve_online/esi/models/model_with_etag.rb +13 -0
- data/lib/eve_online/esi/models/star.rb +4 -1
- data/lib/eve_online/esi/models/stargate.rb +4 -1
- data/lib/eve_online/esi/response_with_etag.rb +11 -0
- data/lib/eve_online/esi/server_status.rb +1 -2
- data/lib/eve_online/esi/{ancestries.rb → universe_ancestries.rb} +13 -7
- data/lib/eve_online/esi/{bloodlines.rb → universe_bloodlines.rb} +13 -7
- data/lib/eve_online/esi/universe_constellation.rb +1 -2
- data/lib/eve_online/esi/{factions.rb → universe_factions.rb} +13 -7
- data/lib/eve_online/esi/{races.rb → universe_races.rb} +13 -7
- data/lib/eve_online/esi/universe_region.rb +1 -2
- data/lib/eve_online/esi/universe_star.rb +5 -3
- data/lib/eve_online/esi/universe_stargate.rb +4 -3
- data/lib/eve_online/esi/universe_station.rb +1 -2
- data/lib/eve_online/esi/universe_system_jumps.rb +8 -6
- data/lib/eve_online/esi/universe_system_kills.rb +8 -6
- data/lib/eve_online/esi/universe_type.rb +1 -2
- data/lib/eve_online/esi/war_killmails.rb +8 -6
- data/lib/eve_online/version.rb +1 -1
- metadata +15 -38
- data/server.http +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f78e115be3dc8087c067da541c89add9acd9e4a2a043acaedf796e977d4d3dd6
|
4
|
+
data.tar.gz: e6eb7cb70d743534154f7c65cafa9131639fc75fc6e8eb1993384865c6839edb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb76941ebb70d05c2e38ddc48a26896ecb268f29563f67ee9516059d14ef047c9fe27d0dffb9ad5d89e5be9452c0a99e8ee624fc8dcb54aa6db86fe7c23bcc8e
|
7
|
+
data.tar.gz: 3a496e51abcfec897a158df2564b7051cb8cc95a00b754be9f07153e62cffc1352e467fa208245b3e8f4e9846bad2b3df95b50e67f7c4dd1f937d8d2b5e46552
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.0
|
data/.travis.yml
CHANGED
@@ -5,7 +5,9 @@ rvm:
|
|
5
5
|
- 2.3.8
|
6
6
|
- 2.4.5
|
7
7
|
- 2.5.3
|
8
|
+
- 2.6.0
|
8
9
|
- ruby-head
|
10
|
+
- rbx-3
|
9
11
|
|
10
12
|
gemfile:
|
11
13
|
- gemfiles/activesupport_42.gemfile
|
@@ -22,24 +24,28 @@ matrix:
|
|
22
24
|
exclude:
|
23
25
|
- rvm: ruby-head
|
24
26
|
gemfile: gemfiles/activesupport_42.gemfile
|
27
|
+
- rvm: 2.6.0
|
28
|
+
gemfile: gemfiles/activesupport_42.gemfile
|
25
29
|
- rvm: 2.5.3
|
26
30
|
gemfile: gemfiles/activesupport_42.gemfile
|
27
31
|
- rvm: 2.3.8
|
28
32
|
gemfile: gemfiles/activesupport_edge.gemfile
|
33
|
+
- rvm: 2.4.5
|
34
|
+
gemfile: gemfiles/activesupport_edge.gemfile
|
29
35
|
include:
|
30
|
-
- rvm: jruby-9.2.
|
36
|
+
- rvm: jruby-9.2.5.0
|
31
37
|
gemfile: gemfiles/activesupport_42.gemfile
|
32
38
|
jdk: oraclejdk8
|
33
39
|
env: JRUBY_OPTS='--debug' # get more accurate coverage data
|
34
|
-
- rvm: jruby-9.2.
|
40
|
+
- rvm: jruby-9.2.5.0
|
35
41
|
gemfile: gemfiles/activesupport_50.gemfile
|
36
42
|
jdk: oraclejdk8
|
37
43
|
env: JRUBY_OPTS='--debug' # get more accurate coverage data
|
38
|
-
- rvm: jruby-9.2.
|
44
|
+
- rvm: jruby-9.2.5.0
|
39
45
|
gemfile: gemfiles/activesupport_51.gemfile
|
40
46
|
jdk: oraclejdk8
|
41
47
|
env: JRUBY_OPTS='--debug' # get more accurate coverage data
|
42
|
-
- rvm: jruby-9.2.
|
48
|
+
- rvm: jruby-9.2.5.0
|
43
49
|
gemfile: gemfiles/activesupport_52.gemfile
|
44
50
|
jdk: oraclejdk8
|
45
51
|
env: JRUBY_OPTS='--debug' # get more accurate coverage data
|
@@ -67,6 +73,7 @@ matrix:
|
|
67
73
|
allow_failures:
|
68
74
|
- rvm: ruby-head
|
69
75
|
- rvm: jruby-head
|
76
|
+
- rvm: rbx-3
|
70
77
|
fast_finish: true
|
71
78
|
|
72
79
|
before_script:
|
@@ -81,9 +88,7 @@ before_install:
|
|
81
88
|
|
82
89
|
script:
|
83
90
|
- bundle exec rake
|
84
|
-
- bundle exec mdl README.md
|
85
|
-
- bundle exec mdl CHANGELOG.md
|
86
|
-
- bundle exec mdl TODO.md
|
91
|
+
- bundle exec mdl README.md CHANGELOG.md TODO.md
|
87
92
|
|
88
93
|
after_script:
|
89
94
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v0.21.0
|
4
|
+
|
5
|
+
* Remove `memoist` gem
|
6
|
+
* Fix etag support
|
7
|
+
* Rename `EveOnline::ESI::Base#no_content?` to `#not_modified?`
|
8
|
+
* Add `EveOnline::ESI::Models::ModelWithEtag`
|
9
|
+
* Add `EveOnline::ESI::ResponseWithEtag`
|
10
|
+
* Add `EveOnline::ESI::Models::Stargate#etag`
|
11
|
+
* Add `etag` to `EveOnline::ESI::Models::Stargate#as_json`
|
12
|
+
* Add `EveOnline::ESI::UniverseStar#etag`
|
13
|
+
* Add `etag` to `EveOnline::ESI::Models::Star#as_json`
|
14
|
+
* Add `EveOnline::ESI::Alliances#etag`
|
15
|
+
* Add `etag` to `EveOnline::ESI::Models::Alliance#as_json`
|
16
|
+
* Add `EveOnline::ESI::Alliance#etag`
|
17
|
+
* Rename `EveOnline::ESI::Races` to `EveOnline::ESI::UniverseRaces`
|
18
|
+
* Add `EveOnline::ESI::UniverseRaces#etag`
|
19
|
+
* Rename `EveOnline::ESI::Factions` to `EveOnline::ESI::UniverseFactions`
|
20
|
+
* Add `EveOnline::ESI::UniverseFactions#etag`
|
21
|
+
* Rename `EveOnline::ESI::Bloodlines` to `EveOnline::ESI::UniverseBloodlines`
|
22
|
+
* Add `EveOnline::ESI::UniverseBloodlines#etag`
|
23
|
+
* Rename `EveOnline::ESI::Ancestries` to `EveOnline::ESI::UniverseAncestries`
|
24
|
+
* Add `EveOnline::ESI::UniverseAncestries#etag`
|
25
|
+
* Add `EveOnline::ESI::Models::Corporation#etag`
|
26
|
+
* Add `etag` to `EveOnline::ESI::Models::Corporation#as_json`
|
27
|
+
* Add `EveOnline::ESI::Corporation#etag`
|
28
|
+
|
3
29
|
## v0.20.0
|
4
30
|
|
5
31
|
* Add `EveOnline::ESI::UniverseCategories`
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,15 +1,23 @@
|
|
1
|
+
GIT
|
2
|
+
remote: https://github.com/bblimke/webmock.git
|
3
|
+
revision: a135a37ff5f982a43806c52f2f7e778baba80797
|
4
|
+
branch: master
|
5
|
+
specs:
|
6
|
+
webmock (3.4.2)
|
7
|
+
addressable (>= 2.3.6)
|
8
|
+
crack (>= 0.3.2)
|
9
|
+
hashdiff
|
10
|
+
|
1
11
|
PATH
|
2
12
|
remote: .
|
3
13
|
specs:
|
4
|
-
eve_online (0.
|
14
|
+
eve_online (0.21.0)
|
5
15
|
activesupport (>= 4.2.0)
|
6
|
-
json
|
7
|
-
memoist
|
8
16
|
|
9
17
|
GEM
|
10
18
|
remote: https://rubygems.org/
|
11
19
|
specs:
|
12
|
-
activesupport (5.2.
|
20
|
+
activesupport (5.2.2)
|
13
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
22
|
i18n (>= 0.7, < 2)
|
15
23
|
minitest (~> 5.1)
|
@@ -19,13 +27,13 @@ GEM
|
|
19
27
|
ast (2.4.0)
|
20
28
|
awesome_print (1.8.0)
|
21
29
|
coderay (1.1.2)
|
22
|
-
concurrent-ruby (1.
|
30
|
+
concurrent-ruby (1.1.4)
|
23
31
|
crack (0.4.3)
|
24
32
|
safe_yaml (~> 1.0.0)
|
25
33
|
diff-lcs (1.3)
|
26
34
|
docile (1.3.1)
|
27
35
|
hashdiff (0.3.7)
|
28
|
-
i18n (1.
|
36
|
+
i18n (1.3.0)
|
29
37
|
concurrent-ruby (~> 1.0)
|
30
38
|
jaro_winkler (1.5.1)
|
31
39
|
json (2.1.0)
|
@@ -34,25 +42,24 @@ GEM
|
|
34
42
|
kramdown (~> 1.12, >= 1.12.0)
|
35
43
|
mixlib-cli (~> 1.7, >= 1.7.0)
|
36
44
|
mixlib-config (~> 2.2, >= 2.2.1)
|
37
|
-
|
38
|
-
|
39
|
-
mini_portile2 (2.3.0)
|
45
|
+
method_source (0.9.2)
|
46
|
+
mini_portile2 (2.4.0)
|
40
47
|
minitest (5.11.3)
|
41
48
|
mixlib-cli (1.7.0)
|
42
|
-
mixlib-config (2.2.
|
49
|
+
mixlib-config (2.2.18)
|
43
50
|
tomlrb
|
44
|
-
nokogiri (1.
|
45
|
-
mini_portile2 (~> 2.
|
51
|
+
nokogiri (1.9.1)
|
52
|
+
mini_portile2 (~> 2.4.0)
|
46
53
|
parallel (1.12.1)
|
47
|
-
parser (2.5.
|
54
|
+
parser (2.5.3.0)
|
48
55
|
ast (~> 2.4.0)
|
49
56
|
powerpack (0.1.2)
|
50
|
-
pry (0.
|
57
|
+
pry (0.12.2)
|
51
58
|
coderay (~> 1.1.0)
|
52
59
|
method_source (~> 0.9.0)
|
53
60
|
public_suffix (3.0.3)
|
54
61
|
rainbow (3.0.0)
|
55
|
-
rake (12.3.
|
62
|
+
rake (12.3.2)
|
56
63
|
rspec (3.8.0)
|
57
64
|
rspec-core (~> 3.8.0)
|
58
65
|
rspec-expectations (~> 3.8.0)
|
@@ -69,16 +76,16 @@ GEM
|
|
69
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
77
|
rspec-support (~> 3.8.0)
|
71
78
|
rspec-support (3.8.0)
|
72
|
-
rubocop (0.
|
79
|
+
rubocop (0.61.1)
|
73
80
|
jaro_winkler (~> 1.5.1)
|
74
81
|
parallel (~> 1.10)
|
75
82
|
parser (>= 2.5, != 2.5.1.1)
|
76
83
|
powerpack (~> 0.1)
|
77
84
|
rainbow (>= 2.2.2, < 4.0)
|
78
85
|
ruby-progressbar (~> 1.7)
|
79
|
-
unicode-display_width (~> 1.
|
80
|
-
rubocop-rspec (1.30.
|
81
|
-
rubocop (>= 0.
|
86
|
+
unicode-display_width (~> 1.4.0)
|
87
|
+
rubocop-rspec (1.30.1)
|
88
|
+
rubocop (>= 0.60.0)
|
82
89
|
ruby-progressbar (1.10.0)
|
83
90
|
safe_yaml (1.0.4)
|
84
91
|
simplecov (0.16.1)
|
@@ -87,15 +94,11 @@ GEM
|
|
87
94
|
simplecov-html (~> 0.10.0)
|
88
95
|
simplecov-html (0.10.2)
|
89
96
|
thread_safe (0.3.6)
|
90
|
-
tomlrb (1.2.
|
97
|
+
tomlrb (1.2.8)
|
91
98
|
tzinfo (1.2.5)
|
92
99
|
thread_safe (~> 0.1)
|
93
|
-
unicode-display_width (1.4.
|
100
|
+
unicode-display_width (1.4.1)
|
94
101
|
vcr (4.0.0)
|
95
|
-
webmock (3.4.2)
|
96
|
-
addressable (>= 2.3.6)
|
97
|
-
crack (>= 0.3.2)
|
98
|
-
hashdiff
|
99
102
|
|
100
103
|
PLATFORMS
|
101
104
|
ruby
|
@@ -114,7 +117,7 @@ DEPENDENCIES
|
|
114
117
|
rubocop-rspec
|
115
118
|
simplecov
|
116
119
|
vcr
|
117
|
-
webmock
|
120
|
+
webmock!
|
118
121
|
|
119
122
|
BUNDLED WITH
|
120
|
-
1.
|
123
|
+
1.17.2
|
data/Gemfile.mutant.lock
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
eve_online (0.
|
4
|
+
eve_online (0.21.0)
|
5
5
|
activesupport (>= 4.2.0)
|
6
|
-
json
|
7
|
-
memoist
|
8
6
|
|
9
7
|
GEM
|
10
8
|
remote: https://rubygems.org/
|
11
9
|
specs:
|
12
10
|
abstract_type (0.0.7)
|
13
|
-
activesupport (5.2.
|
11
|
+
activesupport (5.2.2)
|
14
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
13
|
i18n (>= 0.7, < 2)
|
16
14
|
minitest (~> 5.1)
|
@@ -28,14 +26,14 @@ GEM
|
|
28
26
|
concord (0.1.5)
|
29
27
|
adamantium (~> 0.2.0)
|
30
28
|
equalizer (~> 0.0.9)
|
31
|
-
concurrent-ruby (1.
|
29
|
+
concurrent-ruby (1.1.4)
|
32
30
|
crack (0.4.3)
|
33
31
|
safe_yaml (~> 1.0.0)
|
34
32
|
diff-lcs (1.3)
|
35
33
|
docile (1.3.1)
|
36
34
|
equalizer (0.0.11)
|
37
35
|
hashdiff (0.3.7)
|
38
|
-
i18n (1.
|
36
|
+
i18n (1.3.0)
|
39
37
|
concurrent-ruby (~> 1.0)
|
40
38
|
ice_nine (0.11.2)
|
41
39
|
json (2.1.0)
|
@@ -44,13 +42,12 @@ GEM
|
|
44
42
|
kramdown (~> 1.12, >= 1.12.0)
|
45
43
|
mixlib-cli (~> 1.7, >= 1.7.0)
|
46
44
|
mixlib-config (~> 2.2, >= 2.2.1)
|
47
|
-
memoist (0.16.0)
|
48
45
|
memoizable (0.4.2)
|
49
46
|
thread_safe (~> 0.3, >= 0.3.1)
|
50
|
-
mini_portile2 (2.
|
47
|
+
mini_portile2 (2.4.0)
|
51
48
|
minitest (5.11.3)
|
52
49
|
mixlib-cli (1.7.0)
|
53
|
-
mixlib-config (2.2.
|
50
|
+
mixlib-config (2.2.18)
|
54
51
|
tomlrb
|
55
52
|
morpher (0.2.6)
|
56
53
|
abstract_type (~> 0.0.7)
|
@@ -61,7 +58,7 @@ GEM
|
|
61
58
|
equalizer (~> 0.0.9)
|
62
59
|
ice_nine (~> 0.11.0)
|
63
60
|
procto (~> 0.0.2)
|
64
|
-
mutant (0.8.
|
61
|
+
mutant (0.8.23)
|
65
62
|
abstract_type (~> 0.0.7)
|
66
63
|
adamantium (~> 0.2.0)
|
67
64
|
anima (~> 0.3.0)
|
@@ -72,30 +69,28 @@ GEM
|
|
72
69
|
ice_nine (~> 0.11.1)
|
73
70
|
memoizable (~> 0.4.2)
|
74
71
|
morpher (~> 0.2.6)
|
75
|
-
parallel (~> 1.3)
|
76
72
|
parser (~> 2.5.1)
|
77
73
|
procto (~> 0.0.2)
|
78
|
-
regexp_parser (~>
|
79
|
-
unparser (~> 0.2
|
80
|
-
mutant-rspec (0.8.
|
81
|
-
mutant (~> 0.8.
|
74
|
+
regexp_parser (~> 1.2)
|
75
|
+
unparser (~> 0.4.2)
|
76
|
+
mutant-rspec (0.8.23)
|
77
|
+
mutant (~> 0.8.23)
|
82
78
|
rspec-core (>= 3.4.0, < 4.0.0)
|
83
|
-
nokogiri (1.
|
84
|
-
mini_portile2 (~> 2.
|
85
|
-
|
86
|
-
parser (2.5.1.2)
|
79
|
+
nokogiri (1.9.1)
|
80
|
+
mini_portile2 (~> 2.4.0)
|
81
|
+
parser (2.5.3.0)
|
87
82
|
ast (~> 2.4.0)
|
88
83
|
procto (0.0.3)
|
89
84
|
public_suffix (3.0.3)
|
90
|
-
rake (12.3.
|
91
|
-
regexp_parser (
|
85
|
+
rake (12.3.2)
|
86
|
+
regexp_parser (1.3.0)
|
92
87
|
rspec (3.8.0)
|
93
88
|
rspec-core (~> 3.8.0)
|
94
89
|
rspec-expectations (~> 3.8.0)
|
95
90
|
rspec-mocks (~> 3.8.0)
|
96
91
|
rspec-core (3.8.0)
|
97
92
|
rspec-support (~> 3.8.0)
|
98
|
-
rspec-expectations (3.8.
|
93
|
+
rspec-expectations (3.8.2)
|
99
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
100
95
|
rspec-support (~> 3.8.0)
|
101
96
|
rspec-its (1.2.0)
|
@@ -112,10 +107,10 @@ GEM
|
|
112
107
|
simplecov-html (~> 0.10.0)
|
113
108
|
simplecov-html (0.10.2)
|
114
109
|
thread_safe (0.3.6)
|
115
|
-
tomlrb (1.2.
|
110
|
+
tomlrb (1.2.8)
|
116
111
|
tzinfo (1.2.5)
|
117
112
|
thread_safe (~> 0.1)
|
118
|
-
unparser (0.2
|
113
|
+
unparser (0.4.2)
|
119
114
|
abstract_type (~> 0.0.7)
|
120
115
|
adamantium (~> 0.2.0)
|
121
116
|
concord (~> 0.1.5)
|
@@ -147,4 +142,4 @@ DEPENDENCIES
|
|
147
142
|
webmock
|
148
143
|
|
149
144
|
BUNDLED WITH
|
150
|
-
1.
|
145
|
+
1.17.2
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ This gem implement Ruby API for EveOnline MMORPG (ESI).
|
|
10
10
|
|
11
11
|
Looking for [EveOnline SSO OAuth2 Strategy for OmniAuth](https://github.com/evemonk/omniauth-eve_online-sso)?
|
12
12
|
|
13
|
-
This gem was extracted from [EveMonk](
|
13
|
+
This gem was extracted from [EveMonk](https://evemonk.com). Source code of evemonk backend published [here](https://github.com/evemonk/evemonk).
|
14
14
|
|
15
15
|
## TOC
|
16
16
|
|
@@ -49,9 +49,11 @@ gem install eve_online
|
|
49
49
|
* MRI 2.3
|
50
50
|
* MRI 2.4
|
51
51
|
* MRI 2.5
|
52
|
+
* MRI 2.6
|
52
53
|
* MRI (head)
|
53
|
-
* JRuby 9.2.
|
54
|
+
* JRuby 9.2.5.0
|
54
55
|
* JRuby (head)
|
56
|
+
* Rubinuis (latest)
|
55
57
|
|
56
58
|
## Supported rails versions
|
57
59
|
|
@@ -72,15 +74,17 @@ alliances = EveOnline::ESI::Alliances.new
|
|
72
74
|
|
73
75
|
alliances.scope # => nil
|
74
76
|
|
75
|
-
alliances.alliance_ids.size # =>
|
77
|
+
alliances.alliance_ids.size # => 3028
|
76
78
|
|
77
79
|
alliances.alliance_ids.first # => 1354830081
|
80
|
+
|
81
|
+
alliances.etag # => "97f0c48679f2b200043cdbc3406291fc945bcd652ddc7fc11ccdc37a"
|
78
82
|
```
|
79
83
|
|
80
84
|
#### Get alliance information
|
81
85
|
|
82
86
|
```ruby
|
83
|
-
options = { alliance_id:
|
87
|
+
options = { alliance_id: 99_005_443 }
|
84
88
|
|
85
89
|
alliance = EveOnline::ESI::Alliance.new(options)
|
86
90
|
|
@@ -92,7 +96,8 @@ alliance.as_json # => {:creator_corporation_id=>98306624,
|
|
92
96
|
# :executor_corporation_id=>98306624,
|
93
97
|
# :faction_id=>nil,
|
94
98
|
# :name=>"Kids With Guns Alliance",
|
95
|
-
# :ticker=>"-KWG-"
|
99
|
+
# :ticker=>"-KWG-",
|
100
|
+
# :etag=>"6780e53a01c7d9715b5f445126c4f2c137da4be79e4debe541ce3ab2"}
|
96
101
|
|
97
102
|
alliance.creator_corporation_id # => 98306624
|
98
103
|
alliance.creator_id # => 94195096
|
@@ -101,12 +106,13 @@ alliance.executor_corporation_id # => 98306624
|
|
101
106
|
alliance.faction_id # => nil
|
102
107
|
alliance.name # => "Kids With Guns Alliance"
|
103
108
|
alliance.ticker # => "-KWG-"
|
109
|
+
alliance.etag # => "6780e53a01c7d9715b5f445126c4f2c137da4be79e4debe541ce3ab2"
|
104
110
|
```
|
105
111
|
|
106
112
|
#### List alliance's corporations
|
107
113
|
|
108
114
|
```ruby
|
109
|
-
options = { alliance_id:
|
115
|
+
options = { alliance_id: 99_005_443 }
|
110
116
|
|
111
117
|
alliance_corporations = EveOnline::ESI::AllianceCorporations.new(options)
|
112
118
|
|
@@ -120,7 +126,7 @@ alliance_corporations.corporation_ids.first # => 98134807
|
|
120
126
|
#### Get alliance icon
|
121
127
|
|
122
128
|
```ruby
|
123
|
-
options = { alliance_id:
|
129
|
+
options = { alliance_id: 99_005_443 }
|
124
130
|
|
125
131
|
alliance_icon = EveOnline::ESI::AllianceIcon.new(options)
|
126
132
|
|
@@ -609,7 +615,7 @@ character_implants.implant_ids # => [9899, 9941, 9942, 9943, 9956]
|
|
609
615
|
#### Get corporation information
|
610
616
|
|
611
617
|
```ruby
|
612
|
-
options = { corporation_id:
|
618
|
+
options = { corporation_id: 98_468_592 }
|
613
619
|
|
614
620
|
corporation = EveOnline::ESI::Corporation.new(options)
|
615
621
|
|
@@ -627,7 +633,8 @@ corporation.as_json # => {:alliance_id=>99001258,
|
|
627
633
|
# :shares=>1000,
|
628
634
|
# :tax_rate=>0.1,
|
629
635
|
# :ticker=>"BUBIC",
|
630
|
-
# :corporation_url=>"http://"
|
636
|
+
# :corporation_url=>"http://",
|
637
|
+
# :etag=>"9f1b3761e93aba36ceaea6328e62031ec777317c70b7439b665d93fe"}
|
631
638
|
|
632
639
|
corporation.alliance_id # => 99001258
|
633
640
|
corporation.ceo_id # => 1721864142
|
@@ -642,6 +649,7 @@ corporation.shares # => 1000
|
|
642
649
|
corporation.tax_rate # => 0.1
|
643
650
|
corporation.ticker # => "BUBIC"
|
644
651
|
corporation.corporation_url # => "http://"
|
652
|
+
corporation.etag # => "9f1b3761e93aba36ceaea6328e62031ec777317c70b7439b665d93fe"
|
645
653
|
```
|
646
654
|
|
647
655
|
#### Get alliance history
|
@@ -1487,7 +1495,7 @@ server_status.vip # => nil
|
|
1487
1495
|
```ruby
|
1488
1496
|
options = { language: 'en-us' }
|
1489
1497
|
|
1490
|
-
ancestries = EveOnline::ESI::
|
1498
|
+
ancestries = EveOnline::ESI::UniverseAncestries.new(options)
|
1491
1499
|
|
1492
1500
|
ancestries.scope # => nil
|
1493
1501
|
|
@@ -1508,6 +1516,8 @@ ancestry.icon_id # => 1664
|
|
1508
1516
|
ancestry.ancestry_id # => 24
|
1509
1517
|
ancestry.name # => "Slave Child"
|
1510
1518
|
ancestry.short_description # => "Torn from the cold and brought to the warmth of a new life."
|
1519
|
+
|
1520
|
+
ancestries.etag # => "e3f6a76b4a1287f54966c6253f8f5d6ac6460bc43d47570331b43e0b"
|
1511
1521
|
```
|
1512
1522
|
|
1513
1523
|
#### Get asteroid belt information
|
@@ -1539,7 +1549,7 @@ asteroid_belt.position.z # => -73505464320.0
|
|
1539
1549
|
```ruby
|
1540
1550
|
options = { language: 'en-us' }
|
1541
1551
|
|
1542
|
-
bloodlines = EveOnline::ESI::
|
1552
|
+
bloodlines = EveOnline::ESI::UniverseBloodlines.new(options)
|
1543
1553
|
|
1544
1554
|
bloodlines.scope # => nil
|
1545
1555
|
|
@@ -1570,6 +1580,8 @@ bloodline.perception # => 9
|
|
1570
1580
|
bloodline.race_id # => 2
|
1571
1581
|
bloodline.ship_type_id # => 588
|
1572
1582
|
bloodline.willpower # => 7
|
1583
|
+
|
1584
|
+
bloodlines.etag # => "e3f6a76b4a1287f54966c6253f8f5d6ac6460bc43d47570331b43e0b"
|
1573
1585
|
```
|
1574
1586
|
|
1575
1587
|
#### Get item categories
|
@@ -1650,7 +1662,7 @@ constellation.position.z # => -4.273873181840197e+16
|
|
1650
1662
|
```ruby
|
1651
1663
|
options = { language: 'en-us' }
|
1652
1664
|
|
1653
|
-
factions = EveOnline::ESI::
|
1665
|
+
factions = EveOnline::ESI::UniverseFactions.new(options)
|
1654
1666
|
|
1655
1667
|
factions.scope # => nil
|
1656
1668
|
|
@@ -1679,6 +1691,8 @@ faction.size_factor # => 5.0
|
|
1679
1691
|
faction.solar_system_id # => 30002544
|
1680
1692
|
faction.station_count # => 570
|
1681
1693
|
faction.station_system_count # => 291
|
1694
|
+
|
1695
|
+
factions.etag # => "e3f6a76b4a1287f54966c6253f8f5d6ac6460bc43d47570331b43e0b"
|
1682
1696
|
```
|
1683
1697
|
|
1684
1698
|
#### Get graphics
|
@@ -1823,7 +1837,7 @@ planet.position.z # => -73529712226.0
|
|
1823
1837
|
```ruby
|
1824
1838
|
options = { language: 'en-us' }
|
1825
1839
|
|
1826
|
-
races = EveOnline::ESI::
|
1840
|
+
races = EveOnline::ESI::UniverseRaces.new(options)
|
1827
1841
|
|
1828
1842
|
races.scope # => nil
|
1829
1843
|
|
@@ -1840,6 +1854,8 @@ race.alliance_id # => 500002
|
|
1840
1854
|
race.description # => "Once a thriving tribal civilization, the Minmatar..."
|
1841
1855
|
race.name # => "Minmatar"
|
1842
1856
|
race.race_id # => 2
|
1857
|
+
|
1858
|
+
races.etag # => "e3f6a76b4a1287f54966c6253f8f5d6ac6460bc43d47570331b43e0b"
|
1843
1859
|
```
|
1844
1860
|
|
1845
1861
|
#### Get regions
|
@@ -1886,12 +1902,14 @@ stargate.scope # => nil
|
|
1886
1902
|
stargate.as_json # => {:name=>"Stargate (Akpivem)",
|
1887
1903
|
# :stargate_id=>50000056,
|
1888
1904
|
# :system_id=>30000001,
|
1889
|
-
# :type_id=>29624
|
1905
|
+
# :type_id=>29624,
|
1906
|
+
# :etag=>"2e28835f91024608719726b655591d531125a023e122859d174923d5"}
|
1890
1907
|
|
1891
1908
|
stargate.name # => "Stargate (Akpivem)"
|
1892
1909
|
stargate.stargate_id # => 50000056
|
1893
1910
|
stargate.system_id # => 30000001
|
1894
1911
|
stargate.type_id # => 29624
|
1912
|
+
stargate.etag # => "2e28835f91024608719726b655591d531125a023e122859d174923d5"
|
1895
1913
|
|
1896
1914
|
stargate.destination.as_json # => {:stargate_id=>50000342,
|
1897
1915
|
# :system_id=>30000003}
|
@@ -1924,7 +1942,8 @@ star.as_json # => {:age=>14262808228,
|
|
1924
1942
|
# :solar_system_id=>30000001,
|
1925
1943
|
# :spectral_class=>"K2 V",
|
1926
1944
|
# :temperature=>4567,
|
1927
|
-
# :type_id=>45041
|
1945
|
+
# :type_id=>45041,
|
1946
|
+
# :etag=>"2e28835f91024608719726b655591d531125a023e122859d174923d5"}
|
1928
1947
|
|
1929
1948
|
star.age # => 14262808228
|
1930
1949
|
star.luminosity # => 0.01575000025331974
|
@@ -1934,6 +1953,7 @@ star.solar_system_id # => 30000001
|
|
1934
1953
|
star.spectral_class # => "K2 V"
|
1935
1954
|
star.temperature # => 4567
|
1936
1955
|
star.type_id # => 45041
|
1956
|
+
star.etag # => "2e28835f91024608719726b655591d531125a023e122859d174923d5"
|
1937
1957
|
|
1938
1958
|
# options = { id: 60012526 }
|
1939
1959
|
|
@@ -2324,7 +2344,7 @@ If you want to catch all exceptions `rescue` `EveOnline::Exceptions::Base`. E.g.
|
|
2324
2344
|
|
2325
2345
|
```ruby
|
2326
2346
|
begin
|
2327
|
-
races = EveOnline::ESI::
|
2347
|
+
races = EveOnline::ESI::UniverseRaces.new
|
2328
2348
|
|
2329
2349
|
race = races.races.first
|
2330
2350
|
|
@@ -2362,13 +2382,13 @@ You can configure default timeouts with adding `read_timeout:` and `open_timeout
|
|
2362
2382
|
```ruby
|
2363
2383
|
options = { read_timeout: 120, open_timeout: 120 } # 120 seconds
|
2364
2384
|
|
2365
|
-
races = EveOnline::ESI::
|
2385
|
+
races = EveOnline::ESI::UniverseRaces.new(options)
|
2366
2386
|
```
|
2367
2387
|
|
2368
2388
|
Or, dynamically:
|
2369
2389
|
|
2370
2390
|
```ruby
|
2371
|
-
races = EveOnline::ESI::
|
2391
|
+
races = EveOnline::ESI::UniverseRaces.new
|
2372
2392
|
|
2373
2393
|
races.open_timeout # => 60
|
2374
2394
|
races.open_timeout = 120
|
@@ -2386,7 +2406,7 @@ Default datasource is `tranquility`. If you want to change it, for e.g., to `sin
|
|
2386
2406
|
```ruby
|
2387
2407
|
options = { datasource: 'singularity' }
|
2388
2408
|
|
2389
|
-
races = EveOnline::ESI::
|
2409
|
+
races = EveOnline::ESI::UniverseRaces.new(options)
|
2390
2410
|
```
|
2391
2411
|
|
2392
2412
|
## Languages support
|
@@ -2398,7 +2418,7 @@ If you want change it, for e.g., to `de`, add `language: 'de'` to default hash w
|
|
2398
2418
|
```ruby
|
2399
2419
|
options = { language: 'de' }
|
2400
2420
|
|
2401
|
-
races = EveOnline::ESI::
|
2421
|
+
races = EveOnline::ESI::UniverseRaces.new(options)
|
2402
2422
|
```
|
2403
2423
|
|
2404
2424
|
## Oj as JSON Parser
|
@@ -2408,7 +2428,7 @@ require 'oj'
|
|
2408
2428
|
|
2409
2429
|
Oj.mimic_JSON()
|
2410
2430
|
|
2411
|
-
races = EveOnline::ESI::
|
2431
|
+
races = EveOnline::ESI::UniverseRaces.new
|
2412
2432
|
```
|
2413
2433
|
|
2414
2434
|
## Useful links
|