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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/yt/request.rb +1 -1
- data/lib/yt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8d7f0a5503a59888dd4b0d1e439162585a97544
|
4
|
+
data.tar.gz: 74ac050d02d5d8f7620eaf9a1477237b713aa7d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f05116b8d41cc032d0d574e7e81e39de24af901cbf349370d57171324ddf2ffc271fc18ff82d9d1cf6bdd83cbb4d5c1181269fbe222902974b3b2312f6069f94
|
7
|
+
data.tar.gz: 379c55ae5fe720cc5f8169bdc20dd018a8c4b3f7aa4ed3dda7f28ef16fff64d7f7654b6b381ad6d706fbe0e5ab3eb5a41c1cc55dab8828d9df135a4c8cea79e3
|
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.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'
|
data/lib/yt/request.rb
CHANGED
@@ -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 =~ /
|
272
|
+
response_error == Errors::Forbidden && response.body =~ /Exceeded/i
|
273
273
|
end
|
274
274
|
|
275
275
|
# @return [Boolean] whether the request lacks proper authorization.
|
data/lib/yt/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|