Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanyiv/caesar_cipher
Implementation of Caeser Cipher in Ruby
https://github.com/jonathanyiv/caesar_cipher
caesar-cipher ruby
Last synced: about 2 months ago
JSON representation
Implementation of Caeser Cipher in Ruby
- Host: GitHub
- URL: https://github.com/jonathanyiv/caesar_cipher
- Owner: JonathanYiv
- Created: 2017-08-03T19:17:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T00:56:45.000Z (about 2 years ago)
- Last Synced: 2023-02-27T01:06:27.756Z (almost 2 years ago)
- Topics: caesar-cipher, ruby
- Language: Ruby
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caesar Cipher Project
This is my version of implementing a [caesar cipher](https://en.wikipedia.org/wiki/Caesar_cipher) in ruby.
This is a project from [The Odin Project](https://www.theodinproject.com/courses/ruby-programming/lessons/building-blocks).
![Caesar Cipher](/caesar-cipher.png)
## Installation
Open your Terminal/Command Line. Navigate to the directory where your version will live. Type in the following:
```
$ git clone https://github.com/JonathanYiv/caesar_cipher.git
$ cd caesar_cipher
$ ruby lib/caesar_cipher.rb
```## Pre-Project Thoughts
This should be easy.
## Post-Project Thoughts
1. It was easy.
2. In this [Odin follow-up project](https://www.theodinproject.com/courses/ruby-programming/lessons/testing-ruby):
1. I came back to Caesar Cipher and integrated specifications using RSpec. I found ten possible scenarios to test, and added functionality for negative shift when I added the test.
2. I set up a RakeFile so I can use the '$ rake' command to run rspec based on the [documentation here](https://relishapp.com/rspec/rspec-core/docs/command-line/rake-task#passing-arguments-to-the-`rspec`-command-using-`rspec-opts`).
3. In this [OTHER Odin follow-up project](https://www.theodinproject.com/courses/ruby-on-rails/lessons/sinatra-project), I came back and added a [Heroku-hosted Sinatra web-app interface](https://lit-woodland-76112.herokuapp.com/). It was pretty easy.