mumuki-classroom 8.0.0 → 8.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: de691bd2d7b7679ea57632dac258f9a47de98863a76ba85557267c20f7b58a05
4
- data.tar.gz: 4ce1c4643b942d4f4b6913f42878906e0cb25c0f6ffdbae011c1cd0e2cb165ca
3
+ metadata.gz: a6790bc196e99e880a993d1456c0df50774c1dc766cb9c27bbc7edb988d5312e
4
+ data.tar.gz: 7d52a0f60ed2399bd78cbe13a56da8530bb896042d6efe206bdeab2f642025cd
5
5
  SHA512:
6
- metadata.gz: c4f514d6c7213c7e35da1f87052ba42066b7cd420e978fb20bf595d0acab06085417720e8717861e2e32080745e4e1ffe658108480b6f0f455fc35c2283a413d
7
- data.tar.gz: b0d7ec394bd6a79bdcb13f104a7d9d5faecc06ed0dc10fe2a3cbe3ebab9c74a8863bfd06c90cc569edc2e51f53aa1952006949e71fd2a7d2e19d343b3cbc870a
6
+ metadata.gz: d0c4323441b51a96d9ca25695397d7c69524335824f31d12db29d0a43a855128e062d321b5f9fb10eb361917f9b614a6b5b958aba6774beb02bfef9846af5504
7
+ data.tar.gz: 9a5a4449d2374e500ab437b0a735209dcc4404df9498ffff6907152805dbab0d271f0c115b174ca32fedb62b9fb0d3f133bd0806a746eec431a9871dce3aac62
@@ -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.0.1'
4
4
  end
5
5
  end
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.0.1
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: 2020-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  requirements: []
287
- rubygems_version: 3.1.2
287
+ rubygems_version: 3.0.8
288
288
  signing_key:
289
289
  specification_version: 4
290
290
  summary: Teacher tools for Mumuki