charcoalcms 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.
- data/Rakefile +8 -0
- data/bin/charcoalcms +4 -0
- data/lib/charcoalcms/translator.rb +16 -0
- data/lib/charcoalcms.rb +8 -0
- data/test/test_charcoalcms.rb +16 -0
- metadata +69 -0
    
        data/Rakefile
    ADDED
    
    
    
        data/bin/charcoalcms
    ADDED
    
    
    
        data/lib/charcoalcms.rb
    ADDED
    
    
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            require 'test/unit'
         | 
| 2 | 
            +
            require 'charcoalcms'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            class CharcoalCmsTest < Test::Unit::TestCase
         | 
| 5 | 
            +
              def test_english_hello
         | 
| 6 | 
            +
                assert_equal "hello world", CharcoalCms.hi("english")
         | 
| 7 | 
            +
              end
         | 
| 8 | 
            +
             | 
| 9 | 
            +
              def test_any_hello
         | 
| 10 | 
            +
                assert_equal "hello world", CharcoalCms.hi("ruby")
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              def test_spanish_hello
         | 
| 14 | 
            +
                assert_equal "CharcoalCms mundo", CharcoalCms.hi("spanish")
         | 
| 15 | 
            +
              end
         | 
| 16 | 
            +
            end
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,69 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification 
         | 
| 2 | 
            +
            name: charcoalcms
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            +
              hash: 29
         | 
| 5 | 
            +
              prerelease: 
         | 
| 6 | 
            +
              segments: 
         | 
| 7 | 
            +
              - 0
         | 
| 8 | 
            +
              - 0
         | 
| 9 | 
            +
              - 1
         | 
| 10 | 
            +
              version: 0.0.1
         | 
| 11 | 
            +
            platform: ruby
         | 
| 12 | 
            +
            authors: 
         | 
| 13 | 
            +
            - Nik | Polikin.ca
         | 
| 14 | 
            +
            autorequire: 
         | 
| 15 | 
            +
            bindir: bin
         | 
| 16 | 
            +
            cert_chain: []
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            date: 2013-06-10 00:00:00 Z
         | 
| 19 | 
            +
            dependencies: []
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            description: CharcoalCms GEM
         | 
| 22 | 
            +
            email: responsiveness@polikin.ca
         | 
| 23 | 
            +
            executables: []
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            extensions: []
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            extra_rdoc_files: []
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            files: 
         | 
| 30 | 
            +
            - Rakefile
         | 
| 31 | 
            +
            - lib/charcoalcms.rb
         | 
| 32 | 
            +
            - lib/charcoalcms/translator.rb
         | 
| 33 | 
            +
            - bin/charcoalcms
         | 
| 34 | 
            +
            - test/test_charcoalcms.rb
         | 
| 35 | 
            +
            homepage: http://rubygems.org/gems/charcoalcms
         | 
| 36 | 
            +
            licenses: []
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            post_install_message: 
         | 
| 39 | 
            +
            rdoc_options: []
         | 
| 40 | 
            +
             | 
| 41 | 
            +
            require_paths: 
         | 
| 42 | 
            +
            - lib
         | 
| 43 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 44 | 
            +
              none: false
         | 
| 45 | 
            +
              requirements: 
         | 
| 46 | 
            +
              - - ">="
         | 
| 47 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 48 | 
            +
                  hash: 3
         | 
| 49 | 
            +
                  segments: 
         | 
| 50 | 
            +
                  - 0
         | 
| 51 | 
            +
                  version: "0"
         | 
| 52 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 53 | 
            +
              none: false
         | 
| 54 | 
            +
              requirements: 
         | 
| 55 | 
            +
              - - ">="
         | 
| 56 | 
            +
                - !ruby/object:Gem::Version 
         | 
| 57 | 
            +
                  hash: 3
         | 
| 58 | 
            +
                  segments: 
         | 
| 59 | 
            +
                  - 0
         | 
| 60 | 
            +
                  version: "0"
         | 
| 61 | 
            +
            requirements: []
         | 
| 62 | 
            +
             | 
| 63 | 
            +
            rubyforge_project: 
         | 
| 64 | 
            +
            rubygems_version: 1.8.25
         | 
| 65 | 
            +
            signing_key: 
         | 
| 66 | 
            +
            specification_version: 3
         | 
| 67 | 
            +
            summary: charcoalcms!
         | 
| 68 | 
            +
            test_files: 
         | 
| 69 | 
            +
            - test/test_charcoalcms.rb
         |