panier 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -8
  3. data/lib/panier/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 069e3430585a9d1521f19e21cd1bf9ec19e5b5cc
4
- data.tar.gz: 6697ecb8a84b2c1619c239e476694465fc33e5f8
3
+ metadata.gz: 3db7989a54b57f144f49c529a7e3d3b71bb5e213
4
+ data.tar.gz: 1ee4c51e1c539750d2bfca5789c6931772467ac7
5
5
  SHA512:
6
- metadata.gz: c64dd1aaa97d7d1048d713a8c0f3a91866b0a4ae62580191007ee4d0ba990e3805b4ab914ebe2c104d4535145e88d59d3c4ccd0cc1651e66eb1781932ecd032c
7
- data.tar.gz: 92222ee1a27d52171a23b6dd15193e6778977e94ec4c1f00eb67e92e63bffe2e319179f0ae67c79db50f755fd3b6aaa1b087ec63196f88b7b13c0e94770441b2
6
+ metadata.gz: 522c2bc17074e22f69b21bdb3f371eb578fad2115b5c4de64ef563c60fb4fb4bd7753ece91fd2e1ada3d4b2ddb3063c2d666b2f327cffd340060839fc75b5eb1
7
+ data.tar.gz: 004fc54a484e34564f84a0bbca69e83e40e12858f771e40838d2d4a1a5f5c8063a33930027886ec0d2adce5fdda0eed8b888e88e9ff216c425722e2dbe153a08
data/README.md CHANGED
@@ -15,19 +15,49 @@ This gem demonstrates the calculation of sales taxes for various kinds of line i
15
15
 
16
16
  ## Installation
17
17
 
18
- Add this line to your application's Gemfile:
18
+ Install the gem using:
19
19
 
20
- gem 'panier'
20
+ $ gem install panier
21
21
 
22
- And then execute:
22
+ ## Usage
23
23
 
24
- $ bundle
24
+ After installation, run the CLI by executing:
25
25
 
26
- Or install it yourself as:
26
+ $ panier
27
+
28
+ You will then be prompted for input.
27
29
 
28
- $ gem install panier
30
+ Welcome to Panier.
31
+ Press Ctrl+C to exit.
32
+ Enter some sample input, then leave a blank line to proceed.
29
33
 
30
- ## Usage
34
+ Copy an [example](docs/examples.md) and paste it into the console. Leave a blank line to generate a receipt.
35
+
36
+ Quantity, Product, Price
37
+ 1, book, 12.49
38
+ 1, music CD, 14.99
39
+ 1, chocolate bar, 0.85
40
+
41
+ 1, book, 12.49
42
+ 1, music CD, 16.49
43
+ 1, chocolate bar, 0.85
44
+
45
+ Sales Taxes: 1.50
46
+ Total: 29.83
47
+
48
+ ## Testing
49
+
50
+ Check out the source code:
51
+
52
+ $ git clone git@github.com:bc-luke/panier.git
53
+ $ cd panier
54
+
55
+ And then execute:
56
+
57
+ $ bundle install
58
+
59
+ Finally, to run the test suite:
60
+
61
+ $ rake
31
62
 
32
- TODO: Write usage instructions here
33
63
 
@@ -1,4 +1,4 @@
1
1
  # Encoding: utf-8
2
2
  module Panier
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Eller