primal_instinct 0.1.0 → 0.1.0.1
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.
- checksums.yaml +4 -4
- data/README.md +25 -9
- data/exe/primal_instinct +5 -1
- data/lib/primal_instinct/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: 47e40d3d89deaef2ba6f7ecff12b1f8a531b579f
|
4
|
+
data.tar.gz: 5b5db9e6871b089081315eb4db21b2119e1d3577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8a75b1901d03d07c2c4ef9547f447af11cadb19751b3c86f2e5247b96e417d0623bcf823439eb1afa00feaf1d4f891711ea4f3c0176a10fe1c261d27eecae5c
|
7
|
+
data.tar.gz: ac40178478a92295d023948242087713936d5417b50c35e9f8cf8c5964048d6f00a32bb3ceff67b91272a103f9716186fa9c95fb04bb4d4ef6cb5d1992a25b51
|
data/README.md
CHANGED
@@ -34,24 +34,40 @@ Main focuse of the excercise was:
|
|
34
34
|
|
35
35
|
## Installation
|
36
36
|
|
37
|
-
|
37
|
+
```bash
|
38
|
+
$ gem install primal_instinct
|
39
|
+
```
|
40
|
+
|
41
|
+
... or place this to your Gemfile
|
42
|
+
|
38
43
|
|
39
44
|
```bash
|
40
|
-
|
41
|
-
cd primal_instinct
|
42
|
-
bundle install
|
43
|
-
bundle exec bin/primal_instinct
|
45
|
+
gem 'primal_instinct'
|
44
46
|
```
|
45
47
|
|
48
|
+
...and run `bundle install`
|
49
|
+
|
46
50
|
## Usage
|
47
51
|
|
48
52
|
```bash
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
+
primal_instinct -h
|
54
|
+
primal_instinct --count=6
|
55
|
+
primal_instinct --count=6 -l
|
56
|
+
primal_instinct --count=6 -r
|
57
|
+
|
58
|
+
# or maybe
|
59
|
+
|
60
|
+
bundle exec primal_instinct -h
|
53
61
|
```
|
54
62
|
|
63
|
+
## Extensibility
|
64
|
+
|
65
|
+
Gem can be easily extended with custom generating algorithms, check the
|
66
|
+
`lib/primal_instinct/generator` and `PrimalInstinct.generators`
|
67
|
+
|
68
|
+
Customly added generators will automatically appear in the option list
|
69
|
+
`-h` (check `exe/primal_instinct`)
|
70
|
+
|
55
71
|
## Development
|
56
72
|
|
57
73
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/exe/primal_instinct
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: primal_instinct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0
|
4
|
+
version: 0.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Valent
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: terminal-table
|