chbs 0.0.3 → 0.0.4
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/README.md +18 -11
- data/lib/chbs.rb +1 -0
- data/lib/chbs/generator.rb +0 -3
- data/lib/chbs/version.rb +1 -1
- metadata +2 -2
    
        data/README.md
    CHANGED
    
    | @@ -11,7 +11,11 @@ included, if you want your passwords to have a bit more of an old-timey feel. | |
| 11 11 |  | 
| 12 12 | 
             
            ## Installation
         | 
| 13 13 |  | 
| 14 | 
            -
             | 
| 14 | 
            +
            Install it yourself as:
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                $ gem install chbs
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            Or add this line to your application's Gemfile:
         | 
| 15 19 |  | 
| 16 20 | 
             
                gem 'chbs'
         | 
| 17 21 |  | 
| @@ -19,21 +23,24 @@ And then execute: | |
| 19 23 |  | 
| 20 24 | 
             
                $ bundle
         | 
| 21 25 |  | 
| 22 | 
            -
            Or install it yourself as:
         | 
| 23 | 
            -
             | 
| 24 | 
            -
                $ gem install chbs
         | 
| 25 | 
            -
             | 
| 26 26 | 
             
            ## Usage
         | 
| 27 27 |  | 
| 28 28 | 
             
            Just running chbs with no options will be sufficient in most cases.
         | 
| 29 29 |  | 
| 30 | 
            +
            Decrease max rank, -R 1000 for example, to get more common words and thus more
         | 
| 31 | 
            +
            easily remembered passwords. You can have chbs generate a bunch of passwords,
         | 
| 32 | 
            +
            -c 20 for example, and pick one that you like.
         | 
| 33 | 
            +
             | 
| 30 34 | 
             
                Usage: chbs [options]
         | 
| 31 | 
            -
                  - | 
| 32 | 
            -
             | 
| 33 | 
            -
                  - | 
| 34 | 
            -
                  - | 
| 35 | 
            -
                  - | 
| 36 | 
            -
                  - | 
| 35 | 
            +
                  -C, --corpus=CORPUS      Corpus of words
         | 
| 36 | 
            +
                      --list-corpora       List included corpora
         | 
| 37 | 
            +
                  -l, --min-length=MIN     Minimum word length [4]
         | 
| 38 | 
            +
                  -L, --max-length=MAX     Maximum word length [10]
         | 
| 39 | 
            +
                  -r, --min-rank=MIN       Minimum word rank [1]
         | 
| 40 | 
            +
                  -R, --max-rank=MAX       Maximum word rank [10000]
         | 
| 41 | 
            +
                  -n, --num-words=NUM      Number of words [4]
         | 
| 42 | 
            +
                  -s, --separator=STRING   Word separator [-]
         | 
| 43 | 
            +
                  -c, --count=COUNT        Number of passwords [1]
         | 
| 37 44 |  | 
| 38 45 | 
             
            ## Contributing
         | 
| 39 46 |  | 
    
        data/lib/chbs.rb
    CHANGED
    
    
    
        data/lib/chbs/generator.rb
    CHANGED
    
    
    
        data/lib/chbs/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: chbs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.4
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2012-10- | 
| 12 | 
            +
            date: 2012-10-11 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: nokogiri
         |