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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d732c7d309d0ed189c9e02431047445a153a1af9
4
- data.tar.gz: a20827bffb0c9166ee4bd3aea62cbdb5f3769806
3
+ metadata.gz: c98cdb00d48f25f00cd745199f5eff7615175a71
4
+ data.tar.gz: 0fca3d4e3194b62e72ecd9816e2e75f0cc1673ea
5
5
  SHA512:
6
- metadata.gz: 758d229b9944dfe9486c466903d99ae44e50eb0903b5506c1c15b9ebcb15e37ff925f887f0d93617c7a2918398d6f3b16dd3991d09deeb1f7d80ae0dd9e7456b
7
- data.tar.gz: c78a0786fe0d6ec07ee561f5dbdc5156a084ed06a17a9588fda674962ee5415e67272cd1f79aa462b2606ad70c485b8040905475ec3bf256b51b4c52c1cf963d
6
+ metadata.gz: 1aa68d422315ff7e28ddaffce2ddd6a6d975df106fb4bc7b7373082633587e42539067f4e815c7fd9aa2f2b15798e89e960528778062bc0665f447c667213661
7
+ data.tar.gz: 736279c988e54f5f4231cbaafe47dbf678b2c3ce01a553d66f75f00399089e91e9810313ffb5dd2c0ea2ac110e7abbd46623e6460ebfb2fc761c4edd878b7744
@@ -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.9'
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'] = 200 if @dimension == :playlist
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
@@ -1,3 +1,3 @@
1
1
  module Yt
2
- VERSION = '0.24.9'
2
+ VERSION = '0.24.10'
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.24.9
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-19 00:00:00.000000000 Z
11
+ date: 2015-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport