fb-core 1.0.0.alpha8 → 1.0.0.alpha9

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: b6cd31e0997675afe22e67ce5d9a413dbd1bb31f
4
- data.tar.gz: 12fb33cc93515ef59c82d27b52af8c419821b23b
3
+ metadata.gz: f757ef0764edc20cb21e1c6c96970daed29cdee2
4
+ data.tar.gz: 883e35122ae098ddaa5a64151698ed49347c2dda
5
5
  SHA512:
6
- metadata.gz: 9729cc3f46d822bf3450efddaf64af4936857895b2181647c6a34706519f8d16c24520751ce7ec32459296cac8334d11a646a99095f8d3ac554a3ef74029775e
7
- data.tar.gz: 10cd071faebf75ee7bf69a8e7c9acee0d18afd88cb0b99f3efe2812377ab5957967d8842934d40aeb0d1b028bcdaa916ec361a6d3f698dd2a75f055a73e7b836
6
+ metadata.gz: 6480259f1fc158c397b18a17a8be15de3263cf6abb326a8a885e64f47121b29c586bc7529fd02bc1ba2d19bbabdcf1381120911edf9f9b68200b27b35f8bfd67
7
+ data.tar.gz: 3172b7c538095d27d0a703d0fe42885500d96ce2c12810a1577177387e1e26d53ff19f10a721f90cd0a848260b8b414d5dc0126e25c044414eb90cb2a93de044
@@ -3,6 +3,6 @@ module Fb
3
3
  class Core
4
4
  # @return [String] the SemVer-compatible gem version.
5
5
  # @see http://semver.org
6
- VERSION = '1.0.0.alpha8'
6
+ VERSION = '1.0.0.alpha9'
7
7
  end
8
8
  end
data/lib/fb/post.rb CHANGED
@@ -36,8 +36,8 @@ module Fb
36
36
  # @option [Integer] paid video views of 3 seconds or more.
37
37
  attr_reader :video_views_paid
38
38
 
39
- # @option [Integer] total minutes watched by all users who viewed the video.
40
- attr_reader :total_minutes_watched
39
+ # @option [Integer] the total number of milliseconds your video was watched.
40
+ attr_reader :video_view_time
41
41
 
42
42
  # @param [Hash] options the options to initialize an instance of Fb::Post.
43
43
  # @option [String] :id The post id.
@@ -64,7 +64,7 @@ module Fb
64
64
  @video_views = options[:post_video_views] if options[:post_video_views]
65
65
  @video_views_organic = options[:post_video_views_organic] if options[:post_video_views_organic]
66
66
  @video_views_paid = options[:post_video_views_paid] if options[:post_video_views_paid]
67
- @total_minutes_watched = (options[:post_video_view_time]/1000) if options[:post_video_view_time]
67
+ @video_view_time = options[:post_video_view_time] if options[:post_video_view_time]
68
68
  end
69
69
 
70
70
  # @return [String] the representation of the post.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha8
4
+ version: 1.0.0.alpha9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Baccigalupo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fb-support