ubl 0.0.4 → 0.1.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -5
  3. data/lib/ubl/version.rb +1 -1
  4. data/lib/ubl.rb +2 -2
  5. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f257c1e68bac4286b082be4900f49a27fc736a69dc7cafa7de79cca2219e9035
4
- data.tar.gz: 15be033154369701934e55ddc4ae34a2270032f129e8f9409927a4b06174f00e
3
+ metadata.gz: b7910f61d2fb9d3441defbd3a471c8dee214fcc2328430ddc74564e03839e02f
4
+ data.tar.gz: 94702d68716de735e38896e7c927fadb216917f422b1ed9cc58f8aac697541aa
5
5
  SHA512:
6
- metadata.gz: 63d7d62032fc619e8756655f2e737cc17bb5f54b9452478bdf15aadb3c040430f54a1db90e647fe5696182c719f33f2d22ff3649d5ade31c38ed8f8758f8f99d
7
- data.tar.gz: 8e9ef76a121e0288be720acd30d14bb38747c0ed5e19f22abed25ec5768ba57ca4640d17dd547ce0b9f7be988d139cac7a667a4e3085ee4dac871c39b82c37fd
6
+ metadata.gz: 274419fa7cbf69522f8ba6ade35415aead6750e63efce27f623e136accb2705dd29fc339dfcdfea63f9a9a16fcf0bd3587ef07e46aa3d073048af2724ed6d19b
7
+ data.tar.gz: 52e29b3ecaa743ea11d525f743ec0de05207a4c0d2980509ee9ec53fd2ccffb8a6901ab4758ec9fcdc99713ca16411d483cd73fa63e05605dba5ac736a957496
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Ubl
4
4
 
5
- Generate UBL invoices and credit notes for Peppol
5
+ Generate UBL (Universal Business Language) documents, such as invoices and credit notes, compliant with the Peppol network.
6
6
 
7
7
  ## installation
8
8
 
@@ -25,10 +25,7 @@ require "ubl"
25
25
 
26
26
  invoice = Ubl::Invoice.new
27
27
  invoice.invoice_nr = "INV-2025-001"
28
- invoice.issue_date = Date.new(2025, 6, 28)
29
- invoice.due_date = Date.new(2025, 7, 28)
30
- invoice.currency = "EUR"
31
- invoice.pdffile = __dir__ + "/invoice_test.pdf"
28
+ invoice.pdffile = "./invoice.pdf"
32
29
 
33
30
  invoice.add_supplier(
34
31
  name: "ACME Corp",
data/lib/ubl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ubl
4
- VERSION = "0.0.4"
4
+ VERSION = "0.1.0"
5
5
  end
data/lib/ubl.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  require_relative "ubl/builder"
2
2
 
3
3
  ##
4
- # The Invoice and CreditNote class generates UBL (Universal Business Language) compliant XML
5
- # documents following PEPPOL standards.
4
+ # Generate UBL (Universal Business Language) documents,
5
+ # such as invoices and credit notes, compliant with the Peppol network.
6
6
  module Ubl
7
7
  class Invoice < UblBuilder
8
8
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - roel4d
@@ -37,7 +37,8 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: 0.3.0
40
- description: Generate UBL documents for Peppol
40
+ description: Generate UBL (Universal Business Language) documents, such as invoices
41
+ and credit notes, compliant with the Peppol network.
41
42
  email:
42
43
  - roel4d@webding.org
43
44
  executables: []
@@ -74,5 +75,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
75
  requirements: []
75
76
  rubygems_version: 3.6.7
76
77
  specification_version: 4
77
- summary: Generate UBL documents
78
+ summary: Generate UBL documents for Peppol
78
79
  test_files: []