omniauth2-gitlab 0.0.1 → 0.0.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.
- checksums.yaml +4 -4
- data/README.md +2 -52
- data/lib/omniauth/gitlab/version.rb +1 -1
- data/omniauth2-gitlab.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2197e1b3e4605c22e0f02be2506d89d10078979
|
4
|
+
data.tar.gz: 7c5bb5c2b3b518de594140736e4ef7914c61d3df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c3b89935e20e16efef61420827308a6c7f3aaf40bc24beff6c27b4ddecd8ac28f05b0887254b1e06ec78efe394d39c16a9738b4db10f26fadcea7ecfd091c5e
|
7
|
+
data.tar.gz: db3cc4ff1db83e931ddf0ea1dd5a4feff75744447aa110cd45b26d2cb11f34b3666df57ad34d46fd0e434840be7a8e419f480440681cf6fd5fedd213a7326a41
|
data/README.md
CHANGED
@@ -1,53 +1,3 @@
|
|
1
|
-
#
|
1
|
+
# DEPRECATED
|
2
2
|
|
3
|
-
|
4
|
-
you'll need to sign up for an OAuth2 Application ID and Secret on your GitLab
|
5
|
-
Applications Page (`admin/applications/`).
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'omniauth2-gitlab'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install omniauth2-gitlab
|
22
|
-
|
23
|
-
## Usage
|
24
|
-
|
25
|
-
In your `config/initializers/omniauth.rb`:
|
26
|
-
|
27
|
-
```ruby
|
28
|
-
Rails.application.config.middleware.use OmniAuth::Builder do
|
29
|
-
provider :gitlab, ENV['GITLAB_APP_ID'], ENV['GITLAB_SECRET']
|
30
|
-
end
|
31
|
-
```
|
32
|
-
|
33
|
-
By default it uses `https://gitlab.com` for authentication. To change to your
|
34
|
-
site:
|
35
|
-
|
36
|
-
```ruby
|
37
|
-
Rails.application.config.middleware.use OmniAuth::Builder do
|
38
|
-
provider :gitlab, ENV['GITLAB_APP_ID'], ENV['GITLAB_SECRET'],
|
39
|
-
{
|
40
|
-
:client_options => {
|
41
|
-
:site => 'https://YOURDOMAIN.com',
|
42
|
-
}
|
43
|
-
}
|
44
|
-
end
|
45
|
-
```
|
46
|
-
|
47
|
-
Then, register a new application in your GitLab server and start your Rails
|
48
|
-
application by providing the environment variables `GITLAB_APP_ID` and
|
49
|
-
`GITLAB_SECRET`.
|
50
|
-
|
51
|
-
## LICENSE
|
52
|
-
|
53
|
-
MIT, see [LICENSE](./LICENSE).
|
3
|
+
Use https://rubygems.org/gems/omniauth-gitlab instead.
|
data/omniauth2-gitlab.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Achilleas Pipinellis"]
|
10
10
|
spec.email = ["axilleas@axilleas.me"]
|
11
11
|
spec.summary = %q{OmniAuth2 strategy for GitLab}
|
12
|
-
spec.description = %q{
|
13
|
-
spec.homepage = "https://gitlab.com/
|
12
|
+
spec.description = %q{Deprecated! Use https://rubygems.org/gems/omniauth-gitlab instead.}
|
13
|
+
spec.homepage = "https://gitlab.com/axil/omniauth2-gitlab"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth2-gitlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Achilleas Pipinellis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
|
-
description:
|
69
|
+
description: Deprecated! Use https://rubygems.org/gems/omniauth-gitlab instead.
|
70
70
|
email:
|
71
71
|
- axilleas@axilleas.me
|
72
72
|
executables: []
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- lib/omniauth/strategies/gitlab.rb
|
83
83
|
- lib/omniauth2-gitlab.rb
|
84
84
|
- omniauth2-gitlab.gemspec
|
85
|
-
homepage: https://gitlab.com/
|
85
|
+
homepage: https://gitlab.com/axil/omniauth2-gitlab
|
86
86
|
licenses:
|
87
87
|
- MIT
|
88
88
|
metadata: {}
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.
|
105
|
+
rubygems_version: 2.6.8
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: OmniAuth2 strategy for GitLab
|