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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cee0ac6003bfa5540350ced96322774553ba6999f9c37d90aa48cb08d7af787d
4
- data.tar.gz: 69f2c3b8f4025cd5eee0b1b3dcfa155a2f278719bd220c34910bdf04ad1bf019
3
+ metadata.gz: fc8a965a85ae367436a825f12235e8ce3149baacb9e610d6f2801c97270cf603
4
+ data.tar.gz: d1f59395e72b047031ff987e47e8a48a596aefd1c57d566480c4c7e33737d058
5
5
  SHA512:
6
- metadata.gz: 5e9421f3b18be2279b97185b622dd3079588e2843e9e217d610749f458433ed37c9cba47d551da49c0623aa5b891a746980c510b893423526ce665eb1f615b50
7
- data.tar.gz: 2fcca6401cf692bd457b6273ca39aaa3f16864e6cc7da2f62f1c468409e3f11e8b99ad292f58d52e35c02e1428ce2c050cfc302bdde5e5aa1e223aaecd4f8829
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.symbolize_keys } }
32
+ define_method(field) { self[field]&.map { |it| it.deep_symbolize_keys } }
33
33
  end
34
34
  end
35
35
 
@@ -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 = 10.minutes
31
+ MODERATOR_REVIEW_AVERAGE_TIME = 17.minutes
32
32
 
33
33
  scope :for_user, -> (user) do
34
34
  if user.try(:moderator_here?)
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '9.1.2'
3
+ VERSION = '9.2.0'
4
4
  end
5
5
  end
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.1.2
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-03 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails