omniauth-github 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +5 -1
- data/README.md +18 -1
- data/lib/omniauth-github/version.rb +1 -1
- data/lib/omniauth/strategies/github.rb +1 -1
- data/omniauth-github.gemspec +2 -2
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69587c7e122010a4aa5042e82d83a5783167c86b583dd5cda1d5f2a745e671f1
|
4
|
+
data.tar.gz: 01a585f28b26650b42fba83bf283760e0d26929f4b9ea0100bf7f244ed40898c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23d79870e430a1331da27792d46151470a13e3bec0e98a8feff5a4d6df71605563ebc2b9206b2adfa60ab57c96f83e164f5351ee75ffe69f0803332385bc00f2
|
7
|
+
data.tar.gz: 47023e14293172e0e7ad0d24023097b8c6769435b05e8463b590bbe79a63bbad3e93dcc20c7845b7bf5981b6d86e723fd9430894a0a21561ce9ee49e3c35816b
|
data/.github/workflows/ruby.yml
CHANGED
data/README.md
CHANGED
@@ -20,6 +20,18 @@ use OmniAuth::Builder do
|
|
20
20
|
end
|
21
21
|
```
|
22
22
|
|
23
|
+
|
24
|
+
## Basic Usage Rails
|
25
|
+
|
26
|
+
In `config/initializers/github.rb`
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
30
|
+
provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
|
23
35
|
## Github Enterprise Usage
|
24
36
|
|
25
37
|
```ruby
|
@@ -43,7 +55,12 @@ use OmniAuth::Builder do
|
|
43
55
|
end
|
44
56
|
```
|
45
57
|
|
46
|
-
More info on [Scopes](
|
58
|
+
More info on [Scopes](https://docs.github.com/en/developers/apps/scopes-for-oauth-apps).
|
59
|
+
|
60
|
+
|
61
|
+
## Semver
|
62
|
+
This project adheres to Semantic Versioning 2.0.0. Any violations of this scheme are considered to be bugs.
|
63
|
+
All changes will be tracked [here](https://github.com/omniauth/omniauth-github/releases).
|
47
64
|
|
48
65
|
## License
|
49
66
|
|
data/omniauth-github.gemspec
CHANGED
@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.require_paths = ["lib"]
|
17
17
|
gem.version = OmniAuth::GitHub::VERSION
|
18
18
|
|
19
|
-
gem.add_dependency 'omniauth', '~>
|
20
|
-
gem.add_dependency 'omniauth-oauth2', '
|
19
|
+
gem.add_dependency 'omniauth', '~> 2.0'
|
20
|
+
gem.add_dependency 'omniauth-oauth2', '~> 1.7.1'
|
21
21
|
gem.add_development_dependency 'rspec', '~> 3.5'
|
22
22
|
gem.add_development_dependency 'rack-test'
|
23
23
|
gem.add_development_dependency 'simplecov'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -16,34 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.4.0
|
34
|
-
- - "<"
|
31
|
+
- - "~>"
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
33
|
+
version: 1.7.1
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.4.0
|
44
|
-
- - "<"
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
40
|
+
version: 1.7.1
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: rspec
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|