lockstep_rails 0.3.45 → 0.3.47

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
  SHA256:
3
- metadata.gz: 89bb1d95c176091c5ab6964c910f83d573d29a05b5e749b877ab1c16f171126a
4
- data.tar.gz: 6b60815cf092ce0dfc3124350594507d72a7964a1f75faef61f2f1144a8d1a10
3
+ metadata.gz: 7db9d59fbe7aa12ec5ea2c3985a1e898e94327dc0645a90278b14d7612382cf1
4
+ data.tar.gz: 47fc4750144c70cd99dd4cc765c38801f0e420e70af61d243a8d84b9ad67a67d
5
5
  SHA512:
6
- metadata.gz: 2fc621b5b45579ef9e54b60bbd954f5824149b15f0f221ae6e7c288f571bf7aa1ed9fc7363f8bc4fbe1df89a238ec68b04ba528a3fc50866bc115b17c9aad65d
7
- data.tar.gz: 2e3e0f2e494c2cc72452f28f75a1373e16b6d72839b0ba2c11eea4a2ccf1c31f0cc64a33b0c8315c014481a092d1abacfcaba6f5339d3faaec945e98f0122650
6
+ metadata.gz: 45db88812fd762bcc175bce07bd8bcd89637940697f83321af415167467d842610512f8d434c2aac8b75386c0e63722e99f04fa19c3b86041bb47f35aa80fc35
7
+ data.tar.gz: 33ae1ed95b0b7d869916b25dc2596ba889739e81a21d42113d2eb54cb184b23e6c1b6ea26e14129c796ca8ddf24a4aa693db52b7ff1ad123b9b6d7081ad4f89c
data/README.md CHANGED
@@ -63,6 +63,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
63
63
  * Lockstep::ReportPayableSummary
64
64
  * Lockstep::ReportRiskRate
65
65
  * Lockstep::Status
66
+ * Lockstep::TranscriptionValidationRequest
66
67
  * Lockstep::User
67
68
 
68
69
  ## ActiveModel Interfaces
@@ -299,19 +299,19 @@ class Lockstep::Query
299
299
  records = []
300
300
  loop do
301
301
  params[:pageNumber] = page
302
- params[:pageSize] = limit > 0 ? [limit - records.size, criteria[:chunk]].min : criteria[:chunk]
303
- break if params[:pageSize] == 0
302
+ params[:pageSize] = limit.positive? ? [limit - records.size, criteria[:chunk]].min : criteria[:chunk]
303
+ break if params[:pageSize].zero?
304
304
 
305
305
  results = get_results(params)
306
306
  break unless results.present?
307
307
 
308
308
  records += results
309
- break if limit > 0 and records.size >= limit
309
+ break if limit.positive? && records.size >= limit
310
310
 
311
311
  page += 1
312
312
  end
313
313
 
314
- records
314
+ records.uniq(&:attributes)
315
315
  end
316
316
 
317
317
  def first
@@ -0,0 +1,5 @@
1
+ class Lockstep::TranscriptionValidationRequest < Lockstep::ApiRecord
2
+ self.model_name_uri = "v1/Transcriptions/validate"
3
+ self.id_ref = "transcription_validation_request_id"
4
+ load_schema(Schema::TranscriptionValidationRequest)
5
+ end
@@ -1,3 +1,3 @@
1
1
  module LockstepRails
2
- VERSION = '0.3.45'
2
+ VERSION = '0.3.47'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockstep_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.45
4
+ version: 0.3.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-16 00:00:00.000000000 Z
11
+ date: 2023-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -71,6 +71,7 @@ files:
71
71
  - app/models/lockstep/report_payable_summary.rb
72
72
  - app/models/lockstep/report_risk_rate.rb
73
73
  - app/models/lockstep/status.rb
74
+ - app/models/lockstep/transcription_validation_request.rb
74
75
  - app/models/lockstep/user.rb
75
76
  - app/models/lockstep/vendor_summary.rb
76
77
  - app/models/lockstep/webhook.rb