- Bump dependencies.
- Add ruby 3.4 to test matrix.
- Allow rails 8.
- Code Improvement (rubocop).
- Code Improvement (rubocop).
- Add ruby 3.2 to test matrix.
- Dependencies update.
- Code refactoring.
- Fix styling of Notes heading.
- Use rubocop-performance and fix one performance issue.
- Fix booting of Payday. It requires the module Payday to be declared.
- Set up release-drafter.
- Don’t leave gemspec dependencies open ended.
- Move development dependencies to Gemfile and add Gemfile.lock to version control so dependabot can update them.
- Inherit rubocop styles from our defaults and fix offences.
- Load gem’s files using Zeitwerk.
- Rubocop offences fixes.
- Target ruby 3.1.
- Target ruby 3.0.
- Verified compatibility with ruby 3.1.
- Update dependencies.
- Relax dependency to ruby 2.2.
- Allow styling line item descriptions and notes.
- Add new fonts and increase font size.
- New: Ability to add LineItems with “pre-defined” amounts.
LineItem.new(description: 'Flat fee', predefined_amount: 244)
. This allows to create lines without quantities and unit prices, which is useful to add flat fees.
- Lint code with Rubocop.
- Fix deprecation warning.
- Dependency updates (prawn, prawn-svg, add prawn-table). This update might break tests as PDF are rendered slightly differently.
- Fix deprecation warning.
- Add convenience method to add line_items to invoices (
Invoice#add_line_item(options)
). Takes the same options asLineItem.new(options)
.
This brings changes made for WebTranslateIt.com’s billing system:
- Tax rate is a full percent number (for instance
21.0
for a 21% tax rate,10.0
for a 10% tax rate). This is a breaking change compared to the previous0.21
for 21% tax rate and0.1
for 10% tax rate, but it is more convenient to use. - Invoices were updated to call the document
Invoice
if the document was not paid orReceipt
if the document was paid.
- Remove
.ruby-version
file locking ruby at 2.1.5. - Add CI.
- Ruby 2.6, 2.7 and 3.0 compatibility.
- Specify dependencies to
activesupport
andrexml
in gemspec. - Fix deprecation warnings with newer versions of the Money gem.
- Ruby 2.6 Compatibility.
- Bumped money gem to 6.5 (was 6.1.1)
- Bumped i18n gem to 0.7 (was 0.6.11)
- Added German translation for invoice date.
- Loosened requirements on Money gem.
- Bumped rspec to latest and cleared up a deprecation warning.
- Added support for
invoice_date
field (thanks danielma!) - Bugfix: Resolved issue where money values were being shown at 1/100th of the intended amount (thanks watsonbox!)
- Added NL locale (thanks jedi4ever!).
- Updated Prawn to 1.0.
- Updated Prawn SVG to 0.15.0.0.
- Updated Money to 6.1.1.
- Updated i18n to 0.6.9.
- Added support for zh-CN locale (thanks Martin91!).