bank_api 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b6f2aa174d501060b2a458a4275f4189a2f6fe55
4
+ data.tar.gz: bcaf182763556fc6b996c4ebf8406365c425d2f8
5
+ SHA512:
6
+ metadata.gz: e89a962dc628fbfd6e4f65cafe43dff5f62fdce890b2da14ccefe45e91040164b590ffb39fe02563d256ce59168f12471a9c12ca6bc87dff3e1b7a6244ccd3f0
7
+ data.tar.gz: 5a923b6a828655f1edaea35ceae699d249806eea2cf3547267e839345e870065b7a6449cc19482e2b8f9a24bd209d9cacf5e5ba0ab751547dced7400d1708759
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.3
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.16.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at oaestay@uc.cl. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in bank_api.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ bank_api (0.1.0)
5
+ pincers
6
+ timezone (~> 1.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ childprocess (0.8.0)
12
+ ffi (~> 1.0, >= 1.0.11)
13
+ coderay (1.1.2)
14
+ diff-lcs (1.3)
15
+ ffi (1.9.18)
16
+ method_source (0.9.0)
17
+ mini_portile2 (2.3.0)
18
+ nokogiri (1.8.1)
19
+ mini_portile2 (~> 2.3.0)
20
+ pincers (0.7.12)
21
+ nokogiri (~> 1.6)
22
+ selenium-webdriver (~> 2.45)
23
+ pry (0.11.3)
24
+ coderay (~> 1.1.0)
25
+ method_source (~> 0.9.0)
26
+ rake (10.5.0)
27
+ rspec (3.7.0)
28
+ rspec-core (~> 3.7.0)
29
+ rspec-expectations (~> 3.7.0)
30
+ rspec-mocks (~> 3.7.0)
31
+ rspec-core (3.7.0)
32
+ rspec-support (~> 3.7.0)
33
+ rspec-expectations (3.7.0)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.7.0)
36
+ rspec-mocks (3.7.0)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-support (3.7.0)
40
+ rubyzip (1.2.1)
41
+ selenium-webdriver (2.53.4)
42
+ childprocess (~> 0.5)
43
+ rubyzip (~> 1.0)
44
+ websocket (~> 1.0)
45
+ timezone (1.2.9)
46
+ websocket (1.2.5)
47
+
48
+ PLATFORMS
49
+ ruby
50
+
51
+ DEPENDENCIES
52
+ bank_api!
53
+ bundler (~> 1.16)
54
+ pry
55
+ rake (~> 10.0)
56
+ rspec (~> 3.0)
57
+
58
+ BUNDLED WITH
59
+ 1.16.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 oaestay
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # BankApi
2
+
3
+ BankApi is a gem that wraps chilean banks web operations. For now, it can get recent deposits on Banco de Chile accounts.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'bank_api'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install bank_api
20
+
21
+ ## Usage
22
+
23
+ For now, the gem can only get recent deposits of Banco de Chile accounts (only Enterprise accounts have been tested). To add your credentials so the client can login, create the following initializer:
24
+
25
+ ```
26
+ # config/initializers/bank_api.rb
27
+
28
+ BankApi.configure do |config|
29
+ # Add the rut linked to the account
30
+ config.bdc_user_rut = '12345678-9'
31
+ # Add the account's password
32
+ config.bdc_password = 'secretpassword'
33
+ # Add the account's enterprise rut
34
+ config.bdc_company_rut = '98765432-1'
35
+ config.days_to_check = 3
36
+ end
37
+
38
+ ```
39
+
40
+ The days to check is set by default to 6, and can be configured as seen in the initializer.
41
+
42
+ ## Development
43
+
44
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
45
+
46
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
47
+
48
+ ## Contributing
49
+
50
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bank_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
51
+
52
+ ## License
53
+
54
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
55
+
56
+ ## Code of Conduct
57
+
58
+ Everyone interacting in the BankApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/platanus/bank-api-gem/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bank_api.gemspec ADDED
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "bank_api/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bank_api"
8
+ spec.version = BankApi::VERSION
9
+ spec.authors = ["oaestay"]
10
+ spec.email = ["oaestay@uc.cl"]
11
+
12
+ spec.summary = 'Wrapper for chilean banks'
13
+ spec.description = 'Wrapper for chilean banks'
14
+ spec.homepage = 'https://github.com/platanus/bank-api-gem'
15
+ spec.license = "MIT"
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_dependency 'pincers'
24
+ spec.add_dependency 'timezone', '~> 1.0'
25
+
26
+ spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
29
+ spec.add_development_dependency "pry"
30
+ end
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bank_api"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,109 @@
1
+ require 'timezone'
2
+
3
+ require 'bank_api/clients/base_client'
4
+
5
+ module BankApi::Clients
6
+ class BancoDeChileCompanyClient < BaseClient
7
+ COMPANY_LOGIN_URL = 'https://www.empresas.bancochile.cl/cgi-bin/navega?pagina=enlinea/login_fus'
8
+ COMPANY_DEPOSITS_URL = 'https://www.empresas.bancochile.cl/GlosaInternetEmpresaRecibida/ConsultaRecibidaAction.do'
9
+
10
+ TABLE_OFFSET = 1
11
+
12
+ DATE_COLUMN = 0
13
+ RUT_COLUMN = 4
14
+ AMOUNT_COLUMN = 6
15
+ STATE_COLUMN = 7
16
+
17
+ NUMBER_OF_COLUMNS = 9
18
+
19
+ def initialize(config = BankApi::Configuration.new)
20
+ @bdc_company_rut = config.bdc_company_rut
21
+ @bdc_user_rut = config.bdc_user_rut
22
+ @bdc_password = config.bdc_password
23
+ super
24
+ end
25
+
26
+ private
27
+
28
+ def validate_credentials
29
+ raise BankApi::MissingCredentialsError if [
30
+ @bdc_company_rut,
31
+ @bdc_user_rut,
32
+ @bdc_password
33
+ ].any?(&:nil?)
34
+ end
35
+
36
+ def get_deposits
37
+ login
38
+ goto_deposits
39
+ select_deposits_range
40
+ submit_deposits_form
41
+ deposits = extract_deposits_from_html
42
+ browser.close
43
+ deposits
44
+ end
45
+
46
+ def login
47
+ goto_login_url
48
+ set_login_values
49
+ click_login_button
50
+ end
51
+
52
+ def goto_login_url
53
+ browser.goto COMPANY_LOGIN_URL
54
+ end
55
+
56
+ def set_login_values
57
+ browser.search('#rutemp1').set without_verifier_digit_or_separators(@bdc_company_rut)
58
+ browser.search('#dvemp1').set verifier_digit(@bdc_company_rut)
59
+ browser.search('#rut1').set without_verifier_digit_or_separators(@bdc_user_rut)
60
+ browser.search('#verificador1').set verifier_digit(@bdc_user_rut)
61
+ browser.search('#pin1').set @bdc_password
62
+ end
63
+
64
+ def click_login_button
65
+ browser.search('.btn_amarillodegrade').click
66
+ end
67
+
68
+ def goto_deposits
69
+ browser.goto COMPANY_DEPOSITS_URL
70
+ end
71
+
72
+ def select_deposits_range
73
+ timezone = Timezone['America/Santiago']
74
+ range_start = (
75
+ timezone.utc_to_local(Time.now).to_date - @days_to_check
76
+ ).strftime("%d/%m/%Y")
77
+ browser.search('input[name=initDate]').set(range_start)
78
+ end
79
+
80
+ def submit_deposits_form
81
+ browser.search('#consultar').click
82
+ end
83
+
84
+ def any_deposits?
85
+ browser.search('table#sin_datos').count.zero?
86
+ end
87
+
88
+ def extract_deposits_from_html
89
+ deposits = []
90
+
91
+ return deposits unless any_deposits?
92
+
93
+ deposit = {}
94
+ browser.search('.linea1tabla').each_with_index do |div, index|
95
+ if ((index - TABLE_OFFSET) % NUMBER_OF_COLUMNS) == RUT_COLUMN
96
+ deposit[:rut] = div.text
97
+ elsif ((index - TABLE_OFFSET) % NUMBER_OF_COLUMNS) == DATE_COLUMN
98
+ deposit[:date] = Date.parse div.text
99
+ elsif ((index - TABLE_OFFSET) % NUMBER_OF_COLUMNS) == AMOUNT_COLUMN
100
+ deposit[:amount] = div.text.delete(',')
101
+ elsif ((index - TABLE_OFFSET) % NUMBER_OF_COLUMNS) == STATE_COLUMN
102
+ deposits << deposit if div.text == 'Aprobada'
103
+ deposit = {}
104
+ end
105
+ end
106
+ deposits
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,51 @@
1
+ require 'pincers'
2
+
3
+ require 'bank_api/exceptions'
4
+ require 'bank_api/sign_deposits'
5
+ require 'bank_api/values/deposit_entry'
6
+
7
+ module BankApi::Clients
8
+ class BaseClient
9
+ def initialize(config = BankApi::Configuration.new)
10
+ @days_to_check = config.days_to_check
11
+ end
12
+
13
+ def get_recent_deposits
14
+ validate_credentials
15
+ parse_entries(get_deposits)
16
+ end
17
+
18
+ private
19
+
20
+ def validate_credentials
21
+ raise NotImplementedError
22
+ end
23
+
24
+ def get_deposits
25
+ raise NotImplementedError
26
+ end
27
+
28
+ def without_verifier_digit_or_separators(rut)
29
+ rut.split("-")[0].delete('.')
30
+ end
31
+
32
+ def verifier_digit(rut)
33
+ rut.split("-")[1]
34
+ end
35
+
36
+ def browser
37
+ @browser ||= Pincers.for_webdriver :chrome
38
+ end
39
+
40
+ def parse_entries(entries)
41
+ deposit_entries = entries.map do |entry|
42
+ BankApi::Values::DepositEntry.new(
43
+ entry[:amount],
44
+ entry[:date],
45
+ entry[:rut]
46
+ )
47
+ end
48
+ BankApi::SignDeposits.sign(deposit_entries)
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,13 @@
1
+ module BankApi
2
+ class Configuration
3
+ attr_accessor :bdc_user_rut, :bdc_password, :bdc_company_rut, :days_to_check
4
+
5
+ def initialize
6
+ @bdc_user_rut = nil
7
+ @bdc_password = nil
8
+ @bdc_company_rut = nil
9
+
10
+ @days_to_check = 6
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ module BankApi
2
+ class MissingCredentialsError < StandardError; end
3
+ end
@@ -0,0 +1,44 @@
1
+ require 'digest/sha1'
2
+
3
+ module BankApi::SignDeposits
4
+ extend self
5
+
6
+ def sign(deposits)
7
+ entries = get_entry_occurrencies(deposits)
8
+ sign_entries(entries)
9
+ end
10
+
11
+ private
12
+
13
+ def get_entry_occurrencies(deposits)
14
+ entry_occurrencies_keys = {}
15
+
16
+ deposits.map do |entry|
17
+ key = entry_key(entry)
18
+ occurrency = entry_occurrencies_keys[key] || 0
19
+ entry_occurrencies_keys[key] = occurrency + 1
20
+
21
+ { deposit_entry: entry, occurrencies: entry_occurrencies_keys[key] }
22
+ end
23
+ end
24
+
25
+ def sign_entries(entries)
26
+ entries.each { |entry_occurrency| sign_entry(entry_occurrency) }
27
+ end
28
+
29
+ def sign_entry(entry_occurrency)
30
+ entry = entry_occurrency[:deposit_entry]
31
+ occurrencies = entry_occurrency[:occurrencies]
32
+
33
+ entry.signature = entry_signature(entry, occurrencies)
34
+ end
35
+
36
+ def entry_signature(entry, occurrencies)
37
+ key = entry_key(entry)
38
+ Digest::SHA1.hexdigest("#{key}|#{occurrencies}")
39
+ end
40
+
41
+ def entry_key(entry)
42
+ "#{entry.amount}|#{entry.date}|#{entry.rut}"
43
+ end
44
+ end
@@ -0,0 +1,11 @@
1
+ module BankApi::Values
2
+ class DepositEntry
3
+ attr_accessor :amount, :date, :rut, :signature
4
+
5
+ def initialize(amount, date, rut)
6
+ @amount = amount
7
+ @date = date
8
+ @rut = rut
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module BankApi
2
+ VERSION = "0.1.0"
3
+ end
data/lib/bank_api.rb ADDED
@@ -0,0 +1,25 @@
1
+ require "bank_api/configuration"
2
+ require "bank_api/version"
3
+ require 'bank_api/clients/banco_de_chile_company_client'
4
+
5
+ module BankApi
6
+ class << self
7
+ attr_accessor :configuration
8
+ end
9
+
10
+ def self.configuration
11
+ @configuration ||= Configuration.new
12
+ end
13
+
14
+ def self.reset
15
+ @configuration = Configuration.new
16
+ end
17
+
18
+ def self.configure
19
+ yield(configuration)
20
+ end
21
+
22
+ def self.get_bdc_recent_company_deposits
23
+ Clients::BancoDeChileCompanyClient.new(configuration).get_recent_deposits
24
+ end
25
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bank_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - oaestay
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pincers
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: timezone
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Wrapper for chilean banks
98
+ email:
99
+ - oaestay@uc.cl
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".ruby-version"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - Gemfile.lock
111
+ - LICENSE.txt
112
+ - README.md
113
+ - Rakefile
114
+ - bank_api.gemspec
115
+ - bin/console
116
+ - bin/setup
117
+ - lib/bank_api.rb
118
+ - lib/bank_api/clients/banco_de_chile_company_client.rb
119
+ - lib/bank_api/clients/base_client.rb
120
+ - lib/bank_api/configuration.rb
121
+ - lib/bank_api/exceptions.rb
122
+ - lib/bank_api/sign_deposits.rb
123
+ - lib/bank_api/values/deposit_entry.rb
124
+ - lib/bank_api/version.rb
125
+ homepage: https://github.com/platanus/bank-api-gem
126
+ licenses:
127
+ - MIT
128
+ metadata: {}
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubyforge_project:
145
+ rubygems_version: 2.5.2
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: Wrapper for chilean banks
149
+ test_files: []