zaikio-hub 0.8.0 → 0.9.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 +7 -1
- data/lib/zaikio/hub/app.rb +12 -0
- data/lib/zaikio/hub/current_organization.rb +5 -0
- data/lib/zaikio/hub/version.rb +1 -1
- data/lib/zaikio/hub.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18214a7030901b40e09a743798f3356cc2821588be5639360466d510425ecc1a
|
4
|
+
data.tar.gz: f1f691ed65c67d461bf4cc95ed0fdea6bf258ee7e8a7fb92778396c921df7bbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb26a98cbf56f0cb9e4390d88af710b0452539b65d5f3b3dce474936e373bfaa77b6e98e1731560b9b44a2808ac96a958ac0b9a501961158084388cd94526e7
|
7
|
+
data.tar.gz: 79a2a1bcaf197e4eae88d31a8b87f0a3e127b1927f3e33f1437c9c52f5e1fd4e2fa42691974bee2c555c1eef6ec4f7a8aeb2263ec656ff2bd535267d0e3c8925
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.9.0] - 2021-08-31
|
11
|
+
|
12
|
+
* Added `.connections` and `.apps` for `CurrentOrganization`s that are vendors
|
13
|
+
|
10
14
|
## [0.8.0] - 2021-08-25
|
11
15
|
|
12
16
|
* Added `CurrentOrganization#create_subscription`
|
@@ -77,7 +81,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
77
81
|
### Added
|
78
82
|
- Added subscriptions (migration required)
|
79
83
|
|
80
|
-
[Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.
|
84
|
+
[Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.9.0..HEAD
|
85
|
+
[0.9.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.8.0..v0.9.0
|
86
|
+
[0.8.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.7.0..v0.8.0
|
81
87
|
[0.7.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.6.2..v0.7.0
|
82
88
|
[0.6.2]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.6.1..v0.6.2
|
83
89
|
[0.6.1]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.6.0..v0.6.1
|
@@ -35,6 +35,11 @@ module Zaikio
|
|
35
35
|
uri: "specialists(/:id)"
|
36
36
|
has_many :sites, class_name: "Zaikio::Hub::Site",
|
37
37
|
uri: "sites(/:id)"
|
38
|
+
# For vendors
|
39
|
+
has_many :connections, class_name: "Zaikio::Hub::Connection",
|
40
|
+
uri: "connections(/:id)"
|
41
|
+
has_many :apps, class_name: "Zaikio::Hub::App",
|
42
|
+
uri: "apps(/:id)"
|
38
43
|
|
39
44
|
def fetch
|
40
45
|
self.attributes = get
|
data/lib/zaikio/hub/version.rb
CHANGED
data/lib/zaikio/hub.rb
CHANGED
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.9.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: 2021-08-
|
13
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: concurrent-ruby
|
@@ -129,6 +129,7 @@ files:
|
|
129
129
|
- Rakefile
|
130
130
|
- lib/zaikio/hub.rb
|
131
131
|
- lib/zaikio/hub/address.rb
|
132
|
+
- lib/zaikio/hub/app.rb
|
132
133
|
- lib/zaikio/hub/asset.rb
|
133
134
|
- lib/zaikio/hub/authorization_middleware.rb
|
134
135
|
- lib/zaikio/hub/base.rb
|