pikap3w / spell_generator

Looking for people who want to start/practice contributing to OSS projects⭐️⭐️

Home Page:https://dev.to/ksato1995/anybody-who-wants-to-start-practice-contributing-to-oss-projects-59np

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

SpellGenerator

It generates a random spell.

Why I created this project

Welcome!! I created this project specifically for helping people to take the first step of their OSS journeys⭐️⭐️.

Contributing to an OSS project can be intimidating if you don't know how to do to it or have never experienced it. But if you know the process of making a PR and have already done it before, it can be very simple and fun. That's why I want you to either open an issue or contribute to this project to practice/start contributing to other OSS projects✨✨!!

Originally I started this project with this post on dev.to.

If you are not a begginer

You can contribute to the project and the whole dev community by opening an issue here or helping new devs to complete their PRs😊. Some wonderful people have already opened some issues and also created PRs. I wholeheartedly appreciate them🙏🙏.

Or you are always very welcome to tackle any issue, even if you are not a begginer,

Installation

Add this line to your application's Gemfile:

gem 'spell_generator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install spell_generator

Usage

You can do two things with this gem.

(1) Create a random spell.

SpellGenerator::Generator.generate #=> "brave fire"
SpellGenerator::Generator.new.generate #=> "symptomatic punch"

(2) Create a spell.

SpellGenerator::Generator.new.self_generate('Random' 'Fire') #=> "Random Fire"

How to run examples

First, you have to move to the directory of this project in your terminal.

$ cd spell_generator

Second, run the command below.

$ ruby examples/spells.rb

That's it☀️!

It would output some random spells for ya.

"efficient blow"
"entire stab"
"Random Fire"

How to run the test

First, you have to move to the directory of this project in your terminal.

$ cd spell_generator

Second, run the command below.

$ rake spec

That's it☀️!

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the SpellGenerator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Looking for people who want to start/practice contributing to OSS projects⭐️⭐️

https://dev.to/ksato1995/anybody-who-wants-to-start-practice-contributing-to-oss-projects-59np

License:MIT License


Languages

Language:Ruby 97.8%Language:Shell 2.2%