como 0.2.1 → 0.2.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.
- checksums.yaml +7 -0
- data/CHANGELOG.rdoc +2 -0
- data/doc/Como/ArgsParseState.html +50 -50
- data/doc/Como/ComoCommon.html +2 -2
- data/doc/Como/MainOpt.html +32 -32
- data/doc/Como/Opt/ErrorWithData.html +11 -11
- data/doc/Como/Opt/InvalidOption.html +2 -2
- data/doc/Como/Opt/MissingArgument.html +2 -2
- data/doc/Como/Opt.html +402 -402
- data/doc/Como/RuleCheck.html +56 -56
- data/doc/Como/RuleDisplay.html +70 -70
- data/doc/Como/Spec.html +73 -74
- data/doc/Como.html +2 -2
- data/doc/_index.html +2 -2
- data/doc/file.CHANGELOG.html +6 -3
- data/doc/file.README.html +2 -2
- data/doc/index.html +2 -2
- data/doc/top-level-namespace.html +2 -2
- data/lib/como.rb +18 -13
- data/lib/version.rb +1 -1
- data/test/golden/subcmd.txt +16 -0
- data/test/test_subcmd +1 -0
- metadata +63 -68
    
        metadata
    CHANGED
    
    | @@ -1,23 +1,18 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: como
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.2. | 
| 5 | 
            -
              prerelease: 
         | 
| 4 | 
            +
              version: 0.2.2
         | 
| 6 5 | 
             
            platform: ruby
         | 
| 7 6 | 
             
            authors:
         | 
| 8 7 | 
             
            - Tero Isannainen
         | 
| 9 8 | 
             
            autorequire: 
         | 
| 10 9 | 
             
            bindir: bin
         | 
| 11 10 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2017- | 
| 11 | 
            +
            date: 2017-02-17 00:00:00.000000000 Z
         | 
| 13 12 | 
             
            dependencies: []
         | 
| 14 | 
            -
            description:  | 
| 15 | 
            -
              The command line options are described in compact table format and option values
         | 
| 16 | 
            -
               | 
| 17 | 
            -
              based on the option
         | 
| 18 | 
            -
             | 
| 19 | 
            -
              table (+ generic program info) and displays it automatically if necessary. Como
         | 
| 20 | 
            -
              supports also subcommands and checking for option combinations using a simple DSL.'
         | 
| 13 | 
            +
            description: |-
         | 
| 14 | 
            +
              Como provides low manifest command line option parsing and deployment. The command line options are described in compact table format and option values are stored to conveniently named properties. Como builds command usage information based on the option
         | 
| 15 | 
            +
              table (+ generic program info) and displays it automatically if necessary. Como supports also subcommands and checking for option combinations using a simple DSL.
         | 
| 21 16 | 
             
            email: tero.isannainen@gmail.com
         | 
| 22 17 | 
             
            executables: []
         | 
| 23 18 | 
             
            extensions: []
         | 
| @@ -25,93 +20,93 @@ extra_rdoc_files: | |
| 25 20 | 
             
            - README.rdoc
         | 
| 26 21 | 
             
            - CHANGELOG.rdoc
         | 
| 27 22 | 
             
            files:
         | 
| 28 | 
            -
            - README.rdoc
         | 
| 29 23 | 
             
            - CHANGELOG.rdoc
         | 
| 30 24 | 
             
            - LICENSE
         | 
| 31 | 
            -
            -  | 
| 32 | 
            -
            - lib/version.rb
         | 
| 33 | 
            -
            - test/como_type_prim
         | 
| 34 | 
            -
            - test/test_subcmd
         | 
| 35 | 
            -
            - test/como_subcmd_rule
         | 
| 36 | 
            -
            - test/test_como.rb
         | 
| 37 | 
            -
            - test/como_rule_2
         | 
| 38 | 
            -
            - test/test_config
         | 
| 39 | 
            -
            - test/test_rule_1
         | 
| 40 | 
            -
            - test/como_config
         | 
| 41 | 
            -
            - test/test_subcmd_config
         | 
| 42 | 
            -
            - test/test_compatible
         | 
| 43 | 
            -
            - test/test_rule_2
         | 
| 44 | 
            -
            - test/como_queries
         | 
| 45 | 
            -
            - test/como_subcmd
         | 
| 46 | 
            -
            - test/test_subcmd_rule
         | 
| 47 | 
            -
            - test/test_options
         | 
| 48 | 
            -
            - test/como_subcmd_config
         | 
| 49 | 
            -
            - test/como_rule_1
         | 
| 50 | 
            -
            - test/test_queries
         | 
| 51 | 
            -
            - test/test_type_prim
         | 
| 52 | 
            -
            - test/como_options
         | 
| 53 | 
            -
            - test/como_compatible
         | 
| 54 | 
            -
            - test/golden/rule_1.txt
         | 
| 55 | 
            -
            - test/golden/queries.txt
         | 
| 56 | 
            -
            - test/golden/subcmd_config.txt
         | 
| 57 | 
            -
            - test/golden/subcmd_rule.txt
         | 
| 58 | 
            -
            - test/golden/subcmd.txt
         | 
| 59 | 
            -
            - test/golden/rule_2.txt
         | 
| 60 | 
            -
            - test/golden/compatible.txt
         | 
| 61 | 
            -
            - test/golden/type_prim.txt
         | 
| 62 | 
            -
            - test/golden/config.txt
         | 
| 63 | 
            -
            - test/golden/options.txt
         | 
| 64 | 
            -
            - doc/top-level-namespace.html
         | 
| 65 | 
            -
            - doc/js/full_list.js
         | 
| 66 | 
            -
            - doc/js/app.js
         | 
| 67 | 
            -
            - doc/js/jquery.js
         | 
| 68 | 
            -
            - doc/index.html
         | 
| 69 | 
            -
            - doc/css/common.css
         | 
| 70 | 
            -
            - doc/css/full_list.css
         | 
| 71 | 
            -
            - doc/css/style.css
         | 
| 25 | 
            +
            - README.rdoc
         | 
| 72 26 | 
             
            - doc/Como.html
         | 
| 73 | 
            -
            - doc/ | 
| 74 | 
            -
            - doc/ | 
| 75 | 
            -
            - doc/file_list.html
         | 
| 76 | 
            -
            - doc/class_list.html
         | 
| 77 | 
            -
            - doc/_index.html
         | 
| 78 | 
            -
            - doc/Como/RuleCheck.html
         | 
| 27 | 
            +
            - doc/Como/ArgsParseState.html
         | 
| 28 | 
            +
            - doc/Como/ComoCommon.html
         | 
| 79 29 | 
             
            - doc/Como/MainOpt.html
         | 
| 80 | 
            -
            - doc/Como/RuleDisplay.html
         | 
| 81 30 | 
             
            - doc/Como/Opt.html
         | 
| 82 | 
            -
            - doc/Como/ComoCommon.html
         | 
| 83 | 
            -
            - doc/Como/Opt/MissingArgument.html
         | 
| 84 31 | 
             
            - doc/Como/Opt/ErrorWithData.html
         | 
| 85 32 | 
             
            - doc/Como/Opt/InvalidOption.html
         | 
| 86 | 
            -
            - doc/Como/ | 
| 33 | 
            +
            - doc/Como/Opt/MissingArgument.html
         | 
| 34 | 
            +
            - doc/Como/RuleCheck.html
         | 
| 35 | 
            +
            - doc/Como/RuleDisplay.html
         | 
| 87 36 | 
             
            - doc/Como/Spec.html
         | 
| 37 | 
            +
            - doc/_index.html
         | 
| 38 | 
            +
            - doc/class_list.html
         | 
| 39 | 
            +
            - doc/css/common.css
         | 
| 40 | 
            +
            - doc/css/full_list.css
         | 
| 41 | 
            +
            - doc/css/style.css
         | 
| 88 42 | 
             
            - doc/file.CHANGELOG.html
         | 
| 43 | 
            +
            - doc/file.README.html
         | 
| 44 | 
            +
            - doc/file_list.html
         | 
| 89 45 | 
             
            - doc/frames.html
         | 
| 46 | 
            +
            - doc/index.html
         | 
| 47 | 
            +
            - doc/js/app.js
         | 
| 48 | 
            +
            - doc/js/full_list.js
         | 
| 49 | 
            +
            - doc/js/jquery.js
         | 
| 50 | 
            +
            - doc/method_list.html
         | 
| 51 | 
            +
            - doc/top-level-namespace.html
         | 
| 90 52 | 
             
            - examples/como_simple
         | 
| 91 53 | 
             
            - examples/como_subcmd
         | 
| 54 | 
            +
            - lib/como.rb
         | 
| 55 | 
            +
            - lib/version.rb
         | 
| 56 | 
            +
            - test/como_compatible
         | 
| 57 | 
            +
            - test/como_config
         | 
| 58 | 
            +
            - test/como_options
         | 
| 59 | 
            +
            - test/como_queries
         | 
| 60 | 
            +
            - test/como_rule_1
         | 
| 61 | 
            +
            - test/como_rule_2
         | 
| 62 | 
            +
            - test/como_subcmd
         | 
| 63 | 
            +
            - test/como_subcmd_config
         | 
| 64 | 
            +
            - test/como_subcmd_rule
         | 
| 65 | 
            +
            - test/como_type_prim
         | 
| 66 | 
            +
            - test/golden/compatible.txt
         | 
| 67 | 
            +
            - test/golden/config.txt
         | 
| 68 | 
            +
            - test/golden/options.txt
         | 
| 69 | 
            +
            - test/golden/queries.txt
         | 
| 70 | 
            +
            - test/golden/rule_1.txt
         | 
| 71 | 
            +
            - test/golden/rule_2.txt
         | 
| 72 | 
            +
            - test/golden/subcmd.txt
         | 
| 73 | 
            +
            - test/golden/subcmd_config.txt
         | 
| 74 | 
            +
            - test/golden/subcmd_rule.txt
         | 
| 75 | 
            +
            - test/golden/type_prim.txt
         | 
| 76 | 
            +
            - test/test_como.rb
         | 
| 77 | 
            +
            - test/test_compatible
         | 
| 78 | 
            +
            - test/test_config
         | 
| 79 | 
            +
            - test/test_options
         | 
| 80 | 
            +
            - test/test_queries
         | 
| 81 | 
            +
            - test/test_rule_1
         | 
| 82 | 
            +
            - test/test_rule_2
         | 
| 83 | 
            +
            - test/test_subcmd
         | 
| 84 | 
            +
            - test/test_subcmd_config
         | 
| 85 | 
            +
            - test/test_subcmd_rule
         | 
| 86 | 
            +
            - test/test_type_prim
         | 
| 92 87 | 
             
            homepage: 
         | 
| 93 88 | 
             
            licenses:
         | 
| 94 89 | 
             
            - Ruby
         | 
| 90 | 
            +
            metadata: {}
         | 
| 95 91 | 
             
            post_install_message: Check README...
         | 
| 96 92 | 
             
            rdoc_options: []
         | 
| 97 93 | 
             
            require_paths:
         | 
| 98 94 | 
             
            - lib
         | 
| 99 95 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 100 | 
            -
              none: false
         | 
| 101 96 | 
             
              requirements:
         | 
| 102 | 
            -
              - -  | 
| 97 | 
            +
              - - ">="
         | 
| 103 98 | 
             
                - !ruby/object:Gem::Version
         | 
| 104 99 | 
             
                  version: 1.9.3
         | 
| 105 100 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 106 | 
            -
              none: false
         | 
| 107 101 | 
             
              requirements:
         | 
| 108 | 
            -
              - -  | 
| 102 | 
            +
              - - ">="
         | 
| 109 103 | 
             
                - !ruby/object:Gem::Version
         | 
| 110 104 | 
             
                  version: '0'
         | 
| 111 105 | 
             
            requirements: []
         | 
| 112 106 | 
             
            rubyforge_project: 
         | 
| 113 | 
            -
            rubygems_version:  | 
| 107 | 
            +
            rubygems_version: 2.5.2
         | 
| 114 108 | 
             
            signing_key: 
         | 
| 115 | 
            -
            specification_version:  | 
| 109 | 
            +
            specification_version: 4
         | 
| 116 110 | 
             
            summary: Compact command line option parser utility.
         | 
| 117 111 | 
             
            test_files: []
         | 
| 112 | 
            +
            has_rdoc: 
         |