michel-randexp 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 +23 -0
- data/LICENSE +20 -0
- data/README +82 -0
- data/Rakefile +111 -0
- data/TODO +4 -0
- data/lib/randexp.rb +21 -0
- data/lib/randexp/core_ext.rb +6 -0
- data/lib/randexp/core_ext/array.rb +5 -0
- data/lib/randexp/core_ext/integer.rb +5 -0
- data/lib/randexp/core_ext/range.rb +9 -0
- data/lib/randexp/core_ext/regexp.rb +7 -0
- data/lib/randexp/dictionary.rb +24 -0
- data/lib/randexp/parser.rb +99 -0
- data/lib/randexp/randgen.rb +84 -0
- data/lib/randexp/reducer.rb +114 -0
- 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 +204 -0
- data/spec/spec_helper.rb +8 -0
- data/spec/unit/core_ext/regexp_spec.rb +9 -0
- data/spec/unit/randexp/parser_spec.rb +77 -0
- data/spec/unit/randexp/reducer_spec.rb +273 -0
- data/spec/unit/randexp_spec.rb +164 -0
- data/spec/unit/randgen_spec.rb +216 -0
- data/wordlists/female_names +4275 -0
- data/wordlists/male_names +1219 -0
- data/wordlists/surnames +475 -0
- metadata +84 -0
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: michel-randexp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ben Burkert,Michel de Graaf
|
8
|
+
autorequire: michel-randexp
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-01-16 00:00:00 +01:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Library for generating random strings.
|
17
|
+
email: ben@benburkert.com, michel@re-invention.nl
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README
|
24
|
+
- LICENSE
|
25
|
+
- TODO
|
26
|
+
files:
|
27
|
+
- LICENSE
|
28
|
+
- README
|
29
|
+
- Rakefile
|
30
|
+
- TODO
|
31
|
+
- CHANGELOG
|
32
|
+
- lib/randexp/core_ext/array.rb
|
33
|
+
- lib/randexp/core_ext/integer.rb
|
34
|
+
- lib/randexp/core_ext/range.rb
|
35
|
+
- lib/randexp/core_ext/regexp.rb
|
36
|
+
- lib/randexp/core_ext.rb
|
37
|
+
- lib/randexp/dictionary.rb
|
38
|
+
- lib/randexp/parser.rb
|
39
|
+
- lib/randexp/randgen.rb
|
40
|
+
- lib/randexp/reducer.rb
|
41
|
+
- lib/randexp/wordlists/female_names.rb
|
42
|
+
- lib/randexp/wordlists/male_names.rb
|
43
|
+
- lib/randexp/wordlists/real_name.rb
|
44
|
+
- lib/randexp.rb
|
45
|
+
- spec/regression/regexp_spec.rb
|
46
|
+
- spec/spec_helper.rb
|
47
|
+
- spec/unit/core_ext/regexp_spec.rb
|
48
|
+
- spec/unit/randexp/parser_spec.rb
|
49
|
+
- spec/unit/randexp/reducer_spec.rb
|
50
|
+
- spec/unit/randexp_spec.rb
|
51
|
+
- spec/unit/randgen_spec.rb
|
52
|
+
- wordlists/female_names
|
53
|
+
- wordlists/male_names
|
54
|
+
- wordlists/surnames
|
55
|
+
has_rdoc: true
|
56
|
+
homepage: http://github.com/michel/randexp
|
57
|
+
licenses: []
|
58
|
+
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0"
|
69
|
+
version:
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: "0"
|
75
|
+
version:
|
76
|
+
requirements: []
|
77
|
+
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 1.3.5
|
80
|
+
signing_key:
|
81
|
+
specification_version: 3
|
82
|
+
summary: Library for generating random strings.
|
83
|
+
test_files: []
|
84
|
+
|