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:
= 複製 已複製

安裝:
=

版本列表:

  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 相依性套件 (1):

rspec >= 0

擁有者:

推送者:

作者:

  • Ian Johnson

SHA 256 總和檢查碼:

63b12178684da953cdbe3e554a43a27f0129edae6197a6193a4fca3523ffd421

總下載次數 3,470

這個版本 1,317

授權:

MIT

Ruby 版本需求: >= 2.6

相關連結: