uffizzi_core 2.2.3 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controller_modules/uffizzi_core/api/cli/v1/projects/clusters_controller_module.rb +1 -1
- data/app/controller_modules/uffizzi_core/api/cli/v1/projects/deployments_controller_module.rb +1 -1
- data/app/controllers/uffizzi_core/api/cli/v1/projects/clusters_controller.rb +1 -1
- data/app/controllers/uffizzi_core/api/cli/v1/projects/deployments_controller.rb +1 -1
- data/app/serializers/uffizzi_core/api/cli/v1/short_project_serializer.rb +2 -0
- data/lib/uffizzi_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9a737645810c1744fe73cfbfb2e0d249d0895d75105065dcec75e7f4dea0844
|
4
|
+
data.tar.gz: a303130b01e8538a78dd5d891c2d8b9a51224c50d25b0ef5cdb830a7de55de2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '043837408678dd986b192992cd149f9ca67c1490b7cc07a49cbbc464302fb717ca27ddbcd1819093e92ea7cc7c095930e349caed34bed2593dac4fc01e00c41f'
|
7
|
+
data.tar.gz: 62e606f4b9e4ef2ccbcdb0f7f73a6acf91970e1697a00f87a03675ce63fc18f84c835e165e45ab47a7b5797db9b278e83654de02e381631832d37e98c6d6de37
|
@@ -4,7 +4,7 @@ class UffizziCore::Api::Cli::V1::Projects::ClustersController < UffizziCore::Api
|
|
4
4
|
include UffizziCore::Api::Cli::V1::Projects::ClustersControllerModule
|
5
5
|
|
6
6
|
before_action :authorize_uffizzi_core_api_cli_v1_projects_clusters
|
7
|
-
before_action :
|
7
|
+
before_action :check_account_quota, only: [:create]
|
8
8
|
after_action :update_show_trial_quota_exceeded_warning, only: [:create, :destroy]
|
9
9
|
|
10
10
|
def index
|
@@ -6,7 +6,7 @@ class UffizziCore::Api::Cli::V1::Projects::DeploymentsController < UffizziCore::
|
|
6
6
|
include UffizziCore::Api::Cli::V1::Projects::DeploymentsControllerModule
|
7
7
|
|
8
8
|
before_action :authorize_uffizzi_core_api_cli_v1_projects_deployments
|
9
|
-
before_action :
|
9
|
+
before_action :check_account_quota, only: :create
|
10
10
|
after_action :update_show_trial_quota_exceeded_warning, only: :destroy
|
11
11
|
|
12
12
|
# Get a list of active deployements for a project
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
class UffizziCore::Api::Cli::V1::ShortProjectSerializer < UffizziCore::BaseSerializer
|
4
4
|
type :project
|
5
|
+
belongs_to :account, serializer: UffizziCore::Api::Cli::V1::ProjectSerializer::AccountSerializer
|
5
6
|
|
7
|
+
# account_id supports CLI versions < 2.0.5
|
6
8
|
attributes :name, :slug, :account_id
|
7
9
|
end
|
data/lib/uffizzi_core/version.rb
CHANGED
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.
|
4
|
+
version: 2.2.4
|
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-
|
12
|
+
date: 2023-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|