yt-audit 0.5.4 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79b432118e51d80989e1b332ba681fcf14702624
4
- data.tar.gz: 163a6accdfb9e557ae67f318fc477af3f3f7002e
3
+ metadata.gz: 0b87615f5280d2212ee2f3c6c60e5d1450e322aa
4
+ data.tar.gz: 831da0368aefc88c292f86ac79f1ab8f9c04a6d6
5
5
  SHA512:
6
- metadata.gz: 27040269f96eb352f67dfa8f81d3b844d090025b9f25487d7ca09c9b4a8a44209e2dd227f274469f3bc5dba524be3248d14e5cc93cb2ee40fbd2f5d27dffa9a7
7
- data.tar.gz: a786b1a442249b880bb4e93c9ad31bdd3dd181a73c2f09ab765baca7b301ba4173b0a17c9d5045abb5c60bb1ffb0af2ab54d7c89f8c9df168e7533bf715a5d2d
6
+ metadata.gz: 333781034ea13a46c2857b9071899c9c5d239852e97213854498d40c7f09b8ee533f7a1cd949bce79d07fb0f3f419c91bb1a86c8afc6ae59e30a441f94782449
7
+ data.tar.gz: 3d5bd3df54feacceef5b6bd027de98505d9314f64b35eaef704972eaad6e6d388c1fd98311084ef818b00698b14b7cb95284582f97a3a1342ff8ae6bf13fd1fd
@@ -6,16 +6,19 @@ For more information about changelogs, check
6
6
  [Keep a Changelog](http://keepachangelog.com) and
7
7
  [Vandamme](http://tech-angels.github.io/vandamme).
8
8
 
9
+ ## 0.5.5 - 2017-04-03
9
10
 
10
- ## 0.5.4 - 2017-06-20
11
+ * [BUGFIX] Change `VideoAudit::InvideoProgramming` to count videos with a 'featured content' annotation, not 'branding' annotation.
12
+
13
+ ## 0.5.4 - 2017-06-20
11
14
 
12
15
  * [ENHANCEMENT] Change order of audits.
13
16
 
14
- ## 0.5.3 - 2017-06-19
17
+ ## 0.5.3 - 2017-06-19
15
18
 
16
19
  * [FEATURE] Add `VideoAudit::InvideoProgramming` to count videos with a branding annotation.
17
20
 
18
- ## 0.5.2 - 2017-06-14
21
+ ## 0.5.2 - 2017-06-14
19
22
 
20
23
  * [FEATURE] Add `VideoAudit::EndScreen` to count videos with end screens.
21
24
  * [FEATURE] Add `VideoAudit::TagsLength` to count videos with more than 400 characters in tags.
@@ -24,7 +27,7 @@ For more information about changelogs, check
24
27
  * [FEATURE] Add `VideoAudit::PlaylistEndScreen` to count videos with a playlist link in end screens.
25
28
  * [FEATURE] Add `VideoAudit::WebsiteEndScreen` to count videos with a website link in end screens.
26
29
 
27
- ## 0.5.1 - 2017-05-03
30
+ ## 0.5.1 - 2017-05-03
28
31
 
29
32
  * [ENHANCEMENT] Reduce API calls to YouTube using .count, not .size
30
33
 
@@ -1,5 +1,5 @@
1
1
  module Yt
2
2
  class Audit
3
- VERSION = '0.5.4'
3
+ VERSION = '0.5.5'
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ module Yt
16
16
 
17
17
  def valid?(video)
18
18
  Yt::Annotations.for(video.id).any? do |annotation|
19
- annotation.instance_of? Yt::Annotations::Branding
19
+ annotation.instance_of? Yt::Annotations::Featured
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yt-audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Baccigalupo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-06-21 00:00:00.000000000 Z
12
+ date: 2017-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yt-core