RubyGems Navigation menu

tog_caesar 0.1.5

# Odin Caesar Cipher This repository is a solution to the [Odin Caesar Cipher](https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby-programming/lessons/caesar-cipher) problem. This code is overkill for such a simple project. The point of this project is to practice the skills required to turn an idea into a deployment. ## Install Gem Locally ```sh gem install tog_caesar ``` ## Command Line Usage ```sh caesar "my message" 5 # rd rjxxflj ``` ## Ruby API Usage ```ruby require 'tog_caesar' Caesar.cipher("my message", 5) # => "rd rjxxflj" ``` ## Local Development **Requirements:** Git, Docker ```sh # Clone the repository and open the directory git clone git@github.com:tacoda/odin-caesar-cipher.git && cd odin-caesar-cipher/ # Build the image script/build # Clean the build and remove the image script/clean # Run all rspec tests in the container script/test # Run a particular rspec test in the container script/test spec/caesar_spec.rb:24 --format=doc # Run the program with arguments in the container script/run "my message" 5 ```

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.5 - January 10, 2023 (6.5 KB)
  2. 0.1.1 - January 16, 2022 (5.5 KB)
  3. 0.1.0 - January 16, 2022 (5.5 KB)

Development Dependencies (1):

rspec >= 0

Owners:

Pushed by:

Authors:

  • Ian Johnson

SHA 256 checksum:

63b12178684da953cdbe3e554a43a27f0129edae6197a6193a4fca3523ffd421

Total downloads 3,432

For this version 1,299

License:

MIT

Required Ruby Version: >= 2.6

Links: