esi 0.1.13 → 0.1.14

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/esi/calls.rb +19 -1
  3. data/lib/esi/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 898fccb36deee817b3bc88285a5d1819f6c5dc6b
4
- data.tar.gz: 9636678e212b7ff731325e8ebe3ab2d9c477ccfe
3
+ metadata.gz: 6aea455151adf74cffbadeaf5a9354b99dc1ce3c
4
+ data.tar.gz: 4e3daed2289a6fc110593d689449c07d0fa2e5f7
5
5
  SHA512:
6
- metadata.gz: ae937d4cee7406237a0c6c850a10335011e052b8d118c18b085f969f03d4929575ca610ee6beb55441e6061af11d581e4a39cff6bcf36055ae92ba4dabadb155
7
- data.tar.gz: 830dd1fedad637bd7dea4c857e27424d0315875558c549657947ed7a95f27620d58492aa4265ba3c84522fbab6066c6f4de7e173522d2cfa50993398cd61117f
6
+ metadata.gz: f1289c2befc88462635bd30aeb77159b11fb7cb262da717eedcddd5c7f594924a2802b5a554f9689fea443be8d01c87d7f4ec0f32af3a8bd143848b5b0940217
7
+ data.tar.gz: c53d059d8577e5113c7b946d5f4da8c94e96812f7ab25827acfc784f47922498891ceb90e60e96887eff39b02d8f668219590f9257dc41e306fcab2f83fe5607
data/lib/esi/calls.rb CHANGED
@@ -155,7 +155,7 @@ module Esi
155
155
  end
156
156
  end
157
157
 
158
- class CorporateIndustryJobs < Base
158
+ class CorporationIndustryJobs < Base
159
159
  self.scope = 'esi-industry.read_corporation_jobs.v1'
160
160
  self.cache_duration = 300
161
161
 
@@ -165,6 +165,24 @@ module Esi
165
165
  end
166
166
  end
167
167
 
168
+ class CharacterBlueprints < Base
169
+ self.scope = 'esi-characters.read_blueprints.v1'
170
+ self.cache_duration = 3600
171
+
172
+ def initialize(character_id)
173
+ @path = "/characters/#{character_id}/blueprints"
174
+ end
175
+ end
176
+
177
+ class CorporationBlueprints < Base
178
+ self.scope = 'esi-corporations.read_blueprints.v1'
179
+ self.cache_duration = 3600
180
+
181
+ def initialize(corporation_id)
182
+ @path = "/corporations/#{corporation_id}/blueprints"
183
+ end
184
+ end
185
+
168
186
  class CharacterContracts < Base
169
187
  self.scope = 'esi-contracts.read_character_contracts.v1'
170
188
  self.cache_duration = 3600
data/lib/esi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esi
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Hiemstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-22 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2