dolar-bna 1.2.3.3 → 1.2.4

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: 4b88a61d86e3cd929cd4cdadebf627a3f5bcf337da6bae478a5656391431ef77
4
- data.tar.gz: aa8229eca83b4c8c63b4ad96e1b2479357fce1d75a086c67bfe59aa957f962af
3
+ metadata.gz: 1c18157ed7fb15f024cee512970185b25c8b694136474acb835817af09681d79
4
+ data.tar.gz: 641e0e778d0e8e9ee42d46bf1557d863416960b879e021af106afd93e467e917
5
5
  SHA512:
6
- metadata.gz: e80621012935cecb170116bafa000b47f05644db3b6aeda06f31eb61af573616ef82ee531ec16b6d16cec3aad75c16b46eeb2d63a9bfd08d7d0554bff3322579
7
- data.tar.gz: 89481981c34a1b39e478656b6bf9e9740eaa1bb62b2712e510d9f72668409e88b7f5f01cab89e4e2337a29e80b24dca0fd094d6e77345c0fa4ba1b9c93e40e43
6
+ metadata.gz: ee6f485e014d3b8821c3c38b7c3bf9cac396fed9be6df3804a3f544dae7487d1fe43f5848541527b8f9bceb3b230e95385b34a319ab550139e50b90f1ca1f08e
7
+ data.tar.gz: 22d78e797e229c11856f2f5e942ad4c999c33159441e8b79026b448fd4e3f6161ef6c7bc191a985db7e53c244d09c77e4c492f93034c9c092f02b9cea5ed3144
@@ -31,6 +31,14 @@ module Dolar
31
31
  end
32
32
  end
33
33
 
34
+ def self.search_by_dolar_type search
35
+ unless search.blank?
36
+ where(dolar_type: search)
37
+ else
38
+ all
39
+ end
40
+ end
41
+
34
42
  end
35
43
 
36
44
  end
@@ -1,5 +1,5 @@
1
1
  module Dolar
2
2
  module Bna
3
- VERSION = "1.2.3.3"
3
+ VERSION = "1.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dolar-bna
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - LITECODE