woody-decorators 12.2.0 → 12.2.1

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: 07d08c238986c48c196af06b830d52fba65150b6
4
- data.tar.gz: 146c853bbe853193c1abd9e74c4bff592dff5508
3
+ metadata.gz: 5e89d47a9d81114ec6ecbf48b691864a2312b55c
4
+ data.tar.gz: 780b56bd4290734405d54cd59d792a58a60474f8
5
5
  SHA512:
6
- metadata.gz: 7fa401de75b1326e1054f47af4339120773e5efab6354c4a3dc2f709963eeeecc1d4e70888ea3140de657bee6552c6356acaea967c760eca08e58e7befd27a25
7
- data.tar.gz: fabb77def65b88ad635bc9941dc682ff602326b80f2044ab01551755c7d5263ffdcaaab7c310fb1af79354369910a07700e78ba4b479115cbb18c95badb21f5f
6
+ metadata.gz: be9041c9fcc38f88d67e82590818d8618e5e6d5f6d0255ff7a75e1e027e9bc044109b28cb28c970822d0ac15a8a39cffb5367b7d8bbd3e0dc7b5eaaa34f9f5d8
7
+ data.tar.gz: b39dc7dcf57fb58e25e382fe56ba42c0dd0186fe2efa217d94f1b63da40ee065aa2af33ba67936a096e08c060d2848c8c6f03d4be1869f48cf503162205e5205
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = '12.2.0'.freeze
3
+ VERSION = '12.2.1'.freeze
4
4
  end
5
5
  end
@@ -14,11 +14,6 @@ module Woody
14
14
  super(model)
15
15
  end
16
16
 
17
- def bonus_reward_pool
18
- r = @model.rewards
19
- r ? r.bonus_payment_pool : 0
20
- end
21
-
22
17
  def brand
23
18
  @brand ||= Woody::Decorators::Brand.new(
24
19
  @model.brands.first, @config
@@ -80,11 +75,6 @@ module Woody
80
75
  questions.fetch('essentials') { {} }
81
76
  end
82
77
 
83
- def expense_reward_pool
84
- r = @model.rewards
85
- r ? r.expense_payment_pool : 0
86
- end
87
-
88
78
  def exist?
89
79
  !@model.nil?
90
80
  end
@@ -144,7 +134,7 @@ module Woody
144
134
  end
145
135
 
146
136
  def total_reward_pool
147
- time_reward_pool + bonus_reward_pool
137
+ time_reward_pool
148
138
  end
149
139
 
150
140
  def video_has_partner_asset?(video_id, partner = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody-decorators
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.2.0
4
+ version: 12.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-09 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler