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 +4 -4
- data/lib/woody/decorators.rb +1 -1
- data/lib/woody/decorators/brief.rb +1 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e89d47a9d81114ec6ecbf48b691864a2312b55c
|
4
|
+
data.tar.gz: 780b56bd4290734405d54cd59d792a58a60474f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be9041c9fcc38f88d67e82590818d8618e5e6d5f6d0255ff7a75e1e027e9bc044109b28cb28c970822d0ac15a8a39cffb5367b7d8bbd3e0dc7b5eaaa34f9f5d8
|
7
|
+
data.tar.gz: b39dc7dcf57fb58e25e382fe56ba42c0dd0186fe2efa217d94f1b63da40ee065aa2af33ba67936a096e08c060d2848c8c6f03d4be1869f48cf503162205e5205
|
data/lib/woody/decorators.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|