mumuki-domain 7.2.2 → 7.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/assignment.rb +2 -2
- data/lib/mumuki/domain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3179a03e24e7413a00039d28cd61b6beb9f63c0b02bb1534f735e4810c0aa772
|
|
4
|
+
data.tar.gz: 8d7e6562888f89ddf82fe13cfeddfe50b84f76273e27a4b4563918bbdad04e5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 195d207a93df212d4dd957a637cf29c43760914d7f2a17c40cb0c0e39d0ebdabb4888793372bed015982bbe05df098ef076d9dddf1f9e8486af660c4e6f78b72
|
|
7
|
+
data.tar.gz: c08e3152758229a33e4d48b54b88d989becf39751c7b6954dfbbd1d01b3d4176aa81f688e839b34604042602a648b77db71e1f2f08d4923236b36585ff5a62b8
|
data/app/models/assignment.rb
CHANGED
|
@@ -40,10 +40,10 @@ class Assignment < Progress
|
|
|
40
40
|
alias_method :user, :submitter
|
|
41
41
|
|
|
42
42
|
after_save :dirty_parent_by_submission!, if: :completion_changed?
|
|
43
|
-
|
|
43
|
+
before_validation :set_current_organization!, unless: :organization
|
|
44
44
|
|
|
45
45
|
# TODO: Momentary as some assignments may not have an associated organization
|
|
46
|
-
def set_current_organization
|
|
46
|
+
def set_current_organization!
|
|
47
47
|
self.organization = Organization.current
|
|
48
48
|
end
|
|
49
49
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mumuki-domain
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Franco Leonardo Bulgarelli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|