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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09c7fa999263bd1bc6d50756a2d3723e362ba365636f94226cd3acb93e6a00d0'
4
- data.tar.gz: 993c6a6bd96dc9d149312116cf7f029de8dfa19a311963b146e01a9c0d6171b7
3
+ metadata.gz: 1cbcfaa9b06320e9a61b7702501b6e73d2e3605028d4fdaf89e23eb0a61eeebd
4
+ data.tar.gz: 78fb1dace007e69b75ff62057f726fd9223daed04125597446d436000980d44b
5
5
  SHA512:
6
- metadata.gz: 57085edeee6ad272dd25a9a6bc4a9cb80dccac92f90185297969462f1752a93e0f48ec7ca9df54fed4a4de793cadd8b42bf9e8fa1272af4d284877d0b95cd71f
7
- data.tar.gz: cebdd94e9f7fec3c170f7d4dc26802af512f12b1ad9266ffd87fadd900f44bc891d0134e796bfacd0a378168ee12568e8c1130de7fcad43ab5053b3eb334a02a
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'
@@ -1,5 +1,5 @@
1
1
  module Dolar
2
2
  module Bna
3
- VERSION = "1.2.3.1"
3
+ VERSION = "1.2.3.2"
4
4
  end
5
5
  end
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.1
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-05-22 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_bot