Skip to content

Commit ebd726c

Browse files
committed
Fix failure CI
1 parent 6d2373a commit ebd726c

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
test:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
strategy:
2020
matrix:
2121
include:

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ group :development do
2424
gem 'sprockets-rails'
2525
end
2626

27+
# Temporary fix for JRuby 9.4.10.0 here: https://github.com/jruby/jruby/issues/7262
28+
gem 'jar-dependencies', '~> 0.4.1' if defined?(JRUBY_VERSION)
29+
2730
# gem 'killbill-assets-ui', github: 'killbill/killbill-assets-ui', ref: 'main'
2831
# gem 'killbill-assets-ui', path: '../killbill-assets-ui'
2932
gem 'killbill-assets-ui'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<%#
2+
This is a placeholder breadcrumb component for standalone gem usage.
3+
4+
This placeholder prevents "missing template" errors when running
5+
the gem independently during development or testing.
6+
%>
7+
8+
<!-- Breadcrumb placeholder for standalone gem -->

lib/deposit/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class DepositClient < KillBillClient::Model::Resource
88
class << self
99
def record_payments(account_id, effective_date, payment_reference_number, deposit_type, invoice_payments, user = nil, reason = nil, comment = nil, options = {})
1010
payments = []
11-
invoice_payments.each do |invoice_number, payment_amount|
11+
invoice_payments.map do |invoice_number, payment_amount|
1212
payments << { invoiceNumber: invoice_number, paymentAmount: payment_amount }
1313
end
1414

0 commit comments

Comments
 (0)