randexp 0.1.3 → 0.1.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/CHANGELOG +4 -0
- data/Rakefile +2 -2
- data/lib/randexp.rb +9 -5
- data/lib/randexp/core_ext.rb +6 -0
- data/lib/{core_ext → randexp/core_ext}/array.rb +0 -0
- data/lib/{core_ext → randexp/core_ext}/integer.rb +0 -0
- data/lib/{core_ext → randexp/core_ext}/range.rb +0 -0
- data/lib/{core_ext → randexp/core_ext}/regexp.rb +0 -0
- data/lib/{dictionary.rb → randexp/dictionary.rb} +1 -1
- data/lib/{randgen.rb → randexp/randgen.rb} +17 -1
- data/lib/randexp/wordlists/female_names.rb +23 -0
- data/lib/randexp/wordlists/male_names.rb +23 -0
- data/lib/randexp/wordlists/real_name.rb +33 -0
- data/spec/regression/regexp_spec.rb +22 -0
- data/spec/unit/randexp_spec.rb +137 -137
- data/spec/unit/randgen_spec.rb +96 -2
- data/wordlists/female_names +4275 -0
- data/wordlists/male_names +1219 -0
- data/wordlists/surnames +475 -0
- metadata +19 -11
- data/lib/core_ext.rb +0 -4
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: randexp
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Ben Burkert
         | 
| @@ -9,7 +9,7 @@ autorequire: randexp | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2008- | 
| 12 | 
            +
            date: 2008-10-08 00:00:00 -05:00
         | 
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: []
         | 
| 15 15 |  | 
| @@ -29,18 +29,23 @@ files: | |
| 29 29 | 
             
            - Rakefile
         | 
| 30 30 | 
             
            - TODO
         | 
| 31 31 | 
             
            - CHANGELOG
         | 
| 32 | 
            -
            - lib/core_ext
         | 
| 33 | 
            -
            - lib/core_ext/array.rb
         | 
| 34 | 
            -
            - lib/core_ext/integer.rb
         | 
| 35 | 
            -
            - lib/core_ext/range.rb
         | 
| 36 | 
            -
            - lib/core_ext/regexp.rb
         | 
| 37 | 
            -
            - lib/core_ext.rb
         | 
| 38 | 
            -
            - lib/dictionary.rb
         | 
| 39 32 | 
             
            - lib/randexp
         | 
| 33 | 
            +
            - lib/randexp/core
         | 
| 34 | 
            +
            - lib/randexp/core_ext
         | 
| 35 | 
            +
            - lib/randexp/core_ext/array.rb
         | 
| 36 | 
            +
            - lib/randexp/core_ext/integer.rb
         | 
| 37 | 
            +
            - lib/randexp/core_ext/range.rb
         | 
| 38 | 
            +
            - lib/randexp/core_ext/regexp.rb
         | 
| 39 | 
            +
            - lib/randexp/core_ext.rb
         | 
| 40 | 
            +
            - lib/randexp/dictionary.rb
         | 
| 40 41 | 
             
            - lib/randexp/parser.rb
         | 
| 42 | 
            +
            - lib/randexp/randgen.rb
         | 
| 41 43 | 
             
            - lib/randexp/reducer.rb
         | 
| 44 | 
            +
            - lib/randexp/wordlists
         | 
| 45 | 
            +
            - lib/randexp/wordlists/female_names.rb
         | 
| 46 | 
            +
            - lib/randexp/wordlists/male_names.rb
         | 
| 47 | 
            +
            - lib/randexp/wordlists/real_name.rb
         | 
| 42 48 | 
             
            - lib/randexp.rb
         | 
| 43 | 
            -
            - lib/randgen.rb
         | 
| 44 49 | 
             
            - spec/regression
         | 
| 45 50 | 
             
            - spec/regression/regexp_spec.rb
         | 
| 46 51 | 
             
            - spec/spec_helper.rb
         | 
| @@ -52,6 +57,9 @@ files: | |
| 52 57 | 
             
            - spec/unit/randexp/reducer_spec.rb
         | 
| 53 58 | 
             
            - spec/unit/randexp_spec.rb
         | 
| 54 59 | 
             
            - spec/unit/randgen_spec.rb
         | 
| 60 | 
            +
            - wordlists/female_names
         | 
| 61 | 
            +
            - wordlists/male_names
         | 
| 62 | 
            +
            - wordlists/surnames
         | 
| 55 63 | 
             
            has_rdoc: true
         | 
| 56 64 | 
             
            homepage: http://github.com/benburkert/randexp
         | 
| 57 65 | 
             
            post_install_message: 
         | 
| @@ -74,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 74 82 | 
             
            requirements: []
         | 
| 75 83 |  | 
| 76 84 | 
             
            rubyforge_project: 
         | 
| 77 | 
            -
            rubygems_version: 1. | 
| 85 | 
            +
            rubygems_version: 1.3.0
         | 
| 78 86 | 
             
            signing_key: 
         | 
| 79 87 | 
             
            specification_version: 2
         | 
| 80 88 | 
             
            summary: Library for generating random strings.
         | 
    
        data/lib/core_ext.rb
    DELETED