mumuki-domain 7.8.0 → 7.8.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: 14a6d0b035451e69ddc77479e3f32854ecae51ca0a3c6bc3031f8d68a4b7fcdd
4
- data.tar.gz: a1dbea618e7a152e55417174cecf35a0338a464cd199b02114d524c65c7c23c5
3
+ metadata.gz: 6f501e48aa71e7422741f0223c9ac221b1536bf0171dfd58a5ab2158d4cc215a
4
+ data.tar.gz: fe3c3520675d5b9e066dfeb7682d86dc42522afb88d48e3e81245b3f28a750ea
5
5
  SHA512:
6
- metadata.gz: d3e2039abf83cd21c0ef3d6b33bcfcef54db1dc7df1eb91fb771ab218076b484b34a4a7c034a1e945d5ab3f84e739fdffbdba05999e2bb1878430af4698e4678
7
- data.tar.gz: 1cc3cb4565b4999bfac4f351fffb0d937c28db74c93e26a94267332b9c15ca8812f0bce4c19e2298169a957d008546bde95442a2ca7d798f9912b2bd3c9c39e8
6
+ metadata.gz: 7925dac13f2ba1b0e5e5494bd13c167c521fee0dec2ffe5a1024cdc0fc4000ba2ad82786a2d5aa96f354ae147689cc2b763dc03cafa940cd77c1a8fd137e0a71
7
+ data.tar.gz: 3f51ba4d74fbd60a6fe1a95e6602ec1539d5a63c185d9468b9a5915af14103d9f264cd0f1a0dc0d7084db444c6304c6129130deab4a5f80f7a6e264a52398070
@@ -128,6 +128,10 @@ class Organization < ApplicationRecord
128
128
  update! progressive_display_lookahead: lookahead
129
129
  end
130
130
 
131
+ def display_name
132
+ name.gsub(/\W/, ' ').titleize
133
+ end
134
+
131
135
  private
132
136
 
133
137
  def ensure_consistent_public_login
@@ -0,0 +1,59 @@
1
+ ---
2
+ es-CL:
3
+ activerecord:
4
+ attributes:
5
+ exercise:
6
+ description: Descripción
7
+ extra: Biblioteca
8
+ hint: Ayudas
9
+ language: Lenguaje
10
+ locale: Idioma
11
+ tag_list: Etiquetas
12
+ title: Título
13
+ guide:
14
+ description: Descripción
15
+ github_repository: Repositorio Github
16
+ language: Lenguaje
17
+ locale: Idioma
18
+ name: Nombre
19
+ submission:
20
+ content: Contenido
21
+ errors:
22
+ models:
23
+ guide:
24
+ attributes:
25
+ base:
26
+ in_use: 'La guía aún está siendo utilizada en la organización %{organization}'
27
+ topic:
28
+ attributes:
29
+ base:
30
+ in_use: 'El tema aún está siendo utilizado en la organización %{organization}'
31
+ exercise:
32
+ attributes:
33
+ randomizations:
34
+ invalid_format: 'formato inválido'
35
+ own_expectations:
36
+ invalid_format: 'formato inválido'
37
+ assistance_rules:
38
+ invalid_format: 'formato inválido'
39
+ name:
40
+ invalid_format: 'no debe contener /'
41
+ base:
42
+ evaluation_criteria_required: 'Tienes que proveer tests y/o expectativas'
43
+ organization:
44
+ attributes:
45
+ base:
46
+ consistent_public_login: 'Una organización pública no puede restringir los métodos de login'
47
+ invalid_activity_range: 'La fecha de inhabilitación no puede ser anterior a la de inicio del recorrido'
48
+ models:
49
+ exercise:
50
+ one: Ejercicio
51
+ other: Ejercicios
52
+ chapter:
53
+ one: Capítulo
54
+ other: Capítulos
55
+ guide: Guía
56
+ language: Lenguaje
57
+ submission:
58
+ one: Solución
59
+ other: Soluciones
@@ -0,0 +1,3 @@
1
+ es-CL:
2
+ console_submission:
3
+ try_again: ¡Ups! Algo salió mal en mumuki. Reinicia el ejercicio, espera unos segundos y vuelve a intentar.
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '7.8.0'
3
+ VERSION = '7.8.1'
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: 7.8.0
4
+ version: 7.8.1
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: 2020-08-28 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '5.1'
131
+ version: '5.2'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '5.1'
138
+ version: '5.2'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: mumukit-sync
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -660,9 +660,11 @@ files:
660
660
  - lib/mumuki/domain/helpers/user.rb
661
661
  - lib/mumuki/domain/incognito.rb
662
662
  - lib/mumuki/domain/locales/activerecord/en.yml
663
+ - lib/mumuki/domain/locales/activerecord/es-CL.yml
663
664
  - lib/mumuki/domain/locales/activerecord/es.yml
664
665
  - lib/mumuki/domain/locales/activerecord/pt.yml
665
666
  - lib/mumuki/domain/locales/console_submission/en.yml
667
+ - lib/mumuki/domain/locales/console_submission/es-CL.yml
666
668
  - lib/mumuki/domain/locales/console_submission/es.yml
667
669
  - lib/mumuki/domain/locales/console_submission/pt.yml
668
670
  - lib/mumuki/domain/organization.rb