mumuki-domain 6.4.0 → 6.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4c4181f62ae031a743d024a6024ef4b8b8a201ff47c6473a2c743b6809eb759
4
- data.tar.gz: 3b9e7473b639604ff8ebe91932d0076d8a5d6b0315276ee7a5e680a378e8a9ab
3
+ metadata.gz: 2dd0b17031481425109c6fbbf0fef025f7fff815143258f8e1b78ef4c2756910
4
+ data.tar.gz: 82c30673baeb89cb25ad7ae603e181bab6ba13f9623b537f51a9c61d84217e55
5
5
  SHA512:
6
- metadata.gz: f300e63478a7c547d55c51b3d5ac4814ce474d4ad9209bb9c31a03e7383d4d607d1770822ce086e40118b419845020297e5b996a4caaf0a5e2532cae9c48a124
7
- data.tar.gz: eee17bfc4d2e8555379b8f5c387ce87144e4e6d5617e4cbfd6638d2dab26765e3a6d6aad973ae34c27e9f20b6cf5c9cd5fa57381711d89d45c9ee80f99356813
6
+ metadata.gz: 5afd2f5a051eb74b7fcee1fc858078125efb6191ea390918a5f246276a25c429f8c48f84dd02c2028a63938c6835b0ca7930f543a122f73ed9e44c01e2ba94b8
7
+ data.tar.gz: 1bb1058a95394ae5a0ff3feb5f985e42fc0899305d2a354797debf3f9f15698be6f64a43c941883c1e65ce742cc4b82d1c8017c65a95bb3845455067592f6079
@@ -19,6 +19,9 @@ class Exercise < ApplicationRecord
19
19
  ParentNavigation
20
20
 
21
21
  belongs_to :guide
22
+
23
+ markdown_on :teacher_info
24
+
22
25
  defaults { self.submissions_count = 0 }
23
26
 
24
27
  serialize :choices, Array
@@ -3,7 +3,7 @@ class Guide < Content
3
3
  WithExpectations,
4
4
  WithLanguage
5
5
 
6
- markdown_on :corollary, :sources, :learn_more
6
+ markdown_on :corollary, :sources, :learn_more, :teacher_info
7
7
 
8
8
  numbered :exercises
9
9
  has_many :exercises, -> { order(number: :asc) }, dependent: :delete_all
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '6.4.0'
3
+ VERSION = '6.4.1'
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: 6.4.0
4
+ version: 6.4.1
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: 2019-01-24 00:00:00.000000000 Z
11
+ date: 2019-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails