eucalyptus 1.2.2 → 1.2.3
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/insight.rb +1 -2
- data/spec/eucalyptus/insight_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -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: debbb0e0ad18ff723000d55374e79ffde2c6fa88
|
|
4
|
+
data.tar.gz: 6e7dd090a43a38fb46dc19de6b820be2549dc17e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afd9df709b0b4729acb537ce70254cf09571dd5494ddfc2fd25e72e93bd6a2bc48571feadfe2cf698c669c0ba3a5313dbc9c491e72175e46e41e3352e0d1279b
|
|
7
|
+
data.tar.gz: 2a10655940799b2d1f9ee767ba25cb14e0d7c10268c2e90b56a7d1de24bd94e53c748b10874249e90ebd6df55fc1261a724d8135cef4c13966b1b4c3c2e495c3
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.3
|
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.2.
|
|
5
|
+
# stub: eucalyptus 1.2.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "eucalyptus"
|
|
9
|
-
s.version = "1.2.
|
|
9
|
+
s.version = "1.2.3"
|
|
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-11-
|
|
14
|
+
s.date = "2015-11-27"
|
|
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/insight.rb
CHANGED
|
@@ -4,7 +4,6 @@ module Eucalyptus
|
|
|
4
4
|
class Insight < Resource
|
|
5
5
|
def self.known_fields
|
|
6
6
|
[
|
|
7
|
-
:clicks,
|
|
8
7
|
:cpc,
|
|
9
8
|
:ctr,
|
|
10
9
|
:reach,
|
|
@@ -12,7 +11,7 @@ module Eucalyptus
|
|
|
12
11
|
:spend,
|
|
13
12
|
:cost_per_action_type,
|
|
14
13
|
:action_values,
|
|
15
|
-
:
|
|
14
|
+
:inline_link_clicks
|
|
16
15
|
]
|
|
17
16
|
end
|
|
18
17
|
|
|
@@ -4,10 +4,10 @@ describe Eucalyptus::Insight do
|
|
|
4
4
|
describe '.known_fields' do
|
|
5
5
|
it 'returns an object which responds to available fields' do
|
|
6
6
|
VCR.use_cassette('account_insights') do
|
|
7
|
-
account = Eucalyptus::Account.all.
|
|
7
|
+
account = Eucalyptus::Account.all.first
|
|
8
8
|
insights = account.insights.first
|
|
9
9
|
|
|
10
|
-
expect(insights).to respond_to :
|
|
10
|
+
expect(insights).to respond_to :inline_link_clicks
|
|
11
11
|
expect(insights).to respond_to :cpc
|
|
12
12
|
end
|
|
13
13
|
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.2.
|
|
4
|
+
version: 1.2.3
|
|
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-
|
|
11
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: koala
|