auth0 5.8.0 → 5.8.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 +4 -4
- data/.circleci/config.yml +14 -1
- data/.github/dependabot.yml +10 -0
- data/.github/workflows/semgrep.yml +28 -0
- data/CHANGELOG.md +19 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +40 -32
- data/auth0.gemspec +1 -1
- data/lib/auth0/api/v2/organizations.rb +1 -1
- data/lib/auth0/version.rb +1 -1
- data/spec/lib/auth0/api/v2/organizations_spec.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e54c493b04d5d9dcae2e7f60a12a209f772b032bbc2b301d02653fb47562df76
|
|
4
|
+
data.tar.gz: f1c6e009ac351743fea12e8d75c95eb0998fadf0b8bdabf27def1d8f930a5a57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0aa658cbecc69ea43c1016287ebff0e3c5fe048f1ddde87580548a4ae475198e1a8637479007e4e5340d101d2b69a949dd6bccdf5065b10c3cad1f76459d575c
|
|
7
|
+
data.tar.gz: a27dc61f747d7e777b45bbb707724eb58e7a73317403dab70b6eb590d8661cb14a05a7a1761d510fd8b6d41596845689c07abb98d71ba8be853b648c10bfb5f3
|
data/.circleci/config.yml
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
version: 2.1
|
|
2
|
+
orbs:
|
|
3
|
+
ship: auth0/ship@0.4.0
|
|
2
4
|
|
|
3
5
|
matrix_ruby_versions: &matrix_ruby_versions
|
|
4
6
|
matrix:
|
|
@@ -14,7 +16,7 @@ executors:
|
|
|
14
16
|
type: string
|
|
15
17
|
default: *default_ruby_version
|
|
16
18
|
docker:
|
|
17
|
-
- image:
|
|
19
|
+
- image: cimg/ruby:<< parameters.ruby_version >>
|
|
18
20
|
|
|
19
21
|
jobs:
|
|
20
22
|
run-tests:
|
|
@@ -27,6 +29,7 @@ jobs:
|
|
|
27
29
|
ruby_version: << parameters.ruby_version >>
|
|
28
30
|
steps:
|
|
29
31
|
- checkout
|
|
32
|
+
- run: gem install bundler:1.17.2
|
|
30
33
|
- run: rm Gemfile.lock
|
|
31
34
|
- restore_cache:
|
|
32
35
|
key: gems-v2-{{ checksum "Gemfile.lock" }}
|
|
@@ -43,3 +46,13 @@ workflows:
|
|
|
43
46
|
jobs:
|
|
44
47
|
- run-tests:
|
|
45
48
|
<<: *matrix_ruby_versions
|
|
49
|
+
- ship/ruby-publish:
|
|
50
|
+
context:
|
|
51
|
+
- publish-rubygems
|
|
52
|
+
- publish-gh
|
|
53
|
+
filters:
|
|
54
|
+
branches:
|
|
55
|
+
only:
|
|
56
|
+
- master
|
|
57
|
+
requires:
|
|
58
|
+
- run-tests
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Semgrep
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request: {}
|
|
5
|
+
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
- main
|
|
10
|
+
|
|
11
|
+
schedule:
|
|
12
|
+
- cron: '0 * * * *'
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
semgrep:
|
|
16
|
+
name: Scan
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
container:
|
|
19
|
+
image: returntocorp/semgrep
|
|
20
|
+
if: (github.repository_owner == 'auth0')
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
|
|
25
|
+
- if: github.event.pull_request.draft == false && github.actor != 'dependabot[bot]'
|
|
26
|
+
run: semgrep ci
|
|
27
|
+
env:
|
|
28
|
+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|
data/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,44 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v5.8.1](https://github.com/auth0/ruby-auth0/tree/v5.8.1) (2022-06-30)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.8.0...v5.8.1)
|
|
6
|
+
|
|
7
|
+
**Fixed**
|
|
8
|
+
|
|
9
|
+
- FIX: delete_organizations_members does not send `members` in body [\#345](https://github.com/auth0/ruby-auth0/pull/345) ([T-800](https://github.com/T-800))
|
|
10
|
+
|
|
11
|
+
**Security**
|
|
12
|
+
|
|
13
|
+
- Security: Update dependencies lockfile [\#348](https://github.com/auth0/ruby-auth0/pull/348) ([evansims](https://github.com/evansims))
|
|
14
|
+
|
|
3
15
|
## [v5.8.0](https://github.com/auth0/ruby-auth0/tree/v5.8.0) (2022-03-25)
|
|
16
|
+
|
|
4
17
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.7.0...v5.8.0)
|
|
5
18
|
|
|
6
19
|
**Added**
|
|
20
|
+
|
|
7
21
|
- Add parameters for pager to device_credentials method [\#318](https://github.com/auth0/ruby-auth0/pull/318) ([shibayu36](https://github.com/shibayu36))
|
|
8
22
|
|
|
9
23
|
**Fixed**
|
|
24
|
+
|
|
10
25
|
- Cache RS256 JWKS by url to allow for multiple Auth0 tenants per runtime [\#325](https://github.com/auth0/ruby-auth0/pull/325) ([rmm5t](https://github.com/rmm5t))
|
|
11
26
|
- Allow to pass nil to client_id arg of device_credentials [\#321](https://github.com/auth0/ruby-auth0/pull/321) ([shibayu36](https://github.com/shibayu36))
|
|
12
27
|
|
|
13
28
|
**Security**
|
|
29
|
+
|
|
14
30
|
- Bump nokogiri from 1.13.1 to 1.13.3 [\#320](https://github.com/auth0/ruby-auth0/pull/320) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
15
31
|
|
|
16
32
|
## [v5.7.0](https://github.com/auth0/ruby-auth0/tree/v5.7.0) (2022-02-17)
|
|
33
|
+
|
|
17
34
|
[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.6.1...v5.7.0)
|
|
18
35
|
|
|
19
36
|
**Added**
|
|
37
|
+
|
|
20
38
|
- [SDK-3118] Add attack protection endpoints [\#316](https://github.com/auth0/ruby-auth0/pull/316) ([stevehobbsdev](https://github.com/stevehobbsdev))
|
|
21
39
|
|
|
22
40
|
**Fixed**
|
|
41
|
+
|
|
23
42
|
- [SDK-3106] Fix up tests for Ruby 3 and rspec-mocks update [\#313](https://github.com/auth0/ruby-auth0/pull/313) ([stevehobbsdev](https://github.com/stevehobbsdev))
|
|
24
43
|
- Fix #310: delete_organizations_member_roles should use delete_with_body instead of delete [\#311](https://github.com/auth0/ruby-auth0/pull/311) ([SanterreJo](https://github.com/SanterreJo))
|
|
25
44
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
auth0 (5.8.
|
|
4
|
+
auth0 (5.8.1)
|
|
5
5
|
addressable (~> 2.8)
|
|
6
|
-
jwt (~> 2.
|
|
6
|
+
jwt (~> 2.3.0)
|
|
7
7
|
rest-client (~> 2.1)
|
|
8
8
|
retryable (~> 3.0)
|
|
9
9
|
zache (~> 0.12)
|
|
@@ -11,20 +11,20 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
actionpack (7.0.
|
|
15
|
-
actionview (= 7.0.
|
|
16
|
-
activesupport (= 7.0.
|
|
14
|
+
actionpack (7.0.3)
|
|
15
|
+
actionview (= 7.0.3)
|
|
16
|
+
activesupport (= 7.0.3)
|
|
17
17
|
rack (~> 2.0, >= 2.2.0)
|
|
18
18
|
rack-test (>= 0.6.3)
|
|
19
19
|
rails-dom-testing (~> 2.0)
|
|
20
20
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
21
|
-
actionview (7.0.
|
|
22
|
-
activesupport (= 7.0.
|
|
21
|
+
actionview (7.0.3)
|
|
22
|
+
activesupport (= 7.0.3)
|
|
23
23
|
builder (~> 3.1)
|
|
24
24
|
erubi (~> 1.4)
|
|
25
25
|
rails-dom-testing (~> 2.0)
|
|
26
26
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
27
|
-
activesupport (7.0.
|
|
27
|
+
activesupport (7.0.3)
|
|
28
28
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
29
29
|
i18n (>= 1.6, < 2)
|
|
30
30
|
minitest (>= 5.1)
|
|
@@ -55,7 +55,7 @@ GEM
|
|
|
55
55
|
dotenv (= 2.7.6)
|
|
56
56
|
railties (>= 3.2)
|
|
57
57
|
erubi (1.10.0)
|
|
58
|
-
faker (2.
|
|
58
|
+
faker (2.21.0)
|
|
59
59
|
i18n (>= 1.8.11, < 2)
|
|
60
60
|
ffi (1.15.5)
|
|
61
61
|
formatador (1.1.0)
|
|
@@ -79,15 +79,19 @@ GEM
|
|
|
79
79
|
rspec (>= 2.99.0, < 4.0)
|
|
80
80
|
hashdiff (1.0.1)
|
|
81
81
|
http-accept (1.7.0)
|
|
82
|
-
http-cookie (1.0.
|
|
82
|
+
http-cookie (1.0.5)
|
|
83
83
|
domain_name (~> 0.5)
|
|
84
84
|
i18n (1.10.0)
|
|
85
85
|
concurrent-ruby (~> 1.0)
|
|
86
|
+
io-console (0.5.11)
|
|
87
|
+
irb (1.4.1)
|
|
88
|
+
reline (>= 0.3.0)
|
|
89
|
+
json (2.6.2)
|
|
86
90
|
jwt (2.3.0)
|
|
87
91
|
listen (3.7.1)
|
|
88
92
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
89
93
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
90
|
-
loofah (2.
|
|
94
|
+
loofah (2.18.0)
|
|
91
95
|
crass (~> 1.0.2)
|
|
92
96
|
nokogiri (>= 1.5.9)
|
|
93
97
|
lumberjack (1.2.8)
|
|
@@ -96,37 +100,37 @@ GEM
|
|
|
96
100
|
mime-types-data (~> 3.2015)
|
|
97
101
|
mime-types-data (3.2022.0105)
|
|
98
102
|
mini_portile2 (2.8.0)
|
|
99
|
-
minitest (5.
|
|
103
|
+
minitest (5.16.1)
|
|
100
104
|
multi_json (1.15.0)
|
|
101
105
|
nenv (0.3.0)
|
|
102
106
|
netrc (0.11.0)
|
|
103
|
-
nokogiri (1.13.
|
|
107
|
+
nokogiri (1.13.6)
|
|
104
108
|
mini_portile2 (~> 2.8.0)
|
|
105
109
|
racc (~> 1.4)
|
|
106
110
|
notiffany (0.1.3)
|
|
107
111
|
nenv (~> 0.1)
|
|
108
112
|
shellany (~> 0.0)
|
|
109
|
-
parallel (1.22.
|
|
110
|
-
parser (3.1.
|
|
113
|
+
parallel (1.22.1)
|
|
114
|
+
parser (3.1.2.0)
|
|
111
115
|
ast (~> 2.4.1)
|
|
112
116
|
pry (0.12.2)
|
|
113
117
|
coderay (~> 1.1.0)
|
|
114
118
|
method_source (~> 0.9.0)
|
|
115
119
|
pry-nav (0.3.0)
|
|
116
120
|
pry (>= 0.9.10, < 0.13.0)
|
|
117
|
-
public_suffix (4.0.
|
|
121
|
+
public_suffix (4.0.7)
|
|
118
122
|
racc (1.6.0)
|
|
119
|
-
rack (2.2.3)
|
|
123
|
+
rack (2.2.3.1)
|
|
120
124
|
rack-test (0.8.3)
|
|
121
125
|
rack (>= 1.0, < 3)
|
|
122
126
|
rails-dom-testing (2.0.3)
|
|
123
127
|
activesupport (>= 4.2.0)
|
|
124
128
|
nokogiri (>= 1.6)
|
|
125
|
-
rails-html-sanitizer (1.4.
|
|
129
|
+
rails-html-sanitizer (1.4.3)
|
|
126
130
|
loofah (~> 2.3)
|
|
127
|
-
railties (7.0.
|
|
128
|
-
actionpack (= 7.0.
|
|
129
|
-
activesupport (= 7.0.
|
|
131
|
+
railties (7.0.3)
|
|
132
|
+
actionpack (= 7.0.3)
|
|
133
|
+
activesupport (= 7.0.3)
|
|
130
134
|
method_source
|
|
131
135
|
rake (>= 12.2)
|
|
132
136
|
thor (~> 1.0)
|
|
@@ -136,7 +140,9 @@ GEM
|
|
|
136
140
|
rb-fsevent (0.11.1)
|
|
137
141
|
rb-inotify (0.10.1)
|
|
138
142
|
ffi (~> 1.0)
|
|
139
|
-
regexp_parser (2.
|
|
143
|
+
regexp_parser (2.5.0)
|
|
144
|
+
reline (0.3.1)
|
|
145
|
+
io-console (~> 0.5)
|
|
140
146
|
rest-client (2.1.0)
|
|
141
147
|
http-accept (>= 1.7.0, < 2.0)
|
|
142
148
|
http-cookie (>= 1.0.2, < 2.0)
|
|
@@ -153,22 +159,23 @@ GEM
|
|
|
153
159
|
rspec-expectations (3.11.0)
|
|
154
160
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
155
161
|
rspec-support (~> 3.11.0)
|
|
156
|
-
rspec-mocks (3.11.
|
|
162
|
+
rspec-mocks (3.11.1)
|
|
157
163
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
158
164
|
rspec-support (~> 3.11.0)
|
|
159
165
|
rspec-support (3.11.0)
|
|
160
|
-
rubocop (1.
|
|
166
|
+
rubocop (1.31.1)
|
|
167
|
+
json (~> 2.3)
|
|
161
168
|
parallel (~> 1.10)
|
|
162
169
|
parser (>= 3.1.0.0)
|
|
163
170
|
rainbow (>= 2.2.2, < 4.0)
|
|
164
171
|
regexp_parser (>= 1.8, < 3.0)
|
|
165
|
-
rexml
|
|
166
|
-
rubocop-ast (>= 1.
|
|
172
|
+
rexml (>= 3.2.5, < 4.0)
|
|
173
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
|
167
174
|
ruby-progressbar (~> 1.7)
|
|
168
175
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
169
|
-
rubocop-ast (1.
|
|
176
|
+
rubocop-ast (1.18.0)
|
|
170
177
|
parser (>= 3.1.1.0)
|
|
171
|
-
rubocop-rails (2.
|
|
178
|
+
rubocop-rails (2.15.1)
|
|
172
179
|
activesupport (>= 4.2.0)
|
|
173
180
|
rack (>= 1.1)
|
|
174
181
|
rubocop (>= 1.7.0, < 2.0)
|
|
@@ -186,21 +193,21 @@ GEM
|
|
|
186
193
|
terminal-notifier-guard (1.7.0)
|
|
187
194
|
thor (1.2.1)
|
|
188
195
|
timecop (0.9.5)
|
|
189
|
-
tins (1.31.
|
|
196
|
+
tins (1.31.1)
|
|
190
197
|
sync
|
|
191
198
|
tzinfo (2.0.4)
|
|
192
199
|
concurrent-ruby (~> 1.0)
|
|
193
200
|
unf (0.1.4)
|
|
194
201
|
unf_ext
|
|
195
|
-
unf_ext (0.0.8.
|
|
196
|
-
unicode-display_width (2.
|
|
202
|
+
unf_ext (0.0.8.2)
|
|
203
|
+
unicode-display_width (2.2.0)
|
|
197
204
|
vcr (6.1.0)
|
|
198
205
|
webmock (3.14.0)
|
|
199
206
|
addressable (>= 2.8.0)
|
|
200
207
|
crack (>= 0.3.2)
|
|
201
208
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
202
209
|
zache (0.12.0)
|
|
203
|
-
zeitwerk (2.
|
|
210
|
+
zeitwerk (2.6.0)
|
|
204
211
|
|
|
205
212
|
PLATFORMS
|
|
206
213
|
ruby
|
|
@@ -215,6 +222,7 @@ DEPENDENCIES
|
|
|
215
222
|
fuubar (~> 2.0)
|
|
216
223
|
gem-release (~> 0.7)
|
|
217
224
|
guard-rspec (~> 4.5)
|
|
225
|
+
irb
|
|
218
226
|
pry (~> 0.10)
|
|
219
227
|
pry-nav (~> 0.2)
|
|
220
228
|
rack (~> 2.1)
|
data/auth0.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
|
17
17
|
s.require_paths = ['lib']
|
|
18
18
|
|
|
19
19
|
s.add_runtime_dependency 'rest-client', '~> 2.1'
|
|
20
|
-
s.add_runtime_dependency 'jwt', '~> 2.
|
|
20
|
+
s.add_runtime_dependency 'jwt', '~> 2.3.0'
|
|
21
21
|
s.add_runtime_dependency 'zache', '~> 0.12'
|
|
22
22
|
s.add_runtime_dependency 'addressable', '~> 2.8'
|
|
23
23
|
s.add_runtime_dependency 'retryable', '~> 3.0'
|
data/lib/auth0/version.rb
CHANGED
|
@@ -514,7 +514,7 @@ describe Auth0::Api::V2::Organizations do
|
|
|
514
514
|
end
|
|
515
515
|
|
|
516
516
|
it 'is expected to delete /api/v2/organizations/org_id/members' do
|
|
517
|
-
expect(@instance).to receive(:
|
|
517
|
+
expect(@instance).to receive(:delete_with_body).with(
|
|
518
518
|
'/api/v2/organizations/org_id/members', {
|
|
519
519
|
members: ['123', '456']
|
|
520
520
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auth0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.8.
|
|
4
|
+
version: 5.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Auth0
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2022-
|
|
14
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rest-client
|
|
@@ -33,14 +33,14 @@ dependencies:
|
|
|
33
33
|
requirements:
|
|
34
34
|
- - "~>"
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
|
-
version:
|
|
36
|
+
version: 2.3.0
|
|
37
37
|
type: :runtime
|
|
38
38
|
prerelease: false
|
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
41
|
- - "~>"
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
|
-
version:
|
|
43
|
+
version: 2.3.0
|
|
44
44
|
- !ruby/object:Gem::Dependency
|
|
45
45
|
name: zache
|
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -281,7 +281,9 @@ files:
|
|
|
281
281
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
282
282
|
- ".github/ISSUE_TEMPLATE/report_a_bug.md"
|
|
283
283
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
284
|
+
- ".github/dependabot.yml"
|
|
284
285
|
- ".github/stale.yml"
|
|
286
|
+
- ".github/workflows/semgrep.yml"
|
|
285
287
|
- ".gitignore"
|
|
286
288
|
- ".rspec"
|
|
287
289
|
- ".rubocop.yml"
|