yt 0.25.22 → 0.25.23

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: 7a98ff50d5e04357a8f4563cd528d9a38dbbaa50
4
- data.tar.gz: 3e193cf14dbf64103d5f4b306054c4068f69e08c
3
+ metadata.gz: 45aacd71fdb8352422647b10814d733e9382a085
4
+ data.tar.gz: 83f5aa65698a2e94f22c4a441c9c0c46dbf1fd6d
5
5
  SHA512:
6
- metadata.gz: 62af53eb9f22c4d01422077dd2399c2c2c6ee40d73cf02af5a6b95c9f218d6c253004f2520b26060dcb5011270d5dec9cbc76ca24a14889eb941cfe1ab72b4d7
7
- data.tar.gz: 744df99964bbd6b041f68c813200c78655380cf04f8f7d72385756247017e82a2225bf93ef286fdc18bf128d14678ef7300e127812a9a7a30615ee7217915664
6
+ metadata.gz: 1c9ef16c43ad3e7d46884051cde3bd9ac0845165e4c53e01d407debc69313346dfd3f48fb7798f512de44a7151f4f895cd26d78d55af512090ee945c2996fa1b
7
+ data.tar.gz: 9c9d869558c6ac9d782716962104dd59483f28f8256c6b8546605e963199d264baa0b43f0a1d87e8dce8fbc5fc9adad6092efda493ee02574ddab9b955189205
@@ -6,6 +6,11 @@ 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.23 - 2016-02-23
10
+
11
+ * [IMPROVEMENT] Retry 3 times after a server error, to bypass temporary glitches by YouTube.
12
+ * [IMPROVEMENT] Don’t combine forMine and publishedBefore parameters in Search#list since YouTube does not support this anymore.
13
+
9
14
  ## 0.25.22 - 2016-02-04
10
15
 
11
16
  * [IMPROVEMENT] Deal with channels with more than 500 videos in a better way
@@ -77,7 +77,7 @@ module Yt
77
77
  def next_page
78
78
  super.tap do |items|
79
79
  halt_list if use_list_endpoint? && items.empty? && @page_token.nil?
80
- add_offset_to(items) if !use_list_endpoint? && videos_params[:order] == 'date'
80
+ add_offset_to(items) if !use_list_endpoint? && videos_params[:order] == 'date' && videos_params[:channel_id]
81
81
  end
82
82
  end
83
83
 
@@ -197,7 +197,7 @@ module Yt
197
197
  # for a couple of seconds might solve the connection issues.
198
198
  def run_again?
199
199
  refresh_token_and_retry? ||
200
- server_error? && sleep_and_retry? ||
200
+ server_error? && sleep_and_retry?(3) ||
201
201
  exceeded_quota? && sleep_and_retry?(3)
202
202
  end
203
203
 
@@ -1,3 +1,3 @@
1
1
  module Yt
2
- VERSION = '0.25.22'
2
+ VERSION = '0.25.23'
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.22
4
+ version: 0.25.23
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-02-04 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport