yt 0.25.34 → 0.25.35
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/yt/collections/claims.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: 2dec437252cd2418fc5ff1352347f2d1c03c8a5b
|
|
4
|
+
data.tar.gz: ba4235539102e153a98e03762e5708a6b1142cd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 351eb09f09237648bf9ed6ef8954becd0df5b8f5d18020d02ce33276008ad79c4f163f5a643afdd7c0c741793c634ec149e9b1cf613de535f18b64d2cb3674a2
|
|
7
|
+
data.tar.gz: d1e4583f8f12b5d734431b45687f63f4e5db47fd03c1425fe2326dbc863b0afaec317b7c0c9b7654b7c0728207211ada7c985d73c2792b0bf183504bb9c748bc
|
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.35 - 2016-04-27
|
|
10
|
+
|
|
11
|
+
* [BUGFIX] Don’t try to eager load more than 50 assets at the time from claims
|
|
12
|
+
|
|
9
13
|
## 0.25.34 - 2016-04-20
|
|
10
14
|
|
|
11
15
|
* [FEATURE] Add `ad_breaks` and `tp_ad_server_video_id` attribute to AdvertisingOptionsSet
|
|
@@ -28,7 +28,7 @@ module Yt
|
|
|
28
28
|
|
|
29
29
|
def eager_load_items_from(items)
|
|
30
30
|
if included_relationships.include? :asset
|
|
31
|
-
asset_ids = items.map
|
|
31
|
+
asset_ids = items.map{|a| a.values_at 'videoId', 'assetId'}.to_h.values
|
|
32
32
|
conditions = { id: asset_ids.join(','), fetch_metadata: 'effective' }
|
|
33
33
|
assets = @parent.assets.where conditions
|
|
34
34
|
items.each do |item|
|
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.35
|
|
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-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|