mumuki-domain 9.1.2 → 9.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/application_record.rb +1 -1
- data/app/models/discussion.rb +1 -1
- data/lib/mumuki/domain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc8a965a85ae367436a825f12235e8ce3149baacb9e610d6f2801c97270cf603
|
4
|
+
data.tar.gz: d1f59395e72b047031ff987e47e8a48a596aefd1c57d566480c4c7e33737d058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b535002f54d54cfd9487122943bd44e31a6563eda77f672fb3b78347b13bf2cecacc880c7999efa04ed3a028d1352f899764a0fd95cbc4f53f617e9f010904
|
7
|
+
data.tar.gz: dbde9d021212f2fd8f6118df3a9f6585606e317b8b6d14acd0adb1190b834b8fdf63646ba1b2025db204e3424bcefe17c2491aa1c2f63cdeadd4b4b6a7bc798f
|
@@ -29,7 +29,7 @@ class ApplicationRecord < ActiveRecord::Base
|
|
29
29
|
def self.serialize_symbolized_hash_array(*keys)
|
30
30
|
keys.each do |field|
|
31
31
|
serialize field
|
32
|
-
define_method(field) { self[field]&.map { |it| it.
|
32
|
+
define_method(field) { self[field]&.map { |it| it.deep_symbolize_keys } }
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
data/app/models/discussion.rb
CHANGED
@@ -28,7 +28,7 @@ class Discussion < ApplicationRecord
|
|
28
28
|
delegate :language, to: :item
|
29
29
|
delegate :to_discussion_status, to: :status
|
30
30
|
|
31
|
-
MODERATOR_REVIEW_AVERAGE_TIME =
|
31
|
+
MODERATOR_REVIEW_AVERAGE_TIME = 17.minutes
|
32
32
|
|
33
33
|
scope :for_user, -> (user) do
|
34
34
|
if user.try(:moderator_here?)
|
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: 9.
|
4
|
+
version: 9.2.0
|
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: 2021-05-
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|