mumuki-classroom 8.0.0 → 8.4.0

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: de691bd2d7b7679ea57632dac258f9a47de98863a76ba85557267c20f7b58a05
4
- data.tar.gz: 4ce1c4643b942d4f4b6913f42878906e0cb25c0f6ffdbae011c1cd0e2cb165ca
3
+ metadata.gz: 34c409b08fca1dfb53bd67f795d783315412ac34f6d5b315f5920fca2ece5aa7
4
+ data.tar.gz: e22381ef42e1ff0e69d8bb86e5ef151516c9857181811228da899bb4b09b6325
5
5
  SHA512:
6
- metadata.gz: c4f514d6c7213c7e35da1f87052ba42066b7cd420e978fb20bf595d0acab06085417720e8717861e2e32080745e4e1ffe658108480b6f0f455fc35c2283a413d
7
- data.tar.gz: b0d7ec394bd6a79bdcb13f104a7d9d5faecc06ed0dc10fe2a3cbe3ebab9c74a8863bfd06c90cc569edc2e51f53aa1952006949e71fd2a7d2e19d343b3cbc870a
6
+ metadata.gz: 278e5cb886cd1d8fabb95130d608abef7ce04dd4699fc9a7c1352bc3a4ddffb63a2a55242567b38132aedc89ede30e33985aac10f025da03248c49c263364768
7
+ data.tar.gz: 32832897987ee4c328d21a4e379ce3e60202844f5df3dc9dec5e9090a60eb653edc0e7498e016ab1c1ef14fc29580fb435fc1c71ee32f46b121ef6552a3cae4f
@@ -2,8 +2,8 @@ class Mongo::Collection
2
2
  revamp :insert_many do |_, _, documents, *args, hyper|
3
3
  now = Time.now
4
4
  documents.map do |it|
5
- it[:created_at] = now
6
- it[:updated_at] = now
5
+ it[:created_at] ||= now
6
+ it[:updated_at] ||= now
7
7
  end
8
8
  hyper.call documents, *args
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Classroom
3
- VERSION = '8.0.0'
3
+ VERSION = '8.4.0'
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@
4
4
  <div class="thread">
5
5
  <li class="solution self">
6
6
  <a onclick="toggleCollapse('toggle-<%= index %>')">
7
- <i class="fa fa-<%= threads.last == thread ? 'minus' : 'plus' %>-square-o toggle-<%= index %>"></i>
7
+ <i class="far fa-<%= threads.last == thread ? 'minus' : 'plus' %>-square toggle-<%= index %>"></i>
8
8
  <span>&nbsp;</span>
9
9
  <span> <%= I18n.t(:view_solution) %> </span>
10
10
  </a>
@@ -32,8 +32,8 @@
32
32
  function toggleCollapse(target) {
33
33
  var $target = $('#' + target);
34
34
  var $icon = $('i.' + target);
35
- $icon.toggleClass('fa-minus-square-o');
36
- $icon.toggleClass('fa-plus-square-o');
35
+ $icon.toggleClass('fa-minus-square');
36
+ $icon.toggleClass('fa-plus-square');
37
37
  $target.toggleClass('hidden');
38
38
  }
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-classroom
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0
4
+ version: 8.4.0
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-11-20 00:00:00.000000000 Z
11
+ date: 2021-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 8.0.0
89
+ version: 8.4.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 8.0.0
96
+ version: 8.4.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mumukit-login
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +192,26 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: 0.18.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: bundler
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '2.0'
202
+ - - "<"
203
+ - !ruby/object:Gem::Version
204
+ version: '2.2'
205
+ type: :development
206
+ prerelease: false
207
+ version_requirements: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - "~>"
210
+ - !ruby/object:Gem::Version
211
+ version: '2.0'
212
+ - - "<"
213
+ - !ruby/object:Gem::Version
214
+ version: '2.2'
195
215
  description: Teacher tools for Mumuki
196
216
  email:
197
217
  - franco@mumuki.org
@@ -284,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
304
  - !ruby/object:Gem::Version
285
305
  version: '0'
286
306
  requirements: []
287
- rubygems_version: 3.1.2
307
+ rubygems_version: 3.0.3
288
308
  signing_key:
289
309
  specification_version: 4
290
310
  summary: Teacher tools for Mumuki