omniauth-vis 0.1.3 → 0.1.4
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 +7 -0
- data/README.md +7 -4
- data/lib/vis/api.rb +6 -0
- data/omniauth-vis.gemspec +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e29ae7398db54ed0b7b6bceb083635b83a702e53fcf072d79495580239401ae
|
4
|
+
data.tar.gz: 833d785abed6b3fb7deb2e20cb9650330735480e70eb106c3c5458235ff723e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25963599268b5b5eb21aef9a1ee8f311f171948cf157625a1f15e99a625685fa67c9899c486a1f705266aaa0f0c0dc72651eedf5a87d8951d9d17fafdf7bef47
|
7
|
+
data.tar.gz: e6f1c7edbf178aacf9f6d3423984849ff6140f5c4161f20998624fc7ebdeaa4e84b932c82660fab1836a4f371b8e85f19f48975a234ce2a0dd84eaf9e11f37fd
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -53,7 +53,8 @@ require "vis/api"
|
|
53
53
|
@vis_api.post("api_path", data)
|
54
54
|
```
|
55
55
|
|
56
|
-
|
56
|
+
The API documentation can be found at [https://identity.dhamma.org/doc](https://identity.dhamma.org/doc).
|
57
|
+
It is automatically generated from the VIS API Users Controller code deployed on production, through the `apipie-rails` gem.
|
57
58
|
|
58
59
|
Example
|
59
60
|
|
@@ -68,6 +69,8 @@ Example
|
|
68
69
|
## Developers, how to publish new version of the gem
|
69
70
|
|
70
71
|
```
|
71
|
-
|
72
|
-
gem
|
73
|
-
|
72
|
+
* update the `CHANGELOG.md` file, see https://keepachangelog.com
|
73
|
+
* increase `gem.version` in `omniauth-vis.gemspec`
|
74
|
+
* `gem build omniauth-vis`
|
75
|
+
* `gem push omniauth-vis-X.X.X.gem`
|
76
|
+
```
|
data/lib/vis/api.rb
CHANGED
@@ -45,6 +45,12 @@ module Vis
|
|
45
45
|
return_response(response)
|
46
46
|
end
|
47
47
|
|
48
|
+
def delete(path)
|
49
|
+
http_client, uri = http_client_and_uri path
|
50
|
+
response = http_client.delete(uri, headers)
|
51
|
+
return_response(response)
|
52
|
+
end
|
53
|
+
|
48
54
|
def post(path, post_params_hash)
|
49
55
|
http_client, uri = http_client_and_uri path
|
50
56
|
response = http_client.post(uri, post_params_hash.to_json, headers)
|
data/omniauth-vis.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
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.4'
|
6
6
|
# gem.license = 'MIT'
|
7
7
|
gem.summary = 'Helper to connect to Vipassna Identity Server'
|
8
8
|
gem.description = 'This allows you to connect to Vipassana identity server with your ruby app'
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dhamma workers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -34,6 +34,7 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- ".gitignore"
|
37
|
+
- CHANGELOG.md
|
37
38
|
- README.md
|
38
39
|
- lib/omniauth/strategies/vis.rb
|
39
40
|
- lib/omniauth_vis.rb
|
@@ -42,7 +43,7 @@ files:
|
|
42
43
|
homepage: https://github.com/dhammaorg/omniauth-vis
|
43
44
|
licenses: []
|
44
45
|
metadata: {}
|
45
|
-
post_install_message:
|
46
|
+
post_install_message:
|
46
47
|
rdoc_options: []
|
47
48
|
require_paths:
|
48
49
|
- lib
|
@@ -57,8 +58,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
58
|
- !ruby/object:Gem::Version
|
58
59
|
version: '0'
|
59
60
|
requirements: []
|
60
|
-
rubygems_version: 3.
|
61
|
-
signing_key:
|
61
|
+
rubygems_version: 3.5.23
|
62
|
+
signing_key:
|
62
63
|
specification_version: 4
|
63
64
|
summary: Helper to connect to Vipassna Identity Server
|
64
65
|
test_files: []
|