mumuki-classroom 9.2.0 → 9.7.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: 5f1a94cc752f4b252be7e4251f9b465f2d59d1bc741d6918b3ef7288af60b9e3
4
- data.tar.gz: 19241d7f97dc4bc164e23fda997aa2237457bb3153a86cce966978913395ebf8
3
+ metadata.gz: b12dc7ca5248bc64ed348414043742cc872d70ae0a491d43c2f64a9f47fd6ce0
4
+ data.tar.gz: ca3d62e7493d478be60ccd13337e9468becda45c70b4a1bb2e4cfc04b28ba552
5
5
  SHA512:
6
- metadata.gz: a6de7acaadb29c589c6963b6b9f020a8e6e5a0a00a5c5ee1025312ebc234a4a99f7e821c63ee91629ca0466a27afae973bc94b91723905b523334c71aa5006a3
7
- data.tar.gz: '0830ed1413fa162dba818569ec2810969083ff591ff51c8eb2e8055d6452faebb6c49554eb4c206728a17431affbe2ad73c9ed1d8d2e4e4fb424c26cfdbce102'
6
+ metadata.gz: b004298609a587d13defa39ca4f3dbf0e314c143ea1d385ca44f31874fc6d4987986e655ce4c00ca1af328aaad2b5a292c7ca8bf8e733f8965d4b85a2906edd6
7
+ data.tar.gz: 256c3bc2b2a019ae35fe9ea5407b97f5bf0c8316e5a1756354cf76726b994f96a032e425cdf53c32a755b13c4edf2abea5a6bf50e1dd6baa6abaef25179796dd
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Classroom
3
- VERSION = '9.2.0'
3
+ VERSION = '9.7.0'
4
4
  end
5
5
  end
@@ -4,13 +4,13 @@ namespace :classroom do
4
4
  Mumukit::Nuntius::Logger.info 'Listening to student user_permissions_changed'
5
5
 
6
6
  Mumukit::Nuntius::Consumer.negligent_start! 'user-permissions-changed' do |body|
7
- begin
7
+ ApplicationRecord.with_pg_retry do
8
8
  user = body[:user]
9
9
  Mumukit::Nuntius::Logger.info "Processing user #{user}"
10
10
  Mumuki::Classroom::Event::UserChanged.execute!(user)
11
- rescue => e
12
- Mumukit::Nuntius::Logger.warn "Mumuki::Classroom::UserChanged failed #{e}. body was: #{body}"
13
11
  end
12
+ rescue => e
13
+ Mumukit::Nuntius::Logger.warn "Mumuki::Classroom::UserChanged failed #{e}. body was: #{body}"
14
14
  end
15
15
  end
16
16
  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.2.0
4
+ version: 9.7.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-05-06 00:00:00.000000000 Z
11
+ date: 2021-06-17 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.2.0
89
+ version: 9.7.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.2.0
96
+ version: 9.7.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mumukit-login
99
99
  requirement: !ruby/object:Gem::Requirement