zaikio-hub 0.11.2 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/README.md +1 -1
- data/lib/zaikio/hub/subscription_invitation.rb +14 -0
- data/lib/zaikio/hub/version.rb +1 -1
- data/lib/zaikio/hub.rb +1 -0
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8871384444312b780a66e1756657180cec59ab6e07150ae9e3e9a0fa2bd436bf
|
4
|
+
data.tar.gz: 3cdc2b2b8a67f04435739afde96fd7d24d3b800c3168d16d6a6fa3f350661211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bad5d02cdd35556265e045d104beaaa1cd2c9e57e69584ae5379dca4516611b004bec8b4763658c93d8f8e045b0d66091a94cd0cd3f227d94294cfd92bc5559
|
7
|
+
data.tar.gz: 8749c277f88ff0df4fd68420db575806e034740f4b7fe20e7587d6b1766b218ff0d51d1de0091e46c2e85759674b2849e42838a9b0ed3d951bb46c12d290e950
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.13.0] - 2023-03-24
|
11
|
+
|
12
|
+
* Add `Zaikio::Hub::SubscriptionInvitation`
|
13
|
+
|
14
|
+
## [0.12.0] - 2023-02-09
|
15
|
+
|
16
|
+
* Update client-helpers and introduce default timeouts
|
17
|
+
|
10
18
|
## [0.11.2] - 2022-10-13
|
11
19
|
|
12
20
|
* Fixed `subscription_url` attribute typo in `Subscription`
|
@@ -104,7 +112,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
104
112
|
### Added
|
105
113
|
- Added subscriptions (migration required)
|
106
114
|
|
107
|
-
[Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.
|
115
|
+
[Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.13.0..HEAD
|
116
|
+
[0.13.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.12.0..v0.13.0
|
117
|
+
[0.12.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.11.2..v0.12.0
|
108
118
|
[0.11.2]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.11.1..v0.11.2
|
109
119
|
[0.11.1]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.11.0..v0.11.1
|
110
120
|
[0.11.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.10.0..v0.11.0
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ end
|
|
35
35
|
|
36
36
|
The Hub Client has an ORM like design. However, we distinguish between the contexts of the organization and the person.
|
37
37
|
|
38
|
-
For the requests to work, a valid JSON Web token with the correct OAuth Scopes must always be provided. Please refer to [
|
38
|
+
For the requests to work, a valid JSON Web token with the correct OAuth Scopes must always be provided. Please refer to [zaikio-oauth_client](https://github.com/zaikio/zaikio-oauth_client).
|
39
39
|
|
40
40
|
If you want to know which actions are available and which scopes are required, please refer to the [Directory API Reference](https://docs.zaikio.com/api/directory/directory.html).
|
41
41
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Zaikio
|
2
|
+
module Hub
|
3
|
+
class SubscriptionInvitation < Base
|
4
|
+
uri "subscription_invitations(/:id)"
|
5
|
+
|
6
|
+
include_root_in_json :subscription_invitation
|
7
|
+
|
8
|
+
# Attributes
|
9
|
+
attributes :updated_at, :created_at, :app_name, :plan, :organization_name,
|
10
|
+
:contact_person, :starting_at, :expires_at, :invitation_url, :created_at,
|
11
|
+
:updated_at
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/zaikio/hub/version.rb
CHANGED
data/lib/zaikio/hub.rb
CHANGED
@@ -26,6 +26,7 @@ require "zaikio/hub/revoked_access_token"
|
|
26
26
|
require "zaikio/hub/connection"
|
27
27
|
require "zaikio/hub/app"
|
28
28
|
require "zaikio/hub/subscription"
|
29
|
+
require "zaikio/hub/subscription_invitation"
|
29
30
|
require "zaikio/hub/test_account"
|
30
31
|
require "zaikio/hub/token_data"
|
31
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zaikio-hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- crispymtn
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-03-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: concurrent-ruby
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
version: 2.2.1
|
36
36
|
- - "<"
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 2.
|
38
|
+
version: 2.8.0
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: 2.2.1
|
46
46
|
- - "<"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 2.
|
48
|
+
version: 2.8.0
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: multi_json
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,7 +75,7 @@ dependencies:
|
|
75
75
|
version: 3.10.5
|
76
76
|
- - "<"
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 3.
|
78
|
+
version: 3.15.0
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -85,7 +85,7 @@ dependencies:
|
|
85
85
|
version: 3.10.5
|
86
86
|
- - "<"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 3.
|
88
|
+
version: 3.15.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: spyke
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,14 +112,14 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '0.
|
115
|
+
version: '0.4'
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '0.
|
122
|
+
version: '0.4'
|
123
123
|
description: Ruby API Client for Zaikio's Hub
|
124
124
|
email:
|
125
125
|
- op@crispymtn.com
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- lib/zaikio/hub/software.rb
|
157
157
|
- lib/zaikio/hub/specialist.rb
|
158
158
|
- lib/zaikio/hub/subscription.rb
|
159
|
+
- lib/zaikio/hub/subscription_invitation.rb
|
159
160
|
- lib/zaikio/hub/test_account.rb
|
160
161
|
- lib/zaikio/hub/token_data.rb
|
161
162
|
- lib/zaikio/hub/version.rb
|