yt-audit 0.1.0 → 0.1.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 +4 -0
- data/lib/yt/audit.rb +1 -1
- data/lib/yt/audit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 139d337967690c1ec34e17c899018d9c1ad06720
|
4
|
+
data.tar.gz: d8d7c438500d02ac78ce2daf8e7e860d34ba4ec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a3d50122efa5615b9402c6d4b3d8739e6e2038b67bd2b7d6a60d9bf1dcd3e7d948dabf9c18135ea7e06e8eebbe73acd05c9e79562635b617b133e39b63915ee
|
7
|
+
data.tar.gz: fdbc7deaa7636a87b351b8e1fce0d875b65410306f7efb4e188aae951bf3a07f84dcfc9d7f5bd9434e70f365325c3e77f3aab2babf93d6fa70c2ee4022de232d
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ 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.1.1 - Unreleased
|
10
|
+
|
11
|
+
* [ENHANCEMENT] Brand name case-insensitive in `has_brand_anchoring?`
|
12
|
+
|
9
13
|
## 0.1.0 - Unreleased
|
10
14
|
|
11
15
|
* [FEATURE] Add `has_info_cards?`
|
data/lib/yt/audit.rb
CHANGED
@@ -20,7 +20,7 @@ module Yt
|
|
20
20
|
# @raise [Yt::Errors::NoItems] if video_id is not a valid video.
|
21
21
|
def self.has_brand_anchoring?(video_id, brand)
|
22
22
|
video_title = Yt::Video.new(id: video_id).title
|
23
|
-
video_title.include? brand
|
23
|
+
video_title.upcase.include? brand.upcase
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
data/lib/yt/audit/version.rb
CHANGED