omniauth-lever 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: f2ae702d0997c6ba83769bdc3bb43f8ae7a1888194ee22ce40a3d71830197254
4
- data.tar.gz: 13eb36bcbe5b48a7de9b8621175b1cc48ebaa430bc3567271ebc967ad62b0ffd
3
+ metadata.gz: a128b5d11a2242cd19085a4eac6f6d3d761d2e0a7a87354eeec7969b3a368b49
4
+ data.tar.gz: 86006b3e4718122afc42d044e8ba18cfc669227efaa8eba5648a97dce0fbe645
5
5
  SHA512:
6
- metadata.gz: 1a4c074801284c40115bfe71f8c32431bfc6d90713a8c7aa0ea498a3138d164665dbaadfc9f2796c5cf46548aa56de6ff882863c45498cbf37e8c9fa7c7d43a7
7
- data.tar.gz: 9a7192ffb4077e8bb4605a1128e8020a70b23853ad3264d9c5bbeb4293baeeded7bc5c4e18d3a8e016fa3800979cedf6d1f96adb767e452123c23640745ed8bf
6
+ metadata.gz: 643e72be77b979ddcc3dcb640c76b44e31c9a91d057ffa1b271a11363de2942e4af627d29c839fd063685bc964647e75ac25fc9543ed5210c7b035b6b96d863f
7
+ data.tar.gz: eff8b4a0b14903860e54ad3b2b05d5f0624408a72308c525cf95a7eb6b8c028ae0abcd4732b259c853175f9b2b739607df646f4e6edbb736237d9a813f20159e
data/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Changelog
2
2
 
3
- ## [0.4.0](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.3.1...v0.4.0) (2022-01-25)
3
+ ### [0.4.1](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.4.0...v0.4.1) (2022-01-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * prettify ([d7f4d25](https://www.github.com/ScreenLoop/omniauth-lever/commit/d7f4d250241de9e70d2388abaa4aff699c5b56d1))
9
+
10
+ ## [0.4.0](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.3.1...v0.4.0) (2022-01-27)
4
11
 
5
12
 
6
13
  ### Features
7
14
 
8
15
  * SL-811 Add opportunities stages scopes ([3b76c57](https://www.github.com/ScreenLoop/omniauth-lever/commit/3b76c5776bc4ac90464c5268aea56b5135dcc861))
9
16
 
17
+
18
+ ### Bug Fixes
19
+
20
+ * SL-811 Remove opportunities:read scope ([36f557d](https://www.github.com/ScreenLoop/omniauth-lever/commit/36f557d128dbfb42b55082ecc881388d2dc0a96b))
21
+
10
22
  ### [0.3.1](https://www.github.com/ScreenLoop/omniauth-lever/compare/v0.3.0...v0.3.1) (2021-09-24)
11
23
 
12
24
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-lever (0.4.0)
4
+ omniauth-lever (0.4.1)
5
5
  omniauth (~> 2.0)
6
6
  omniauth-oauth2 (~> 1.7.1)
7
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Lever
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
@@ -9,7 +9,7 @@ module OmniAuth
9
9
  class Lever < OmniAuth::Strategies::OAuth2
10
10
  DEFAULT_PROMPT = 'consent'
11
11
  DEFAULT_RESPONSE_TYPE = 'code'
12
- DEFAULT_SCOPE = 'offline_access stages:read:admin opportunities:write:admin opportunities:read:admin archive_reasons:read:admin users:read:admin interviews:read:admin postings:read:admin feedback_templates:read:admin notes:write:admin'
12
+ DEFAULT_SCOPE = 'offline_access stages:read:admin opportunities:write:admin archive_reasons:read:admin users:read:admin interviews:read:admin postings:read:admin feedback_templates:read:admin notes:write:admin'
13
13
  SANDBOX_OAUTH_URL = 'https://sandbox-lever.auth0.com'
14
14
  SANDBOX_CLIENT_OPTIONS = {
15
15
  site: 'https://api.sandbox.lever.co/v1',
@@ -27,7 +27,12 @@ module OmniAuth
27
27
  token_url: 'https://auth.lever.co/oauth/token',
28
28
  }
29
29
 
30
- option :authorize_options, [:prompt, :response_type, :scope]
30
+ option :authorize_options, [
31
+ :prompt,
32
+ :response_type,
33
+ :scope,
34
+ ]
35
+
31
36
  option :sandbox, false
32
37
 
33
38
  def setup_phase
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-lever
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Santos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-25 00:00:00.000000000 Z
11
+ date: 2022-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth