adparlor-facebook 0.6.0 → 0.6.1

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: ff0b6cf5dfc927680582a6c8a0fada0c2f4c8ae1
4
- data.tar.gz: 416d2043fe832fba123f2187b209bd192b8a9064
3
+ metadata.gz: efc22c4dc362209e86aefdb6f2874dfd6934fca0
4
+ data.tar.gz: 01b2d48a9e0a931d5e227aa23d0fb02905e6abc7
5
5
  SHA512:
6
- metadata.gz: 21bc7b15a18d2f95f723859e6c6ee8ac63722af04a3046d8b02f66a9c252d5c423fca52f79b26d638d0f8d0d2fe2a128647410b58b64e2fa597c915090523111
7
- data.tar.gz: e0388e6b4145bf09024e54657e439ac7970388c42354434a946722ae4bda04075c94df375f50b6726c001bb28d0f2904dcbc627b1bc254fba1c9ffb8f13511bd
6
+ metadata.gz: 74b892d65aa4fb6ffd10e52cf8717a338399aed0fb576f784a639d3e4069555fa56bee3b6465df220187cd254bf82cd39e6a09fc3fcc35e2c8b94569d74fd4af
7
+ data.tar.gz: c5064bd28e79c1952c6ab8eeffa041f08539f18b012f108ec5664850202a5fe59724398872a945a61c7f75fb42b21d732527e0f9332a7bca52f3dfac14740d27
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.6.0)
4
+ adparlor-facebook (0.6.1)
5
5
  faraday
6
6
  faraday_middleware
7
7
  httpclient
@@ -4,7 +4,7 @@ require 'bundler/setup'
4
4
  require 'adparlor/facebook'
5
5
 
6
6
  Adparlor::Facebook.configure do |config|
7
- config.api_version = 'v2.5'
7
+ config.api_version = 'v3.2'
8
8
  end
9
9
 
10
10
  # You can add fixtures and/or initialization code here to make experimenting
@@ -15,7 +15,7 @@ module Adparlor
15
15
  attr_accessor :proxy_api_key
16
16
 
17
17
  def initialize
18
- @api_version = 'v2.5'
18
+ @api_version = 'v3.2'
19
19
  @base_uri = 'https://graph.facebook.com'
20
20
  @proxy_api_key = nil
21
21
  end
@@ -4,7 +4,7 @@ module Adparlor
4
4
  module Fields
5
5
  module Post
6
6
  FIELDS = [:id, :admin_creator, :application, :child_attachments, :call_to_action, :caption, :created_time, :description,
7
- :feed_targeting, :from, :icon, :is_instagram_eligible, :is_hidden, :is_published, :link, :message, :message_tags,
7
+ :feed_targeting, :from, :icon, :is_instagram_eligible, :is_hidden, :is_published, :link, :message, :message_tags,
8
8
  :name, :picture, :place, :privacy, :properties, :shares, :source, :status_type, :story, :story_tags,
9
9
  :targeting, :to, :type, :updated_time, :with_tags, :object_id, :full_picture, :actions, :likes, :attachments
10
10
  ]
@@ -10,6 +10,10 @@ module Adparlor
10
10
  @promotable_posts ||= CollectionProxy.new(Post, "/#{id}/promotable_posts", access_token)
11
11
  end
12
12
 
13
+ def ads_posts
14
+ @ads_posts ||= CollectionProxy.new(Post, "/#{id}/ads_posts", access_token)
15
+ end
16
+
13
17
  def picture
14
18
  @picture ||= CollectionProxy.new(Picture, "/#{id}/picture", access_token)
15
19
  end
@@ -1,5 +1,5 @@
1
1
  module Adparlor
2
2
  module Facebook
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adparlor-facebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kel Stopper
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-05-20 00:00:00.000000000 Z
12
+ date: 2019-06-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler