omniauth-dnanexus 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +19 -3
- data/lib/omniauth/dnanexus/version.rb +1 -1
- data/lib/omniauth/strategies/dnanexus.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe01eb3423a87da46a5565457867e9c317d9050f64a3388ed70ba25007cf1309
|
|
4
|
+
data.tar.gz: d217575b74be1f368e9bfc132795dc4ffb1604bf00fcb22ab2473a2f9df2f835
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47e1d20b18e59bc0656677dd0d59b9efd981ebf5ca242e243a2cca7c5bdaecb3e0ea96606cd43c47412eb24039ea4b42bd871912be405488f2e29eecca186734
|
|
7
|
+
data.tar.gz: c0d921de7ade693de3fd5da873326a512f626f1e43cadf7124f88bcc29eb3729f45f3b8cec7639f7ee05cb7bc3e1a8bf2200120c1893ecc57402038531ad60f2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased](https://github.com/MikeRogers0/omniauth-dnanexus/tree/HEAD)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/MikeRogers0/omniauth-dnanexus/compare/
|
|
5
|
+
[Full Changelog](https://github.com/MikeRogers0/omniauth-dnanexus/compare/v0.1.0...HEAD)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- bug: Remove trailing slashes on endpoint api calls [\#5](https://github.com/MikeRogers0/omniauth-dnanexus/pull/5) ([MikeRogers0](https://github.com/MikeRogers0))
|
|
10
|
+
- doc: Adding links to readme [\#4](https://github.com/MikeRogers0/omniauth-dnanexus/pull/4) ([MikeRogers0](https://github.com/MikeRogers0))
|
|
11
|
+
|
|
12
|
+
## [v0.1.0](https://github.com/MikeRogers0/omniauth-dnanexus/tree/v0.1.0) (2021-07-13)
|
|
13
|
+
|
|
14
|
+
[Full Changelog](https://github.com/MikeRogers0/omniauth-dnanexus/compare/c419477e02461b4bc41b754f0daeaa997fb7ad1f...v0.1.0)
|
|
6
15
|
|
|
7
16
|
**Merged pull requests:**
|
|
8
17
|
|
data/README.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
OmniAuth::DNAnexus
|
|
3
|
+
</h1>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a target="_blank" rel="noopener noreferrer" href="https://twitter.com/MikeRogers0">
|
|
7
|
+
<img src="https://img.shields.io/twitter/follow/MikeRogers0?label=Follow%20%40MikeRogers0%20For%20Updates&style=social" alt="Follow @MikeRogers on Twitter" style="max-width:100%;">
|
|
8
|
+
</a>
|
|
9
|
+
<a target="_blank" rel="noopener noreferrer" href="https://badge.fury.io/rb/omniauth-dnanexus">
|
|
10
|
+
<img src="https://badge.fury.io/rb/omniauth-dnanexus.svg" alt="Gem Version" style="max-width:100%;">
|
|
11
|
+
</a>
|
|
12
|
+
<a target="_blank" rel="noopener noreferrer" href="https://github.com/MikeRogers0/omniauth-dnanexus/actions/workflows/ci.yml">
|
|
13
|
+
<img src="https://github.com/MikeRogers0/omniauth-dnanexus/actions/workflows/ci.yml/badge.svg" alt="CI Passing" style="max-width:100%;">
|
|
14
|
+
</a>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
OmniAuth strategy for <a target="_blank" rel="noopener noreferrer" href="https://documentation.dnanexus.com/developer/api/authentication">DNAnexus</a>
|
|
19
|
+
</p>
|
|
4
20
|
|
|
5
21
|
## Installation
|
|
6
22
|
|
|
@@ -40,13 +40,19 @@ module OmniAuth
|
|
|
40
40
|
|
|
41
41
|
def raw_info
|
|
42
42
|
@raw_info ||= access_token.post(
|
|
43
|
-
|
|
43
|
+
user_describe_endpoint,
|
|
44
44
|
body: "{}",
|
|
45
45
|
headers: {
|
|
46
46
|
"Content-Type" => "application/json"
|
|
47
47
|
}
|
|
48
48
|
).parsed
|
|
49
49
|
end
|
|
50
|
+
|
|
51
|
+
private
|
|
52
|
+
|
|
53
|
+
def user_describe_endpoint
|
|
54
|
+
"#{options.dnanexus_api_endpoint.chomp("/")}/#{access_token.params["user_id"]}/describe"
|
|
55
|
+
end
|
|
50
56
|
end
|
|
51
57
|
end
|
|
52
58
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-dnanexus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Rogers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|