mumuki-classroom 9.18.0 → 9.22.0

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: 778b792f11b522c42571ef33c567b6b86bf0aa18415dcb46fbaf0f9087dbd127
4
- data.tar.gz: 4ca9c1b4624a78f29dd6c949493e917dddc13e9977dc837710704b686c2830f1
3
+ metadata.gz: e69915472d5d00dbff99a60c08be0f0ba39ac528031fed66d8dc15197209166b
4
+ data.tar.gz: 7ea3bf7cb8a2d6d8d914f91a0a4e9f5d5d6d3c65fd3a0a8d88096d1b1bc3fded
5
5
  SHA512:
6
- metadata.gz: 4759737e7b9b80b4d42714dcf5d2599d042db9b1cfe38ec2b77f4d2cc6019b48e7647fe6cbd7bc4775838ef64d814f2780dbff00f00d412b1d57b089fa395e7c
7
- data.tar.gz: a27a2c6dd1aed07dfd57d384a041d8ed3a4059ec13191293ebd1414fb3a7c1968f03d932a1d5e0a381e9d3fafbf150fc59e87768a35099aea94f5c070fb93654
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
- set_diff_permissions user_h
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 set_diff_permissions(user)
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
 
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Classroom
3
- VERSION = '9.18.0'
3
+ VERSION = '9.22.0'
4
4
  end
5
5
  end
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.18.0
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-09-30 00:00:00.000000000 Z
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.18.0
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.18.0
96
+ version: 9.22.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mumukit-login
99
99
  requirement: !ruby/object:Gem::Requirement