invoice_printer 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 54e6e870b9c6dd877736812b7d41af08a48ebf72
4
- data.tar.gz: 3661b458c65247c90f47fc1f2e2d7f9526c2cb4f
3
+ metadata.gz: 6529faa82615534d3264b96cd81e8402fb46543f
4
+ data.tar.gz: 39685b41d40e812c7b83d95994e1dfad9dafe5ed
5
5
  SHA512:
6
- metadata.gz: 22be70421a81c07eed5ba7b676e4f8dcb0d58a7c5ce83330eacb60396164df4782536dcb81820fee0fd3cd111f702851e5c8753bb1df7ba82de7eef6f889dd22
7
- data.tar.gz: f0ca098063bb4b407a791d5a39a0487286beb106bb51d0913654323daaabfd5afcbb2e6cc238f22032d4a5c42cf7418440087f50eeb91422b1a0a73c8daa19cd
6
+ metadata.gz: 6b180c62070d36ab9d1ad80db58e583bfd43068daf8b1dfbb4acd7129b50d84e50d47f5ecf2ca7cb9e5d689f1ce84f4f21174ce1b9baaa60db8d6b37018ab375
7
+ data.tar.gz: 988a1f21746a489cf0f350208e2b985e1a72995667f6f31c5a9fdab51370cce7919022126ef3f8696af04e0e92d5f260fea8a49419e1ee23bba117c3e4a29916
@@ -284,17 +284,17 @@ module InvoicePrinter
284
284
  width: 240
285
285
  )
286
286
  end
287
- unless @document.purchaser_dic.empty?
287
+ unless @document.purchaser_ic.empty?
288
288
  @pdf.text_box(
289
- "#{@labels[:dic]}: #{@document.purchaser_dic}",
289
+ "#{@labels[:ic]}: #{@document.purchaser_ic}",
290
290
  size: 10,
291
291
  at: [290, 550 - @push_down],
292
292
  width: 240
293
293
  )
294
294
  end
295
- unless @document.purchaser_ic.empty?
295
+ unless @document.purchaser_dic.empty?
296
296
  @pdf.text_box(
297
- "#{@labels[:ic]}: #{@document.purchaser_ic}",
297
+ "#{@labels[:dic]}: #{@document.purchaser_dic}",
298
298
  size: 10,
299
299
  at: [290, 535 - @push_down],
300
300
  width: 240
@@ -1,3 +1,3 @@
1
1
  module InvoicePrinter
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: invoice_printer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Strzibny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-02 00:00:00.000000000 Z
11
+ date: 2016-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.5.1
136
+ rubygems_version: 2.4.8
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Super simple PDF invoicing in pure Ruby