uffizzi_core 2.2.7 → 2.2.8

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: cacf3fd42d5bf58582fe4f0178e027aefbef6b863a57d233455b4388ab5fe68b
4
- data.tar.gz: 937590311e983d1f990e8d7b379a70c29d0c4cd0b978689f1fa41c121a0dd3a5
3
+ metadata.gz: aa1e129072e6e9fec7ec5a98b2a36bbfd1c380ecec75ff6b95eb6deabaaece31
4
+ data.tar.gz: a537b20a32116e3434fb7490dc400b29967853ba92be2e2703e9af1d78859a61
5
5
  SHA512:
6
- metadata.gz: e6d87bbb768623188c48e01a31d4a04434cc3ff90657e564b5d06ce751a739936cb0d2379c3f47c5e76c874ba723938c1db5a2c69a9c817437fd7152eb699318
7
- data.tar.gz: 626348ecde23e46bf1b74b492f9d4f559412733336449f9780fe29b4cd3284ebc49e9422fc60a002083e5aa66a25119c8bae4183c9d3b0bc03558ce2e2e2de03
6
+ metadata.gz: d80fd105f4ce95f38e11121c9e9bb6e8f88f349cff8f7331148cbbbe294f87f4e6ae0c9d56709eeadac738c0c5cf37246ffc07a8a7d4a8806ca704466d1d7afb
7
+ data.tar.gz: e7cdcda1ac2c4167bf64aa86694c0db87f574b099d3995a68ad774d0f6bc5c04e3a96a8d1f91e83764afca03539f69484c6393fa3e81f44aa5e67a2352be77f0
@@ -3,5 +3,5 @@
3
3
  class UffizziCore::Api::Cli::V1::Projects::ClusterSerializer < UffizziCore::BaseSerializer
4
4
  type :cluster
5
5
 
6
- attributes :name, :state, :kubeconfig, :created_at, :host
6
+ attributes :id, :name, :state, :kubeconfig, :created_at, :host
7
7
  end
@@ -37,8 +37,8 @@ class UffizziCore::ProjectService
37
37
  end
38
38
 
39
39
  def add_users_to_project!(project, account)
40
- user_projects = account.memberships.where(role: UffizziCore::Membership.role.admin).map do |membership|
41
- { project: project, user: membership.user, role: UffizziCore::UserProject.role.admin }
40
+ user_projects = account.memberships.map do |membership|
41
+ { project: project, user: membership.user, role: membership.role }
42
42
  end
43
43
 
44
44
  UffizziCore::UserProject.create!(user_projects)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.2.7'
4
+ VERSION = '2.2.8'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uffizzi_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-07-27 00:00:00.000000000 Z
12
+ date: 2023-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm