omniauth-auth0 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,13 @@
1
1
  $LOAD_PATH.unshift File.expand_path(__dir__)
2
2
  $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
3
3
 
4
+ require 'multi_json'
4
5
  require 'simplecov'
5
6
  SimpleCov.start
6
7
 
7
8
  if ENV['CI'] == 'true'
8
- require 'codecov'
9
- SimpleCov.formatter = SimpleCov::Formatter::Codecov
9
+ require 'simplecov-cobertura'
10
+ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
10
11
  end
11
12
 
12
13
  require 'rspec'
@@ -22,6 +23,8 @@ RSpec.configure do |config|
22
23
  config.include WebMock::API
23
24
  config.include Rack::Test::Methods
24
25
  config.extend OmniAuth::Test::StrategyMacros, type: :strategy
26
+ config.filter_run focus: true
27
+ config.run_all_when_everything_filtered = true
25
28
 
26
29
  def app
27
30
  @app || make_application
@@ -39,7 +42,7 @@ RSpec.configure do |config|
39
42
  configure do
40
43
  enable :sessions
41
44
  set :show_exceptions, false
42
- set :session_secret, 'TEST'
45
+ set :session_secret, '9771aff2c634257053c62ba072c54754bd2cc92739b37e81c3eda505da48c2ec'
43
46
  end
44
47
 
45
48
  use OmniAuth::Builder do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Auth0
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-19 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.0'
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: omniauth-oauth2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.7'
33
+ version: '1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.7'
40
+ version: '1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +65,7 @@ extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
67
  - ".circleci/config.yml"
68
+ - ".devcontainer/devcontainer.json"
68
69
  - ".gemrelease"
69
70
  - ".github/CODEOWNERS"
70
71
  - ".github/ISSUE_TEMPLATE/config.yml"
@@ -72,14 +73,18 @@ files:
72
73
  - ".github/ISSUE_TEMPLATE/report_a_bug.md"
73
74
  - ".github/PULL_REQUEST_TEMPLATE.md"
74
75
  - ".github/stale.yml"
76
+ - ".github/workflows/semgrep.yml"
75
77
  - ".gitignore"
76
78
  - ".rspec"
77
79
  - ".rubocop.yml"
80
+ - ".semgrepignore"
81
+ - ".shiprc"
78
82
  - ".snyk"
79
83
  - CHANGELOG.md
80
- - CODE_OF_CONDUCT.md
81
84
  - CONTRIBUTING.md
85
+ - EXAMPLES.md
82
86
  - Gemfile
87
+ - Gemfile.lock
83
88
  - Guardfile
84
89
  - LICENSE
85
90
  - README.md
@@ -94,6 +99,7 @@ files:
94
99
  - lib/omniauth/auth0/telemetry.rb
95
100
  - lib/omniauth/strategies/auth0.rb
96
101
  - omniauth-auth0.gemspec
102
+ - opslevel.yml
97
103
  - spec/omniauth/auth0/jwt_validator_spec.rb
98
104
  - spec/omniauth/auth0/telemetry_spec.rb
99
105
  - spec/omniauth/strategies/auth0_spec.rb
@@ -118,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
124
  - !ruby/object:Gem::Version
119
125
  version: '0'
120
126
  requirements: []
121
- rubygems_version: 3.2.16
127
+ rubygems_version: 3.2.22
122
128
  signing_key:
123
129
  specification_version: 4
124
130
  summary: OmniAuth OAuth2 strategy for the Auth0 platform.
data/CODE_OF_CONDUCT.md DELETED
@@ -1,3 +0,0 @@
1
- # Code of Conduct
2
-
3
- Please see [Auth0's Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md) for information on contributing to this repo.