hola-yxiaoak 0.0.1
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.
- checksums.yaml +7 -0
- data/Rakefile +8 -0
- data/bin/hola +4 -0
- data/lib/hola.rb +8 -0
- data/lib/hola/translator.rb +16 -0
- data/test/test_hola.rb +16 -0
- metadata +48 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA1:
         | 
| 3 | 
            +
              metadata.gz: 9083d0e59d510ae9703483046999ba2beb8e25e4
         | 
| 4 | 
            +
              data.tar.gz: 21654007cf1a2aeedc257ff48f2511ed9d6ba505
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: be107a0268336afd2b328fccc621f36cdcd7b33bb3e96a5b77f12c6630fadc625f5af784dd777693ede91a92470c0accdb98a864a6c7e1f6159abe091722b4aa
         | 
| 7 | 
            +
              data.tar.gz: 6631dfc4e19cad6fcf81b0d6a538e5b3afe1228fcd7e8702fc858fd77ea7b43943d85a87267f96ecbcf00142245ff6efaed2dac591a07e43c499d0386d10de97
         | 
    
        data/Rakefile
    ADDED
    
    
    
        data/bin/hola
    ADDED
    
    
    
        data/lib/hola.rb
    ADDED
    
    
    
        data/test/test_hola.rb
    ADDED
    
    | @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            require 'test/unit'
         | 
| 2 | 
            +
            require 'hola'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            class HolaTest < Test::Unit::TestCase
         | 
| 5 | 
            +
              def test_english_hello
         | 
| 6 | 
            +
                assert_equal "hello world", Hola.hi("english")
         | 
| 7 | 
            +
              end
         | 
| 8 | 
            +
             | 
| 9 | 
            +
              def test_any_hello
         | 
| 10 | 
            +
                assert_equal "hello world", Hola.hi("ruby")
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              def test_spanish_hello
         | 
| 14 | 
            +
                assert_equal "hola mundo", Hola.hi("spanish")
         | 
| 15 | 
            +
              end
         | 
| 16 | 
            +
            end
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,48 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: hola-yxiaoak
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.0.1
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Nick Quaranto
         | 
| 8 | 
            +
            autorequire: 
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2010-04-03 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies: []
         | 
| 13 | 
            +
            description: A simple hello world gem
         | 
| 14 | 
            +
            email: nick@quaran.to
         | 
| 15 | 
            +
            executables: []
         | 
| 16 | 
            +
            extensions: []
         | 
| 17 | 
            +
            extra_rdoc_files: []
         | 
| 18 | 
            +
            files:
         | 
| 19 | 
            +
            - Rakefile
         | 
| 20 | 
            +
            - bin/hola
         | 
| 21 | 
            +
            - lib/hola.rb
         | 
| 22 | 
            +
            - lib/hola/translator.rb
         | 
| 23 | 
            +
            - test/test_hola.rb
         | 
| 24 | 
            +
            homepage: http://rubygems.org/gems/hola-yxiaoak
         | 
| 25 | 
            +
            licenses: []
         | 
| 26 | 
            +
            metadata: {}
         | 
| 27 | 
            +
            post_install_message: 
         | 
| 28 | 
            +
            rdoc_options: []
         | 
| 29 | 
            +
            require_paths:
         | 
| 30 | 
            +
            - lib
         | 
| 31 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 32 | 
            +
              requirements:
         | 
| 33 | 
            +
              - - ">="
         | 
| 34 | 
            +
                - !ruby/object:Gem::Version
         | 
| 35 | 
            +
                  version: '0'
         | 
| 36 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 37 | 
            +
              requirements:
         | 
| 38 | 
            +
              - - ">="
         | 
| 39 | 
            +
                - !ruby/object:Gem::Version
         | 
| 40 | 
            +
                  version: '0'
         | 
| 41 | 
            +
            requirements: []
         | 
| 42 | 
            +
            rubyforge_project: 
         | 
| 43 | 
            +
            rubygems_version: 2.5.2
         | 
| 44 | 
            +
            signing_key: 
         | 
| 45 | 
            +
            specification_version: 3
         | 
| 46 | 
            +
            summary: Hola!
         | 
| 47 | 
            +
            test_files:
         | 
| 48 | 
            +
            - test/test_hola.rb
         |