fb-core 1.0.0.beta9 → 1.0.0.beta10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/fb/core/version.rb +1 -1
- data/lib/fb/page.rb +6 -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: 42466ce3b3855146af568ed94374c219e8409731
|
4
|
+
data.tar.gz: 62a72bf0afd273c9fe122964ce92fed20649f799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba53c107a9c8b3cf0089c58949c3dc84014212ae285aabd0d52df38eed4ec0123c096b025df9f01ff67a76ac6e91d8b47ebb6376c8b2451e4d966dd0879bfce9
|
7
|
+
data.tar.gz: 33bdb5fcc8d469d2db6d37b7d3bc264386cccbb72c37029df766d79ab43b82c95a83d8c5b5315d2e213f58bcdb3ec7f0b30c58199c616a546bd178f1ce08c524
|
data/CHANGELOG.md
CHANGED
@@ -6,9 +6,13 @@ 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
|
+
## 1.0.0.beta10 - 2018/05/01
|
10
|
+
|
11
|
+
* [FEATURE] Add `:since` and `:until` option to `Page#videos` method.
|
12
|
+
|
9
13
|
## 1.0.0.beta9 - 2018/04/25
|
10
14
|
|
11
|
-
* [FEATURE] Add `:without_lifetime_metrics` option to `Page#videos` method
|
15
|
+
* [FEATURE] Add `:without_lifetime_metrics` option to `Page#videos` method.
|
12
16
|
|
13
17
|
## 1.0.0.beta8 - 2018/04/20
|
14
18
|
|
data/lib/fb/core/version.rb
CHANGED
data/lib/fb/page.rb
CHANGED
@@ -89,9 +89,14 @@ module Fb
|
|
89
89
|
end
|
90
90
|
|
91
91
|
# @return [Array<Fb::Video>] the uploaded videos for the page.
|
92
|
+
# @param [Hash] options the options
|
93
|
+
# @option [Time] :since only return videos ahead of this time.
|
94
|
+
# @option [Time] :until only return videos previous to this time.
|
95
|
+
# @option [Boolean] :without_lifetime_metrics whether to include insights for the videos.
|
92
96
|
def videos(options = {})
|
93
97
|
@videos ||= begin
|
94
|
-
|
98
|
+
params = video_params.merge options
|
99
|
+
request = PaginatedRequest.new path: "/v2.9/#{@id}/videos", params: params
|
95
100
|
data = request.run.body['data']
|
96
101
|
options[:without_lifetime_metrics] ? videos_from(data) : videos_with_metrics_from(data)
|
97
102
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claudio Baccigalupo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fb-support
|