auth0 5.0.0 → 5.1.2

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +29 -8
  3. data/.github/CODEOWNERS +1 -1
  4. data/.github/ISSUE_TEMPLATE/config.yml +8 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +39 -0
  6. data/.github/ISSUE_TEMPLATE/report_a_bug.md +55 -0
  7. data/.gitignore +1 -0
  8. data/CHANGELOG.md +46 -0
  9. data/README.md +80 -1
  10. data/auth0.gemspec +4 -3
  11. data/lib/auth0/api/authentication_endpoints.rb +16 -6
  12. data/lib/auth0/api/v2.rb +8 -4
  13. data/lib/auth0/api/v2/branding.rb +66 -0
  14. data/lib/auth0/api/v2/connections.rb +3 -0
  15. data/lib/auth0/api/v2/jobs.rb +3 -1
  16. data/lib/auth0/api/v2/organizations.rb +335 -0
  17. data/lib/auth0/api/v2/tickets.rb +14 -2
  18. data/lib/auth0/api/v2/users.rb +13 -1
  19. data/lib/auth0/exception.rb +3 -1
  20. data/lib/auth0/mixins/httpproxy.rb +4 -1
  21. data/lib/auth0/mixins/initializer.rb +3 -1
  22. data/lib/auth0/mixins/validation.rb +14 -0
  23. data/lib/auth0/version.rb +1 -1
  24. data/spec/integration/lib/auth0/api/v2/api_jobs_spec.rb +1 -1
  25. data/spec/integration/lib/auth0/api/v2/api_user_blocks_spec.rb +1 -1
  26. data/spec/lib/auth0/api/v2/branding_spec.rb +70 -0
  27. data/spec/lib/auth0/api/v2/connections_spec.rb +4 -0
  28. data/spec/lib/auth0/api/v2/jobs_spec.rb +11 -0
  29. data/spec/lib/auth0/api/v2/organizations_spec.rb +593 -0
  30. data/spec/lib/auth0/api/v2/tickets_spec.rb +55 -0
  31. data/spec/lib/auth0/api/v2/users_spec.rb +20 -1
  32. data/spec/lib/auth0/client_spec.rb +79 -9
  33. data/spec/lib/auth0/mixins/httpproxy_spec.rb +8 -8
  34. data/spec/lib/auth0/mixins/validation_spec.rb +32 -0
  35. data/spec/spec_helper.rb +6 -1
  36. metadata +34 -19
  37. data/.github/ISSUE_TEMPLATE.md +0 -39
  38. data/Gemfile.lock +0 -226
@@ -1,39 +0,0 @@
1
- In order to efficiently and accurately address your issue or feature request, please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. Please delete any sections or questions below that do not pertain to this request.
2
-
3
- For general support or usage questions, please use the [Auth0 Community](https://community.auth0.com/) or [Auth0 Support](https://support.auth0.com.).
4
-
5
- ### Description
6
-
7
- Description of the bug or feature request and why it's a problem. Consider including:
8
-
9
- - The use case or overall problem you're trying to solve
10
- - Information about when the problem started
11
-
12
- ### Prerequisites
13
-
14
- * [ ] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
15
- * [ ] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
16
- * [ ] Did you check the documentation ([repo README](https://github.com/auth0/ruby-auth0/blob/master/README.md) or [Quickstart](https://auth0.com/docs/quickstart/backend/rails))?
17
- * [ ] Did you check the [Auth0 Community](https://community.auth0.com/)?
18
- * [ ] Are you reporting this to the correct repository? See also the [OmniAuth-Auth0 strategy](https://github.com/auth0/omniauth-auth0) for logging in with Rails.
19
- * [ ] Are there any related or duplicate [Issues](https://github.com/auth0/ruby-auth0/issues) or [PRs](https://github.com/auth0/ruby-auth0/pulls) for this issue?
20
-
21
- ### Environment
22
-
23
- Please provide the following:
24
-
25
- * Ruby Auth0 version:
26
- * Ruby version:
27
- * Rails version (if applicable):
28
- * Browser version (if applicable):
29
- * Additional gems that might be affecting your instance
30
-
31
- ### Reproduction
32
-
33
- Detail the steps taken to reproduce this error and note if this issue can be reproduced consistently or if it is intermittent.
34
-
35
- Please include:
36
-
37
- - Log files (redact/remove sensitive information)
38
- - Application settings (redact/remove sensitive information)
39
- - Screenshots, if helpful
data/Gemfile.lock DELETED
@@ -1,226 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- auth0 (5.0.0)
5
- addressable (~> 2.7.0)
6
- jwt (~> 2.2.0)
7
- rest-client (~> 2.0.0)
8
- zache (~> 0.12.0)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (6.0.3.4)
14
- actionview (= 6.0.3.4)
15
- activesupport (= 6.0.3.4)
16
- rack (~> 2.0, >= 2.0.8)
17
- rack-test (>= 0.6.3)
18
- rails-dom-testing (~> 2.0)
19
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
20
- actionview (6.0.3.4)
21
- activesupport (= 6.0.3.4)
22
- builder (~> 3.1)
23
- erubi (~> 1.4)
24
- rails-dom-testing (~> 2.0)
25
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
26
- activesupport (6.0.3.4)
27
- concurrent-ruby (~> 1.0, >= 1.0.2)
28
- i18n (>= 0.7, < 2)
29
- minitest (~> 5.1)
30
- tzinfo (~> 1.1)
31
- zeitwerk (~> 2.2, >= 2.2.2)
32
- addressable (2.7.0)
33
- public_suffix (>= 2.0.2, < 5.0)
34
- ast (2.4.1)
35
- builder (3.2.4)
36
- codecov (0.2.12)
37
- json
38
- simplecov
39
- coderay (1.1.3)
40
- concurrent-ruby (1.1.7)
41
- coveralls (0.7.1)
42
- multi_json (~> 1.3)
43
- rest-client
44
- simplecov (>= 0.7)
45
- term-ansicolor
46
- thor
47
- crack (0.4.4)
48
- crass (1.0.6)
49
- diff-lcs (1.4.4)
50
- docile (1.3.2)
51
- domain_name (0.5.20190701)
52
- unf (>= 0.0.5, < 1.0.0)
53
- dotenv (2.7.6)
54
- dotenv-rails (2.7.6)
55
- dotenv (= 2.7.6)
56
- railties (>= 3.2)
57
- erubi (1.9.0)
58
- faker (1.9.6)
59
- i18n (>= 0.7)
60
- ffi (1.13.1)
61
- formatador (0.2.5)
62
- fuubar (2.5.0)
63
- rspec-core (~> 3.0)
64
- ruby-progressbar (~> 1.4)
65
- gem-release (0.7.4)
66
- guard (2.16.2)
67
- formatador (>= 0.2.4)
68
- listen (>= 2.7, < 4.0)
69
- lumberjack (>= 1.0.12, < 2.0)
70
- nenv (~> 0.1)
71
- notiffany (~> 0.0)
72
- pry (>= 0.9.12)
73
- shellany (~> 0.0)
74
- thor (>= 0.18.1)
75
- guard-compat (1.2.1)
76
- guard-rspec (4.7.3)
77
- guard (~> 2.1)
78
- guard-compat (~> 1.1)
79
- rspec (>= 2.99.0, < 4.0)
80
- hashdiff (1.0.1)
81
- http-cookie (1.0.3)
82
- domain_name (~> 0.5)
83
- i18n (1.8.5)
84
- concurrent-ruby (~> 1.0)
85
- json (2.3.1)
86
- jwt (2.2.2)
87
- listen (3.2.1)
88
- rb-fsevent (~> 0.10, >= 0.10.3)
89
- rb-inotify (~> 0.9, >= 0.9.10)
90
- loofah (2.7.0)
91
- crass (~> 1.0.2)
92
- nokogiri (>= 1.5.9)
93
- lumberjack (1.2.8)
94
- method_source (0.8.2)
95
- mime-types (3.3.1)
96
- mime-types-data (~> 3.2015)
97
- mime-types-data (3.2020.0512)
98
- mini_portile2 (2.4.0)
99
- minitest (5.14.2)
100
- multi_json (1.15.0)
101
- nenv (0.3.0)
102
- netrc (0.11.0)
103
- nokogiri (1.10.10)
104
- mini_portile2 (~> 2.4.0)
105
- notiffany (0.1.3)
106
- nenv (~> 0.1)
107
- shellany (~> 0.0)
108
- parallel (1.19.2)
109
- parser (2.7.2.0)
110
- ast (~> 2.4.1)
111
- pry (0.10.4)
112
- coderay (~> 1.1.0)
113
- method_source (~> 0.8.1)
114
- slop (~> 3.4)
115
- pry-nav (0.2.4)
116
- pry (>= 0.9.10, < 0.11.0)
117
- public_suffix (4.0.6)
118
- rack (2.1.4)
119
- rack-test (0.8.3)
120
- rack (>= 1.0, < 3)
121
- rails-dom-testing (2.0.3)
122
- activesupport (>= 4.2.0)
123
- nokogiri (>= 1.6)
124
- rails-html-sanitizer (1.3.0)
125
- loofah (~> 2.3)
126
- railties (6.0.3.4)
127
- actionpack (= 6.0.3.4)
128
- activesupport (= 6.0.3.4)
129
- method_source
130
- rake (>= 0.8.7)
131
- thor (>= 0.20.3, < 2.0)
132
- rainbow (3.0.0)
133
- rake (13.0.1)
134
- rb-fsevent (0.10.4)
135
- rb-inotify (0.10.1)
136
- ffi (~> 1.0)
137
- regexp_parser (1.8.2)
138
- rest-client (2.0.2)
139
- http-cookie (>= 1.0.2, < 2.0)
140
- mime-types (>= 1.16, < 4.0)
141
- netrc (~> 0.8)
142
- rexml (3.2.4)
143
- rspec (3.9.0)
144
- rspec-core (~> 3.9.0)
145
- rspec-expectations (~> 3.9.0)
146
- rspec-mocks (~> 3.9.0)
147
- rspec-core (3.9.3)
148
- rspec-support (~> 3.9.3)
149
- rspec-expectations (3.9.2)
150
- diff-lcs (>= 1.2.0, < 2.0)
151
- rspec-support (~> 3.9.0)
152
- rspec-mocks (3.9.1)
153
- diff-lcs (>= 1.2.0, < 2.0)
154
- rspec-support (~> 3.9.0)
155
- rspec-support (3.9.3)
156
- rubocop (1.0.0)
157
- parallel (~> 1.10)
158
- parser (>= 2.7.1.5)
159
- rainbow (>= 2.2.2, < 4.0)
160
- regexp_parser (>= 1.8)
161
- rexml
162
- rubocop-ast (>= 0.6.0)
163
- ruby-progressbar (~> 1.7)
164
- unicode-display_width (>= 1.4.0, < 2.0)
165
- rubocop-ast (1.0.0)
166
- parser (>= 2.7.1.5)
167
- rubocop-rails (2.8.1)
168
- activesupport (>= 4.2.0)
169
- rack (>= 1.1)
170
- rubocop (>= 0.87.0)
171
- ruby-progressbar (1.10.1)
172
- shellany (0.0.1)
173
- simplecov (0.19.0)
174
- docile (~> 1.1)
175
- simplecov-html (~> 0.11)
176
- simplecov-html (0.12.3)
177
- slop (3.6.0)
178
- sync (0.5.0)
179
- term-ansicolor (1.7.1)
180
- tins (~> 1.0)
181
- terminal-notifier-guard (1.7.0)
182
- thor (1.0.1)
183
- thread_safe (0.3.6)
184
- tins (1.26.0)
185
- sync
186
- tzinfo (1.2.7)
187
- thread_safe (~> 0.1)
188
- unf (0.1.4)
189
- unf_ext
190
- unf_ext (0.0.7.7)
191
- unicode-display_width (1.7.0)
192
- vcr (6.0.0)
193
- webmock (3.9.3)
194
- addressable (>= 2.3.6)
195
- crack (>= 0.3.2)
196
- hashdiff (>= 0.4.0, < 2.0.0)
197
- zache (0.12.0)
198
- zeitwerk (2.4.0)
199
-
200
- PLATFORMS
201
- ruby
202
-
203
- DEPENDENCIES
204
- auth0!
205
- codecov
206
- coveralls
207
- dotenv-rails (~> 2.0)
208
- faker (~> 1.4)
209
- fuubar (~> 2.0)
210
- gem-release (~> 0.7)
211
- guard-rspec (~> 4.5)
212
- pry (~> 0.10)
213
- pry-nav (~> 0.2.4)
214
- rack (~> 2.1.2)
215
- rack-test (~> 0.6)
216
- rake (~> 13.0)
217
- rspec (~> 3.1, >= 3.1.0)
218
- rubocop
219
- rubocop-rails
220
- simplecov
221
- terminal-notifier-guard
222
- vcr
223
- webmock
224
-
225
- BUNDLED WITH
226
- 1.17.3