omniauth-doximity-oauth2 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +134 -0
  3. data/.github/CODEOWNERS +2 -0
  4. data/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  5. data/.gitignore +8 -0
  6. data/.rubocop.yml +17 -0
  7. data/CHANGELOG.md +18 -0
  8. data/CONTRIBUTING.md +31 -0
  9. data/CONTRIBUTORS.md +4 -0
  10. data/Gemfile +1 -3
  11. data/Gemfile.lock +112 -0
  12. data/LICENSE.txt +201 -0
  13. data/README.md +127 -13
  14. data/Rakefile +21 -2
  15. data/lib/omniauth/strategies/doximity_oauth2.rb +135 -0
  16. data/lib/omniauth-doximity-oauth2/errors.rb +28 -0
  17. data/lib/omniauth-doximity-oauth2/version.rb +7 -0
  18. data/lib/omniauth-doximity-oauth2.rb +4 -0
  19. data/omniauth-doximity-oauth2.gemspec +40 -0
  20. data/spec/omniauth/strategies/doximity_oauth2_spec.rb +130 -0
  21. data/spec/rubocop_spec.rb +9 -0
  22. data/spec/spec_helper.rb +4 -0
  23. data/tasks/ci.rake +16 -0
  24. data/vendor/cache/activesupport-6.1.5.1.gem +0 -0
  25. data/vendor/cache/ast-2.4.2.gem +0 -0
  26. data/vendor/cache/concurrent-ruby-1.1.10.gem +0 -0
  27. data/vendor/cache/diff-lcs-1.5.0.gem +0 -0
  28. data/vendor/cache/faraday-2.2.0.gem +0 -0
  29. data/vendor/cache/faraday-net_http-2.0.2.gem +0 -0
  30. data/vendor/cache/hashie-5.0.0.gem +0 -0
  31. data/vendor/cache/i18n-1.10.0.gem +0 -0
  32. data/vendor/cache/jwt-2.3.0.gem +0 -0
  33. data/vendor/cache/minitest-5.15.0.gem +0 -0
  34. data/vendor/cache/multi_json-1.15.0.gem +0 -0
  35. data/vendor/cache/multi_xml-0.6.0.gem +0 -0
  36. data/vendor/cache/oauth2-1.4.9.gem +0 -0
  37. data/vendor/cache/omniauth-2.1.0.gem +0 -0
  38. data/vendor/cache/omniauth-oauth2-1.7.2.gem +0 -0
  39. data/vendor/cache/openssl-3.0.0.gem +0 -0
  40. data/vendor/cache/parallel-1.22.1.gem +0 -0
  41. data/vendor/cache/parser-3.1.2.0.gem +0 -0
  42. data/vendor/cache/rack-2.2.3.gem +0 -0
  43. data/vendor/cache/rack-protection-2.2.0.gem +0 -0
  44. data/vendor/cache/rainbow-3.1.1.gem +0 -0
  45. data/vendor/cache/rake-13.0.6.gem +0 -0
  46. data/vendor/cache/rdoc-6.3.3.gem +0 -0
  47. data/vendor/cache/regexp_parser-2.3.1.gem +0 -0
  48. data/vendor/cache/rexml-3.2.5.gem +0 -0
  49. data/vendor/cache/rspec-3.11.0.gem +0 -0
  50. data/vendor/cache/rspec-core-3.11.0.gem +0 -0
  51. data/vendor/cache/rspec-expectations-3.11.0.gem +0 -0
  52. data/vendor/cache/rspec-mocks-3.11.0.gem +0 -0
  53. data/vendor/cache/rspec-support-3.11.0.gem +0 -0
  54. data/vendor/cache/rubocop-1.28.2.gem +0 -0
  55. data/vendor/cache/rubocop-ast-1.17.0.gem +0 -0
  56. data/vendor/cache/rubocop-rails-2.14.2.gem +0 -0
  57. data/vendor/cache/ruby-progressbar-1.11.0.gem +0 -0
  58. data/vendor/cache/ruby2_keywords-0.0.5.gem +0 -0
  59. data/vendor/cache/sdoc-2.3.1.gem +0 -0
  60. data/vendor/cache/tzinfo-2.0.4.gem +0 -0
  61. data/vendor/cache/unicode-display_width-2.1.0.gem +0 -0
  62. data/vendor/cache/zeitwerk-2.5.4.gem +0 -0
  63. metadata +249 -21
  64. data/lib/omniauth/doximity/oauth2/version.rb +0 -9
  65. data/lib/omniauth/doximity/oauth2.rb +0 -12
  66. data/sig/omniauth/doximity/oauth2.rbs +0 -8
Binary file
Binary file
metadata CHANGED
@@ -1,34 +1,259 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-doximity-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - WilliamNHarvey
8
- autorequire:
9
- bindir: exe
7
+ - William Harvey
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-26 00:00:00.000000000 Z
12
- dependencies: []
13
- description:
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jwt
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: multi_json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: omniauth-oauth2
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: openssl
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.3.12
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.3.12
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rubocop-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: sdoc
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ description: OmniAuth strategy for Doximity, supporting OIDC, and using PKCE
14
182
  email:
15
- - williamnharvey@gmail.com
183
+ - wharvey@doximity.com
16
184
  executables: []
17
185
  extensions: []
18
186
  extra_rdoc_files: []
19
187
  files:
188
+ - ".circleci/config.yml"
189
+ - ".github/CODEOWNERS"
190
+ - ".github/PULL_REQUEST_TEMPLATE.md"
191
+ - ".gitignore"
192
+ - ".rubocop.yml"
193
+ - CHANGELOG.md
194
+ - CONTRIBUTING.md
195
+ - CONTRIBUTORS.md
20
196
  - Gemfile
197
+ - Gemfile.lock
198
+ - LICENSE.txt
21
199
  - README.md
22
200
  - Rakefile
23
- - lib/omniauth/doximity/oauth2.rb
24
- - lib/omniauth/doximity/oauth2/version.rb
25
- - sig/omniauth/doximity/oauth2.rbs
26
- homepage: https://developer.doximity.com
27
- licenses: []
201
+ - lib/omniauth-doximity-oauth2.rb
202
+ - lib/omniauth-doximity-oauth2/errors.rb
203
+ - lib/omniauth-doximity-oauth2/version.rb
204
+ - lib/omniauth/strategies/doximity_oauth2.rb
205
+ - omniauth-doximity-oauth2.gemspec
206
+ - spec/omniauth/strategies/doximity_oauth2_spec.rb
207
+ - spec/rubocop_spec.rb
208
+ - spec/spec_helper.rb
209
+ - tasks/ci.rake
210
+ - vendor/cache/activesupport-6.1.5.1.gem
211
+ - vendor/cache/ast-2.4.2.gem
212
+ - vendor/cache/concurrent-ruby-1.1.10.gem
213
+ - vendor/cache/diff-lcs-1.5.0.gem
214
+ - vendor/cache/faraday-2.2.0.gem
215
+ - vendor/cache/faraday-net_http-2.0.2.gem
216
+ - vendor/cache/hashie-5.0.0.gem
217
+ - vendor/cache/i18n-1.10.0.gem
218
+ - vendor/cache/jwt-2.3.0.gem
219
+ - vendor/cache/minitest-5.15.0.gem
220
+ - vendor/cache/multi_json-1.15.0.gem
221
+ - vendor/cache/multi_xml-0.6.0.gem
222
+ - vendor/cache/oauth2-1.4.9.gem
223
+ - vendor/cache/omniauth-2.1.0.gem
224
+ - vendor/cache/omniauth-oauth2-1.7.2.gem
225
+ - vendor/cache/openssl-3.0.0.gem
226
+ - vendor/cache/parallel-1.22.1.gem
227
+ - vendor/cache/parser-3.1.2.0.gem
228
+ - vendor/cache/rack-2.2.3.gem
229
+ - vendor/cache/rack-protection-2.2.0.gem
230
+ - vendor/cache/rainbow-3.1.1.gem
231
+ - vendor/cache/rake-13.0.6.gem
232
+ - vendor/cache/rdoc-6.3.3.gem
233
+ - vendor/cache/regexp_parser-2.3.1.gem
234
+ - vendor/cache/rexml-3.2.5.gem
235
+ - vendor/cache/rspec-3.11.0.gem
236
+ - vendor/cache/rspec-core-3.11.0.gem
237
+ - vendor/cache/rspec-expectations-3.11.0.gem
238
+ - vendor/cache/rspec-mocks-3.11.0.gem
239
+ - vendor/cache/rspec-support-3.11.0.gem
240
+ - vendor/cache/rubocop-1.28.2.gem
241
+ - vendor/cache/rubocop-ast-1.17.0.gem
242
+ - vendor/cache/rubocop-rails-2.14.2.gem
243
+ - vendor/cache/ruby-progressbar-1.11.0.gem
244
+ - vendor/cache/ruby2_keywords-0.0.5.gem
245
+ - vendor/cache/sdoc-2.3.1.gem
246
+ - vendor/cache/tzinfo-2.0.4.gem
247
+ - vendor/cache/unicode-display_width-2.1.0.gem
248
+ - vendor/cache/zeitwerk-2.5.4.gem
249
+ homepage: https://github.com/doximity/omniauth-doximity-oauth2.git
250
+ licenses:
251
+ - Apache-2.0
28
252
  metadata:
29
- homepage_uri: https://developer.doximity.com
30
- source_code_uri: https://github.com/doximity
31
- post_install_message:
253
+ homepage_uri: https://github.com/doximity/omniauth-doximity-oauth2.git
254
+ source_code_uri: https://github.com/doximity/omniauth-doximity-oauth2.git
255
+ changelog_uri: https://github.com/doximity/omniauth-doximity-oauth2/blob/master/CHANGELOG.md
256
+ post_install_message:
32
257
  rdoc_options: []
33
258
  require_paths:
34
259
  - lib
@@ -36,15 +261,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
36
261
  requirements:
37
262
  - - ">="
38
263
  - !ruby/object:Gem::Version
39
- version: 2.6.0
264
+ version: 2.5.0
40
265
  required_rubygems_version: !ruby/object:Gem::Requirement
41
266
  requirements:
42
267
  - - ">="
43
268
  - !ruby/object:Gem::Version
44
269
  version: '0'
45
270
  requirements: []
46
- rubygems_version: 3.1.2
47
- signing_key:
271
+ rubygems_version: 3.3.11
272
+ signing_key:
48
273
  specification_version: 4
49
- summary: Dox Omniauth Strategy Future Home
50
- test_files: []
274
+ summary: OmniAuth strategy for Doximity
275
+ test_files:
276
+ - spec/omniauth/strategies/doximity_oauth2_spec.rb
277
+ - spec/rubocop_spec.rb
278
+ - spec/spec_helper.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Omniauth
4
- module Doximity
5
- module Oauth2
6
- VERSION = "0.1.0"
7
- end
8
- end
9
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "oauth2/version"
4
-
5
- module Omniauth
6
- module Doximity
7
- module Oauth2
8
- class Error < StandardError; end
9
- # Your code goes here...
10
- end
11
- end
12
- end
@@ -1,8 +0,0 @@
1
- module Omniauth
2
- module Doximity
3
- module Oauth2
4
- VERSION: String
5
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
- end
7
- end
8
- end