active_storage_validations 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/config/locales/pt-BR.yml +22 -0
- data/lib/active_storage_validations/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59e2305595247b963cfc53eac55689de8e915007da3d609312097225c1d445aa
|
|
4
|
+
data.tar.gz: d625a4d73f7521c7ca59cf47e346f2d7e0958a9553d8bbb44415de393eff0d90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32e42e928386309a0133372816cfde4e6df25c27d23c0193a14427d2d0e98122e74edcd62a1dbc9ed68470bc5f831ece9dedcdfd285370eac52d952dbe516b8e
|
|
7
|
+
data.tar.gz: 917a1594f7a1a24e4a8f13c6546351a6e52d54cc015e5a7e65422573e0a0784250f00572f15442030be73e7e29cba8ab32187c514e18f3be80618b57de0017a6
|
data/README.md
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
pt-BR:
|
|
2
|
+
errors:
|
|
3
|
+
messages:
|
|
4
|
+
content_type_invalid: "tem um tipo de arquivo inválido"
|
|
5
|
+
file_size_out_of_range: "tamanho %{file_size} está fora da faixa de tamanho válida"
|
|
6
|
+
limit_out_of_range: "número total está fora do limite"
|
|
7
|
+
image_metadata_missing: "não é uma imagem válida"
|
|
8
|
+
dimension_min_inclusion: "deve ser maior ou igual a %{width} x %{height} pixel"
|
|
9
|
+
dimension_max_inclusion: "deve ser menor ou igual a %{width} x %{height} pixel"
|
|
10
|
+
dimension_width_inclusion: "largura não está entre %{min} e %{max} pixel"
|
|
11
|
+
dimension_height_inclusion: "altura não está entre %{min} e %{max} pixel"
|
|
12
|
+
dimension_width_greater_than_or_equal_to: "largura deve ser maior ou igual a %{length} pixel"
|
|
13
|
+
dimension_height_greater_than_or_equal_to: "altura deve ser maior ou igual a %{length} pixel"
|
|
14
|
+
dimension_width_less_than_or_equal_to: "largura deve ser menor ou igual a %{length} pixel"
|
|
15
|
+
dimension_height_less_than_or_equal_to: "altura deve ser menor ou igual a %{length} pixel"
|
|
16
|
+
dimension_width_equal_to: "largura deve ser igual a %{length} pixel"
|
|
17
|
+
dimension_height_equal_to: "altura deve ser igual a %{length} pixel"
|
|
18
|
+
aspect_ratio_not_square: "não é uma imagem quadrada"
|
|
19
|
+
aspect_ratio_not_portrait: "não contém uma imagem no formato retrato"
|
|
20
|
+
aspect_ratio_not_landscape: "não contém uma imagem no formato paisagem"
|
|
21
|
+
aspect_ratio_is_not: "não contém uma proporção de %{aspect_ratio}"
|
|
22
|
+
aspect_ratio_unknown: "não tem uma proporção definida"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_storage_validations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Kasyanchuk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -106,6 +106,7 @@ files:
|
|
|
106
106
|
- Rakefile
|
|
107
107
|
- config/locales/de.yml
|
|
108
108
|
- config/locales/en.yml
|
|
109
|
+
- config/locales/pt-BR.yml
|
|
109
110
|
- lib/active_storage_validations.rb
|
|
110
111
|
- lib/active_storage_validations/aspect_ratio_validator.rb
|
|
111
112
|
- lib/active_storage_validations/attached_validator.rb
|