mumuki-laboratory 6.1.2 → 6.1.3

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
- SHA256:
3
- metadata.gz: 558c0f4591d2b949a8a2196dc2460c4bd108fad6ff7769c4dfbde129822405e3
4
- data.tar.gz: 1e3a31e5a42435d2e3f07d6bdd31af9058158ade1611d361870807b464a72268
2
+ SHA1:
3
+ metadata.gz: c1f824531443ee3ee14cf97a2acbd049f9d611d8
4
+ data.tar.gz: eb6344fdc81b6d5358653b1dfc129e3fe55bae25
5
5
  SHA512:
6
- metadata.gz: 674bc11e0ee312e2b73f8be4feacc9b4774812e4cf9e01a51d52f0d391f32928fea9e90fcab347b95430c33d6d1026e18c366cba528488dcdf7fb594570a4ec9
7
- data.tar.gz: 9bdb095b982049f1815171b60836bb4bcaa83d69f54c655546c22d49efff2cd73c91ca7c423bcd6ab9b22de27c381c253c56425ef63d4406f49ea9e141ebbd40
6
+ metadata.gz: 56129d9c051b1f8013b1d557fbc5798fb4b1aaa4d8f4f15022d2a34594bd0f2fa0b835ebb83c53f5803d7344893d7431c759c0bc5df123e50453b5368e3aaf55
7
+ data.tar.gz: dc1defcca5fb41a697633734b79c41525143f78b90eec70e33bdcd0dffdce2a73ab3deb5b6ba325bfe2df04a7e885512e88fa1d223750900ac8a2182eda28126
@@ -20,6 +20,8 @@ mumuki.load(() => {
20
20
  if (!json) return;
21
21
 
22
22
  let values = JSON.parse(json);
23
+ $('.mu-read-only-free-form .mu-free-form-input').prop('disabled', true);
24
+
23
25
  $('.mu-free-form-input').each(function () {
24
26
  loadInput(values, $(this));
25
27
  });
@@ -0,0 +1,4 @@
1
+ <div class="form-group mu-read-only-free-form">
2
+ <%= hidden_field_tag :solution_content, content %>
3
+ <%= raw exercise.free_form_editor_source %>
4
+ </div>
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '6.1.2'
3
+ VERSION = '6.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2
4
+ version: 6.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-22 00:00:00.000000000 Z
11
+ date: 2018-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 6.1.2
33
+ version: 6.1.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 6.1.2
40
+ version: 6.1.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mumukit-login
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -342,6 +342,7 @@ files:
342
342
  - app/views/layouts/exercise_inputs/layouts/_input_right.html.erb
343
343
  - app/views/layouts/exercise_inputs/read_only_editors/_code.html.erb
344
344
  - app/views/layouts/exercise_inputs/read_only_editors/_custom.html.erb
345
+ - app/views/layouts/exercise_inputs/read_only_editors/_free_form.html.erb
345
346
  - app/views/layouts/exercise_inputs/read_only_editors/_multiple_choice.html.erb
346
347
  - app/views/layouts/exercise_inputs/read_only_editors/_single_choice.html.erb
347
348
  - app/views/layouts/exercise_inputs/read_only_editors/_text.erb
@@ -595,130 +596,130 @@ required_rubygems_version: !ruby/object:Gem::Requirement
595
596
  version: '0'
596
597
  requirements: []
597
598
  rubyforge_project:
598
- rubygems_version: 2.7.8
599
+ rubygems_version: 2.5.1
599
600
  signing_key:
600
601
  specification_version: 4
601
602
  summary: Code assement web application for the Mumuki Platform.
602
603
  test_files:
604
+ - spec/spec_helper.rb
603
605
  - spec/api_helper.rb
604
- - spec/capybara_helper.rb
605
- - spec/controllers/api_clients_controller.rb
606
- - spec/controllers/chapters_controller_spec.rb
607
- - spec/controllers/confirmations_controller_spec.rb
608
- - spec/controllers/courses_api_controller_spec.rb
609
- - spec/controllers/discussions_controller_spec.rb
610
- - spec/controllers/exercise_solutions_controller_spec.rb
611
- - spec/controllers/guide_progress_controller_spec.rb
612
- - spec/controllers/messages_controller_spec.rb
613
- - spec/controllers/organizations_api_controller_spec.rb
614
- - spec/controllers/students_api_controller_spec.rb
615
- - spec/controllers/users_api_controller_spec.rb
616
- - spec/dummy/Rakefile
617
- - spec/dummy/bin/bundle
618
- - spec/dummy/bin/rails
619
- - spec/dummy/bin/rake
620
- - spec/dummy/bin/setup
621
- - spec/dummy/bin/update
622
- - spec/dummy/bin/yarn
623
- - spec/dummy/config.ru
606
+ - spec/mailers/user_mailer_spec.rb
607
+ - spec/mailers/previews/user_mailer_preview.rb
608
+ - spec/models/exercise_spec.rb
609
+ - spec/models/discussion_spec.rb
610
+ - spec/models/user_changed_spec.rb
611
+ - spec/models/assignment_spec.rb
612
+ - spec/models/organization_spec.rb
613
+ - spec/models/problem_spec.rb
614
+ - spec/models/usage_spec.rb
615
+ - spec/models/guide_spec.rb
616
+ - spec/models/interactive_spec.rb
617
+ - spec/models/query_spec.rb
618
+ - spec/models/user_spec.rb
619
+ - spec/models/language_spec.rb
620
+ - spec/models/reading_spec.rb
621
+ - spec/models/book_import_spec.rb
622
+ - spec/models/stats_spec.rb
623
+ - spec/models/event_publishing_spec.rb
624
+ - spec/models/api_client_spec.rb
625
+ - spec/models/course_spec.rb
626
+ - spec/models/guide_import_spec.rb
627
+ - spec/models/playground_spec.rb
628
+ - spec/models/string_spec.rb
629
+ - spec/models/event_generation_spec.rb
630
+ - spec/models/solution_spec.rb
631
+ - spec/models/lesson_spec.rb
632
+ - spec/models/question_spec.rb
633
+ - spec/models/navigation_spec.rb
634
+ - spec/models/exam_spec.rb
635
+ - spec/models/topic_import_spec.rb
636
+ - spec/models/message_spec.rb
637
+ - spec/models/book_spec.rb
638
+ - spec/models/with_expectations_spec.rb
639
+ - spec/dummy/config/secrets.yml
624
640
  - spec/dummy/config/application.rb
625
- - spec/dummy/config/boot.rb
641
+ - spec/dummy/config/rabbit.yml
642
+ - spec/dummy/config/puma.rb
626
643
  - spec/dummy/config/cable.yml
644
+ - spec/dummy/config/environments/test.rb
645
+ - spec/dummy/config/environments/development.rb
646
+ - spec/dummy/config/boot.rb
647
+ - spec/dummy/config/locales/en.yml
627
648
  - spec/dummy/config/database.travis.yml
649
+ - spec/dummy/config/spring.rb
628
650
  - spec/dummy/config/environment.rb
629
- - spec/dummy/config/environments/development.rb
630
- - spec/dummy/config/environments/test.rb
631
- - spec/dummy/config/initializers/assets.rb
632
651
  - spec/dummy/config/initializers/cookies_serializer.rb
633
- - spec/dummy/config/initializers/filter_parameter_logging.rb
652
+ - spec/dummy/config/initializers/assets.rb
634
653
  - spec/dummy/config/initializers/wrap_parameters.rb
635
- - spec/dummy/config/locales/en.yml
636
- - spec/dummy/config/puma.rb
637
- - spec/dummy/config/rabbit.yml
654
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
638
655
  - spec/dummy/config/routes.rb
639
- - spec/dummy/config/secrets.yml
640
- - spec/dummy/config/spring.rb
641
656
  - spec/dummy/config/database.yml
657
+ - spec/dummy/bin/bundle
658
+ - spec/dummy/bin/yarn
659
+ - spec/dummy/bin/rails
660
+ - spec/dummy/bin/setup
661
+ - spec/dummy/bin/rake
662
+ - spec/dummy/bin/update
663
+ - spec/dummy/config.ru
642
664
  - spec/dummy/db/schema.rb
643
665
  - spec/dummy/db/seeds.rb
644
666
  - spec/dummy/package.json
645
- - spec/evaluation_helper.rb
667
+ - spec/dummy/Rakefile
668
+ - spec/login_helper.rb
646
669
  - spec/factories/api_client_factory.rb
670
+ - spec/factories/topic_factory.rb
647
671
  - spec/factories/assignments_factory.rb
672
+ - spec/factories/exercise_factory.rb
673
+ - spec/factories/login_settings_factory.rb
674
+ - spec/factories/exam_factory.rb
675
+ - spec/factories/course_factory.rb
648
676
  - spec/factories/book_factory.rb
649
677
  - spec/factories/chapter_factory.rb
650
- - spec/factories/complement_factory.rb
651
- - spec/factories/course_factory.rb
652
- - spec/factories/discussion_factory.rb
653
- - spec/factories/exam_factory.rb
654
- - spec/factories/exercise_factory.rb
678
+ - spec/factories/organization_factory.rb
655
679
  - spec/factories/guide_factory.rb
680
+ - spec/factories/message_factory.rb
656
681
  - spec/factories/invitation_factory.rb
657
682
  - spec/factories/lesson_factory.rb
658
- - spec/factories/login_settings_factory.rb
659
- - spec/factories/message_factory.rb
660
- - spec/factories/organization_factory.rb
661
- - spec/factories/topic_factory.rb
683
+ - spec/factories/complement_factory.rb
662
684
  - spec/factories/user_factory.rb
663
- - spec/features/chapter_spec.rb
664
- - spec/features/choose_organization_spec.rb
665
- - spec/features/complements_flow_spec.rb
666
- - spec/features/dynamic_exam_spec.rb
685
+ - spec/factories/discussion_factory.rb
667
686
  - spec/features/exams_flow_spec.rb
668
687
  - spec/features/exercise_flow_spec.rb
669
- - spec/features/guide_reset_spec.rb
688
+ - spec/features/menu_bar_spec.rb
670
689
  - spec/features/guides_flow_spec.rb
671
- - spec/features/home_private_flow_spec.rb
672
- - spec/features/home_public_flow_spec.rb
690
+ - spec/features/dynamic_exam_spec.rb
691
+ - spec/features/not_found_private_flow_spec.rb
692
+ - spec/features/chapter_spec.rb
693
+ - spec/features/complements_flow_spec.rb
673
694
  - spec/features/lessons_flow_spec.rb
674
- - spec/features/links_flow_spec.rb
675
695
  - spec/features/login_flow_spec.rb
676
- - spec/features/menu_bar_spec.rb
677
- - spec/features/not_found_private_flow_spec.rb
678
- - spec/features/not_found_public_flow_spec.rb
679
696
  - spec/features/profile_flow_spec.rb
680
- - spec/features/progressive_tips_spec.rb
697
+ - spec/features/home_private_flow_spec.rb
698
+ - spec/features/home_public_flow_spec.rb
699
+ - spec/features/not_found_public_flow_spec.rb
681
700
  - spec/features/standard_flow_spec.rb
682
- - spec/helpers/application_helper_spec.rb
701
+ - spec/features/choose_organization_spec.rb
702
+ - spec/features/links_flow_spec.rb
703
+ - spec/features/progressive_tips_spec.rb
704
+ - spec/features/guide_reset_spec.rb
705
+ - spec/capybara_helper.rb
683
706
  - spec/helpers/breadcrumbs_helper_spec.rb
684
- - spec/helpers/email_helper_spec.rb
685
- - spec/helpers/exercise_input_helper_spec.rb
707
+ - spec/helpers/with_navigation_spec.rb
686
708
  - spec/helpers/icons_helper_spec.rb
687
- - spec/helpers/test_results_rendering_spec.rb
709
+ - spec/helpers/exercise_input_helper_spec.rb
710
+ - spec/helpers/email_helper_spec.rb
711
+ - spec/helpers/application_helper_spec.rb
688
712
  - spec/helpers/with_choices_spec.rb
689
- - spec/helpers/with_navigation_spec.rb
690
- - spec/login_helper.rb
691
- - spec/mailers/previews/user_mailer_preview.rb
692
- - spec/mailers/user_mailer_spec.rb
693
- - spec/models/api_client_spec.rb
694
- - spec/models/assignment_spec.rb
695
- - spec/models/book_import_spec.rb
696
- - spec/models/book_spec.rb
697
- - spec/models/course_spec.rb
698
- - spec/models/discussion_spec.rb
699
- - spec/models/event_generation_spec.rb
700
- - spec/models/event_publishing_spec.rb
701
- - spec/models/exam_spec.rb
702
- - spec/models/exercise_spec.rb
703
- - spec/models/guide_import_spec.rb
704
- - spec/models/guide_spec.rb
705
- - spec/models/interactive_spec.rb
706
- - spec/models/language_spec.rb
707
- - spec/models/lesson_spec.rb
708
- - spec/models/message_spec.rb
709
- - spec/models/navigation_spec.rb
710
- - spec/models/organization_spec.rb
711
- - spec/models/playground_spec.rb
712
- - spec/models/problem_spec.rb
713
- - spec/models/query_spec.rb
714
- - spec/models/question_spec.rb
715
- - spec/models/reading_spec.rb
716
- - spec/models/solution_spec.rb
717
- - spec/models/stats_spec.rb
718
- - spec/models/string_spec.rb
719
- - spec/models/topic_import_spec.rb
720
- - spec/models/usage_spec.rb
721
- - spec/models/user_changed_spec.rb
722
- - spec/models/user_spec.rb
723
- - spec/models/with_expectations_spec.rb
724
- - spec/spec_helper.rb
713
+ - spec/helpers/test_results_rendering_spec.rb
714
+ - spec/evaluation_helper.rb
715
+ - spec/controllers/confirmations_controller_spec.rb
716
+ - spec/controllers/guide_progress_controller_spec.rb
717
+ - spec/controllers/discussions_controller_spec.rb
718
+ - spec/controllers/organizations_api_controller_spec.rb
719
+ - spec/controllers/chapters_controller_spec.rb
720
+ - spec/controllers/messages_controller_spec.rb
721
+ - spec/controllers/students_api_controller_spec.rb
722
+ - spec/controllers/api_clients_controller.rb
723
+ - spec/controllers/exercise_solutions_controller_spec.rb
724
+ - spec/controllers/courses_api_controller_spec.rb
725
+ - spec/controllers/users_api_controller_spec.rb