yt-audit 0.1.0 → 0.1.1

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: 4823eceed3e5ae004eb9c21fe0ff5edee9975d0c
4
- data.tar.gz: 82b849fc11957c34d04c1a0d83324d56e8c88763
3
+ metadata.gz: 139d337967690c1ec34e17c899018d9c1ad06720
4
+ data.tar.gz: d8d7c438500d02ac78ce2daf8e7e860d34ba4ec2
5
5
  SHA512:
6
- metadata.gz: c063060fc2be860111bc4bed43e35050b083ab6e469c4075ec7487d95e828880b56cd9a26beb42d97dc58117f41258e69c5a828f502100e429f7aad0ccb02a0b
7
- data.tar.gz: 48c69f1663f2a0a323210583356232c61ec75fef630c32653238cac36bd8c0866d05715a180310545838f25ae69f18e0fd4fcdc7aa810909ed81adc407d75517
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
@@ -1,5 +1,5 @@
1
1
  module Yt
2
2
  module Audit
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kang-Kyu Lee