Categories: None [Edit]
tog_caesar
# 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 [email protected]: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
```
Total
Ranking: 143,140 of 183,164
Downloads: 3,663
Daily
Ranking: 70,268 of 183,155
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
25 | 818,960,563 | rspec |
Owners
# | Gravatar | Handle |
---|---|---|
1 | tacoda |