diff --git a/README.md b/README.md index 29092cbb..a187275c 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/Rakefile b/Rakefile new file mode 100644 index 00000000..33ad577f --- /dev/null +++ b/Rakefile @@ -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 diff --git a/bancos_brasileiros.gemspec b/bancos_brasileiros.gemspec new file mode 100644 index 00000000..72bfed95 --- /dev/null +++ b/bancos_brasileiros.gemspec @@ -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