adparlor-facebook 0.7.1 → 0.7.5

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: f1d7f88f3a9c2ee3fcbeede567bd67c6f1597982
4
- data.tar.gz: 70f283bfc8148885713ad3833c68ec265958b82b
3
+ metadata.gz: 9a900eb69b3c7a82a4b4a1dd1d54b8e169146b13
4
+ data.tar.gz: 031bd530c33f5a4cd0d569cf8a634b2e768531dd
5
5
  SHA512:
6
- metadata.gz: ed5e74e451c01dc04cbda443c0661c41accda6b26531bdb44e92d132dc81af86505306e2db845a2cf0b456cfe8ff386b7b103cd4a9ea240dffa75cd32f38c939
7
- data.tar.gz: 002edd309c26367c782da05743baa0d6e21ca18025e9e252e9d702679510b51359db1a7502224c11c3e825abce8fb9cbb9c0888abb0b7091dc51c1a002165cd4
6
+ metadata.gz: 2bbd9e1afbb191a5c26ef79e4276f985010b2d80512288e568e29ec5a982d0509ad31bd01eab42f824999359301f668b57e903910c1d61ca614f231048c80260
7
+ data.tar.gz: 13f227e51ca78efcb0599022dc74ab38c6b36a9f9b76842c1647a64372df5bc46a24680cbc18846ae70ea1e006005d55f941d9c89b7fc91b3330ec4fd5d938eb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.7.1)
4
+ adparlor-facebook (0.7.5)
5
5
  faraday
6
6
  faraday_middleware
7
7
  httpclient
@@ -19,10 +19,10 @@ GEM
19
19
  safe_yaml (~> 1.0.0)
20
20
  diff-lcs (1.3)
21
21
  docile (1.3.1)
22
- faraday (0.17.0)
22
+ faraday (1.0.1)
23
23
  multipart-post (>= 1.2, < 3)
24
- faraday_middleware (0.13.1)
25
- faraday (>= 0.7.4, < 1.0)
24
+ faraday_middleware (1.0.0)
25
+ faraday (~> 1.0)
26
26
  ffi (1.10.0)
27
27
  formatador (0.2.5)
28
28
  guard (2.15.0)
@@ -56,9 +56,9 @@ GEM
56
56
  ruby_dep (~> 1.2)
57
57
  lumberjack (1.0.13)
58
58
  method_source (0.9.2)
59
- mime-types (3.2.2)
59
+ mime-types (3.3.1)
60
60
  mime-types-data (~> 3.2015)
61
- mime-types-data (3.2019.0331)
61
+ mime-types-data (3.2019.1009)
62
62
  multipart-post (2.1.1)
63
63
  nenv (0.3.0)
64
64
  notiffany (0.1.1)
@@ -133,4 +133,4 @@ DEPENDENCIES
133
133
  webmock
134
134
 
135
135
  BUNDLED WITH
136
- 1.16.2
136
+ 1.17.3
data/bin/console CHANGED
@@ -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 = 'v5.0'
7
+ config.api_version = 'v11.0'
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 = 'v5.0'
18
+ @api_version = 'v11.0'
19
19
  @base_uri = 'https://graph.facebook.com'
20
20
  @proxy_api_key = nil
21
21
  end
@@ -21,7 +21,9 @@ module Adparlor
21
21
  :budget_rebalance_flag,
22
22
  :pacing_type,
23
23
  :bid_strategy,
24
- :special_ad_category
24
+ :special_ad_categories,
25
+ :daily_budget,
26
+ :lifetime_budget
25
27
  ]
26
28
  CREATE_FIELDS = [
27
29
  :name,
@@ -32,8 +34,9 @@ module Adparlor
32
34
  :spend_cap,
33
35
  :execution_options,
34
36
  :adlabels,
35
- :budget_rebalance_flag,
36
- :special_ad_category
37
+ :special_ad_categories,
38
+ :daily_budget,
39
+ :lifetime_budget
37
40
  ]
38
41
  UPDATE_FIELDS = [
39
42
  :name,
@@ -42,8 +45,9 @@ module Adparlor
42
45
  :spend_cap,
43
46
  :execution_options,
44
47
  :adlabels,
45
- :budget_rebalance_flag,
46
- :special_ad_category
48
+ :special_ad_categories,
49
+ :daily_budget,
50
+ :lifetime_budget
47
51
  ]
48
52
  end
49
53
  end
@@ -6,7 +6,8 @@ module Adparlor
6
6
  FIELDS = [:id, :admin_creator, :application, :child_attachments, :call_to_action, :created_time,
7
7
  :feed_targeting, :from, :icon, :is_instagram_eligible, :is_hidden, :is_published, :message, :message_tags,
8
8
  :picture, :place, :privacy, :properties, :shares, :status_type, :story, :story_tags,
9
- :targeting, :to, :updated_time, :with_tags, :full_picture, :actions, :likes, :attachments
9
+ :targeting, :to, :updated_time, :full_picture, :actions, :likes, :attachments,
10
+ :scheduled_publish_time, :promotable_id, :allowed_advertising_objectives, :is_eligible_for_promotion, :is_expired, :promotion_status
10
11
  ]
11
12
 
12
13
  CREATE_FIELDS = FIELDS + [:scheduled_published_time]
@@ -1,5 +1,5 @@
1
1
  module Adparlor
2
2
  module Facebook
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adparlor-facebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kel Stopper
8
8
  - Lukas Beaton
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-01-13 00:00:00.000000000 Z
12
+ date: 2021-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -370,7 +370,7 @@ homepage: http://adparlor.com
370
370
  licenses:
371
371
  - MIT
372
372
  metadata: {}
373
- post_install_message:
373
+ post_install_message:
374
374
  rdoc_options: []
375
375
  require_paths:
376
376
  - lib
@@ -385,9 +385,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
385
385
  - !ruby/object:Gem::Version
386
386
  version: '0'
387
387
  requirements: []
388
- rubyforge_project:
388
+ rubyforge_project:
389
389
  rubygems_version: 2.5.2
390
- signing_key:
390
+ signing_key:
391
391
  specification_version: 4
392
392
  summary: A ruby implementation of the facebook sdk
393
393
  test_files: []