killbill-deposit 2.0.1 → 2.0.3

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
  SHA256:
3
- metadata.gz: d9880e6394687a35a632cee42b047e58619253d770d1e0e190eebf91faa61de9
4
- data.tar.gz: 890489debaa57b382620e07b69e902e217cf9376a2d23cbbaab1d9381f638f33
3
+ metadata.gz: 4c2e726bb143d8e40422eba76dee845210ac2edc0d1b12b1298a26cd4edb34c3
4
+ data.tar.gz: f2e5a5212a20d02a966c60c0102bcd9fb9a2e503e6b274447a1c2828b06011ff
5
5
  SHA512:
6
- metadata.gz: 5883929b1a66613fedb71d8e17140b29e5eaf04df2631b003616ebd8a9832139a6fe52a9d75ef2e0e599afa0ee1b2f63e897758735b9046c85420980029d5a38
7
- data.tar.gz: b4452b0762eca672cbb86adfb488337e8fa636becdca9f15cdc5996ceee6b19d102da9fcd7e8a8f99f35f1da4d93a0ba421cbb1ac4f30a4610003a0ce6a88d14
6
+ metadata.gz: 73e6febe91be7198ec88fcb0e50d109aaadaaf4c961a0a47440e354fddcb912278df0aa226a79cd48f8d103cc56a054fa47e44e897304c90ee03d24bf8b06a63
7
+ data.tar.gz: db95d68ab2cc641a1a5f7a6284c3384674aeb0d4a892999657f52bbcee569491fbf89494ef529cf596bd01bfc9b35ea75a53e1ba84fcdcbf2dd19abc290dfbf8
@@ -126,7 +126,7 @@ module Deposit
126
126
  pages.each { |page| json[:data] << formatter.call(page) }
127
127
 
128
128
  respond_to do |format|
129
- format.json { render json: json }
129
+ format.json { render json: }
130
130
  end
131
131
  end
132
132
 
@@ -8,7 +8,7 @@
8
8
  <div class="form-group d-flex pb-3">
9
9
  <%= label_tag :payment_amount, 'Amount Received', :class => 'col-sm-3 control-label' %>
10
10
  <div class="col-sm-9">
11
- <%= number_field_tag :payment_amount, nil, :step => :any, :id => 'payment_amount', :class => 'form-control', :required => true %>
11
+ <%= number_field_tag :payment_amount, 0, :step => :any, :id => 'payment_amount', :class => 'form-control', :required => true %>
12
12
  <p class="help-block mb-0">Currency: <%= @currency %></p>
13
13
  </div>
14
14
  </div>
data/config/routes.rb CHANGED
@@ -6,7 +6,7 @@ Deposit::Engine.routes.draw do
6
6
  resources :collection, only: [:index]
7
7
 
8
8
  scope '/collection' do
9
- match '/record' => 'collection#record_payments', :via => :post, :as => 'do_record_payments'
10
- match '/account_invoices' => 'collection#account_invoices', :via => :get, :as => 'account_invoices'
9
+ post '/record' => 'collection#record_payments', :as => 'do_record_payments'
10
+ get '/account_invoices' => 'collection#account_invoices', :as => 'account_invoices'
11
11
  end
12
12
  end
@@ -17,7 +17,7 @@ module Killbill
17
17
  effectiveDate: effective_date,
18
18
  paymentReferenceNumber: payment_reference_number,
19
19
  depositType: deposit_type,
20
- payments: payments
20
+ payments:
21
21
  }.to_json
22
22
 
23
23
  path = "#{KILLBILL_DEPOSIT_PREFIX}/record"
@@ -25,9 +25,9 @@ module Killbill
25
25
  body,
26
26
  {},
27
27
  {
28
- user: user,
29
- reason: reason,
30
- comment: comment
28
+ user:,
29
+ reason:,
30
+ comment:
31
31
  }.merge(options)
32
32
  response.body
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deposit
4
- VERSION = '2.0.1'
4
+ VERSION = '2.0.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-deposit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-11 00:00:00.000000000 Z
11
+ date: 2026-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: killbill-assets-ui
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '7.0'
61
+ version: '7.2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '7.0'
68
+ version: '7.2'
69
69
  description: Rails UI plugin for the Deposit plugin.
70
70
  email: killbilling-users@googlegroups.com
71
71
  executables: []
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '0'
109
+ version: 3.1.0
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="