forgery 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/.travis.yml +13 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +27 -0
- data/LICENSE +1 -1
- data/README.markdown +9 -5
- data/Rakefile +9 -1
- data/forgery.gemspec +23 -0
- data/lib/forgery/dictionaries/company_names +0 -1
- data/lib/forgery/dictionaries/currency_descriptions +2 -2
- data/lib/forgery/file_reader.rb +1 -0
- data/lib/forgery/forgery/geo.rb +54 -0
- data/lib/forgery/forgery/internet.rb +7 -0
- data/lib/forgery/forgery/russian_tax.rb +57 -0
- data/lib/forgery/version.rb +1 -1
- data/spec/data/dictionaries/code_names +6 -0
- data/spec/data/dictionaries/female_first_names +1 -0
- data/spec/data/documents/mock_web_page.html +17 -0
- data/spec/data/documents/mock_xml_doc.xml +5 -0
- data/spec/dictionaries_spec.rb +35 -0
- data/spec/extensions/array_spec.rb +25 -0
- data/spec/extensions/range_spec.rb +31 -0
- data/spec/extensions/string_spec.rb +29 -0
- data/spec/file_reader_spec.rb +32 -0
- data/spec/forgery/address_spec.rb +84 -0
- data/spec/forgery/basic_spec.rb +179 -0
- data/spec/forgery/credit_card_spec.rb +68 -0
- data/spec/forgery/currency_spec.rb +15 -0
- data/spec/forgery/date_spec.rb +134 -0
- data/spec/forgery/internet_spec.rb +62 -0
- data/spec/forgery/lorem_ipsum_spec.rb +132 -0
- data/spec/forgery/monetary_spec.rb +14 -0
- data/spec/forgery/name_spec.rb +11 -0
- data/spec/forgery/personal_spec.rb +15 -0
- data/spec/forgery/russian_tax_spec.rb +81 -0
- data/spec/forgery/time_spec.rb +7 -0
- data/spec/forgery_spec.rb +63 -0
- data/spec/formats_spec.rb +35 -0
- data/spec/spec_helper.rb +39 -0
- metadata +101 -64
metadata
CHANGED
@@ -1,50 +1,53 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: forgery
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 5
|
9
|
-
- 0
|
10
|
-
version: 0.5.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Nathan Sutton
|
14
8
|
- Brandon Arbini
|
9
|
+
- Kamil Kieliszczyk
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
13
|
+
date: 2014-04-20 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bundler
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
33
22
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '1.3'
|
29
|
+
description: Easy and customizable generation of forged data. Can be used as a gem
|
30
|
+
or a rails plugin. Includes rails generators for creating your own forgeries.
|
31
|
+
email:
|
37
32
|
- nate@zencoder.com
|
38
33
|
- brandon@zencoder.com
|
34
|
+
- kamil@kieliszczyk.net
|
39
35
|
executables: []
|
40
|
-
|
41
36
|
extensions: []
|
42
|
-
|
43
37
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
|
46
|
-
-
|
38
|
+
files:
|
39
|
+
- ".gitignore"
|
40
|
+
- ".travis.yml"
|
41
|
+
- Gemfile
|
42
|
+
- Gemfile.lock
|
43
|
+
- LICENSE
|
44
|
+
- README.markdown
|
45
|
+
- Rakefile
|
46
|
+
- forgery.gemspec
|
47
47
|
- generators/forgery/USAGE
|
48
|
+
- generators/forgery/forgery_generator.rb
|
49
|
+
- lib/forgery.rb
|
50
|
+
- lib/forgery/dictionaries.rb
|
48
51
|
- lib/forgery/dictionaries/cities
|
49
52
|
- lib/forgery/dictionaries/colors
|
50
53
|
- lib/forgery/dictionaries/company_names
|
@@ -76,69 +79,103 @@ files:
|
|
76
79
|
- lib/forgery/dictionaries/streets
|
77
80
|
- lib/forgery/dictionaries/top_level_domains
|
78
81
|
- lib/forgery/dictionaries/zones
|
79
|
-
- lib/forgery/dictionaries.rb
|
80
82
|
- lib/forgery/extend.rb
|
81
83
|
- lib/forgery/extensions/array.rb
|
82
84
|
- lib/forgery/extensions/range.rb
|
83
85
|
- lib/forgery/extensions/string.rb
|
84
86
|
- lib/forgery/file_reader.rb
|
87
|
+
- lib/forgery/forgery.rb
|
85
88
|
- lib/forgery/forgery/address.rb
|
86
89
|
- lib/forgery/forgery/basic.rb
|
87
90
|
- lib/forgery/forgery/credit_card.rb
|
88
91
|
- lib/forgery/forgery/currency.rb
|
89
92
|
- lib/forgery/forgery/date.rb
|
90
93
|
- lib/forgery/forgery/email.rb
|
94
|
+
- lib/forgery/forgery/geo.rb
|
91
95
|
- lib/forgery/forgery/internet.rb
|
92
96
|
- lib/forgery/forgery/lorem_ipsum.rb
|
93
97
|
- lib/forgery/forgery/monetary.rb
|
94
98
|
- lib/forgery/forgery/name.rb
|
95
99
|
- lib/forgery/forgery/personal.rb
|
100
|
+
- lib/forgery/forgery/russian_tax.rb
|
96
101
|
- lib/forgery/forgery/time.rb
|
97
|
-
- lib/forgery/forgery.rb
|
98
102
|
- lib/forgery/forgery_api.rb
|
99
103
|
- lib/forgery/forgery_railtie.rb
|
104
|
+
- lib/forgery/formats.rb
|
100
105
|
- lib/forgery/formats/phone
|
101
106
|
- lib/forgery/formats/street_number
|
102
107
|
- lib/forgery/formats/zip
|
103
|
-
- lib/forgery/formats.rb
|
104
108
|
- lib/forgery/version.rb
|
105
|
-
- lib/forgery.rb
|
106
109
|
- lib/generators/forgery/forgery_generator.rb
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
+
- spec/data/dictionaries/code_names
|
111
|
+
- spec/data/dictionaries/female_first_names
|
112
|
+
- spec/data/documents/mock_web_page.html
|
113
|
+
- spec/data/documents/mock_xml_doc.xml
|
114
|
+
- spec/dictionaries_spec.rb
|
115
|
+
- spec/extensions/array_spec.rb
|
116
|
+
- spec/extensions/range_spec.rb
|
117
|
+
- spec/extensions/string_spec.rb
|
118
|
+
- spec/file_reader_spec.rb
|
119
|
+
- spec/forgery/address_spec.rb
|
120
|
+
- spec/forgery/basic_spec.rb
|
121
|
+
- spec/forgery/credit_card_spec.rb
|
122
|
+
- spec/forgery/currency_spec.rb
|
123
|
+
- spec/forgery/date_spec.rb
|
124
|
+
- spec/forgery/internet_spec.rb
|
125
|
+
- spec/forgery/lorem_ipsum_spec.rb
|
126
|
+
- spec/forgery/monetary_spec.rb
|
127
|
+
- spec/forgery/name_spec.rb
|
128
|
+
- spec/forgery/personal_spec.rb
|
129
|
+
- spec/forgery/russian_tax_spec.rb
|
130
|
+
- spec/forgery/time_spec.rb
|
131
|
+
- spec/forgery_spec.rb
|
132
|
+
- spec/formats_spec.rb
|
133
|
+
- spec/spec_helper.rb
|
110
134
|
homepage: http://github.com/sevenwire/forgery
|
111
135
|
licenses: []
|
112
|
-
|
136
|
+
metadata: {}
|
113
137
|
post_install_message:
|
114
138
|
rdoc_options: []
|
115
|
-
|
116
|
-
require_paths:
|
139
|
+
require_paths:
|
117
140
|
- lib
|
118
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
-
|
120
|
-
requirements:
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
121
143
|
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
version: "0"
|
127
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
|
-
requirements:
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
130
148
|
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
version: "0"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 1.3.6
|
136
151
|
requirements: []
|
137
|
-
|
138
152
|
rubyforge_project: forgery
|
139
|
-
rubygems_version:
|
153
|
+
rubygems_version: 2.2.2
|
140
154
|
signing_key:
|
141
|
-
specification_version:
|
155
|
+
specification_version: 4
|
142
156
|
summary: Easy and customizable generation of forged data.
|
143
|
-
test_files:
|
144
|
-
|
157
|
+
test_files:
|
158
|
+
- spec/data/dictionaries/code_names
|
159
|
+
- spec/data/dictionaries/female_first_names
|
160
|
+
- spec/data/documents/mock_web_page.html
|
161
|
+
- spec/data/documents/mock_xml_doc.xml
|
162
|
+
- spec/dictionaries_spec.rb
|
163
|
+
- spec/extensions/array_spec.rb
|
164
|
+
- spec/extensions/range_spec.rb
|
165
|
+
- spec/extensions/string_spec.rb
|
166
|
+
- spec/file_reader_spec.rb
|
167
|
+
- spec/forgery/address_spec.rb
|
168
|
+
- spec/forgery/basic_spec.rb
|
169
|
+
- spec/forgery/credit_card_spec.rb
|
170
|
+
- spec/forgery/currency_spec.rb
|
171
|
+
- spec/forgery/date_spec.rb
|
172
|
+
- spec/forgery/internet_spec.rb
|
173
|
+
- spec/forgery/lorem_ipsum_spec.rb
|
174
|
+
- spec/forgery/monetary_spec.rb
|
175
|
+
- spec/forgery/name_spec.rb
|
176
|
+
- spec/forgery/personal_spec.rb
|
177
|
+
- spec/forgery/russian_tax_spec.rb
|
178
|
+
- spec/forgery/time_spec.rb
|
179
|
+
- spec/forgery_spec.rb
|
180
|
+
- spec/formats_spec.rb
|
181
|
+
- spec/spec_helper.rb
|