woody-decorators 5.3.0 → 5.3.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: 25428564c4b61fed1c7bbeefac1630708656b964
4
- data.tar.gz: c8e3a4b20cac61371d3f0f4b5e4bdb2b99939c51
3
+ metadata.gz: 7230eae05a11f8d7fa9d1722cb344e4ecdd1dede
4
+ data.tar.gz: c221b75eccefa92fe2baa7533c892fb22ffeaded
5
5
  SHA512:
6
- metadata.gz: a88ba49a5ee24e4d16a6a409731547b98d6cb2afac78d5a806668ae1c3d4150bc18fc4a1fa40e51a24e6800d82d78e78917be567e043e8af851df30b63743200
7
- data.tar.gz: 6ba4525d746f4d852d96dd69cada6c4c889ff7cd0fe80a98df7e63b571bbe9a875ab6055ff6190b345c367999f43d8af297763f0889551deb31556331e5e0489
6
+ metadata.gz: 385537828a2ce0bc517a7ad672fc7932c06b7cd1604fe0b7dacaa5799e3f4550d12e24e6553d1196aba98e8ca8429d0a48ffcafe7e728a5e388f00fdde183c99
7
+ data.tar.gz: 57b2ede36448dcb435e224ad53ce003191ca2fba8c27ab204c3ec187819d071fca339eef962d2614a7c0f4b65225ba64dcea9a2d8bd7056658e2b4b6bf7a0cec
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = '5.3.0'.freeze
3
+ VERSION = '5.3.1'.freeze
4
4
  end
5
5
  end
@@ -110,7 +110,9 @@ module Woody
110
110
  end
111
111
 
112
112
  def states?(type)
113
- !@model.transcoding_state(type).nil?
113
+ @model.attributes.transcoding_states.any? do |state|
114
+ state['type'] == type
115
+ end
114
116
  end
115
117
 
116
118
  def submission
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: 5.3.0
4
+ version: 5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-11 00:00:00.000000000 Z
11
+ date: 2016-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler