tufy 0.0.7 → 0.0.8

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: 85277ebf80f7eb975685b79ec9d93f7fbac84f6f
4
- data.tar.gz: b0b8adb6a122515fd16db831090f9a5aed3ece16
3
+ metadata.gz: 673fb6de3058724fa7ade8921263bfbc8501777d
4
+ data.tar.gz: 55f6f30f18b8c0e7837e76fa183de304077e8fc4
5
5
  SHA512:
6
- metadata.gz: 1cacdad2cfbbf9d655aa1d5a989da9141ec41553aea754d6f187460b0205c326571a5d38fc26e5121de6df23d91d38a08369123fa81d6b41a69ead1d800d5b56
7
- data.tar.gz: 0a9d08fec6f99172ac2c7bad7697a7241caad8b9e3bd18b4e0a44b62949b2f2446b11e253908d639a814f52e2f3411ed57bc1ba38fe25cc8e6efa32b0f4ef755
6
+ metadata.gz: 31e747d42e48a4764ffc7621b3c1b641622ee660d75c32c319a717cf27c72f55668a09050e14614a88aa45725e8332e391f74468020fade47264f75b95378c16
7
+ data.tar.gz: 4b9dd23a12cb12bec37f1e5543796f56eb171ab677605a95d3bc0b6e5159fdea6c0dddc05148ae986d1605d4fe523363836a340a230adf1298a2206a5a10a7c4
@@ -1,3 +1,10 @@
1
+ # v0.0.8
2
+
3
+ - PARTIAL PAYMENT is now an optional field
4
+ - FRESH CASH ADVANCE is now an optional field
5
+ - UNBILLED_BALANCE is now an optional field
6
+ - CASH_ADVANCE_BALANCE is now an optional field
7
+
1
8
  # v0.0.7
2
9
 
3
10
  - Refactor each BuildSegment actions to be LightService::Organizers
@@ -16,8 +16,6 @@ module Tufy
16
16
  :shared_by,
17
17
  :outstanding_balance,
18
18
  :interest_and_fees,
19
- :unbilled_balance,
20
- :cash_advance_balance,
21
19
  :number_of_days_past_due,
22
20
  :past_due_amount,
23
21
  :installment_amount,
@@ -26,8 +24,6 @@ module Tufy
26
24
  :expiry_date,
27
25
  :consumer_or_commercial,
28
26
  :legal_action,
29
- :partial_payment,
30
- :fresh_cash_advance,
31
27
  ]
32
28
 
33
29
  executed do |ctx|
@@ -6,9 +6,11 @@ module Tufy
6
6
  promises :transformed_data
7
7
 
8
8
  executed do |ctx|
9
- ctx.transformed_data =
10
- ctx.transformed_data +
11
- transform(ctx).upcase
9
+ if ctx.raw_data[:cash_advance_balance]
10
+ ctx.transformed_data =
11
+ ctx.transformed_data +
12
+ transform(ctx).upcase
13
+ end
12
14
  end
13
15
 
14
16
  private
@@ -6,9 +6,11 @@ module Tufy
6
6
  promises :transformed_data
7
7
 
8
8
  executed do |ctx|
9
- ctx.transformed_data =
10
- ctx.transformed_data +
11
- transform(ctx).upcase
9
+ if ctx.raw_data[:fresh_cash_advance]
10
+ ctx.transformed_data =
11
+ ctx.transformed_data +
12
+ transform(ctx).upcase
13
+ end
12
14
  end
13
15
 
14
16
  private
@@ -6,9 +6,11 @@ module Tufy
6
6
  promises :transformed_data
7
7
 
8
8
  executed do |ctx|
9
- ctx.transformed_data =
10
- ctx.transformed_data +
11
- transform(ctx).upcase
9
+ if ctx.raw_data[:partial_payment]
10
+ ctx.transformed_data =
11
+ ctx.transformed_data +
12
+ transform(ctx).upcase
13
+ end
12
14
  end
13
15
 
14
16
  private
@@ -6,9 +6,11 @@ module Tufy
6
6
  promises :transformed_data
7
7
 
8
8
  executed do |ctx|
9
- ctx.transformed_data =
10
- ctx.transformed_data +
11
- transform(ctx).upcase
9
+ if ctx.raw_data[:unbilled_balance]
10
+ ctx.transformed_data =
11
+ ctx.transformed_data +
12
+ transform(ctx).upcase
13
+ end
12
14
  end
13
15
 
14
16
  private
@@ -1,3 +1,3 @@
1
1
  module Tufy
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tufy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil Marion dela Cruz