yt 0.24.0 → 0.24.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/README.md +1 -1
- data/lib/yt/collections/videos.rb +1 -1
- data/lib/yt/version.rb +1 -1
- data/spec/requests/as_content_owner/channel_spec.rb +4 -4
- data/spec/requests/as_server_app/videos_spec.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: 5a1296804c3320ad2205e26e299cc5e097eed56a
|
4
|
+
data.tar.gz: 617a292fcf328451cc2ca1d349d987f0ea6e51b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31174ed5a91804f5f6b575283c9d6a023c506d01ccce381ca0b9553a1664cf3474d47daf85d33fc77decda03451c69b3189f3840a0af66c2a8bf273c00a5e440
|
7
|
+
data.tar.gz: 8c4ab2e8857d94dfb004d233b2aefc54303ae286041b354d58a7a463d55c5034af134609e759eed5aee6d5c88492a830db25d7381836edec08e437340f59d040
|
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.24.1 - 2015-07-01
|
10
|
+
|
11
|
+
* [BUGFIX] Don't raise error when YouTube returns a deleted video while eager loading
|
12
|
+
|
9
13
|
## 0.24.0 - 2015-05-21
|
10
14
|
|
11
15
|
**How to upgrade**
|
data/README.md
CHANGED
@@ -41,7 +41,7 @@ To install on your system, run
|
|
41
41
|
|
42
42
|
To use inside a bundled Ruby project, add this line to the Gemfile:
|
43
43
|
|
44
|
-
gem 'yt', '~> 0.24.
|
44
|
+
gem 'yt', '~> 0.24.1'
|
45
45
|
|
46
46
|
Since the gem follows [Semantic Versioning](http://semver.org),
|
47
47
|
indicating the full version in your Gemfile (~> *major*.*minor*.*patch*)
|
data/lib/yt/version.rb
CHANGED
@@ -581,7 +581,7 @@ describe Yt::Channel, :partner do
|
|
581
581
|
describe 'dislikes can be retrieved for a single country' do
|
582
582
|
let(:country_code) { 'US' }
|
583
583
|
let(:dislikes) { channel.dislikes since: date, by: by, in: location }
|
584
|
-
let(:date) {
|
584
|
+
let(:date) { ENV['YT_TEST_PARTNER_VIDEO_DATE'] }
|
585
585
|
|
586
586
|
context 'and grouped by day' do
|
587
587
|
let(:by) { :day }
|
@@ -1405,7 +1405,7 @@ describe Yt::Channel, :partner do
|
|
1405
1405
|
describe 'annotation clicks can be retrieved for a single country' do
|
1406
1406
|
let(:country_code) { 'US' }
|
1407
1407
|
let(:annotation_clicks) { channel.annotation_clicks since: date, by: by, in: location }
|
1408
|
-
let(:date) {
|
1408
|
+
let(:date) { ENV['YT_TEST_PARTNER_VIDEO_DATE'] }
|
1409
1409
|
|
1410
1410
|
context 'and grouped by day' do
|
1411
1411
|
let(:by) { :day }
|
@@ -1504,7 +1504,7 @@ describe Yt::Channel, :partner do
|
|
1504
1504
|
describe 'annotation click-through rate can be retrieved for a single country' do
|
1505
1505
|
let(:country_code) { 'US' }
|
1506
1506
|
let(:annotation_click_through_rate) { channel.annotation_click_through_rate since: date, by: by, in: location }
|
1507
|
-
let(:date) {
|
1507
|
+
let(:date) { ENV['YT_TEST_PARTNER_VIDEO_DATE'] }
|
1508
1508
|
|
1509
1509
|
context 'and grouped by day' do
|
1510
1510
|
let(:by) { :day }
|
@@ -1579,7 +1579,7 @@ describe Yt::Channel, :partner do
|
|
1579
1579
|
end
|
1580
1580
|
|
1581
1581
|
describe 'annotation click-through rate can be grouped by country' do
|
1582
|
-
let(:range) { {since:
|
1582
|
+
let(:range) { {since: ENV['YT_TEST_PARTNER_VIDEO_DATE']} }
|
1583
1583
|
|
1584
1584
|
specify 'with the :by option set to :country' do
|
1585
1585
|
rate = channel.annotation_click_through_rate range.merge by: :country
|
@@ -22,7 +22,7 @@ describe Yt::Collections::Videos, :server_app do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
specify 'with a chart parameter, only returns videos of that chart', :ruby2 do
|
25
|
-
expect(videos.where(chart: 'mostPopular').size).to be
|
25
|
+
expect(videos.where(chart: 'mostPopular').size).to be 30
|
26
26
|
end
|
27
27
|
|
28
28
|
context 'with a list of parts' do
|
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.24.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claudio Baccigalupo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|