mumuki-laboratory 7.6.1 → 7.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +193 -2
  3. data/Rakefile +3 -0
  4. data/app/assets/javascripts/mumuki_laboratory/application.js +0 -1
  5. data/app/assets/javascripts/mumuki_laboratory/application/assets-loader.js +1 -1
  6. data/app/assets/javascripts/mumuki_laboratory/application/bridge.js +36 -10
  7. data/app/assets/javascripts/mumuki_laboratory/application/button.js +90 -1
  8. data/app/assets/javascripts/mumuki_laboratory/application/codemirror.js +1 -0
  9. data/app/assets/javascripts/mumuki_laboratory/application/custom-editor.js +46 -4
  10. data/app/assets/javascripts/mumuki_laboratory/application/discussions.js +14 -13
  11. data/app/assets/javascripts/mumuki_laboratory/application/kids.js +73 -36
  12. data/app/assets/javascripts/mumuki_laboratory/application/progress.js +3 -0
  13. data/app/assets/javascripts/mumuki_laboratory/application/results-renderer.js +51 -0
  14. data/app/assets/javascripts/mumuki_laboratory/application/submission.js +184 -35
  15. data/app/assets/stylesheets/mumuki_laboratory/application/_modules.scss +1 -0
  16. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_discussion.scss +43 -5
  17. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kids.scss +3 -3
  18. data/app/assets/stylesheets/mumuki_laboratory/application/modules/_kindergarten.scss +55 -0
  19. data/app/controllers/assets_controller.rb +2 -0
  20. data/app/controllers/concerns/with_authorization.rb +4 -0
  21. data/app/controllers/concerns/with_user_discussion_validation.rb +14 -0
  22. data/app/controllers/discussions_controller.rb +6 -14
  23. data/app/controllers/discussions_messages_controller.rb +10 -1
  24. data/app/controllers/exercise_solutions_controller.rb +4 -2
  25. data/app/helpers/application_helper.rb +9 -5
  26. data/app/helpers/discussions_helper.rb +37 -23
  27. data/app/helpers/exercise_input_helper.rb +1 -1
  28. data/app/helpers/icons_helper.rb +3 -3
  29. data/app/views/book_discussions/index.html.erb +3 -3
  30. data/app/views/discussions/_message.html.erb +20 -8
  31. data/app/views/discussions/index.html.erb +0 -1
  32. data/app/views/discussions/new.html.erb +33 -0
  33. data/app/views/discussions/show.html.erb +18 -46
  34. data/app/views/exercise_solutions/_contextualization_results_container.html.erb +1 -1
  35. data/app/views/exercise_solutions/_results_title.html.erb +2 -2
  36. data/app/views/exercises/_read_only.html.erb +33 -6
  37. data/app/views/layouts/_copyright.html.erb +1 -1
  38. data/app/views/layouts/_discussions.html.erb +21 -3
  39. data/app/views/layouts/_social_media.html.erb +3 -3
  40. data/app/views/layouts/_test_results.html.erb +1 -1
  41. data/app/views/layouts/exercise_inputs/editors/_custom.html.erb +1 -1
  42. data/app/views/layouts/exercise_inputs/forms/_kids_form.html.erb +1 -1
  43. data/app/views/layouts/exercise_inputs/forms/_problem_form.html.erb +1 -1
  44. data/app/views/layouts/exercise_inputs/layouts/_input_bottom.html.erb +1 -1
  45. data/app/views/layouts/exercise_inputs/layouts/_input_kindergarten.html.erb +40 -0
  46. data/app/views/layouts/exercise_inputs/layouts/{_input_kids.html.erb → _input_primary.html.erb} +1 -1
  47. data/app/views/layouts/exercise_inputs/layouts/_input_right.html.erb +1 -1
  48. data/app/views/layouts/modals/_kids_context.html.erb +1 -8
  49. data/app/views/user_mailer/1st_reminder.html.erb +3 -3
  50. data/app/views/user_mailer/1st_reminder.text.erb +1 -1
  51. data/app/views/user_mailer/2nd_reminder.html.erb +3 -3
  52. data/app/views/user_mailer/2nd_reminder.text.erb +1 -1
  53. data/app/views/user_mailer/3rd_reminder.html.erb +3 -3
  54. data/app/views/user_mailer/3rd_reminder.text.erb +1 -1
  55. data/app/views/user_mailer/no_submissions_reminder.html.erb +3 -3
  56. data/app/views/user_mailer/no_submissions_reminder.text.erb +1 -1
  57. data/config/routes.rb +2 -1
  58. data/lib/mumuki/laboratory/controllers/results_rendering.rb +1 -2
  59. data/lib/mumuki/laboratory/locales/en.yml +8 -2
  60. data/lib/mumuki/laboratory/locales/es.yml +7 -1
  61. data/lib/mumuki/laboratory/locales/pt.yml +8 -4
  62. data/lib/mumuki/laboratory/version.rb +1 -1
  63. data/spec/controllers/confirmations_controller_spec.rb +1 -1
  64. data/spec/controllers/discussions_messages_controller_spec.rb +73 -0
  65. data/spec/controllers/exercise_solutions_controller_spec.rb +41 -6
  66. data/spec/dummy/db/schema.rb +12 -1
  67. data/spec/features/discussion_flow_spec.rb +190 -0
  68. data/spec/features/exercise_flow_spec.rb +1 -1
  69. data/spec/features/menu_bar_spec.rb +88 -7
  70. data/spec/helpers/breadcrumbs_helper_spec.rb +1 -1
  71. data/spec/javascripts/bridge-spec.js +5 -0
  72. data/spec/javascripts/csrf-token-spec.js +7 -0
  73. data/spec/javascripts/elipsis-spec.js +25 -0
  74. data/spec/javascripts/results-renderers-spec.js +17 -0
  75. data/spec/javascripts/spec-helper.js +30 -0
  76. data/spec/javascripts/speech-bubble-renderer-spec.js +11 -0
  77. data/spec/javascripts/timeout-spec.js +5 -0
  78. data/spec/javascripts/timer-spec.js +5 -0
  79. data/spec/teaspoon_env.rb +187 -0
  80. metadata +33 -9
  81. data/app/views/layouts/modals/_new_discussion.html.erb +0 -27
  82. data/vendor/assets/javascripts/hotjar.js +0 -8
@@ -0,0 +1,11 @@
1
+ describe('results renderers', () => {
2
+ it('can render result item', () => {
3
+ expect(mumuki.renderers.renderSpeechBubbleResultItem('fix that')).toEqual(`
4
+ <div class="results-item">
5
+ <ul class="results-list">
6
+ <li>fix that</li>
7
+ </ul>
8
+ </div>`);
9
+ })
10
+
11
+ })
@@ -0,0 +1,5 @@
1
+ describe('setTimeout', () => {
2
+ it('can create setTimeout', () => {
3
+ expect(mumuki.setTimeout).not.toBe(null);
4
+ })
5
+ })
@@ -0,0 +1,5 @@
1
+ describe('timer', () => {
2
+ it('can create timer', () => {
3
+ expect(mumuki.startTimer).not.toBe(null);
4
+ })
5
+ })
@@ -0,0 +1,187 @@
1
+ unless defined?(Rails)
2
+ ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__)
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
4
+ end
5
+
6
+
7
+ Teaspoon.configure do |config|
8
+ # Determines where the Teaspoon routes will be mounted. Changing this to "/jasmine" would allow you to browse to
9
+ # `http://localhost:3000/jasmine` to run your tests.
10
+ config.mount_at = "/teaspoon"
11
+
12
+ # Specifies the root where Teaspoon will look for files. If you're testing an engine using a dummy application it can
13
+ # be useful to set this to your engines root (e.g. `Teaspoon::Engine.root`).
14
+ # Note: Defaults to `Rails.root` if nil.
15
+ config.root = Mumuki::Laboratory::Engine.root
16
+
17
+ # Paths that will be appended to the Rails assets paths
18
+ # Note: Relative to `config.root`.
19
+ config.asset_paths = ["spec/javascripts", "spec/javascripts/stylesheets"]
20
+
21
+ # Fixtures are rendered through a controller, which allows using HAML, RABL/JBuilder, etc. Files in these paths will
22
+ # be rendered as fixtures.
23
+ config.fixture_paths = ["spec/javascripts/fixtures"]
24
+
25
+ # SUITES
26
+ #
27
+ # You can modify the default suite configuration and create new suites here. Suites are isolated from one another.
28
+ #
29
+ # When defining a suite you can provide a name and a block. If the name is left blank, :default is assumed. You can
30
+ # omit various directives and the ones defined in the default suite will be used.
31
+ #
32
+ # To run a specific suite
33
+ # - in the browser: http://localhost/teaspoon/[suite_name]
34
+ # - with the rake task: rake teaspoon suite=[suite_name]
35
+ # - with the cli: teaspoon --suite=[suite_name]
36
+ config.suite do |suite|
37
+ # Specify the framework you would like to use. This allows you to select versions, and will do some basic setup for
38
+ # you -- which you can override with the directives below. This should be specified first, as it can override other
39
+ # directives.
40
+ # Note: If no version is specified, the latest is assumed.
41
+ #
42
+ # Versions: 1.3.1, 2.0.3, 2.1.3, 2.2.0, 2.2.1, 2.3.4
43
+ suite.use_framework :jasmine, "2.3.4"
44
+
45
+ # Specify a file matcher as a regular expression and all matching files will be loaded when the suite is run. These
46
+ # files need to be within an asset path. You can add asset paths using the `config.asset_paths`.
47
+ suite.matcher = "{spec/javascripts,app/assets}/**/*-spec.{js,js.coffee,coffee}"
48
+
49
+ # Load additional JS files, but requiring them in your spec helper is the preferred way to do this.
50
+ #suite.javascripts = []
51
+
52
+ # You can include your own stylesheets if you want to change how Teaspoon looks.
53
+ # Note: Spec related CSS can and should be loaded using fixtures.
54
+ #suite.stylesheets = ["teaspoon"]
55
+
56
+ # This suites spec helper, which can require additional support files. This file is loaded before any of your test
57
+ # files are loaded.
58
+ suite.helper = "spec-helper"
59
+
60
+ # Partial to be rendered in the head tag of the runner. You can use the provided ones or define your own by creating
61
+ # a `_boot.html.erb` in your fixtures path, and adjust the config to `"/boot"` for instance.
62
+ #
63
+ # Available: boot, boot_require_js
64
+ suite.boot_partial = "boot"
65
+
66
+ # Partial to be rendered in the body tag of the runner. You can define your own to create a custom body structure.
67
+ suite.body_partial = "body"
68
+
69
+ # Hooks allow you to use `Teaspoon.hook("fixtures")` before, after, or during your spec run. This will make a
70
+ # synchronous Ajax request to the server that will call all of the blocks you've defined for that hook name.
71
+ #suite.hook :fixtures, &proc{}
72
+
73
+ # Determine whether specs loaded into the test harness should be embedded as individual script tags or concatenated
74
+ # into a single file. Similar to Rails' asset `debug: true` and `config.assets.debug = true` options. By default,
75
+ # Teaspoon expands all assets to provide more valuable stack traces that reference individual source files.
76
+ #suite.expand_assets = true
77
+
78
+ # Non-.js file extensions Teaspoon should consider JavaScript files
79
+ #suite.js_extensions = [/(\.js)?.coffee/, /(\.js)?.es6/, ".es6.js"]
80
+ end
81
+
82
+ # Example suite. Since we're just filtering to files already within the root test/javascripts, these files will also
83
+ # be run in the default suite -- but can be focused into a more specific suite.
84
+ #config.suite :targeted do |suite|
85
+ # suite.matcher = "spec/javascripts/targeted/*_spec.{js,js.coffee,coffee}"
86
+ #end
87
+
88
+ # CONSOLE RUNNER SPECIFIC
89
+ #
90
+ # These configuration directives are applicable only when running via the rake task or command line interface. These
91
+ # directives can be overridden using the command line interface arguments or with ENV variables when using the rake
92
+ # task.
93
+ #
94
+ # Command Line Interface:
95
+ # teaspoon --driver=phantomjs --server-port=31337 --fail-fast=true --format=junit --suite=my_suite /spec/file_spec.js
96
+ #
97
+ # Rake:
98
+ # teaspoon DRIVER=phantomjs SERVER_PORT=31337 FAIL_FAST=true FORMATTERS=junit suite=my_suite
99
+
100
+ # Specify which headless driver to use. Supports PhantomJS, Selenium Webdriver and BrowserStack Webdriver.
101
+ #
102
+ # Available: :phantomjs, :selenium, :browserstack, :capybara_webkit
103
+ # PhantomJS: https://github.com/modeset/teaspoon/wiki/Using-PhantomJS
104
+ # Selenium Webdriver: https://github.com/modeset/teaspoon/wiki/Using-Selenium-WebDriver
105
+ # BrowserStack Webdriver: https://github.com/modeset/teaspoon/wiki/Using-BrowserStack-WebDriver
106
+ # Capybara Webkit: https://github.com/modeset/teaspoon/wiki/Using-Capybara-Webkit
107
+ # config.driver = :capybara_webkit
108
+ config.driver = :selenium
109
+ config.driver_options = {client_driver: :firefox}
110
+
111
+
112
+ # Specify the timeout for the driver. Specs are expected to complete within this time frame or the run will be
113
+ # considered a failure. This is to avoid issues that can arise where tests stall.
114
+ #config.driver_timeout = 180
115
+
116
+ # Specify a server to use with Rack (e.g. thin, mongrel). If nil is provided Rack::Server is used.
117
+ #config.server = nil
118
+
119
+ # Specify a host to run on a specific host, otherwise Teaspoon will use 127.0.0.1.
120
+ #config.server_host = nil
121
+
122
+ # Specify a port to run on a specific port, otherwise Teaspoon will use a random available port.
123
+ #config.server_port = nil
124
+
125
+ # Timeout for starting the server in seconds. If your server is slow to start you may have to bump this, or you may
126
+ # want to lower this if you know it shouldn't take long to start.
127
+ #config.server_timeout = 20
128
+
129
+ # Force Teaspoon to fail immediately after a failing suite. Can be useful to make Teaspoon fail early if you have
130
+ # several suites, but in environments like CI this may not be desirable.
131
+ #config.fail_fast = true
132
+
133
+ # Specify the formatters to use when outputting the results.
134
+ # Note: Output files can be specified by using `"junit>/path/to/output.xml"`.
135
+ #
136
+ # Available: :dot, :clean, :documentation, :json, :junit, :pride, :rspec_html, :snowday, :swayze_or_oprah, :tap, :tap_y, :teamcity
137
+ config.formatters = [:documentation]
138
+
139
+ # Specify if you want color output from the formatters.
140
+ #config.color = true
141
+
142
+ # Teaspoon pipes all console[log/debug/error] to $stdout. This is useful to catch places where you've forgotten to
143
+ # remove them, but in verbose applications this may not be desirable.
144
+ #config.suppress_log = false
145
+
146
+ # COVERAGE REPORTS / THRESHOLD ASSERTIONS
147
+ #
148
+ # Coverage reports requires Istanbul (https://github.com/gotwarlost/istanbul) to add instrumentation to your code and
149
+ # display coverage statistics.
150
+ #
151
+ # Coverage configurations are similar to suites. You can define several, and use different ones under different
152
+ # conditions.
153
+ #
154
+ # To run with a specific coverage configuration
155
+ # - with the rake task: rake teaspoon USE_COVERAGE=[coverage_name]
156
+ # - with the cli: teaspoon --coverage=[coverage_name]
157
+
158
+ # Specify that you always want a coverage configuration to be used. Otherwise, specify that you want coverage
159
+ # on the CLI.
160
+ # Set this to "true" or the name of your coverage config.
161
+ #config.use_coverage = nil
162
+
163
+ # You can have multiple coverage configs by passing a name to config.coverage.
164
+ # e.g. config.coverage :ci do |coverage|
165
+ # The default coverage config name is :default.
166
+ config.coverage do |coverage|
167
+ # Which coverage reports Istanbul should generate. Correlates directly to what Istanbul supports.
168
+ #
169
+ # Available: text-summary, text, html, lcov, lcovonly, cobertura, teamcity
170
+ #coverage.reports = ["text-summary", "html"]
171
+
172
+ # The path that the coverage should be written to - when there's an artifact to write to disk.
173
+ # Note: Relative to `config.root`.
174
+ #coverage.output_path = "coverage"
175
+
176
+ # Assets to be ignored when generating coverage reports. Accepts an array of filenames or regular expressions. The
177
+ # default excludes assets from vendor, gems and support libraries.
178
+ #coverage.ignore = [%r{/lib/ruby/gems/}, %r{/vendor/assets/}, %r{/support/}, %r{/(.+)_helper.}]
179
+
180
+ # Various thresholds requirements can be defined, and those thresholds will be checked at the end of a run. If any
181
+ # aren't met the run will fail with a message. Thresholds can be defined as a percentage (0-100), or nil.
182
+ #coverage.statements = nil
183
+ #coverage.functions = nil
184
+ #coverage.branches = nil
185
+ #coverage.lines = nil
186
+ end
187
+ 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: 7.6.1
4
+ version: 7.7.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: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-08-07 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: 7.6.0
33
+ version: 7.7.2
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: 7.6.0
40
+ version: 7.7.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mumukit-bridge
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -358,6 +358,7 @@ files:
358
358
  - app/assets/javascripts/mumuki_laboratory/application/pin.js
359
359
  - app/assets/javascripts/mumuki_laboratory/application/popover.js
360
360
  - app/assets/javascripts/mumuki_laboratory/application/progress.js
361
+ - app/assets/javascripts/mumuki_laboratory/application/results-renderer.js
361
362
  - app/assets/javascripts/mumuki_laboratory/application/speech-bubble-renderer.js
362
363
  - app/assets/javascripts/mumuki_laboratory/application/submission.js
363
364
  - app/assets/javascripts/mumuki_laboratory/application/timer.js
@@ -393,6 +394,7 @@ files:
393
394
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_highlight.scss
394
395
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_kids.scss
395
396
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_kids_results.scss
397
+ - app/assets/stylesheets/mumuki_laboratory/application/modules/_kindergarten.scss
396
398
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_modal.scss
397
399
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_organization_chooser.scss
398
400
  - app/assets/stylesheets/mumuki_laboratory/application/modules/_overlap.scss
@@ -422,6 +424,7 @@ files:
422
424
  - app/controllers/concerns/users_controller_template.rb
423
425
  - app/controllers/concerns/with_authorization.rb
424
426
  - app/controllers/concerns/with_errors_filter.rb
427
+ - app/controllers/concerns/with_user_discussion_validation.rb
425
428
  - app/controllers/concerns/with_user_params.rb
426
429
  - app/controllers/discussions_controller.rb
427
430
  - app/controllers/discussions_messages_controller.rb
@@ -485,6 +488,7 @@ files:
485
488
  - app/views/discussions/_message_container.html.erb
486
489
  - app/views/discussions/_new_message.html.erb
487
490
  - app/views/discussions/index.html.erb
491
+ - app/views/discussions/new.html.erb
488
492
  - app/views/discussions/show.html.erb
489
493
  - app/views/errors/forbidden.html.erb
490
494
  - app/views/errors/gone.html.erb
@@ -547,7 +551,8 @@ files:
547
551
  - app/views/layouts/exercise_inputs/forms/_problem_form.html.erb
548
552
  - app/views/layouts/exercise_inputs/forms/_reading_form.html.erb
549
553
  - app/views/layouts/exercise_inputs/layouts/_input_bottom.html.erb
550
- - app/views/layouts/exercise_inputs/layouts/_input_kids.html.erb
554
+ - app/views/layouts/exercise_inputs/layouts/_input_kindergarten.html.erb
555
+ - app/views/layouts/exercise_inputs/layouts/_input_primary.html.erb
551
556
  - app/views/layouts/exercise_inputs/layouts/_input_right.html.erb
552
557
  - app/views/layouts/exercise_inputs/read_only_editors/_code.html.erb
553
558
  - app/views/layouts/exercise_inputs/read_only_editors/_custom.html.erb
@@ -562,7 +567,6 @@ files:
562
567
  - app/views/layouts/modals/_kids_context.html.erb
563
568
  - app/views/layouts/modals/_kids_results.html.erb
564
569
  - app/views/layouts/modals/_kids_results_aborted.html.erb
565
- - app/views/layouts/modals/_new_discussion.html.erb
566
570
  - app/views/layouts/modals/_new_message.html.erb
567
571
  - app/views/lessons/show.html.erb
568
572
  - app/views/messages/errors.html.erb
@@ -629,6 +633,7 @@ files:
629
633
  - spec/controllers/confirmations_controller_spec.rb
630
634
  - spec/controllers/courses_api_controller_spec.rb
631
635
  - spec/controllers/discussions_controller_spec.rb
636
+ - spec/controllers/discussions_messages_controller_spec.rb
632
637
  - spec/controllers/exercise_solutions_controller_spec.rb
633
638
  - spec/controllers/guide_progress_controller_spec.rb
634
639
  - spec/controllers/invitations_controller_spec.rb
@@ -681,6 +686,7 @@ files:
681
686
  - spec/features/complements_flow_spec.rb
682
687
  - spec/features/disable_user_flow_spec.rb
683
688
  - spec/features/disabled_organization_flow_spec.rb
689
+ - spec/features/discussion_flow_spec.rb
684
690
  - spec/features/dynamic_exam_spec.rb
685
691
  - spec/features/exams_flow_spec.rb
686
692
  - spec/features/exercise_flow_spec.rb
@@ -710,10 +716,19 @@ files:
710
716
  - spec/helpers/test_results_rendering_spec.rb
711
717
  - spec/helpers/with_choices_spec.rb
712
718
  - spec/helpers/with_navigation_spec.rb
719
+ - spec/javascripts/bridge-spec.js
720
+ - spec/javascripts/csrf-token-spec.js
721
+ - spec/javascripts/elipsis-spec.js
722
+ - spec/javascripts/results-renderers-spec.js
723
+ - spec/javascripts/spec-helper.js
724
+ - spec/javascripts/speech-bubble-renderer-spec.js
725
+ - spec/javascripts/timeout-spec.js
726
+ - spec/javascripts/timer-spec.js
713
727
  - spec/login_helper.rb
714
728
  - spec/mailers/previews/user_mailer_preview.rb
715
729
  - spec/mailers/user_mailer_spec.rb
716
730
  - spec/spec_helper.rb
731
+ - spec/teaspoon_env.rb
717
732
  - vendor/assets/javascripts/analytics.js
718
733
  - vendor/assets/javascripts/codemirror-autorefresh.js
719
734
  - vendor/assets/javascripts/codemirror-modes/assembly_x86.js
@@ -750,7 +765,6 @@ files:
750
765
  - vendor/assets/javascripts/codemirror-modes/xml.min.js
751
766
  - vendor/assets/javascripts/codemirror-simple-mode.js
752
767
  - vendor/assets/javascripts/codemirror.min.js
753
- - vendor/assets/javascripts/hotjar.js
754
768
  - vendor/assets/javascripts/jquery-console.js
755
769
  - vendor/assets/javascripts/webcomponents-lite.js
756
770
  - vendor/assets/stylesheets/codemirror/codemirror.min.css
@@ -774,8 +788,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
774
788
  - !ruby/object:Gem::Version
775
789
  version: '0'
776
790
  requirements: []
777
- rubyforge_project:
778
- rubygems_version: 2.7.7
791
+ rubygems_version: 3.0.8
779
792
  signing_key:
780
793
  specification_version: 4
781
794
  summary: Code assement web application for the Mumuki Platform.
@@ -783,6 +796,7 @@ test_files:
783
796
  - spec/mailers/previews/user_mailer_preview.rb
784
797
  - spec/mailers/user_mailer_spec.rb
785
798
  - spec/spec_helper.rb
799
+ - spec/teaspoon_env.rb
786
800
  - spec/features/guide_reset_spec.rb
787
801
  - spec/features/complements_flow_spec.rb
788
802
  - spec/features/not_found_public_flow_spec.rb
@@ -797,6 +811,7 @@ test_files:
797
811
  - spec/features/home_private_flow_spec.rb
798
812
  - spec/features/lessons_flow_spec.rb
799
813
  - spec/features/dynamic_exam_spec.rb
814
+ - spec/features/discussion_flow_spec.rb
800
815
  - spec/features/not_found_private_flow_spec.rb
801
816
  - spec/features/progressive_tips_spec.rb
802
817
  - spec/features/exams_flow_spec.rb
@@ -859,6 +874,14 @@ test_files:
859
874
  - spec/api_helper.rb
860
875
  - spec/capybara_helper.rb
861
876
  - spec/evaluation_helper.rb
877
+ - spec/javascripts/bridge-spec.js
878
+ - spec/javascripts/speech-bubble-renderer-spec.js
879
+ - spec/javascripts/timeout-spec.js
880
+ - spec/javascripts/results-renderers-spec.js
881
+ - spec/javascripts/csrf-token-spec.js
882
+ - spec/javascripts/elipsis-spec.js
883
+ - spec/javascripts/timer-spec.js
884
+ - spec/javascripts/spec-helper.js
862
885
  - spec/controllers/discussions_controller_spec.rb
863
886
  - spec/controllers/chapters_controller_spec.rb
864
887
  - spec/controllers/students_api_controller_spec.rb
@@ -868,6 +891,7 @@ test_files:
868
891
  - spec/controllers/invitations_controller_spec.rb
869
892
  - spec/controllers/users_api_controller_spec.rb
870
893
  - spec/controllers/users_controller_spec.rb
894
+ - spec/controllers/discussions_messages_controller_spec.rb
871
895
  - spec/controllers/guide_progress_controller_spec.rb
872
896
  - spec/controllers/organizations_api_controller_spec.rb
873
897
  - spec/controllers/messages_controller_spec.rb
@@ -1,27 +0,0 @@
1
- <div class="modal fade new-discussion-modal" tabindex="-1" role="dialog" aria-hidden="true">
2
- <div class="modal-dialog">
3
- <%= form_for [@debatable, Discussion.new] do |f| %>
4
- <div class="modal-content">
5
- <div class="modal-header">
6
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
7
- <span aria-hidden="true">&times;</span>
8
- </button>
9
- <h3 class="text-left">Nueva Consulta</h3>
10
- </div>
11
- <div class="modal-body">
12
- <div class="container-fluid">
13
- <div class="row form-group">
14
- <div><%= f.text_field :title, class: 'form-control', placeholder: t(:title), required: true %></div>
15
- </div>
16
- <div class="row form-group">
17
- <div><%= f.text_area :description, class: 'form-control', placeholder: t(:description) %></div>
18
- </div>
19
- </div>
20
- </div>
21
- <div class="modal-footer">
22
- <button class="btn btn-success btn-block"> <%= t :send %> </button>
23
- </div>
24
- </div>
25
- <% end %>
26
- </div>
27
- </div>
@@ -1,8 +0,0 @@
1
- (function(h,o,t,j,a,r){
2
- h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
3
- h._hjSettings={hjid:646165,hjsv:6};
4
- a=o.getElementsByTagName('head')[0];
5
- r=o.createElement('script');r.async=1;
6
- r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
7
- a.appendChild(r);
8
- })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');