uffizzi_core 2.1.9 → 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: 3b5eb7add82dd6971fa924c3af89c697d4b41871e2bcb39828722234ca68147f
4
- data.tar.gz: 6f2916c4409bf4f301292b48e12beba5bc9c68a54ba692c9b602b90a7b628f3f
3
+ metadata.gz: 23709086570ed3f71d5441b405a89e549ef018701ee69860bf1e52a599b261f3
4
+ data.tar.gz: 2253edd2072ab0f28d6634cda6f1f67d2dbfdd38afed8f6be641f653290663dc
5
5
  SHA512:
6
- metadata.gz: 4bb838ada0804467cbb467ff05ba7347136cca2dc7f3856fe46db2e4716edafcc12f305d081ab8f4bd3aef5ad4dd2a0fb2e05e959b9f4fad4401f17b5f3f0b44
7
- data.tar.gz: 5ccf3309232f8e0ec107e31d1016c478ee54d2dab06d95d08326c14c8937d68f51af4e1bdd3242751b926b2655439828781d1b67609e82ae6684d050980aa6ca
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.1.9'
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.9
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