caesar_cipher 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- caesar_cipher (0.0.1)
4
+ caesar_cipher (0.0.2)
5
5
  methadone (~> 1.2.4)
6
6
 
7
7
  GEM
@@ -9,7 +9,7 @@ class App
9
9
  include Methadone::CLILogging
10
10
 
11
11
  main do |text|
12
- caesar = CaesarCipher::Caesar.new options[:shift]
12
+ caesar = CaesarCipher::Caesar.new options[:shift].to_i
13
13
  output = ""
14
14
  if options[:decipher]
15
15
  output = caesar.decipher text
@@ -1,5 +1,5 @@
1
1
  module CaesarCipher
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
 
4
4
  class Caesar
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caesar_cipher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: