eve_online 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 282c82441595ee8a0aecc718d10a7199633acea616c62e133f80bd654fce0f10
4
- data.tar.gz: 69b9eeb7ff87c9ae782a70831f0c9ecfba5a778e964c734bd0147a0ec8ac12a1
3
+ metadata.gz: 8ffdc2d320b2e622d1ef6854427ea8cf1766caf92728b650cf883743ad48f3fc
4
+ data.tar.gz: 351019ab095b9a5bf5501d27334c96bd7c13e39411c97627118059c5d79d2af9
5
5
  SHA512:
6
- metadata.gz: 1d30e4942178d72726b583edbe94b7db9302e440eba26d1945bf1f248f8e42ff678f251bc696ce3d0cc73aec95fbc869160cbfaeb3a19cd72a0f02d82c93ff0e
7
- data.tar.gz: a811e9791d94fbf81750cef43963ebb4c6f12308d0bb96e524eec8c5d2060399b7419fc51a5a3a309ee6f396638cfd9ceed5d7e65c31e76b9e290ed617c233a1
6
+ metadata.gz: 81a63fb458887869b4db9e0e4c66573e8dfe769dab3602ba50733252a1d82212338cd7ac8134b9d9d0aec9406a0a4afbfbc3426786c98df6445da06c91b002e7
7
+ data.tar.gz: 5e9fd5089f51b4360cd8e73679d69e3e3034b4e2310a7d410e3ee325540298855672b6d905fcbcf9b49f33c3c3a662f68c06213f723cf16183457596a15b28d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.33.0
4
+
5
+ * Sync with new ESI API
6
+ * Add `EveOnline::Exceptions::ErrorLimited`
7
+
3
8
  ## v0.32.0
4
9
 
5
10
  * Sync with new ESI API
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eve_online (0.31.0)
4
+ eve_online (0.33.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.2.2)
10
+ activesupport (6.0.3)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2)
15
+ zeitwerk (~> 2.2, >= 2.2.2)
16
16
  addressable (2.7.0)
17
17
  public_suffix (>= 2.0.2, < 5.0)
18
18
  appraisal (2.2.0)
@@ -35,7 +35,8 @@ GEM
35
35
  i18n (1.8.2)
36
36
  concurrent-ruby (~> 1.0)
37
37
  jaro_winkler (1.5.4)
38
- kramdown (2.1.0)
38
+ kramdown (2.2.1)
39
+ rexml
39
40
  kramdown-parser-gfm (1.1.0)
40
41
  kramdown (~> 2.0)
41
42
  mdl (0.9.0)
@@ -52,7 +53,7 @@ GEM
52
53
  nokogiri (1.10.9)
53
54
  mini_portile2 (~> 2.4.0)
54
55
  parallel (1.19.1)
55
- parser (2.7.1.1)
56
+ parser (2.7.1.2)
56
57
  ast (~> 2.4.0)
57
58
  pry (0.13.1)
58
59
  coderay (~> 1.1)
@@ -65,8 +66,8 @@ GEM
65
66
  rspec-core (~> 3.9.0)
66
67
  rspec-expectations (~> 3.9.0)
67
68
  rspec-mocks (~> 3.9.0)
68
- rspec-core (3.9.1)
69
- rspec-support (~> 3.9.1)
69
+ rspec-core (3.9.2)
70
+ rspec-support (~> 3.9.3)
70
71
  rspec-expectations (3.9.1)
71
72
  diff-lcs (>= 1.2.0, < 2.0)
72
73
  rspec-support (~> 3.9.0)
@@ -76,15 +77,15 @@ GEM
76
77
  rspec-mocks (3.9.1)
77
78
  diff-lcs (>= 1.2.0, < 2.0)
78
79
  rspec-support (~> 3.9.0)
79
- rspec-support (3.9.2)
80
- rubocop (0.80.1)
80
+ rspec-support (3.9.3)
81
+ rubocop (0.82.0)
81
82
  jaro_winkler (~> 1.5.1)
82
83
  parallel (~> 1.10)
83
84
  parser (>= 2.7.0.1)
84
85
  rainbow (>= 2.2.2, < 4.0)
85
86
  rexml
86
87
  ruby-progressbar (~> 1.7)
87
- unicode-display_width (>= 1.4.0, < 1.7)
88
+ unicode-display_width (>= 1.4.0, < 2.0)
88
89
  rubocop-performance (1.5.2)
89
90
  rubocop (>= 0.71.0)
90
91
  ruby-progressbar (1.10.1)
@@ -96,15 +97,15 @@ GEM
96
97
  docile (~> 1.1)
97
98
  simplecov-html (~> 0.11)
98
99
  simplecov-html (0.12.2)
99
- standard (0.2.4)
100
- rubocop (~> 0.80.1)
100
+ standard (0.3.0)
101
+ rubocop (~> 0.82.0)
101
102
  rubocop-performance (~> 1.5.2)
102
103
  thor (1.0.1)
103
104
  thread_safe (0.3.6)
104
105
  tomlrb (1.3.0)
105
106
  tzinfo (1.2.7)
106
107
  thread_safe (~> 0.1)
107
- unicode-display_width (1.6.1)
108
+ unicode-display_width (1.7.0)
108
109
  vcr (5.1.0)
109
110
  webmock (3.8.3)
110
111
  addressable (>= 2.3.6)
data/Gemfile.mutant.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eve_online (0.31.0)
4
+ eve_online (0.33.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  abstract_type (0.0.7)
11
- activesupport (6.0.2.2)
11
+ activesupport (6.0.3)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 0.7, < 2)
14
14
  minitest (~> 5.1)
15
15
  tzinfo (~> 1.1)
16
- zeitwerk (~> 2.2)
16
+ zeitwerk (~> 2.2, >= 2.2.2)
17
17
  adamantium (0.2.0)
18
18
  ice_nine (~> 0.11.0)
19
19
  memoizable (~> 0.4.0)
@@ -41,7 +41,8 @@ GEM
41
41
  i18n (1.8.2)
42
42
  concurrent-ruby (~> 1.0)
43
43
  ice_nine (0.11.2)
44
- kramdown (2.1.0)
44
+ kramdown (2.2.1)
45
+ rexml
45
46
  kramdown-parser-gfm (1.1.0)
46
47
  kramdown (~> 2.0)
47
48
  mdl (0.9.0)
@@ -88,12 +89,13 @@ GEM
88
89
  procto (0.0.3)
89
90
  public_suffix (4.0.4)
90
91
  rake (13.0.1)
92
+ rexml (3.2.4)
91
93
  rspec (3.9.0)
92
94
  rspec-core (~> 3.9.0)
93
95
  rspec-expectations (~> 3.9.0)
94
96
  rspec-mocks (~> 3.9.0)
95
- rspec-core (3.9.1)
96
- rspec-support (~> 3.9.1)
97
+ rspec-core (3.9.2)
98
+ rspec-support (~> 3.9.3)
97
99
  rspec-expectations (3.9.1)
98
100
  diff-lcs (>= 1.2.0, < 2.0)
99
101
  rspec-support (~> 3.9.0)
@@ -103,7 +105,7 @@ GEM
103
105
  rspec-mocks (3.9.1)
104
106
  diff-lcs (>= 1.2.0, < 2.0)
105
107
  rspec-support (~> 3.9.0)
106
- rspec-support (3.9.2)
108
+ rspec-support (3.9.3)
107
109
  safe_yaml (1.0.5)
108
110
  simplecov (0.18.5)
109
111
  docile (~> 1.1)
@@ -3,7 +3,7 @@
3
3
  module EveOnline
4
4
  module ESI
5
5
  class CharacterCalendar < Base
6
- API_PATH = "/v1/characters/%<character_id>s/calendar/"
6
+ API_PATH = "/v2/characters/%<character_id>s/calendar/"
7
7
 
8
8
  attr_reader :character_id, :from_event
9
9
 
@@ -5,7 +5,7 @@ module EveOnline
5
5
  class CharacterCalendarEvent < Base
6
6
  extend Forwardable
7
7
 
8
- API_PATH = "/v3/characters/%<character_id>s/calendar/%<event_id>s/"
8
+ API_PATH = "/v4/characters/%<character_id>s/calendar/%<event_id>s/"
9
9
 
10
10
  attr_reader :character_id, :event_id
11
11
 
@@ -7,7 +7,7 @@ module EveOnline
7
7
  class CharacterLocation < Base
8
8
  extend Forwardable
9
9
 
10
- API_PATH = "/v1/characters/%<character_id>s/location/"
10
+ API_PATH = "/v2/characters/%<character_id>s/location/"
11
11
 
12
12
  attr_reader :character_id
13
13
 
@@ -7,7 +7,7 @@ module EveOnline
7
7
  class CharacterOnline < Base
8
8
  extend Forwardable
9
9
 
10
- API_PATH = "/v2/characters/%<character_id>s/online/"
10
+ API_PATH = "/v3/characters/%<character_id>s/online/"
11
11
 
12
12
  attr_reader :character_id
13
13
 
@@ -7,7 +7,7 @@ module EveOnline
7
7
  class CharacterShip < Base
8
8
  extend Forwardable
9
9
 
10
- API_PATH = "/v1/characters/%<character_id>s/ship/"
10
+ API_PATH = "/v2/characters/%<character_id>s/ship/"
11
11
 
12
12
  attr_reader :character_id
13
13
 
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EveOnline
4
+ module Exceptions
5
+ class ErrorLimited < Base
6
+ end
7
+ end
8
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EveOnline
4
- VERSION = "0.32.0"
4
+ VERSION = "0.33.0"
5
5
  end
data/lib/eve_online.rb CHANGED
@@ -14,6 +14,7 @@ require "eve_online/exceptions/bad_gateway"
14
14
  require "eve_online/exceptions/service_unavailable"
15
15
  require "eve_online/exceptions/no_content"
16
16
  require "eve_online/exceptions/not_modified"
17
+ require "eve_online/exceptions/error_limited"
17
18
 
18
19
  # ESI API
19
20
  require "eve_online/esi/base"
@@ -228,3 +229,9 @@ require "eve_online/formulas/blueprint_copy_time"
228
229
 
229
230
  module EveOnline
230
231
  end
232
+
233
+ # class Net::HTTPErrorLimited < Net::HTTPClientError # 420
234
+ # HAS_BODY = false
235
+ # end
236
+ #
237
+ # Net::HTTPResponse::CODE_TO_OBJ.merge!("420"=>Net::HTTPErrorLimited)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eve_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Zubkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2020-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -346,6 +346,7 @@ files:
346
346
  - lib/eve_online/exceptions/bad_gateway.rb
347
347
  - lib/eve_online/exceptions/bad_request.rb
348
348
  - lib/eve_online/exceptions/base.rb
349
+ - lib/eve_online/exceptions/error_limited.rb
349
350
  - lib/eve_online/exceptions/forbidden.rb
350
351
  - lib/eve_online/exceptions/internal_server_error.rb
351
352
  - lib/eve_online/exceptions/no_content.rb