invoice_creator 0.1.1 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4adede3f3b67b7489075f69ddb3c89ff5fd30bc923afaa1247f988c56dd019ed
4
- data.tar.gz: 7b8e9aeadacb1fb330c39f3107bd32fde8af4bf294ab25b354242042a67ac7f0
3
+ metadata.gz: defb95a33e49c14bb9d8c5ad5acec41b5dfa43969ba4aadb94733888ad127b21
4
+ data.tar.gz: 4648a98ea27080e6ca545173bc15691569bf6124651feb910f23c85dd300eba1
5
5
  SHA512:
6
- metadata.gz: 689c22c4f20833e887bbef7d94648356c94d5e5b9be9c0b6761a69797e550678f5f12c066d50ffd7bc17b9bd93f7f648af9a044985218bbcfbed5887d5973a39
7
- data.tar.gz: 89bfbd8b8bcabb3e4ddb3c3877e013b8afffe6230148719169aefc941fb6749e94c353e04b8963c9f73c54e7a872fc367fd249a87b59713666d665f35f453d74
6
+ metadata.gz: e958448a1a5828fe7ba7818c6f48f8e322411cc36c55bc449f6dc23ade9deb6499221df2574788c17e8cbb9c90d8267661281fc63ebf432c76186bd07645e99c
7
+ data.tar.gz: 549af8ad600775db72d4763c636721f602c8b94463dc072bb6ef5ca58da56790cb73b6b9a4c43bf1c125cacfa1cf7d02f44971fcfcd2e4771a35a04c89b1b248
@@ -1,4 +1,4 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0 10/01/2020
3
+ ## 0.1.1 10/01/2020
4
4
  * Initial gem release
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- invoice_creator (0.1.0)
4
+ invoice_creator (0.1.1)
5
5
  prawn (= 2.2.2)
6
6
  prawn-table (= 0.2.2)
7
7
  thor (= 0.20.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Invoice Creator
2
2
 
3
- A simple invoice creation tool to help you bill your IT clients.
3
+ A simple invoice creation tool to help you bill your tech clients.
4
4
 
5
5
  ![Sample Invoice](https://user-images.githubusercontent.com/680151/47966699-92c76200-e03c-11e8-8b22-f4fa3e63ef75.png)
6
6
 
@@ -25,5 +25,16 @@ Let's say we want to create an invoice that represents 168 billable hours and ha
25
25
  invoice number set to 10:
26
26
 
27
27
  ```bash
28
- ./bin/invoice_creator create 168 --number 10
28
+ invoice_creator create 168 --number 10
29
+ ```
30
+
31
+ Now let's say you want to create the same invoice but also need it to include a row with $150 in reimburseable expenses:
32
+ ```bash
33
+ invoice_creator create 168 150 --number 10
34
+ ```
35
+
36
+ For help just run:
37
+
38
+ ```bash
39
+ invoice_creator --help
29
40
  ```
data/config.yml CHANGED
@@ -1,26 +1,33 @@
1
1
  settings:
2
- rate: 100.00
2
+ rate: 73.00
3
3
  date_format: "%b %d, %Y"
4
4
  currency_abbreviation: "USD"
5
5
  currency_format: "$%.02f"
6
6
  due_day: 10 # 10th of the current month
7
7
  invoice_identifier: "INV-%04d"
8
- filename: "invoice-%Y-%m-%d.pdf" # absolute or relative path
8
+ filename: "/Users/npufal/Documents/doximity/invoices/Invoice %Y-%m-%d.pdf"
9
9
 
10
10
  data:
11
11
  from: |
12
- John Smith
13
- 123 10th Ave
14
- Fake City, SK, T2ZABC
15
- Fake Country
12
+ Nicholas Pufal
13
+ Suite 1808 68 Smithe St
14
+ Vancouver, BC, V6B 0P4
15
+ Canada
16
16
  to: |
17
- Acme Inc.
18
- 123 1st St. Suite 001
19
- Fake Country
20
- 12345 AZ
17
+ Doximity Inc.
18
+ 500 3rd St. Suite 510
19
+ San Francisco
20
+ 94107 CA
21
21
  extra_info: |
22
- <b>Payment information:</b>
23
- Account Holder: John Smith
24
- Account Number: 1234567
25
- Transit number: 0909
26
- Branch number: 9898
22
+ Timekeeping spreadsheet: https://goo.gl/bWy18r
23
+ ----
24
+ Payment information:
25
+ Account Holder: Nicholas Pufal
26
+ Account Number: 9600000000079045
27
+ Routing number: 084009519
28
+ Address:
29
+ TransferWise
30
+ 19 W 24th Street
31
+ New York
32
+ 10010
33
+ United States
@@ -7,7 +7,7 @@ module InvoiceCreator
7
7
  include Singleton
8
8
 
9
9
  def initialize
10
- @yaml = YAML.load_file("config.yml")
10
+ @yaml = YAML.load_file(File.expand_path("../../../config.yml", __FILE__))
11
11
  end
12
12
 
13
13
  def settings
@@ -1,3 +1,3 @@
1
1
  module InvoiceCreator
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoice_creator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Pufal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-01 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn