dolar-bna 1.2.3.1 → 1.2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dolar/app/models/dolar_cotization.rb +1 -1
- data/lib/dolar/bna/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: 1cbcfaa9b06320e9a61b7702501b6e73d2e3605028d4fdaf89e23eb0a61eeebd
|
4
|
+
data.tar.gz: 78fb1dace007e69b75ff62057f726fd9223daed04125597446d436000980d44b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36e33fd2c386b265db62b34aee5d8fc16ca26c0a75b256ca82280cda38b203a71f41fe3c2255e7d922be34c54fd15e05305cd0fbabcd1a1a5cb86824fde6c80b
|
7
|
+
data.tar.gz: 0d8f89c6599d7b06b30680a1cd4bec10fd1b0d52643195e96401e4228eaba5065bb721091ab0e95344f3f7edd1db184b3bf1d60242b645a0685d54d9a72a8b49
|
@@ -8,7 +8,7 @@ module Dolar
|
|
8
8
|
validates_presence_of :dolar_sell, message: 'Indicar cotizacion de venta'
|
9
9
|
validates_numericality_of :dolar_buy, greater_than: 0, message: 'La cotizacion debe ser mayor a 0'
|
10
10
|
validates_numericality_of :dolar_sell, greater_than: 0, message: 'La cotizacion debe ser mayor a 0'
|
11
|
-
validates_uniqueness_of :date, scope: [:dolar_type, :dolar_sell], message: 'Ya existe una cotización de ese tipo para la fecha ingresada'
|
11
|
+
#validates_uniqueness_of :date, scope: [:dolar_type, :dolar_sell], if: :message: 'Ya existe una cotización de ese tipo para la fecha ingresada'
|
12
12
|
DOLAR_TYPES = ["Divisa", "Billete", "Blue"]
|
13
13
|
|
14
14
|
validates_inclusion_of :dolar_type, in: DOLAR_TYPES, message: 'Tipo de cotización inválido'
|
data/lib/dolar/bna/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dolar-bna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.3.
|
4
|
+
version: 1.2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LITECODE
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot
|