eucalyptus 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/eucalyptus.gemspec +3 -3
- data/lib/eucalyptus.rb +2 -3
- data/spec/eucalyptus/resource_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- 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: 5cf237dab7e1f4fa1eaf92c33e960b2773b42fcc
|
4
|
+
data.tar.gz: 844f9f41a15a70e97fb75c0f695b13bf7205494b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0fcdcbd07bc596b82d6402fb3310c6329ac7318b66b765de7a29de5730539d5d7b049f0179f16bd25280bb3061f8ffa6fcc348d8ff09436461cf17beab68758
|
7
|
+
data.tar.gz: 308e05534448b654b246c3aa791a62bebec0232188387aed68fb5b0ecf6afc385d95a775e0c21fcf2eb329ee281b237736cb053141f46a0a7ffba3d8d8db00f1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/eucalyptus.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: eucalyptus 1.
|
5
|
+
# stub: eucalyptus 1.2.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "eucalyptus"
|
9
|
-
s.version = "1.
|
9
|
+
s.version = "1.2.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Oguz Huner"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-11-02"
|
15
15
|
s.description = "An easy interface and abstraction to the Facebook Ads API"
|
16
16
|
s.email = "oguzcanhuner@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
data/lib/eucalyptus.rb
CHANGED
@@ -3,16 +3,15 @@ Dir[File.dirname(__FILE__) + '/eucalyptus/**/*.rb'].each do |file|
|
|
3
3
|
require file
|
4
4
|
end
|
5
5
|
|
6
|
-
Koala.config.api_version = 'v2.3'
|
7
6
|
|
8
7
|
module Eucalyptus
|
9
8
|
class << self
|
10
|
-
attr_accessor :access_token, :default_account_id, :graph
|
9
|
+
attr_accessor :api_version, :access_token, :default_account_id, :graph
|
11
10
|
|
12
11
|
def configure
|
13
12
|
yield(self)
|
13
|
+
Koala.config.api_version = api_version
|
14
14
|
self.graph = Koala::Facebook::API.new(access_token)
|
15
|
-
self.default_account_id = default_account_id
|
16
15
|
end
|
17
16
|
|
18
17
|
def default_account
|
@@ -88,7 +88,7 @@ describe Eucalyptus::Resource do
|
|
88
88
|
.with(123, "customaudiences", {action_breakdowns: [:custom_field], fields: Eucalyptus::CustomAudience.known_fields})
|
89
89
|
.and_return([])
|
90
90
|
|
91
|
-
Eucalyptus::CustomAudience.all(graph: graph, parent: parent, options: {action_breakdowns: [:
|
91
|
+
Eucalyptus::CustomAudience.all(graph: graph, parent: parent, options: {action_breakdowns: [:custom_field]})
|
92
92
|
end
|
93
93
|
end
|
94
94
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eucalyptus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oguz Huner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: koala
|