uffizzi_core 2.1.8 → 2.1.10

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: cdb60e96f3b8c14cd7252cd6678a477c3310bf92ed4399e2937226254372d8d0
4
- data.tar.gz: 8dde8627ca3a6cab2adc2d6626e17f31209d72f47f708be1574ab8a1f096dbc4
3
+ metadata.gz: 23709086570ed3f71d5441b405a89e549ef018701ee69860bf1e52a599b261f3
4
+ data.tar.gz: 2253edd2072ab0f28d6634cda6f1f67d2dbfdd38afed8f6be641f653290663dc
5
5
  SHA512:
6
- metadata.gz: 011b91d508325ff8fed51a194dcecb515a46993e463f12e5c3a42b46354ab07662c7320669a535918281043a8bf7152ec58cda36f9da52413c433df2a0431c47
7
- data.tar.gz: c2c87e1cb3c22260c77c7ad1c5c6a36875cd0a470a98bf039165407975c5312cf562cb8c64166d7768d7480a04de55dbfafeb04035f2b6c246f92178d208ec6d
6
+ metadata.gz: dbee92e8db6aedcd94d2d4cd795556782c23015858ed58bfaf28f2a99881e19944295402e6c95695f2d0e7c77b8138ce9e48d5902b02361d94e98d74a146a70f
7
+ data.tar.gz: d430e40efbebcca7db9cdd92f84a27cb9632535b17d15ca48461463b9dc3997b1c017fa563525f76b37c92c4d6a11177cea19cda6606498aa72194c85a329de0
@@ -30,7 +30,7 @@ module UffizziCore::Concerns::Models::User
30
30
  end
31
31
 
32
32
  def personal_account
33
- accounts.find_by(kind: UffizziCore::Account.kind.personal)
33
+ accounts.personal.find_by(owner_id: id)
34
34
  end
35
35
 
36
36
  def full_name
@@ -2,6 +2,7 @@
2
2
 
3
3
  class UffizziCore::LogsService
4
4
  NOT_ALLOWED_SYMBOLS_IN_NAME_REGEX = /[^a-zA-Z0-9-]/.freeze
5
+ DEFAULT_LOGS_LIMIT = 1000
5
6
 
6
7
  class << self
7
8
  def fetch_container_logs(container, query = {})
@@ -22,7 +23,7 @@ class UffizziCore::LogsService
22
23
  controller_client.deployment_container_logs(
23
24
  deployment_id: deployment.id,
24
25
  container_name: UffizziCore::ContainerService.pod_name(container),
25
- limit: query[:limit],
26
+ limit: query[:limit] || DEFAULT_LOGS_LIMIT,
26
27
  previous: query[:previous] || false,
27
28
  )
28
29
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.1.8'
4
+ VERSION = '2.1.10'
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.1.8
4
+ version: 2.1.10
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-03-07 00:00:00.000000000 Z
12
+ date: 2023-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm