mumuki-domain 9.6.0 → 9.7.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: 6bf110cfb0548ff83999aba2c18fa8e2647237c764f5475bb7f0543b74d2e573
4
- data.tar.gz: 06fbf9c04aa1d09579315504ad1f9594581b067f925e88d804632a63d6f36e3d
3
+ metadata.gz: 5f0a85995ceefa3f9400d60e29b11c3907b1c42853c2d1517138bc7fa4532239
4
+ data.tar.gz: d468a495d0c21ee1139b4087c7ce5653936d7b9289a5a06d2e7c338f443fe128
5
5
  SHA512:
6
- metadata.gz: e398b8225bbc019cf01b72900476a306c32ac4d2f6a4a8522e543c89bf2f641ff9d234efd866b417c59cee8051f2983039379fa32f2f8d45dd1d3152ebabb176
7
- data.tar.gz: af14215013b827db24006cdff794a5ac0b4aac7229b503abb935d741bf4e10ab6a667a53bb76a36672a88236f1708dd0b4c0d4beb007cdb9b308213d65fb20d4
6
+ metadata.gz: f5ddf066cff9cf215e1ad83041b418cf615dcf3f5674b97cc569725d53f2107f2fc4c33b5d75fc3ae36e9a16694eeac90318062a65b3b1f1c003f97924359119
7
+ data.tar.gz: 0200b8bf90e1e7c08797fd2f3c417b744be4c455ff40cff1063fd7f8bf9a28f143f7d272a85e765ef02b663f10957b1ee5fa647b32331ea953bb6b7d8cbf4e0c
@@ -6,6 +6,7 @@ FactoryBot.define do
6
6
  locale { 'en' }
7
7
  settings {}
8
8
  name { 'an-organization' }
9
+ time_zone { 'UTC' }
9
10
  book
10
11
  end
11
12
 
@@ -13,7 +13,8 @@ class Mumuki::Domain::Organization::Profile < Mumukit::Platform::Model
13
13
  :community_link,
14
14
  :errors_explanations,
15
15
  :welcome_email_template,
16
- :welcome_email_sender
16
+ :welcome_email_sender,
17
+ :time_zone
17
18
 
18
19
  def locale_json
19
20
  locale_h.to_json
@@ -38,4 +39,9 @@ class Mumuki::Domain::Organization::Profile < Mumukit::Platform::Model
38
39
  def open_graph_image_url
39
40
  @open_graph_image_url ||= Mumukit::Platform.laboratory.url_for("logo-alt.png") # Best image size: 256x256
40
41
  end
42
+
43
+ def time_zone
44
+ @time_zone || 'Buenos Aires'
45
+ end
46
+
41
47
  end
@@ -46,4 +46,5 @@ class Mumuki::Domain::Organization::Settings < Mumukit::Platform::Model
46
46
  def in_preparation?
47
47
  in_preparation_until.present? && in_preparation_until.future?
48
48
  end
49
+
49
50
  end
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '9.6.0'
3
+ VERSION = '9.7.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.6.0
4
+ version: 9.7.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-06-15 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails