yt 0.25.28 → 0.25.29

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: f5225a260b20a42c5267d7ac69892341117ec016
4
- data.tar.gz: f725638a687b3e8b56e4b3365fa3133a06bfef08
3
+ metadata.gz: d8d7f0a5503a59888dd4b0d1e439162585a97544
4
+ data.tar.gz: 74ac050d02d5d8f7620eaf9a1477237b713aa7d0
5
5
  SHA512:
6
- metadata.gz: c746f90b1935c597d4492da130bf73e4234f29706ce7ce60d3aebebf69c4e7119b062c0c01e5579b507102f251fb55bcafea20961885cd741261d468a81f1221
7
- data.tar.gz: 9162f375f49dc2130a7189c716f00bf3b4e9f9dbd09f100a65590aebe43e76444fb10fea3d3701b95db57f70a38bbfc19a957ddff5390411d9a57d26ec2ca2d4
6
+ metadata.gz: f05116b8d41cc032d0d574e7e81e39de24af901cbf349370d57171324ddf2ffc271fc18ff82d9d1cf6bdd83cbb4d5c1181269fbe222902974b3b2312f6069f94
7
+ data.tar.gz: 379c55ae5fe720cc5f8169bdc20dd018a8c4b3f7aa4ed3dda7f28ef16fff64d7f7654b6b381ad6d706fbe0e5ab3eb5a41c1cc55dab8828d9df135a4c8cea79e3
@@ -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.25.29 - 2016-04-07
10
+
11
+ * [BUGFIX] Previously, Yt was throttling queries for `quotaExceeded` responses from YouTube. However, matching `quotaExceeded` was too specific and would not have caught other limit exceeding responses from YouTube. This change will allow Yt to throttle other responses that contains `Exceeded` or `exceeded`.
12
+
9
13
  ## 0.25.28 - 2016-04-05
10
14
 
11
15
  * [BUGFIX] If no asset ID is set, calling ContentOwner#assets will now use the path, /youtube/partner/v1/assetSearch, instead of '/youtube/partner/v1/assets'
@@ -269,7 +269,7 @@ module Yt
269
269
 
270
270
  # @return [Boolean] whether the request exceeds the YouTube quota
271
271
  def exceeded_quota?
272
- response_error == Errors::Forbidden && response.body =~ /quotaExceeded/
272
+ response_error == Errors::Forbidden && response.body =~ /Exceeded/i
273
273
  end
274
274
 
275
275
  # @return [Boolean] whether the request lacks proper authorization.
@@ -1,3 +1,3 @@
1
1
  module Yt
2
- VERSION = '0.25.28'
2
+ VERSION = '0.25.29'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.28
4
+ version: 0.25.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Baccigalupo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-05 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport