localio 0.0.7 → 0.0.8
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 +4 -4
- data/.gitignore +1 -0
- data/README.md +11 -2
- data/lib/localio/segment.rb +1 -1
- data/lib/localio/string_helper.rb +4 -0
- data/lib/localio/version.rb +1 -1
- metadata +3 -4
- data/.DS_Store +0 -0
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 4a46bd0b7b52240cbcaf00ebf31a4b21a20b9ac8
         | 
| 4 | 
            +
              data.tar.gz: c2e547d7b8490a610f609872881b2b6cf889e929
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1f0e89a33668a70136c506102c405f531cf3958f1f23bbc228d943688bd16f799280f6ceda1ed20d1b0afb4a054fe980f168210c51891c868e786d1b9b1b5ea8
         | 
| 7 | 
            +
              data.tar.gz: 7d58c5f8c9fdf69065d88b0938d9dbd8e2f41f5f7d9542476c87bfb6aa5eff5c893c4b275fa6bf024dee907ba4382985b949f7915e4c7b126c938a3b57e45867
         | 
    
        data/.gitignore
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -18,7 +18,7 @@ Or install it yourself as: | |
| 18 18 |  | 
| 19 19 | 
             
            ## Usage
         | 
| 20 20 |  | 
| 21 | 
            -
            You have to create a custom file, Locfile, similar to Rakefile or Gemfile, with some information for this to work. Also you must have some spreadsheet with a particular format, either in Google Drive or in XLS format.
         | 
| 21 | 
            +
            You have to create a custom file, Locfile, similar to Rakefile or Gemfile, with some information for this to work. Also you must have some spreadsheet with a particular format, either in Google Drive or in Excel (XLS or XLSX) format.
         | 
| 22 22 |  | 
| 23 23 | 
             
            In your Locfile directory you can then execute
         | 
| 24 24 |  | 
| @@ -122,7 +122,16 @@ source :xls, | |
| 122 122 |  | 
| 123 123 | 
             
            ##### XLSX
         | 
| 124 124 |  | 
| 125 | 
            -
             | 
| 125 | 
            +
            `source :xlsx` will use a local XLSX file. In the parameter's hash you should specify a `:path`.
         | 
| 126 | 
            +
             | 
| 127 | 
            +
            Option                      | Description
         | 
| 128 | 
            +
            ----------------------------|-------------------------------------------------------------------------
         | 
| 129 | 
            +
            `:path`                     | (Req.) Path for your XLSX file.
         | 
| 130 | 
            +
             | 
| 131 | 
            +
            ````ruby
         | 
| 132 | 
            +
            source :xlsx,
         | 
| 133 | 
            +
                   :path => 'YourExcelFileWithTranslations.xlsx'
         | 
| 134 | 
            +
            ````
         | 
| 126 135 |  | 
| 127 136 | 
             
            #### Key formatters
         | 
| 128 137 |  | 
    
        data/lib/localio/segment.rb
    CHANGED
    
    
    
        data/lib/localio/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: localio
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.8
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Nacho Lopez
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2013-11- | 
| 11 | 
            +
            date: 2013-11-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rspec
         | 
| @@ -117,7 +117,6 @@ executables: | |
| 117 117 | 
             
            extensions: []
         | 
| 118 118 | 
             
            extra_rdoc_files: []
         | 
| 119 119 | 
             
            files:
         | 
| 120 | 
            -
            - .DS_Store
         | 
| 121 120 | 
             
            - .gitignore
         | 
| 122 121 | 
             
            - CONTRIBUTING.md
         | 
| 123 122 | 
             
            - Gemfile
         | 
| @@ -171,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 171 170 | 
             
                  version: '0'
         | 
| 172 171 | 
             
            requirements: []
         | 
| 173 172 | 
             
            rubyforge_project: 
         | 
| 174 | 
            -
            rubygems_version: 2. | 
| 173 | 
            +
            rubygems_version: 2.0.6
         | 
| 175 174 | 
             
            signing_key: 
         | 
| 176 175 | 
             
            specification_version: 4
         | 
| 177 176 | 
             
            summary: Automatic Localizable file generation for multiple type of files, like Android
         | 
    
        data/.DS_Store
    DELETED
    
    | Binary file |