omniauth-zoom-v2 0.0.0 → 1.0.0

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: f829c24bd3e29b6bc130bd8c5f36d0da2e835f5158256ba7d86b52cb31e18fb1
4
- data.tar.gz: 86fbfdecf38808418f57401d6b91b053878361f10977aae83be71b3b58229426
3
+ metadata.gz: 7d684e0d27ffb5132973ec8db5c5e3fdec30020bb0e8fa6b0863164c1a12debf
4
+ data.tar.gz: 815e06719d5d3d64b624ad08ea35a5140d0d97f65dde0cb6ef907a1b7bdb0a3f
5
5
  SHA512:
6
- metadata.gz: 7d53487a9551e7e6674392d3018fab7ab1f694e84095fd9360b0e8c73b8c9de950700de9b338a62b3d4274e07543f4f1ec504c687cddf4aaf99e4f83d444b3f2
7
- data.tar.gz: f62776cca0dcdd9fbf9d6b873dd9337fe3cd89e7b7fe4818cd4fc81c018281688bd58a56e29e5fd4e14e744e2b1a8a698efc88cc0f6cf78aa68ec59335f6aa7e
6
+ metadata.gz: a020629832c66b5ef7a134dfbef870f641175fee89a686473837c1db45d66e8361be7fd8b92a169b835e214dc4deeafa710f217ee6cd60b26f2cb143ee8681dc
7
+ data.tar.gz: c9c5d1e62a240eac191674b46291490996ba1b947f12a023ed62e355b843fb8d557f4225598706b7d6c5670dcefef725d732e4118b6637612a2f657c6d941b7e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0] - 2025-11-28
4
+
5
+ - Rename strategy from `ZoomV2` to `Zoom`
6
+
3
7
  ## [0.0.0] - 2025-08-11
4
8
 
5
9
  - Initial release
data/README.md CHANGED
@@ -38,7 +38,7 @@ Add the following to `config/initializers/devise.rb`:
38
38
  ```ruby
39
39
  # config/initializers/devise.rb
40
40
  Devise.setup do |config|
41
- config.omniauth :zoom_v2, ENV['ZOOM_CLIENT_ID'], ENV['ZOOM_CLIENT_SECRET']
41
+ config.omniauth :zoom, ENV['ZOOM_CLIENT_ID'], ENV['ZOOM_CLIENT_SECRET']
42
42
  end
43
43
  ```
44
44
 
@@ -57,7 +57,7 @@ Add the OmniAuth configuration to your Devise model:
57
57
  class User < ApplicationRecord
58
58
  devise :database_authenticatable, :registerable,
59
59
  :recoverable, :rememberable, :validatable,
60
- :omniauthable, omniauth_providers: [:zoom_v2]
60
+ :omniauthable, omniauth_providers: [:zoom]
61
61
  end
62
62
  ```
63
63
 
@@ -68,10 +68,10 @@ You can configure several options:
68
68
  ```ruby
69
69
  # config/initializers/devise.rb
70
70
  Devise.setup do |config|
71
- config.omniauth :zoom_v2, ENV['ZOOM_CLIENT_ID'], ENV['ZOOM_CLIENT_SECRET'],
71
+ config.omniauth :zoom, ENV['ZOOM_CLIENT_ID'], ENV['ZOOM_CLIENT_SECRET'],
72
72
  {
73
73
  scope: 'user:read:user', # Specify OAuth scopes
74
- callback_path: '/custom/zoom_v2/callback', # Custom callback path
74
+ callback_path: '/custom/zoom/callback', # Custom callback path
75
75
  }
76
76
  end
77
77
  ```
@@ -82,7 +82,7 @@ After successful authentication, the auth hash will be available in `request.env
82
82
 
83
83
  ```ruby
84
84
  {
85
- provider: 'zoom_v2',
85
+ provider: 'zoom',
86
86
  uid: 'Wk9PTV9VU0VSX0lE',
87
87
  info: {
88
88
  name: 'Jane Dev',
@@ -4,17 +4,15 @@ require 'omniauth-oauth2'
4
4
 
5
5
  module OmniAuth
6
6
  module Strategies
7
- class ZoomV2 < OmniAuth::Strategies::OAuth2
7
+ class Zoom < OmniAuth::Strategies::OAuth2
8
8
  USER_INFO_URL = 'https://api.zoom.us/v2/users/me'
9
9
 
10
- option :name, 'zoom_v2'
11
-
10
+ option :name, 'zoom'
12
11
  option :client_options, {
13
12
  site: 'https://zoom.us',
14
13
  authorize_url: '/oauth/authorize',
15
14
  token_url: '/oauth/token'
16
15
  }
17
-
18
16
  option :authorize_options, [:scope, :state]
19
17
 
20
18
  uid { raw_info['id'] }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module ZoomV2
5
- VERSION = '0.0.0'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'omniauth/zoom_v2/version'
4
- require 'omniauth/strategies/zoom_v2'
4
+ require 'omniauth/strategies/zoom'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-zoom-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro
@@ -50,17 +50,17 @@ files:
50
50
  - README.md
51
51
  - Rakefile
52
52
  - lib/omniauth-zoom-v2.rb
53
- - lib/omniauth/strategies/zoom_v2.rb
53
+ - lib/omniauth/strategies/zoom.rb
54
54
  - lib/omniauth/zoom_v2/version.rb
55
- homepage: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v0.0.0
55
+ homepage: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v1.0.0
56
56
  licenses:
57
57
  - MIT
58
58
  metadata:
59
- homepage_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v0.0.0
60
- source_code_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v0.0.0
61
- changelog_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/blob/v0.0.0/CHANGELOG.md
59
+ homepage_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v1.0.0
60
+ source_code_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/tree/v1.0.0
61
+ changelog_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/blob/v1.0.0/CHANGELOG.md
62
62
  bug_tracker_uri: https://github.com/cadenza-tech/omniauth-zoom-v2/issues
63
- documentation_uri: https://rubydoc.info/gems/omniauth-zoom-v2/0.0.0
63
+ documentation_uri: https://rubydoc.info/gems/omniauth-zoom-v2/1.0.0
64
64
  funding_uri: https://patreon.com/CadenzaTech
65
65
  rubygems_mfa_required: 'true'
66
66
  rdoc_options: []