funding_primer 0.2.1 → 0.2.2

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.
@@ -1,3 +1,3 @@
1
1
  module FundingPrimer
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/man/funding_primer.1 CHANGED
@@ -52,15 +52,22 @@ $ gem install funding_primer
52
52
  .
53
53
  .IP "" 0
54
54
  .
55
- .SH "Usage"
56
- TODO: Write usage instructions here
57
- .
58
55
  .SH "Help"
59
56
  .
60
57
  .nf
61
58
 
62
59
  funding_primer \-\-help
63
- man funding_primer
60
+ gem man funding_primer
61
+ .
62
+ .fi
63
+ .
64
+ .SH "Usage"
65
+ .
66
+ .nf
67
+
68
+ funding_primer # prints a multiplication table of the first 10 primes
69
+ funding_primer 3 # prints out a table of the first 3 primes
70
+ finding_primer \-\-no\-color # prints plain ASCII (default if a tty isn\'t detected)
64
71
  .
65
72
  .fi
66
73
  .
@@ -55,8 +55,8 @@
55
55
  <div class='man-navigation' style='display:none'>
56
56
  <a href="#Build-Status">Build Status</a>
57
57
  <a href="#Installation">Installation</a>
58
- <a href="#Usage">Usage</a>
59
58
  <a href="#Help">Help</a>
59
+ <a href="#Usage">Usage</a>
60
60
  <a href="#Contributing">Contributing</a>
61
61
  </div>
62
62
 
@@ -94,14 +94,17 @@
94
94
  <pre><code>$ gem install funding_primer
95
95
  </code></pre>
96
96
 
97
- <h2 id="Usage">Usage</h2>
98
-
99
- <p>TODO: Write usage instructions here</p>
100
-
101
97
  <h2 id="Help">Help</h2>
102
98
 
103
99
  <pre><code>funding_primer --help
104
- man funding_primer
100
+ gem man funding_primer
101
+ </code></pre>
102
+
103
+ <h2 id="Usage">Usage</h2>
104
+
105
+ <pre><code>funding_primer # prints a multiplication table of the first 10 primes
106
+ funding_primer 3 # prints out a table of the first 3 primes
107
+ finding_primer --no-color # prints plain ASCII (default if a tty isn't detected)
105
108
  </code></pre>
106
109
 
107
110
  <h2 id="Contributing">Contributing</h2>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funding_primer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -174,7 +174,6 @@ files:
174
174
  - lib/funding_primer/version.rb
175
175
  - man/funding_primer.1
176
176
  - man/funding_primer.1.html
177
- - man/funding_primer.1.ronn
178
177
  - spec/color_matrix_spec.rb
179
178
  - spec/format/table_spec.rb
180
179
  - spec/multiplication_table_spec.rb
@@ -1,43 +0,0 @@
1
- # FundingPrimer
2
-
3
- Multiplication tables for prime numbers!
4
-
5
- In order to visualise the products of two prime numbers, funding_primer prints out a table of prime products.
6
-
7
- In an arguable violation of the [UNIX Philosophy](http://en.wikipedia.org/wiki/Unix_philosophy) and the [Single Responsibility Principle](http://en.wikipedia.org/wiki/Single_responsibility_principle), funding_primer also ensures that talented programmers are employed at great startups :-)
8
-
9
- ## Build Status
10
-
11
- [![Build Status](https://travis-ci.org/mattgibb/funding_primer.png)](https://travis-ci.org/mattgibb/funding_primer)
12
-
13
- ## Installation
14
-
15
- Add this line to your application's Gemfile:
16
-
17
- gem 'funding_primer'
18
-
19
- And then execute:
20
-
21
- $ bundle
22
-
23
- Or install it yourself as:
24
-
25
- $ gem install funding_primer
26
-
27
- ## Usage
28
-
29
- TODO: Write usage instructions here
30
-
31
- ## Help
32
-
33
- funding_primer --help
34
- man funding_primer
35
-
36
- ## Contributing
37
-
38
- 1. Fork it
39
- 2. Create your feature branch (`git checkout -b my-new-feature`)
40
- 3. Commit your changes (`git commit -am 'Added some feature'`)
41
- 4. Push to the branch (`git push origin my-new-feature`)
42
- 5. Create new Pull Request
43
-