omniauth-vis 0.1.4 → 0.1.5
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 +6 -0
- data/README.md +0 -3
- data/lib/vis/api.rb +2 -2
- data/omniauth-vis.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2311402bef3b4dd30c6cb4d11bfca2b7b5c4b9e8f36e01511ce91051d5f6b54c
|
4
|
+
data.tar.gz: e14a4a71e63c0d77979d7706a6ed3ca966fd05eb9d3dd61c0b3fe970f5398d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcd8da9459a012e00e3992f907a2a77197b1f7342fc3b6912156bdfc7b8319823c44a5648e9ceba8267bb7fcfca3f47ffd0d6a501d1a66b1431e5d9e764b59a6
|
7
|
+
data.tar.gz: f3e35dd275dcc5132dff07a8b90fa5a4416a9fe2053a7a37f1e2b4be89ef9190d50df987e2dfb28db47623097f5068ffc57675bd32d4b695340c5c1b53b5b350
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -65,12 +65,9 @@ Example
|
|
65
65
|
encrypted_password: "xxxxxxxxxx"
|
66
66
|
})
|
67
67
|
```
|
68
|
-
|
69
68
|
## Developers, how to publish new version of the gem
|
70
69
|
|
71
|
-
```
|
72
70
|
* update the `CHANGELOG.md` file, see https://keepachangelog.com
|
73
71
|
* increase `gem.version` in `omniauth-vis.gemspec`
|
74
72
|
* `gem build omniauth-vis`
|
75
73
|
* `gem push omniauth-vis-X.X.X.gem`
|
76
|
-
```
|
data/lib/vis/api.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Vipassana Identity Server Service - for server to server Oauth 2 client_credentials grant flow
|
2
2
|
# gets tokens so we can use the VIS API
|
3
3
|
module Vis
|
4
4
|
class OauthError < StandardError; end
|
@@ -35,7 +35,7 @@ module Vis
|
|
35
35
|
http_client, uri = http_client_and_uri "/oauth/token"
|
36
36
|
request = Net::HTTP::Post.new(uri.request_uri)
|
37
37
|
request.set_form_data({ "client_id" => @client_id, "client_secret" => @client_secret,
|
38
|
-
"grant_type" => "client_credentials" })
|
38
|
+
"grant_type" => "client_credentials", "scope" => "default" })
|
39
39
|
http_client.request(request)
|
40
40
|
end
|
41
41
|
|
data/omniauth-vis.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'omniauth-vis'
|
5
|
-
gem.version = '0.1.
|
5
|
+
gem.version = '0.1.5'
|
6
6
|
# gem.license = 'MIT'
|
7
|
-
gem.summary = 'Helper to connect to
|
7
|
+
gem.summary = 'Helper to connect to Vipassana Identity Server'
|
8
8
|
gem.description = 'This allows you to connect to Vipassana identity server with your ruby app'
|
9
9
|
gem.authors = ['Dhamma workers']
|
10
10
|
gem.email = ['sebastian.castro@dhamma.org', 'ryan.johnson@dhamma.org']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-vis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dhamma workers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -61,5 +61,5 @@ requirements: []
|
|
61
61
|
rubygems_version: 3.5.23
|
62
62
|
signing_key:
|
63
63
|
specification_version: 4
|
64
|
-
summary: Helper to connect to
|
64
|
+
summary: Helper to connect to Vipassana Identity Server
|
65
65
|
test_files: []
|