bank_api 0.2.8 → 0.2.9

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
  SHA1:
3
- metadata.gz: 723524ce3b4a044dcfc9b3f3b091cb28753f9b47
4
- data.tar.gz: dfa19f45430ce0b35e51dbeba326f83046317d38
3
+ metadata.gz: 0df5c067f6382346c7503d9f7aee1c3bb68d4d7a
4
+ data.tar.gz: b45f0c44b411b4af660a06d72cd82a8fce774d8a
5
5
  SHA512:
6
- metadata.gz: 62fae0e7e76a13260e4693420665f05e0a381a5930f104c8f5824c7722988035f36ebafb6f21f903e98ec6a55a53a2de456074399537528340c1c9264c8cc9b1
7
- data.tar.gz: 4535cd23ab4ed3d4a3399a7170e95027f09a82ebcfd1fc3d9db75ff8294bffe6ffa8d63c9a3a366f8faac283f6e73f3f19571b2b14659f1c6ea68147e3e67970
6
+ metadata.gz: 3569ff7aef5f550d0f1d5bbe3f298dca8ea54313996075d975af3c9bffd8ffd287d3e4aa51e4329e45722cf71a26bcd23e9be4c8b2dfbcfe65eb52a7547dbb2e
7
+ data.tar.gz: 6e9a3d5b2f9c87a4bf269e307e9a46c29387d93af88359a06510e15212bba0966065e6c202ea3b4ca37efa9437446aa69123496607d5507590a7f5b063090c9a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bank_api (0.2.8)
4
+ bank_api (0.2.9)
5
5
  pincers
6
6
  timezone (~> 1.0)
7
7
 
@@ -96,15 +96,14 @@ module BankApi::Clients::BancoSecurity
96
96
  def deposit_range
97
97
  @deposit_range ||= begin
98
98
  timezone = Timezone['America/Santiago']
99
- {
100
- start: (timezone.utc_to_local(Time.now).to_date - @days_to_check).strftime('%d/%m/%Y'),
101
- end: timezone.utc_to_local(Time.now).to_date.strftime('%d/%m/%Y')
102
- }
99
+ today = timezone.utc_to_local(Time.now).to_date
100
+ { start: (today - @days_to_check).strftime('%d/%m/%Y'), end: today.strftime('%d/%m/%Y') }
103
101
  end
104
102
  end
105
103
 
106
104
  def any_deposits?
107
105
  browser.search(
106
+ "#gridPrincipalRecibidas " \
108
107
  ".k-label:contains('No se han encontrado transacciones para la búsqueda seleccionada.')"
109
108
  ).none?
110
109
  end
@@ -1,3 +1,3 @@
1
1
  module BankApi
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bank_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - oaestay
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pincers