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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba2264b1c67cca650e12723e8ecedd090570076dad817edffb8afef5d5b86e99
4
- data.tar.gz: 56e3b72cb00cb2e0093f23cecc8cee085a4587a19f1d0f91e8e500e6d5517113
3
+ metadata.gz: e69915472d5d00dbff99a60c08be0f0ba39ac528031fed66d8dc15197209166b
4
+ data.tar.gz: 7ea3bf7cb8a2d6d8d914f91a0a4e9f5d5d6d3c65fd3a0a8d88096d1b1bc3fded
5
5
  SHA512:
6
- metadata.gz: 7836e149f137c6a7ed0dab4478afee3723a6232bac3c4429efa068c0fc45980a8728f7840ea9c9079faa619a279973cea060039081d4b4df42d67545f9408b7d
7
- data.tar.gz: e6d5c4e2aa5795be817f6e0bbf9a2514d50bc8932b795e768d0b57d7c6b7be5d60c63aea96d56105593e397bcec75b48e282464d6a37f24215d15874369fe8bb
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.21.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.21.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-10-28 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.21.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.21.0
96
+ version: 9.22.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mumukit-login
99
99
  requirement: !ruby/object:Gem::Requirement