vail 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/vail/translate.rb +11 -1
- data/spec/vail/translate_spec.rb +5 -0
- data/vail.gemspec +2 -2
- metadata +4 -4
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.1. | 
| 1 | 
            +
            0.1.2
         | 
    
        data/lib/vail/translate.rb
    CHANGED
    
    | @@ -26,7 +26,17 @@ module Vail | |
| 26 26 | 
             
                  "w" => [Dot, Dash, Dash],
         | 
| 27 27 | 
             
                  "x" => [Dash, Dot, Dot, Dash],
         | 
| 28 28 | 
             
                  "y" => [Dash, Dot, Dash, Dash],
         | 
| 29 | 
            -
                  "z" => [Dash, Dash, Dot, Dot]
         | 
| 29 | 
            +
                  "z" => [Dash, Dash, Dot, Dot],
         | 
| 30 | 
            +
                  "0" => [Dash,Dash,Dash,Dash,Dash],
         | 
| 31 | 
            +
                  "1" => [Dot, Dash, Dash, Dash, Dash],
         | 
| 32 | 
            +
                  "2" => [Dot, Dot, Dash, Dash, Dash],
         | 
| 33 | 
            +
                  "3" => [Dot, Dot, Dot, Dash, Dash],
         | 
| 34 | 
            +
                  "4" => [Dot, Dot, Dot, Dot, Dash],
         | 
| 35 | 
            +
                  "5" => [Dot, Dot, Dot, Dot, Dot],
         | 
| 36 | 
            +
                  "6" => [Dash, Dot, Dot, Dot, Dot],
         | 
| 37 | 
            +
                  "7" => [Dash, Dash, Dot, Dot, Dot], 
         | 
| 38 | 
            +
                  "8" => [Dash, Dash, Dash, Dot, Dot],
         | 
| 39 | 
            +
                  "9" => [Dash, Dash, Dash, Dash, Dot]
         | 
| 30 40 | 
             
                }
         | 
| 31 41 | 
             
                def self.to_morse(letter)
         | 
| 32 42 | 
             
                  Morse[letter.downcase] || []
         | 
    
        data/spec/vail/translate_spec.rb
    CHANGED
    
    
    
        data/vail.gemspec
    CHANGED
    
    | @@ -5,11 +5,11 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 7 | 
             
              s.name = %q{vail}
         | 
| 8 | 
            -
              s.version = "0.1. | 
| 8 | 
            +
              s.version = "0.1.2"
         | 
| 9 9 |  | 
| 10 10 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 11 | 
             
              s.authors = ["Rory McKinley"]
         | 
| 12 | 
            -
              s.date = %q{2011-06- | 
| 12 | 
            +
              s.date = %q{2011-06-14}
         | 
| 13 13 | 
             
              s.default_executable = %q{vail}
         | 
| 14 14 | 
             
              s.description = %q{Vail generates audible morse code. Currently it only works on Linux distros that have the beep utility installed. This is hopefully a temporary limitation}
         | 
| 15 15 | 
             
              s.email = %q{rorymckinley@gmail.com}
         | 
    
        metadata
    CHANGED
    
    | @@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version | |
| 5 5 | 
             
              segments: 
         | 
| 6 6 | 
             
              - 0
         | 
| 7 7 | 
             
              - 1
         | 
| 8 | 
            -
              -  | 
| 9 | 
            -
              version: 0.1. | 
| 8 | 
            +
              - 2
         | 
| 9 | 
            +
              version: 0.1.2
         | 
| 10 10 | 
             
            platform: ruby
         | 
| 11 11 | 
             
            authors: 
         | 
| 12 12 | 
             
            - Rory McKinley
         | 
| @@ -14,7 +14,7 @@ autorequire: | |
| 14 14 | 
             
            bindir: bin
         | 
| 15 15 | 
             
            cert_chain: []
         | 
| 16 16 |  | 
| 17 | 
            -
            date: 2011-06- | 
| 17 | 
            +
            date: 2011-06-14 00:00:00 +02:00
         | 
| 18 18 | 
             
            default_executable: vail
         | 
| 19 19 | 
             
            dependencies: 
         | 
| 20 20 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 147 147 | 
             
              requirements: 
         | 
| 148 148 | 
             
              - - ">="
         | 
| 149 149 | 
             
                - !ruby/object:Gem::Version 
         | 
| 150 | 
            -
                  hash:  | 
| 150 | 
            +
                  hash: -35729697720693374
         | 
| 151 151 | 
             
                  segments: 
         | 
| 152 152 | 
             
                  - 0
         | 
| 153 153 | 
             
                  version: "0"
         |