omniauth-rocketchat 0.1.0 → 0.1.3
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/.gitignore +1 -1
- data/.rubocop.yml +5 -0
- data/Gemfile +9 -9
- data/README.md +4 -6
- data/Rakefile +2 -2
- data/lib/omniauth-rocketchat/version.rb +1 -1
- data/omniauth-rocketchat.gemspec +10 -2
- metadata +48 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6e734479555a66972b720b9d9c4843e322b28c04a7f0a928fddb6a6158ecaeb
|
4
|
+
data.tar.gz: 6a4de526dad4f5a0371cbce48a47a55d656164d330ed574e555b29d0eccdbbe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e2acd00131584a457a78cd16923d667416377555553f3e7343f9876fcd8abb77710bafa00a4b64f32ffc9c2d946ed2f0484f2f51fc282bfab26447e7f15f086
|
7
|
+
data.tar.gz: 34921d9fa071a2c2bd46381ac8aad98f802cf0bc4445f04920cd11e0a8200cff7487b9ea022f3be0f66e132f87f35cf4582b1de0265422cc34f99f7072da9cb2
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/Gemfile
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
ruby
|
3
|
+
ruby "3.3.6", platforms: [ :ruby, :x86_64_linux ]
|
4
4
|
|
5
5
|
gem "rake", "~> 13.0"
|
6
6
|
|
7
7
|
group :test do
|
8
|
-
gem "addressable", "~> 2.3.8", :
|
9
|
-
gem
|
10
|
-
gem "json", :
|
11
|
-
gem "mime-types", "~>
|
8
|
+
gem "addressable", "~> 2.3.8", platforms: %i[jruby ruby_18]
|
9
|
+
gem "coveralls_reborn", "~> 0.28.0", require: false
|
10
|
+
gem "json", platforms: %i[jruby ruby_18 ruby_19]
|
11
|
+
gem "mime-types", "~> 3.6", platforms: %i[jruby ruby_18]
|
12
12
|
gem "rack-test"
|
13
|
-
gem "rest-client", "~> 1.
|
13
|
+
gem "rest-client", "~> 2.1.0", platforms: %i[jruby ruby_18]
|
14
14
|
gem "rspec", "~> 3.8"
|
15
|
-
gem "rubocop", "
|
16
|
-
gem
|
17
|
-
gem
|
15
|
+
gem "rubocop", "~> 1.70", platforms: %i[ruby_19 ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
|
16
|
+
gem "simplecov-lcov"
|
17
|
+
gem "tins", "~> 1.13", platforms: %i[jruby_18 jruby_19 ruby_19]
|
18
18
|
gem "webmock", "~> 3.0"
|
19
19
|
end
|
20
20
|
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
[][contributing]
|
6
6
|
|
7
7
|
[gem]: https://rubygems.org/gems/omniauth-rocketchat
|
8
|
-
[license]: LICENSE
|
8
|
+
[license]: LICENSE.md
|
9
9
|
[contributing]: CODE_OF_CONDUCT.md
|
10
10
|
|
11
11
|
Unofficial OmniAuth strategy to authenticate with [Rocket Chat](https://rocket.chat/) through OAuth2 in [OmniAuth](https://github.com/omniauth/omniauth).
|
@@ -15,7 +15,7 @@ Unofficial OmniAuth strategy to authenticate with [Rocket Chat](https://rocket.c
|
|
15
15
|
Add this line to your application's Gemfile:
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem 'omniauth-
|
18
|
+
gem 'omniauth-rocketchat'
|
19
19
|
```
|
20
20
|
|
21
21
|
Then execute `bundle install`.
|
@@ -28,7 +28,7 @@ You need to register your application with your Rocket Chat instance to obtain t
|
|
28
28
|
* Go to `Administration` -> `Third-party login`.
|
29
29
|
* Click on `New Application`.
|
30
30
|
* Check the `Active` checkbox.
|
31
|
-
* Fill in the `Application Name` and `Redirect URL`. The redirect URL for devise looks like `https://example.com/users/auth/
|
31
|
+
* Fill in the `Application Name` and `Redirect URL`. The redirect URL for devise looks like `https://example.com/users/auth/rocketchat/callback`. You can add multiple hosts by separating them with a comma.
|
32
32
|
* Click on `Save`.
|
33
33
|
* Select the third-party login you just created.
|
34
34
|
* Copy the `Client ID` and `Client Secret`.
|
@@ -107,7 +107,5 @@ Bug reports and pull requests are welcome on the [GitHub project page](https://g
|
|
107
107
|
|
108
108
|
## License
|
109
109
|
|
110
|
-
Copyright © 2024 David Uhlig. See [LICENSE][] for details.
|
111
|
-
|
112
|
-
[license]: LICENSE
|
110
|
+
Copyright © 2024-2025 David Uhlig. See [LICENSE][] for details.
|
113
111
|
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require "rspec/core/rake_task"
|
|
5
5
|
|
6
6
|
RSpec::Core::RakeTask.new
|
7
7
|
|
8
|
-
task :
|
8
|
+
task test: :spec
|
9
9
|
|
10
10
|
begin
|
11
11
|
require "rubocop/rake_task"
|
@@ -16,4 +16,4 @@ rescue LoadError
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
task :
|
19
|
+
task default: %i[spec rubocop]
|
data/omniauth-rocketchat.gemspec
CHANGED
@@ -12,10 +12,15 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.summary = "An unofficial Rocket Chat OAuth2 strategy."
|
13
13
|
gem.description = 'Allows your application to integrate with Rocket Chat through their "Third-party login" feature.'
|
14
14
|
|
15
|
-
gem.authors = ["David Uhlig"]
|
15
|
+
gem.authors = [ "David Uhlig" ]
|
16
16
|
gem.email = "david.uhlig@gmail.com"
|
17
17
|
gem.homepage = "https://github.com/david-uhlig/omniauth-rocketchat"
|
18
18
|
|
19
|
+
gem.metadata = {
|
20
|
+
"homepage_uri" => gem.homepage,
|
21
|
+
"source_code_uri" => gem.homepage
|
22
|
+
}
|
23
|
+
|
19
24
|
gem.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('spec/') }
|
20
25
|
gem.require_paths = %w[lib]
|
21
26
|
|
@@ -27,7 +32,10 @@ Gem::Specification.new do |gem|
|
|
27
32
|
gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.8'
|
28
33
|
|
29
34
|
gem.add_development_dependency "rake", "~> 13.0"
|
30
|
-
gem.add_development_dependency "rubocop", "~> 1.
|
35
|
+
gem.add_development_dependency "rubocop", "~> 1.70"
|
36
|
+
gem.add_development_dependency "rubocop-performance", "~> 1.23"
|
37
|
+
gem.add_development_dependency "rubocop-rspec", "~> 2.0"
|
38
|
+
gem.add_development_dependency "rubocop-rails-omakase", "~> 1.0"
|
31
39
|
gem.add_development_dependency "rspec", "~> 3.8"
|
32
40
|
gem.add_development_dependency "simplecov", "~> 0.16"
|
33
41
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-rocketchat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Uhlig
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: oauth2
|
@@ -67,6 +67,48 @@ dependencies:
|
|
67
67
|
version: '13.0'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: rubocop
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.70'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '1.70'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rubocop-performance
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '1.23'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.23'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: rubocop-rspec
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2.0'
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '2.0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rubocop-rails-omakase
|
70
112
|
requirement: !ruby/object:Gem::Requirement
|
71
113
|
requirements:
|
72
114
|
- - "~>"
|
@@ -115,6 +157,7 @@ extensions: []
|
|
115
157
|
extra_rdoc_files: []
|
116
158
|
files:
|
117
159
|
- ".gitignore"
|
160
|
+
- ".rubocop.yml"
|
118
161
|
- CODE_OF_CONDUCT.md
|
119
162
|
- Gemfile
|
120
163
|
- LICENSE.md
|
@@ -127,7 +170,9 @@ files:
|
|
127
170
|
homepage: https://github.com/david-uhlig/omniauth-rocketchat
|
128
171
|
licenses:
|
129
172
|
- MIT
|
130
|
-
metadata:
|
173
|
+
metadata:
|
174
|
+
homepage_uri: https://github.com/david-uhlig/omniauth-rocketchat
|
175
|
+
source_code_uri: https://github.com/david-uhlig/omniauth-rocketchat
|
131
176
|
rdoc_options: []
|
132
177
|
require_paths:
|
133
178
|
- lib
|