mumuki-domain 7.0.0 → 7.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65cc8458d5a6eb46f944a0c224903778449d0cfa900fad1856278d16ff3f7d79
|
4
|
+
data.tar.gz: bdc79b817c1735dd7e4b32f6bbcabcef7176721c7a56ef90d2b296118ccb1097
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8931f3e98f68d3905de2a1f30d5e7e9e5b75789b781d88cc9958f7505283202cc4152086e940b2190e221f2383ab90dc52cf6067bea18e99e9707b812c7d743a
|
7
|
+
data.tar.gz: 3a8e83f95ead93a1661c35fe9eed79316b3911c10cbaab98b2cc9f4bdc4652b89454a27ac1a3b675bd3add5d556425c374265cc27073413325adbc92d467ffb9
|
data/app/models/guide.rb
CHANGED
@@ -14,7 +14,7 @@ class Guide < Content
|
|
14
14
|
|
15
15
|
enum type: [:learning, :practice]
|
16
16
|
|
17
|
-
def clear_progress!(user, organization)
|
17
|
+
def clear_progress!(user, organization=Organization.current)
|
18
18
|
transaction do
|
19
19
|
exercises.each do |exercise|
|
20
20
|
exercise.find_assignment_for(user, organization)&.destroy!
|
data/app/models/language.rb
CHANGED
@@ -46,6 +46,7 @@ module Mumukit::Sync::Store
|
|
46
46
|
queriable: @info.dig('features', 'query').present?,
|
47
47
|
stateful_console: @info.dig('features', 'stateful').present?,
|
48
48
|
multifile: @info.dig('features', 'multifile').present?,
|
49
|
+
settings: @info.dig('features', 'settings').present?,
|
49
50
|
test_extension: @info.dig('test_framework', 'test_extension'),
|
50
51
|
test_template: @info.dig('test_framework', 'template'),
|
51
52
|
layout_js_urls: get_assets_for(:layout, 'js'),
|
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.0.
|
4
|
+
version: 7.0.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-
|
11
|
+
date: 2019-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '1.0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: mumukit-login
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '7.0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '7.0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: pg
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -540,6 +554,7 @@ files:
|
|
540
554
|
- db/migrate/20190530173142_add_organization_to_assignment.rb
|
541
555
|
- db/migrate/20190702003600_add_loading_flags_to_language.rb
|
542
556
|
- db/migrate/20190702182407_add_new_profile_fields.rb
|
557
|
+
- db/migrate/20190724190355_add_settings_to_languages.rb
|
543
558
|
- lib/mumuki/domain.rb
|
544
559
|
- lib/mumuki/domain/engine.rb
|
545
560
|
- lib/mumuki/domain/evaluation.rb
|