woody-decorators 12.1.0 → 12.1.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: 2da9acc003d48845d49eb7f88b35544f4453b76f
4
- data.tar.gz: 5171e8889a006a9d5a15454fad35b880f7614027
3
+ metadata.gz: 9a5f985211ed28ec6973a598754627667ee91d51
4
+ data.tar.gz: 21973360ff1ba6dc871e5f5a21cf4e9e19397938
5
5
  SHA512:
6
- metadata.gz: e2f32c5e14f56e5ad1e5d60c5304b9dd34e28f892ed0f0df3b310c08f653290a65886e932ac76e26b48c32cad96fc34a7edad8cb7cae19cd626a4c76f7931079
7
- data.tar.gz: e3b626abc98eb73386a6a2f53f045c5c7794d76b030a3b1f3b9b92611dd21b47f67c1912e1a381bddee43360637e95c2941b4786508b698422d23a63f86ba860
6
+ metadata.gz: 22f481e034d3291ae26f32252d8a38f72d5f55912e28d832813847dedc29957cbb650677f5d35e9adec07c354e1ecca8ae79930e297611b19189159c21e80040
7
+ data.tar.gz: f265c8a68edbf028617eebf07493fab5fce6441b553e856f54703b8098966a0cfa937e0bbb3331360dd3d455afae5a5a314e1558005aa4fbbcfb9ca5b86670d2
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = '12.1.0'.freeze
3
+ VERSION = '12.1.1'.freeze
4
4
  end
5
5
  end
@@ -26,15 +26,9 @@ module Woody
26
26
  end
27
27
 
28
28
  def brand_status
29
- case @model.category
30
- when 'brand'
31
- return 'In Development' if @model.status == 'draft' || @model.end_date.nil?
32
- return 'Live' if is_live?
33
- purchased_videos > 0 ? 'Complete' : 'Video Review'
34
- when 'vidsy', 'squad'
35
- return 'In Development' if @model.status == 'draft'
36
- return 'Live'
37
- end
29
+ return 'In Development' if @model.status == 'draft' || @model.end_date.nil?
30
+ return 'Live' if is_live?
31
+ purchased_videos > 0 ? 'Complete' : 'Video Review'
38
32
  end
39
33
 
40
34
  def brand_status_identifier
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.1.0
4
+ version: 12.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-05 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.5.2
210
+ rubygems_version: 2.5.2.3
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: ''