yt 0.24.9 → 0.24.10
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/README.md +1 -1
- data/lib/yt/collections/reports.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: c98cdb00d48f25f00cd745199f5eff7615175a71
|
|
4
|
+
data.tar.gz: 0fca3d4e3194b62e72ecd9816e2e75f0cc1673ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aa68d422315ff7e28ddaffce2ddd6a6d975df106fb4bc7b7373082633587e42539067f4e815c7fd9aa2f2b15798e89e960528778062bc0665f447c667213661
|
|
7
|
+
data.tar.gz: 736279c988e54f5f4231cbaafe47dbf678b2c3ce01a553d66f75f00399089e91e9810313ffb5dd2c0ea2ac110e7abbd46623e6460ebfb2fc761c4edd878b7744
|
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.10 - 2015-06-25
|
|
10
|
+
|
|
11
|
+
* [BUGFIX] Don't break reports `by: :playlist` when trying to fetch their part by limiting to result to 50 playlists.
|
|
12
|
+
|
|
9
13
|
## 0.24.9 - 2015-06-19
|
|
10
14
|
|
|
11
15
|
* [BUGFIX] Let more than `max_results` videos be retrieved even when a `published_before` where condition is specified.
|
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.10'
|
|
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*)
|
|
@@ -129,7 +129,7 @@ module Yt
|
|
|
129
129
|
params['metrics'] = @metrics.keys.join(',').to_s.camelize(:lower)
|
|
130
130
|
params['dimensions'] = DIMENSIONS[@dimension][:name] unless @dimension == :range
|
|
131
131
|
params['max-results'] = 10 if @dimension == :video
|
|
132
|
-
params['max-results'] =
|
|
132
|
+
params['max-results'] = 50 if @dimension == :playlist
|
|
133
133
|
params['max-results'] = 25 if @dimension.in? [:embedded_player_location, :related_video, :search_term, :referrer]
|
|
134
134
|
params['sort'] = "-#{@metrics.keys.join(',').to_s.camelize(:lower)}" if @dimension.in? [:video, :playlist, :embedded_player_location, :related_video, :search_term, :referrer]
|
|
135
135
|
params[:filters] = "video==#{@videos.join ','}" if @videos
|
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.24.
|
|
4
|
+
version: 0.24.10
|
|
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-06-
|
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|