mumuki-domain 7.3.1 → 7.3.2

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: 427357d23facceb8e41d0f3a934f5c03e5ee095ef03dbb50af96338d158030d7
4
- data.tar.gz: 9e4fd1602971d3e83ca97a56adcecb8507f11d96a4ec9d882b7cfee4552dce9c
3
+ metadata.gz: 39020a28808b40cdfdfcbbacb3f5548a56ba6886ae4ffec37e46501a9e211ae9
4
+ data.tar.gz: 80eebf536803172e019da3af5e4e480e4613716db2dff9cb2bd51a09dee20340
5
5
  SHA512:
6
- metadata.gz: e7c2c976a4ae3d4be45e8c06764e0c39518bd5fb09478cb63f3af7710b88d405bf53f13b9e9d57aad0a2e1105a97a7414e0c6a4fe89543b433eedc1f10d529d8
7
- data.tar.gz: 02e47399510cca76f79dc992e8894f12b9bedf2b1eb7f5b9f0f1413bbc824b44d8e276a953eb3bd3b59bd562dd486337e64d3468d81d91ddb681118506169aaa
6
+ metadata.gz: 2b92101a2f8af04af9f29722c8581f645533da33146deb68b16af0013babfa86786f6210929ea4d42857cfdb1be871fd8671b76b210321a7c78110a02fbee750
7
+ data.tar.gz: dcd486ae7a1cbe1500d2ad16b06856ee3ef5ee114ec5d54280754c1ad49c627eba0290f1af0b59d7a11a21e1df9313cdf5f948bef1849b180074c363399519a0
@@ -89,7 +89,7 @@ class User < ApplicationRecord
89
89
  make_student_of! invitation.course_slug
90
90
  end
91
91
 
92
- def copy_progress_to!(another)
92
+ def transfer_progress_to!(another)
93
93
  transaction do
94
94
  assignments.update_all(submitter_id: another.id)
95
95
  if another.never_submitted? || last_submission_date.try { |it| it > another.last_submission_date }
@@ -134,12 +134,6 @@ class User < ApplicationRecord
134
134
  }
135
135
  end
136
136
 
137
- def resubmit!(organization = nil)
138
- organization = Organization.find_by_name(organization) || main_organization
139
- organization.switch!
140
- assignments.each { |it| it.notify! rescue nil }
141
- end
142
-
143
137
  def currently_in_exam?
144
138
  exams.any? { |e| e.in_progress_for? self }
145
139
  end
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '7.3.1'
3
+ VERSION = '7.3.2'
4
4
  end
5
5
  end
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.3.1
4
+ version: 7.3.2
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-25 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails