esi 0.1.8 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55e46758a229b449bc91f5322a05c0d107374ce6
4
- data.tar.gz: 6c64e0acd0337ef7da86b46c5bbfa4b9f983a431
3
+ metadata.gz: 6c4ebe42951feacb577399f6c93d3f77bf48c8e3
4
+ data.tar.gz: 122e06d420704178507d526155e74cc5bba90905
5
5
  SHA512:
6
- metadata.gz: 300c10b0ecaf52a09079376d912aba125617484cb2776008c8609e11d32b22d172246cc3fc44d80398adc7d4ffafe52416f7516ed7eb11a95f2cbb8f39841cf9
7
- data.tar.gz: 132fc327d15515dccf2780de929272775b5627de5e386927b7c3bc5c065f6cd8991275f35796448c51ab8fb210c7d9c255e4f078dd1c3f9be7113e33254fcdf1
6
+ metadata.gz: 2eb53214633b51942b7e624d75243ce170ea503c9d5846fa8b9da2d1449ee4ae5b72460b4a30cbee5ada8b1aab59d13c988b3de21e91f5da8f037d27e273340a
7
+ data.tar.gz: 12b6c2bd184badecc1b2d5fc04b32f082ef00263c565bd607aab1e22217dcf9913bcd126ccccdb1ee3d58c876a94c0b6781379b17e33fa690a114b3baecb18dd
data/lib/esi/calls.rb CHANGED
@@ -127,6 +127,16 @@ module Esi
127
127
  end
128
128
  end
129
129
 
130
+ class CorporateIndustryJobs < Base
131
+ self.scope = 'esi-industry.read_corporation_jobs.v1'
132
+ self.cache_duration = 300
133
+
134
+ def initialize(character_id, with_completed: false)
135
+ @path = "/corporations/#{character_id}/industry/jobs"
136
+ @params = { with_completed: with_completed }
137
+ end
138
+ end
139
+
130
140
  class CharacterContracts < Base
131
141
  self.scope = 'esi-contracts.read_character_contracts.v1'
132
142
  self.cache_duration = 3600
data/lib/esi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esi
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -39,7 +39,7 @@ module OmniAuth
39
39
  params = super
40
40
  params = params.merge(request.params) unless OmniAuth.config.test_mode
41
41
  params[:scope] = params[:scope].join(' ') if params[:scope].is_a?(Array)
42
- params[:redirect_uri] = options[:callback_url] unless options[:callback_url].nil?
42
+ params[:redirect_uri] = callback_url
43
43
  params
44
44
  end
45
45
 
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.8
4
+ version: 0.1.9
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-08 00:00:00.000000000 Z
11
+ date: 2017-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.5.2
150
+ rubygems_version: 2.6.11
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: EVE ESI API wrapper