Project

tog_caesar

0.0
No release in over a year
# 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 ```
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Odin Caesar Cipher

This repository is a solution to the Odin 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

gem install tog_caesar

Command Line Usage

caesar "my message" 5
# rd rjxxflj

Ruby API Usage

require 'tog_caesar'

Caesar.cipher("my message", 5)
# => "rd rjxxflj"

Local Development

Requirements: Git, Docker

# 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