primal_instinct 0.1.0 → 0.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0d5c7b2696054f8fd380cffc3bce3e5a3a6eeba
4
- data.tar.gz: e934c4c56d70ca6d702fda7507e0a5cf69e392bd
3
+ metadata.gz: 47e40d3d89deaef2ba6f7ecff12b1f8a531b579f
4
+ data.tar.gz: 5b5db9e6871b089081315eb4db21b2119e1d3577
5
5
  SHA512:
6
- metadata.gz: bed5a6c7f8ba29277f88cc0d7e250de465c9562f2b18a30da83f6ca30dce2d0025bdb2c5fecd4427cfcea0c0ecaca442f8c3726d50d086e37e5c787e7f766d8c
7
- data.tar.gz: f9bd6ac30aaa43d4c6424380a31b8ad4e6b35053f68f2775ba21f76b1144cabee79c7883b11ccb9b4e61a158cdc24f77c5621e04c5b8c8b055644ef14f3c9d18
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
- Add this line to your application's Gemfile:
37
+ ```bash
38
+ $ gem install primal_instinct
39
+ ```
40
+
41
+ ... or place this to your Gemfile
42
+
38
43
 
39
44
  ```bash
40
- git clone https://github.com/equivalent/primal_instinct
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
- bundle exec bin/primal_instinct -h
50
- bundle exec bin/primal_instinct --count=6
51
- bundle exec bin/primal_instinct --count=6 -l
52
- bundle exec bin/primal_instinct --count=6 -r
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.
@@ -1,6 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
3
+ require 'rubygems'
4
+ begin
5
+ require "bundler/setup"
6
+ rescue LoadError
7
+ end
4
8
  require "primal_instinct"
5
9
  require 'optparse'
6
10
  require "terminal-table"
@@ -1,3 +1,3 @@
1
1
  module PrimalInstinct
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.0.1"
3
3
  end
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-10 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: terminal-table