yt 0.31.1 → 0.31.2

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: a91b5314ec281538331cb88409f06f7f40c35480
4
- data.tar.gz: f1efe786ae1b22c549374e7cf9530c02066e9864
3
+ metadata.gz: 52267a5041f8e6b5325f5b863500712c3e3acf2e
4
+ data.tar.gz: a0706b064d97e65d28de1be5db48a2c1e42d917d
5
5
  SHA512:
6
- metadata.gz: 296e9759c4daefafb703eaa4522a4171a026997acbbc643c6b758fbfca35b75073377fdc92cfc178b27a29b010b7a3ffea3cbc5cc91dadcc3ef7efc7d8b13149
7
- data.tar.gz: 83eea64183b8516e94050821269a0f444698c5c0e75f32d0f8d5e9f93e43987c7116175ec02619fb774183e87e7d551c319b7dc8cc8543a11c7004e0121959d2
6
+ metadata.gz: 07c021f0ce1d41deb5f158a173f5ee404c566ae738a69a1e012216337af7eafe869e6a53998bdb8b9529b9377a993ccdea8965eebdeeeea63c15ce81fb21928a
7
+ data.tar.gz: 841b3504f1d1add89536edda857c1dc0ae55a831bfff2a873ceb5290be7961ae118405a4fe729bcbe98b189b54a2cfabaf04c5e50212a706ed56bcfaa9d6eed0
@@ -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.31.2 - 2017-06-29
10
+
11
+ * [BUGFIX] Return lifetime data correctly even when the channel joined content owner after a while since it's created.
12
+
9
13
  ## 0.31.1 - 2017-06-03
10
14
 
11
15
  * [FEATURE] Add `by: :youtube_product` option for reports.
@@ -188,6 +188,7 @@ module Yt
188
188
  params['end-date'] = @days_range.end
189
189
  params['metrics'] = @metrics.keys.join(',').to_s.camelize(:lower)
190
190
  params['dimensions'] = DIMENSIONS[@dimension][:name] unless @dimension == :range
191
+ params['include-historical-channel-data'] = 'true'
191
192
  params['max-results'] = 50 if @dimension.in? [:playlist, :video]
192
193
  params['max-results'] = 25 if @dimension.in? [:embedded_player_location, :related_video, :search_term, :referrer]
193
194
  if @dimension.in? [:video, :playlist, :embedded_player_location, :related_video, :search_term, :referrer]
@@ -1,3 +1,3 @@
1
1
  module Yt
2
- VERSION = '0.31.1'
2
+ VERSION = '0.31.2'
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.31.1
4
+ version: 0.31.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Baccigalupo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-07 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport