omniauth-douyin 1.0.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4adb8b0d0684e8e7d4f9f3f041c9b7dfdc73c6d1e0af6d17ac119ca9c98900fd
4
- data.tar.gz: a1f8c4983be85a48522872405a17142f218725b0a7209b60561a2d758c223285
3
+ metadata.gz: 5d1398ffe975693c58e6ecc6b5b8574666d48785938e8cfaab89240c8de91444
4
+ data.tar.gz: 7db529f71f59b9336069ceea9559282f19b6ae7f03eae6858189fe4fbb5906fb
5
5
  SHA512:
6
- metadata.gz: 93e303c1f71db1a89a9d5739ddaf0ebe311c058b20a117546c1726491e7212892836bf9a92130b6c5a9977881fb0560ba71cb3e33059c3f869e684fcd8dd54ca
7
- data.tar.gz: bcae13d436cd444d6babd3134ffa36f78f16aa94ec739e5978de12998fb56c07bedcee724546cc7d25c68508fc93a98c19838fbd36ec75a26518e59413b49715
6
+ metadata.gz: 99cf119c484ec5edb957601270e0b494242623b4ddf052c72c90fd82b52a4ebf09cace60dcf5e0d257e7a67f2cee2dc32623df3972630e51c5b0ad2be0460ca3
7
+ data.tar.gz: 2fd10cb057b04b4ef2fb3253e3845b73894a248bae7b98c918e80375b139c44470e199a85b3f6cc9a8709b7682671449a0aa33049809e76b969bbab68a829d95
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  Gemfile.lock
10
+ *.gem
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
data/README.md CHANGED
@@ -26,7 +26,7 @@ Here's a quick example, adding the middleware to a Rails app in `config/initiali
26
26
 
27
27
  ```ruby
28
28
  Rails.application.config.middleware.use OmniAuth::Builder do
29
- provider :douyin, ENV['DOUYIN_CLIENT_ID'], ENV['DOUYIN_CLIENT_SECRET']
29
+ provider :douyin, ENV['DOUYIN_CLIENT_KEY'], ENV['DOUYIN_CLIENT_SECRET']
30
30
  end
31
31
  ```
32
32
 
data/bin/install ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env bash
2
+
3
+ gem build omniauth-douyin.gemspec
4
+ gem install ./omniauth-douyin-1.0.0.gem
@@ -61,15 +61,15 @@ module OmniAuth
61
61
  super.tap do |params|
62
62
  params[:scope] ||= DEFAULT_SCOPE
63
63
  params[:response_type] = 'code'
64
- params.delete(:client_id)
65
- params[:client_key] = options.client_id
64
+ params.delete(:client_key)
65
+ params[:client_key] = options.client_key
66
66
  end
67
67
  end
68
68
 
69
69
  def token_params
70
70
  super.tap do |params|
71
- params.delete(:client_id)
72
- params[:client_key] = options.client_id
71
+ params.delete(:client_key)
72
+ params[:client_key] = options.client_key
73
73
  end
74
74
  end
75
75
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Douyin
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-douyin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - memorycancel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -61,6 +61,7 @@ files:
61
61
  - README.md
62
62
  - Rakefile
63
63
  - bin/console
64
+ - bin/install
64
65
  - bin/setup
65
66
  - lib/omniauth-douyin.rb
66
67
  - lib/omniauth-douyin/version.rb