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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa1e129072e6e9fec7ec5a98b2a36bbfd1c380ecec75ff6b95eb6deabaaece31
|
4
|
+
data.tar.gz: a537b20a32116e3434fb7490dc400b29967853ba92be2e2703e9af1d78859a61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d80fd105f4ce95f38e11121c9e9bb6e8f88f349cff8f7331148cbbbe294f87f4e6ae0c9d56709eeadac738c0c5cf37246ffc07a8a7d4a8806ca704466d1d7afb
|
7
|
+
data.tar.gz: e7cdcda1ac2c4167bf64aa86694c0db87f574b099d3995a68ad774d0f6bc5c04e3a96a8d1f91e83764afca03539f69484c6393fa3e81f44aa5e67a2352be77f0
|
@@ -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.
|
41
|
-
{ project: project, user: membership.user, role:
|
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)
|
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.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-
|
12
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|