theShoveler 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -8
- data/lib/theShoveler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a0c6802a660ab8a84ddc3ecf1326b1ce602fc7f
|
4
|
+
data.tar.gz: 64fc5ca9e6cb0e27b9a3335d8e3c5c141eb2ddce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4edbdedabd8b0883759d66916137dbc8521340db68a875dafc6db94f9aa1f14ca8eedc9432afb5819fa21417455263f76259f1fa860a67418226b1882bcb06b
|
7
|
+
data.tar.gz: db3f0eb2f10e2c6f581865e0a77516ee611deb414b15db3639510d9b8d091aee9570472367483a4def8b9df9cf27c77d0064dbe530a6e86d57f814104914e9ec
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# TheShoveler
|
2
2
|
|
3
|
-
|
3
|
+
A gem to shovel data into a datastore (like Apache Solr!)
|
4
|
+
|
5
|
+
I constantly need loads of fakey data that loosely resembles real life.
|
6
|
+
This is a gem to help with that!
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -18,12 +21,23 @@ Or install it yourself as:
|
|
18
21
|
|
19
22
|
## Usage
|
20
23
|
|
21
|
-
|
24
|
+
The Shoveler comes complete with it's own command line tool.
|
25
|
+
|
26
|
+
```bash
|
27
|
+
shovel load solr --fields=title:Faker::Lorem.sentence --documents=20
|
28
|
+
```
|
29
|
+
|
30
|
+
Will load 20 fake data using the "solr" server module with a field
|
31
|
+
called title whose values are a single "Lorem Ipsum" sentance.
|
32
|
+
|
33
|
+
Take a look at the docs for Faker to see what other options exist:
|
34
|
+
http://rubydoc.info/github/stympy/faker/master/frames
|
22
35
|
|
23
|
-
|
36
|
+
Features on our to-do list:
|
37
|
+
- More generators
|
38
|
+
- Clean DSL for creating smarter generators (ala Factory girl)
|
39
|
+
- Distrubuted data generation
|
40
|
+
- More server backends
|
41
|
+
- Specify a range or distribution of random values, so a field has more
|
42
|
+
similar values across all docs
|
24
43
|
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
data/lib/theShoveler/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theShoveler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Overstreet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|