Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sylhare/vermelinho
⚙️ Hands on with Ruby, gems and GitHub actions!
https://github.com/sylhare/vermelinho
gem github-actions ruby
Last synced: about 2 months ago
JSON representation
⚙️ Hands on with Ruby, gems and GitHub actions!
- Host: GitHub
- URL: https://github.com/sylhare/vermelinho
- Owner: sylhare
- License: mit
- Created: 2021-07-14T17:38:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T14:29:24.000Z (11 months ago)
- Last Synced: 2024-10-12T19:33:41.123Z (3 months ago)
- Topics: gem, github-actions, ruby
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vermelinho
[![Vermilinho unit test](https://github.com/sylhare/Vermelinho/actions/workflows/tests.yml/badge.svg)](https://github.com/sylhare/Vermelinho/actions/workflows/tests.yml) [![vermelinho Ruby Gem](https://github.com/sylhare/Vermelinho/actions/workflows/gem-publish.yml/badge.svg)](https://github.com/sylhare/Vermelinho/actions/workflows/gem-publish.yml)
A simple gem example from [How to make your own gem](https://guides.rubygems.org/make-your-own-gem/)💎 Hands on ruby.
## Get started
In the interactive shell:
```shell
% irb -Ilib -rvermelinho
irb(main):001:0> Vermelinho.hi("english")
=> "hello world"
irb(main):002:0> Vermelinho.hi("spanish")
=> "hola mundo"
```You can quit the shell with `exit`.
Use the `bin`:```bash
% ruby -Ilib ./bin/vermelinho
"🤷️"% ruby -Ilib ./bin/vermelinho spanish
"hola mundo"
```## Tests
Run the tests with:
```shell
rake test
```## Build gem
Build the gem
```shell
gem build *.gemspec
```