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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T14:29:24.000Z (over 2 years ago)
- Last Synced: 2025-01-13T18:57:32.052Z (over 1 year 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
[](https://github.com/sylhare/Vermelinho/actions/workflows/tests.yml) [](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
```