poms 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/poms/fields/schedule.rb +6 -4
- data/lib/poms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9703e39549b604585b1a9089b86b543426024350e7a77b243fc135ff262955a6
|
4
|
+
data.tar.gz: 0706bfb103c8f75864bef989a1982005dc302f048fd833bd5d269dc8a6dae7db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b25d5c5bc019d04f224e47e09354baa13c8f82a70f59f4de67f195d542448d5e5ff98215b181ed0edb2198b75e064392b89b61952dea65cf276e2f813030ed9
|
7
|
+
data.tar.gz: bfbe8ce2fb202dc209a9037d2fefecca1627cd3ab91bca847ba7e4120a4b5bd331a456f98e0bddd4bda1371783559906ae6a55c99eacf197698e8e666995a447
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
# Poms Release notes
|
2
2
|
|
3
|
+
## 2.5.1
|
4
|
+
|
5
|
+
* Actually filter out publications with `owner` `NEBO`.
|
6
|
+
|
3
7
|
## 2.5.0
|
4
8
|
|
5
|
-
* Filter out publications with `owner` `NEBO
|
9
|
+
* ~Filter out publications with `owner` `NEBO`.~
|
10
|
+
|
11
|
+
Due to an error this version does not include the mentioned change.
|
6
12
|
|
7
13
|
## 2.4.0
|
8
14
|
|
data/lib/poms/fields/schedule.rb
CHANGED
@@ -33,11 +33,13 @@ module Poms
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# Returns the first publication from an items location array which has
|
36
|
-
# INTERNETVOD and is PUBLISHED
|
36
|
+
# INTERNETVOD and is PUBLISHED and does not have owner NEBO.
|
37
37
|
def publication(poms_item)
|
38
|
-
return if poms_item
|
39
|
-
poms_item
|
40
|
-
item
|
38
|
+
return if poms_item.fetch('locations', nil).blank?
|
39
|
+
poms_item.fetch('locations', []).find do |item|
|
40
|
+
item.fetch('platform', '') == 'INTERNETVOD' &&
|
41
|
+
item.fetch('workflow', '') == 'PUBLISHED' &&
|
42
|
+
item.fetch('owner', '') != 'NEBO'
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
data/lib/poms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Kruijsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|