little_faker 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/LICENSE +21 -0
- data/README.textile +44 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDY3NzI0NDdiNzIzZjcxYjgxMjgyNTc2NGNiMTU1MGRkNjdjMzMyNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjVkOTNkOGEzZmFkODE1ZDU3ZGE2MzEzY2MxMjZlOGNmMDhhOGVjZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTUzMzZhOGQxYzFlZjNjOTVkNzkwNWY3YzhmYjhmYzYzMWRhNDk2NjdhZmVh
|
10
|
+
OGQzNGJiMWY5ZjEzZjhkY2E4YTg1OTU4NTdiNmUxZmI4ZmU4ZWVjM2MwMzVj
|
11
|
+
MTIyMzFhNjgxMDRlMzMwZDM1NTg4MjQ5M2JkODRiYmZjZjE0M2M=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWJhMzUwZDA3ZWFmZTgzZTAzYjU4NjJhZDQzN2U3ZGE1YjVhN2VkMmMyNDhj
|
14
|
+
ZjE5OWU1MDkyNTE4YTZiNjExM2M2NWJjYzAyZDNkNzFjNGJjNTdlZGYyYjY2
|
15
|
+
ZGFkZDYxZWZhNDc0NjhmODkxNzk5MjcxNzIxYjZhYjQ4OGM2NjM=
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 RubytotheRails.com
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.textile
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
h1. Little Faker Gem
|
2
|
+
|
3
|
+
Delegates access to Faker gem methods from single name space.
|
4
|
+
|
5
|
+
h2. Dependencies
|
6
|
+
|
7
|
+
Requirements:
|
8
|
+
|
9
|
+
* Ruby 1.9 or greater
|
10
|
+
* Faker gem
|
11
|
+
|
12
|
+
h2. Setup
|
13
|
+
|
14
|
+
Add to Gemfile:
|
15
|
+
<pre>gem 'little_faker'
|
16
|
+
</pre>
|
17
|
+
|
18
|
+
Require where needed:
|
19
|
+
<pre>require 'fake'
|
20
|
+
or
|
21
|
+
require 'little_faker'
|
22
|
+
</pre>
|
23
|
+
|
24
|
+
h2. Usage
|
25
|
+
|
26
|
+
Examples:
|
27
|
+
|
28
|
+
Faker::Internet.email => Fake.email
|
29
|
+
Faker::Internet.password => Fake.password
|
30
|
+
Faker::Name.first_name => Fake.first_name
|
31
|
+
etc.
|
32
|
+
|
33
|
+
Add custom fakers to:
|
34
|
+
<pre>class << Fake
|
35
|
+
def another_faker
|
36
|
+
...
|
37
|
+
end
|
38
|
+
end
|
39
|
+
</pre>
|
40
|
+
|
41
|
+
List all faker methods:
|
42
|
+
|
43
|
+
<pre>$ Fake.faker_methods
|
44
|
+
</pre>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: little_faker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R2dR
|
@@ -32,8 +32,11 @@ extra_rdoc_files: []
|
|
32
32
|
files:
|
33
33
|
- lib/little_faker.rb
|
34
34
|
- lib/fake.rb
|
35
|
+
- LICENSE
|
36
|
+
- README.textile
|
35
37
|
homepage: http://github.com/r2dr/little_faker
|
36
|
-
licenses:
|
38
|
+
licenses:
|
39
|
+
- MIT
|
37
40
|
metadata: {}
|
38
41
|
post_install_message:
|
39
42
|
rdoc_options: []
|