Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitAuto: [FEATURE] Add support to a RubyGems - Ruby #607

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,32 @@

---

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'bancos_brasileiros'
```

## List of banks

And then execute:

```bash
$ bundle install
```

Or install it yourself as:


```bash
$ gem install bancos_brasileiros
```

## Usage

TODO: Write usage instructions here
### Formats

This list contains 400+ registered banks, in the following formats:
Expand Down
11 changes: 11 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require "rake"
require "bundler/gem_tasks"

task :default => :build

task :build do
sh "gem build bancos_brasileiros.gemspec"
end
task :release => [:build] do
sh "gem push $(ls *.gem)"
end
16 changes: 16 additions & 0 deletions bancos_brasileiros.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Gem::Specification.new do |spec|
spec.name = "bancos_brasileiros"
spec.version = "0.1.0"
spec.summary = "A Ruby gem for Brazilian banks information."
spec.description = "This gem provides information about Brazilian banks, including codes and other relevant data."
spec.authors = ["Elton Santos"]
spec.email = ["elton@example.com"]
spec.files = Dir["lib/**/*", "data/**/*"]
spec.homepage = "https://github.com/eltonsantos/bancos_brasileiros"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.5"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/eltonsantos/bancos_brasileiros/CHANGELOG.md"
spec.metadata["bug_tracker_uri"] = "https://github.com/eltonsantos/bancos_brasileiros/issues"
end
Loading