mumuki-domain 8.1.1 → 8.1.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: cd4418eebed893926b600b43b22080be43205ef4b857e16df1be7e50ea625e9b
4
- data.tar.gz: 69d81e7072172101767cc3655cfad7bafdcf9fc726c3438432a9777792e744c0
3
+ metadata.gz: d712b0423cb797044b5a152a3b5bf64e6d81dea496582fb25327e5e991e0b095
4
+ data.tar.gz: 23713d6d62039d41dbc7afa5fc24c539adcca97096f4715fe0b0085a0a05509b
5
5
  SHA512:
6
- metadata.gz: d28c8e9e981e2669f11a5f581f25639c318df1dc17bdf1c94bcd127010426f2b846ff801f7ee2362941f2fb42ea188a36694b91add542555085f5d363603cc11
7
- data.tar.gz: 2e95982034e482f748425c8445791349b5eb9c206a962b6620aea4412d4ef01a17ecf2d79ac0ca12cca75a458a51e0f4ce671951213ac434381475592e235ac2
6
+ metadata.gz: a6371b30ee3e79073e4659645960433008657ed84d8e483417985cf4f69ea99a86567e4a7f609aa2717d56a7941f81287bde7c371e2ef578c50cda142fd3a8bf
7
+ data.tar.gz: b3bb549da8ba32b9b870afe4e438d2cc7cfb84f15cca3d7e3ac83be7938f5f7126d68a18fb48ce42f34cbc6e80d70872cae7267c2617af88bc5956765b0e8474
@@ -126,7 +126,7 @@ class Assignment < Progress
126
126
  end
127
127
 
128
128
  def content=(content)
129
- unless exercise.reading?
129
+ if content.present?
130
130
  self.solution = exercise.single_choice? ? exercise.choice_index_for(content) : content
131
131
  end
132
132
  end
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '8.1.1'
3
+ VERSION = '8.1.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: 8.1.1
4
+ version: 8.1.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-12-03 00:00:00.000000000 Z
11
+ date: 2020-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -757,7 +757,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
757
757
  - !ruby/object:Gem::Version
758
758
  version: '0'
759
759
  requirements: []
760
- rubygems_version: 3.1.2
760
+ rubygems_version: 3.0.3
761
761
  signing_key:
762
762
  specification_version: 4
763
763
  summary: Mumuki Platform's Domain Model