zaikio-hub 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f6bfd7e6c71ab7f1e36f7e636b0669dcf412df73af3a4ea50e9b0ff65b70bd7
4
- data.tar.gz: f5aa4039ff6e0a9d0474948445d8a41ac8219d607e5127f4a415b6b547908ceb
3
+ metadata.gz: 37396907fc8988823d0bf57d8dcfc78996cb9a7b25e002cd3ea87f69275665ac
4
+ data.tar.gz: 841126a5089074d2dc542ac8eb6b291f3a03687c0b13418803e1cdf68b051dd7
5
5
  SHA512:
6
- metadata.gz: ae95dd113b81078b5d8ebaec510682a1a0c256de6586f46a3cf4ca904128c94bcbe45ad14ffca2deed71b4a911ef5afe9944a83a2299a6fb352b63ac0eb52d55
7
- data.tar.gz: d443851cf63f8829dfed8528c7cb4ba3fd2bc4e12492f6e530e4657a9c99d037c3402b66fb12add551d273ebe22882d8d50d5aab731f417cfb83ee40c322b1fb
6
+ metadata.gz: 0303e88a5236f1990573aa18b091385ca386547d297f2a82be273d7b43cb1752f7ec081a3aaff36e6c3c7c4b659b420f6662abd633decc8058e1518a587ca185
7
+ data.tar.gz: 6206196f9229cc183d7c6eca80c3350e475115c54d8baf9114310844206425f9220431adae1e75ca99368c22ac841b834cb9181ece5486e5bb92ded66f107b99
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.5.0] - 2020-04-08
11
+
12
+ * Added `granted_oauth_scopes`, `requested_oauth_scopes`, and `requested_oauth_scopes_waiting_for_approval` to Person and Organization
13
+ * Added `requested_oauth_scopes`, and `requested_oauth_scopes_waiting_for_approval` to Connection
14
+
10
15
  ## [0.4.1] - 2020-03-04
11
16
 
12
17
  * Add `state` property for `Zaikio::Hub::Address` model
@@ -44,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
44
49
  ### Added
45
50
  - Added subscriptions (migration required)
46
51
 
47
- [Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.4.1...HEAD
52
+ [Unreleased]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.5.0..HEAD
53
+ [0.5.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.4.1..v0.5.0
48
54
  [0.4.1]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.4.0...v0.4.1
49
55
  [0.4.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.3.0...v0.4.0
50
56
  [0.3.0]: https://github.com/zaikio/zaikio-hub-ruby/compare/v0.2.0...v.0.3.0
@@ -7,7 +7,8 @@ module Zaikio
7
7
 
8
8
  # Attributes
9
9
  attributes :updated_at, :created_at, :connectable_type, :connectable_id,
10
- :app_name, :granted_oauth_scopes
10
+ :app_name, :granted_oauth_scopes, :requested_oauth_scopes,
11
+ :requested_oauth_scopes_waiting_for_approval
11
12
 
12
13
  def initialize(attributes = {})
13
14
  if attributes["connectable_id"]
@@ -18,7 +18,9 @@ module Zaikio
18
18
  # Attributes
19
19
  attributes :name, :slug, :logo_url, :connected, :subscription,
20
20
  :created_at, :updated_at, :country_code, :kinds,
21
- :sections, :currency, :brand_color, :test_account_owner_id
21
+ :sections, :currency, :brand_color, :test_account_owner_id,
22
+ :granted_oauth_scopes, :requested_oauth_scopes,
23
+ :requested_oauth_scopes_waiting_for_approval
22
24
 
23
25
  # Associations
24
26
  has_many :memberships, class_name: "Zaikio::Hub::Membership",
@@ -10,7 +10,8 @@ module Zaikio
10
10
  :pronoun, :locale, :country_code, :currency, :unit_system, :connected,
11
11
  :test_account_owner_id, :time_zone, :email_confirmed,
12
12
  :two_factor_authentication_enabled, :avatar_url, :subscription,
13
- :accessible_apps
13
+ :accessible_apps, :granted_oauth_scopes, :requested_oauth_scopes,
14
+ :requested_oauth_scopes_waiting_for_approval
14
15
 
15
16
  def self.find
16
17
  all.find_one
@@ -8,7 +8,9 @@ module Zaikio
8
8
  # Attributes
9
9
  attributes :name, :slug, :logo_url, :connected, :subscription,
10
10
  :created_at, :updated_at, :country_code, :kinds,
11
- :sections, :currency, :brand_color, :test_account_owner_id
11
+ :sections, :currency, :brand_color, :test_account_owner_id,
12
+ :granted_oauth_scopes, :requested_oauth_scopes,
13
+ :requested_oauth_scopes_waiting_for_approval
12
14
 
13
15
  # Associations
14
16
  has_many :memberships, class_name: "Zaikio::Hub::Membership",
@@ -5,7 +5,9 @@ module Zaikio
5
5
  attributes :updated_at, :created_at, :first_name, :name, :full_name, :email,
6
6
  :pronoun, :locale, :country_code, :currency, :unit_system, :connected,
7
7
  :test_account_owner_id, :time_zone, :email_confirmed,
8
- :two_factor_authentication_enabled, :avatar_url, :subscription
8
+ :two_factor_authentication_enabled, :avatar_url, :subscription,
9
+ :granted_oauth_scopes, :requested_oauth_scopes,
10
+ :requested_oauth_scopes_waiting_for_approval
9
11
  end
10
12
  end
11
13
  end
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module Hub
3
- VERSION = "0.4.1".freeze
3
+ VERSION = "0.5.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crispymtn
8
8
  - Jalyna Schröder
9
9
  - Martin Spickermann
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-03-04 00:00:00.000000000 Z
13
+ date: 2021-04-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: concurrent-ruby
@@ -145,7 +145,7 @@ licenses:
145
145
  - MIT
146
146
  metadata:
147
147
  changelog_uri: https://github.com/zaikio/zaikio-hub-ruby/blob/master/CHANGELOG.md
148
- post_install_message:
148
+ post_install_message:
149
149
  rdoc_options: []
150
150
  require_paths:
151
151
  - lib
@@ -160,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.1.2
164
- signing_key:
163
+ rubygems_version: 3.1.4
164
+ signing_key:
165
165
  specification_version: 4
166
166
  summary: Ruby API Client for Zaikio's Hub
167
167
  test_files: []