mumuki-classroom 9.21.0 → 9.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumuki/classroom/event/user_changed.rb +2 -2
- data/lib/mumuki/classroom/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e69915472d5d00dbff99a60c08be0f0ba39ac528031fed66d8dc15197209166b
|
4
|
+
data.tar.gz: 7ea3bf7cb8a2d6d8d914f91a0a4e9f5d5d6d3c65fd3a0a8d88096d1b1bc3fded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78e0556dbb3d7dad7df7f09acb8bc2675f06788d995801a14489761199746a3b84669fbb9bf82ad0ef2b09958d595fbbd9a2e54064c72d472cc9be7d850717e3
|
7
|
+
data.tar.gz: 29fa6f708867854dbc987969ca766612d5f2e9e74692d80b5f7c5e8a4e964f78430cf1202587f0500a4b74440a07fec88b16709deb5e54111d836e8c321b6712
|
@@ -4,7 +4,7 @@ class Mumuki::Classroom::Event::UserChanged
|
|
4
4
|
attr_accessor :changes
|
5
5
|
|
6
6
|
def execute!(user_h)
|
7
|
-
|
7
|
+
set_permissions_diff user_h
|
8
8
|
update_user_model user_h
|
9
9
|
end
|
10
10
|
|
@@ -19,7 +19,7 @@ class Mumuki::Classroom::Event::UserChanged
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
def
|
22
|
+
def set_permissions_diff(user)
|
23
23
|
self.changes = Mumukit::Auth::Permissions::Diff.diff(user[:old_permissions], user[:new_permissions]).changes_by_organization
|
24
24
|
end
|
25
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-classroom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 9.
|
89
|
+
version: 9.22.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 9.
|
96
|
+
version: 9.22.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: mumukit-login
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|