ubill 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 19061eeff34de42457b509953beb27e3fc11685aa052d3ac4adcbaa441eb3987
4
- data.tar.gz: be2306c0b4556e3f91071f447366143d6cbfd8957474700d4b1c489d3a821da3
3
+ metadata.gz: 1207490a69f5bb356b6c89c6fae729518c0952c13a87731bb3c0c998a4c5202c
4
+ data.tar.gz: 7142d7578d4898d143cbe4c0d8ed417703a376bbd590cdf29646b69aef77357f
5
5
  SHA512:
6
- metadata.gz: ea3bf18d1d4c1950786796c1e64961d5c61070e3e21f044eea7e5fbbac52e15400ed513918b37cd9810eab368f5ab7a6b5acc66b0c325c4273299bdda900b2dd
7
- data.tar.gz: 3fbff914a714388bc10b4eaa166d39e4c77c0675d29adb2349ec70b646c2fe795587e58e03df60f619006332d350b985999064dbab936c94a320f84b090d1420
6
+ metadata.gz: 4ff5a10a53d50e7418629cab49f718825a09cf4547d2a3ebf153914b184051fece73bf5622ccdc45c702b06ebd4a30b8ce5e63733a96986f11b57ae6c97496fb
7
+ data.tar.gz: 767da0467c922908b8b182d46f68cce977cb78f0c55dac69544bc346be6d58ebd4f9cea8e47d9ae0bfe98f21a1d83dc75e84d3924bdcc126b8eeb80096f76945
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ubill (0.1.3)
4
+ ubill (0.1.4)
5
5
  matrix (~> 0.4)
6
6
  prawn (~> 2.4)
7
7
  prawn-table (~> 0.2)
data/README.md CHANGED
@@ -99,8 +99,7 @@ doc = Ubill::Invoice.new do
99
99
  # name, context and description are rendered into
100
100
  # one cell in the table as consecutive lines
101
101
  name: "Standard Abonnement",
102
- context: "SpVgg Demoburg -- Platz #{idx+1}",
103
- description: "Standard Abonnement für ein Jahr",
102
+ description: "SpVgg Demoburg -- Platz #{idx+1}\nStandard Abonnement für ein Jahr",
104
103
  price_per_unit: "7,50 € / Monat",
105
104
  units: "12",
106
105
  price: "90,00 €"
data/lib/ubill/invoice.rb CHANGED
@@ -36,10 +36,10 @@ module Ubill
36
36
  @subject_info = subtitle
37
37
  end
38
38
 
39
- def position(name:, context:, description:, price_per_unit:, units:, price:)
39
+ def position(name:, description:, price_per_unit:, units:, price:)
40
40
  @positions << [
41
41
  @positions.size,
42
- "<b>#{name}</b><font size=\"9\">\n#{context}\n#{description}</font>",
42
+ "<b>#{name}</b><font size=\"9\">\n#{description}</font>",
43
43
  price_per_unit,
44
44
  units,
45
45
  price
data/lib/ubill/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ubill
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - couchbelag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn