killbill 8.3.5 → 8.3.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f7c71049d2c24991a8bfa9c1bee30d15730c2e
|
4
|
+
data.tar.gz: 04c231f3acf948fcb22cd5964c71b6456900b79f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 679de5fda1444f765e2855ab7a27b91ac41ff8370bb368896ffa6a25cc51eb7046d7fdc054bf0512fb49c1d80b86c883c7f562a88ee8f0a0dbb947234570bc82
|
7
|
+
data.tar.gz: 36918fd0773de1c854914902444269ac9e958ca0afb199b497b1b27c6822555c5d8232a0099f2f81aadb58bb7c0ccf85c43b00acfb1cc5412624a8eadf0464ee
|
data/Gemfile.lock
CHANGED
@@ -198,7 +198,7 @@ module Killbill
|
|
198
198
|
pagination = ::Killbill::Plugin::Model::Pagination.new
|
199
199
|
pagination.current_offset = offset
|
200
200
|
pagination.total_nb_records = self.count_by_sql(self.search_query(search_key, kb_tenant_id))
|
201
|
-
pagination.max_nb_records = self.
|
201
|
+
pagination.max_nb_records = self.max_nb_records
|
202
202
|
pagination.next_offset = (!pagination.total_nb_records.nil? && offset + limit >= pagination.total_nb_records) ? nil : offset + limit
|
203
203
|
# Reduce the limit if the specified value is larger than the number of records
|
204
204
|
actual_limit = [pagination.max_nb_records, limit].min
|
@@ -218,6 +218,10 @@ module Killbill
|
|
218
218
|
[]
|
219
219
|
end
|
220
220
|
|
221
|
+
def self.max_nb_records
|
222
|
+
self.where(:success => true).count
|
223
|
+
end
|
224
|
+
|
221
225
|
# Override in your plugin if needed
|
222
226
|
def txn_id
|
223
227
|
authorization
|
data/lib/killbill/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.3.
|
4
|
+
version: 8.3.6
|
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: 2018-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|